From be791529f40ed214bb52f6c60809e91d013d9d83 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Nov 2023 22:02:47 +0000 Subject: [PATCH 1/2] feat: Add new field in `GenerateClientCertificate` v1 API to allow AlloyDB connectors request client certs with metadata exchange support docs: Clarify that `readPoolConfig` is required under certain circumstances, and fix doc formatting on `allocatedIpRange`. PiperOrigin-RevId: 578577028 Source-Link: https://github.com/googleapis/googleapis/commit/c0a2b5427f7f5f5f2b4e7ff3e792936a470384a7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4791ced8186e658805f2f75243da29c5dabb1f76 Copy-Tag: eyJwIjoiamF2YS1hbGxveWRiLy5Pd2xCb3QueWFtbCIsImgiOiI0NzkxY2VkODE4NmU2NTg4MDVmMmY3NTI0M2RhMjljNWRhYmIxZjc2In0= --- .../cloud/alloydb/v1/AlloyDBAdminGrpc.java | 3857 ----------- .../alloydb/v1alpha/AlloyDBAdminGrpc.java | 3913 ----------- .../alloydb/v1beta/AlloyDBAdminGrpc.java | 3899 ----------- .../v1/CreateInstanceRequestsOrBuilder.java | 93 - .../alloydb/v1/EncryptionInfoOrBuilder.java | 117 - .../alloydb/v1/GetBackupRequestOrBuilder.java | 54 - .../alloydb/v1/GetUserRequestOrBuilder.java | 56 - .../cloud/alloydb/v1/ResourcesProto.java | 904 --- .../google/cloud/alloydb/v1/ServiceProto.java | 978 --- .../cloud/alloydb/v1/SslConfigOrBuilder.java | 85 - .../CreateInstanceRequestsOrBuilder.java | 94 - .../v1alpha/EncryptionInfoOrBuilder.java | 117 - .../v1alpha/GetBackupRequestOrBuilder.java | 54 - .../v1alpha/GetClusterRequestOrBuilder.java | 87 - .../v1alpha/GetUserRequestOrBuilder.java | 56 - .../cloud/alloydb/v1alpha/ResourcesProto.java | 936 --- .../cloud/alloydb/v1alpha/ServiceProto.java | 995 --- .../alloydb/v1alpha/SslConfigOrBuilder.java | 85 - .../CreateInstanceRequestsOrBuilder.java | 94 - .../v1beta/EncryptionInfoOrBuilder.java | 117 - .../v1beta/GetBackupRequestOrBuilder.java | 54 - .../v1beta/GetClusterRequestOrBuilder.java | 87 - .../v1beta/GetUserRequestOrBuilder.java | 56 - .../cloud/alloydb/v1beta/ResourcesProto.java | 930 --- .../cloud/alloydb/v1beta/ServiceProto.java | 992 --- .../alloydb/v1beta/SslConfigOrBuilder.java | 85 - .../cloud/alloydb/v1/AlloyDBAdminClient.java | 2 + .../alloydb/v1/AlloyDBAdminSettings.java | 1 + .../cloud/alloydb/v1/gapic_metadata.json | 0 .../google/cloud/alloydb/v1/package-info.java | 0 .../alloydb/v1/stub/AlloyDBAdminStub.java | 0 .../v1/stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../alloydb/v1/stub/GrpcAlloyDBAdminStub.java | 1 + .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../v1/stub/HttpJsonAlloyDBAdminStub.java | 1 + .../reflect-config.json | 0 .../v1/AlloyDBAdminClientHttpJsonTest.java | 0 .../alloydb/v1/AlloyDBAdminClientTest.java | 0 .../cloud/alloydb/v1/MockAlloyDBAdmin.java | 0 .../alloydb/v1/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1/MockIAMPolicy.java | 0 .../cloud/alloydb/v1/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1/MockLocations.java | 0 .../cloud/alloydb/v1/MockLocationsImpl.java | 0 .../cloud/alloydb/v1/AlloyDBAdminGrpc.java | 2995 +++++++++ .../alloydb/v1/AutomatedBackupPolicy.java | 2803 +++----- .../v1/AutomatedBackupPolicyOrBuilder.java | 151 +- .../com/google/cloud/alloydb/v1/Backup.java | 2955 +++------ .../google/cloud/alloydb/v1/BackupName.java | 0 .../cloud/alloydb/v1/BackupOrBuilder.java | 317 +- .../google/cloud/alloydb/v1/BackupSource.java | 409 +- .../alloydb/v1/BackupSourceOrBuilder.java | 44 +- .../alloydb/v1/BatchCreateInstanceStatus.java | 610 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1/BatchCreateInstancesMetadata.java | 657 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1/BatchCreateInstancesRequest.java | 565 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1/BatchCreateInstancesResponse.java | 410 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../com/google/cloud/alloydb/v1/Cluster.java | 4909 +++++--------- .../google/cloud/alloydb/v1/ClusterName.java | 0 .../cloud/alloydb/v1/ClusterOrBuilder.java | 454 +- .../google/cloud/alloydb/v1/ClusterView.java | 82 +- .../cloud/alloydb/v1/ConnectionInfo.java | 456 +- .../alloydb/v1/ConnectionInfoOrBuilder.java | 45 +- .../alloydb/v1/ContinuousBackupConfig.java | 418 +- .../v1/ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1/ContinuousBackupInfo.java | 864 +-- .../v1/ContinuousBackupInfoOrBuilder.java | 113 +- .../alloydb/v1/ContinuousBackupSource.java | 445 +- .../v1/ContinuousBackupSourceOrBuilder.java | 44 +- .../cloud/alloydb/v1/CreateBackupRequest.java | 640 +- .../v1/CreateBackupRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateClusterRequest.java | 650 +- .../v1/CreateClusterRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateInstanceRequest.java | 667 +- .../v1/CreateInstanceRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateInstanceRequests.java | 513 +- .../v1/CreateInstanceRequestsOrBuilder.java | 58 + .../v1/CreateSecondaryClusterRequest.java | 657 +- ...reateSecondaryClusterRequestOrBuilder.java | 73 +- .../v1/CreateSecondaryInstanceRequest.java | 673 +- ...eateSecondaryInstanceRequestOrBuilder.java | 73 +- .../cloud/alloydb/v1/CreateUserRequest.java | 628 +- .../v1/CreateUserRequestOrBuilder.java | 64 +- .../cloud/alloydb/v1/DatabaseVersion.java | 82 +- .../cloud/alloydb/v1/DeleteBackupRequest.java | 523 +- .../v1/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1/DeleteClusterRequest.java | 561 +- .../v1/DeleteClusterRequestOrBuilder.java | 59 +- .../alloydb/v1/DeleteInstanceRequest.java | 527 +- .../v1/DeleteInstanceRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1/DeleteUserRequest.java | 446 +- .../v1/DeleteUserRequestOrBuilder.java | 47 +- .../cloud/alloydb/v1/EncryptionConfig.java | 312 +- .../alloydb/v1/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1/EncryptionInfo.java | 548 +- .../alloydb/v1/EncryptionInfoOrBuilder.java | 73 + .../alloydb/v1/FailoverInstanceRequest.java | 453 +- .../v1/FailoverInstanceRequestOrBuilder.java | 47 +- .../v1/GenerateClientCertificateRequest.java | 730 +-- ...rateClientCertificateRequestOrBuilder.java | 82 +- .../v1/GenerateClientCertificateResponse.java | 482 +- ...ateClientCertificateResponseOrBuilder.java | 57 +- .../cloud/alloydb/v1/GetBackupRequest.java | 340 +- .../alloydb/v1/GetBackupRequestOrBuilder.java | 29 + .../cloud/alloydb/v1/GetClusterRequest.java | 416 +- .../v1/GetClusterRequestOrBuilder.java | 47 +- .../alloydb/v1/GetConnectionInfoRequest.java | 419 +- .../v1/GetConnectionInfoRequestOrBuilder.java | 44 +- .../cloud/alloydb/v1/GetInstanceRequest.java | 390 +- .../v1/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1/GetUserRequest.java | 340 +- .../alloydb/v1/GetUserRequestOrBuilder.java | 31 + .../cloud/alloydb/v1/InjectFaultRequest.java | 599 +- .../v1/InjectFaultRequestOrBuilder.java | 61 +- .../com/google/cloud/alloydb/v1/Instance.java | 5197 ++++++--------- .../google/cloud/alloydb/v1/InstanceName.java | 0 .../cloud/alloydb/v1/InstanceOrBuilder.java | 376 +- .../google/cloud/alloydb/v1/InstanceView.java | 82 +- .../cloud/alloydb/v1/ListBackupsRequest.java | 589 +- .../v1/ListBackupsRequestOrBuilder.java | 65 +- .../cloud/alloydb/v1/ListBackupsResponse.java | 583 +- .../v1/ListBackupsResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1/ListClustersRequest.java | 592 +- .../v1/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1/ListClustersResponse.java | 587 +- .../v1/ListClustersResponseOrBuilder.java | 64 +- .../alloydb/v1/ListInstancesRequest.java | 596 +- .../v1/ListInstancesRequestOrBuilder.java | 65 +- .../alloydb/v1/ListInstancesResponse.java | 587 +- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../v1/ListSupportedDatabaseFlagsRequest.java | 466 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 588 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 57 +- .../cloud/alloydb/v1/ListUsersRequest.java | 589 +- .../alloydb/v1/ListUsersRequestOrBuilder.java | 65 +- .../cloud/alloydb/v1/ListUsersResponse.java | 582 +- .../v1/ListUsersResponseOrBuilder.java | 64 +- .../google/cloud/alloydb/v1/LocationName.java | 0 .../cloud/alloydb/v1/MigrationSource.java | 535 +- .../alloydb/v1/MigrationSourceOrBuilder.java | 50 +- .../cloud/alloydb/v1/OperationMetadata.java | 1023 ++- .../v1/OperationMetadataOrBuilder.java | 114 +- .../alloydb/v1/PromoteClusterRequest.java | 527 +- .../v1/PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1/ResourcesProto.java | 749 +++ .../alloydb/v1/RestartInstanceRequest.java | 457 +- .../v1/RestartInstanceRequestOrBuilder.java | 47 +- .../alloydb/v1/RestoreClusterRequest.java | 889 +-- .../v1/RestoreClusterRequestOrBuilder.java | 89 +- .../google/cloud/alloydb/v1/ServiceProto.java | 905 +++ .../google/cloud/alloydb/v1/SslConfig.java | 546 +- .../cloud/alloydb/v1/SslConfigOrBuilder.java | 49 + .../alloydb/v1/SupportedDatabaseFlag.java | 2045 +++--- .../alloydb/v1/SupportedDatabaseFlagName.java | 0 .../v1/SupportedDatabaseFlagOrBuilder.java | 108 +- .../cloud/alloydb/v1/UpdateBackupRequest.java | 629 +- .../v1/UpdateBackupRequestOrBuilder.java | 67 +- .../alloydb/v1/UpdateClusterRequest.java | 639 +- .../v1/UpdateClusterRequestOrBuilder.java | 67 +- .../alloydb/v1/UpdateInstanceRequest.java | 656 +- .../v1/UpdateInstanceRequestOrBuilder.java | 67 +- .../cloud/alloydb/v1/UpdateUserRequest.java | 617 +- .../v1/UpdateUserRequestOrBuilder.java | 58 +- .../com/google/cloud/alloydb/v1/User.java | 624 +- .../com/google/cloud/alloydb/v1/UserName.java | 0 .../cloud/alloydb/v1/UserOrBuilder.java | 68 +- .../google/cloud/alloydb/v1/UserPassword.java | 381 +- .../alloydb/v1/UserPasswordOrBuilder.java | 36 +- .../google/cloud/alloydb/v1/resources.proto | 7 +- .../google/cloud/alloydb/v1/service.proto | 5 + .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 1 + .../SyncGenerateClientCertificate.java | 1 + ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../v1/alloydbadmin/getuser/AsyncGetUser.java | 0 .../v1/alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../alloydb/v1alpha/AlloyDBAdminClient.java | 0 .../alloydb/v1alpha/AlloyDBAdminSettings.java | 1 + .../cloud/alloydb/v1alpha/gapic_metadata.json | 0 .../cloud/alloydb/v1alpha/package-info.java | 0 .../v1alpha/stub/AlloyDBAdminStub.java | 0 .../stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../v1alpha/stub/GrpcAlloyDBAdminStub.java | 1 + .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../stub/HttpJsonAlloyDBAdminStub.java | 1 + .../reflect-config.json | 0 .../AlloyDBAdminClientHttpJsonTest.java | 0 .../v1alpha/AlloyDBAdminClientTest.java | 0 .../alloydb/v1alpha/MockAlloyDBAdmin.java | 0 .../alloydb/v1alpha/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1alpha/MockIAMPolicy.java | 0 .../alloydb/v1alpha/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1alpha/MockLocations.java | 0 .../alloydb/v1alpha/MockLocationsImpl.java | 0 .../alloydb/v1alpha/AlloyDBAdminGrpc.java | 2995 +++++++++ .../v1alpha/AutomatedBackupPolicy.java | 2926 ++++----- .../AutomatedBackupPolicyOrBuilder.java | 160 +- .../google/cloud/alloydb/v1alpha/Backup.java | 3019 ++++----- .../cloud/alloydb/v1alpha/BackupName.java | 0 .../alloydb/v1alpha/BackupOrBuilder.java | 320 +- .../cloud/alloydb/v1alpha/BackupSource.java | 412 +- .../v1alpha/BackupSourceOrBuilder.java | 44 +- .../v1alpha/BatchCreateInstanceStatus.java | 617 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1alpha/BatchCreateInstancesMetadata.java | 690 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1alpha/BatchCreateInstancesRequest.java | 575 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1alpha/BatchCreateInstancesResponse.java | 421 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../google/cloud/alloydb/v1alpha/Cluster.java | 5001 +++++--------- .../cloud/alloydb/v1alpha/ClusterName.java | 0 .../alloydb/v1alpha/ClusterOrBuilder.java | 463 +- .../cloud/alloydb/v1alpha/ClusterView.java | 82 +- .../cloud/alloydb/v1alpha/ConnectionInfo.java | 642 +- .../v1alpha/ConnectionInfoOrBuilder.java | 87 +- .../v1alpha/ContinuousBackupConfig.java | 424 +- .../ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1alpha/ContinuousBackupInfo.java | 868 +-- .../ContinuousBackupInfoOrBuilder.java | 113 +- .../v1alpha/ContinuousBackupSource.java | 448 +- .../ContinuousBackupSourceOrBuilder.java | 44 +- .../alloydb/v1alpha/CreateBackupRequest.java | 662 +- .../v1alpha/CreateBackupRequestOrBuilder.java | 76 +- .../alloydb/v1alpha/CreateClusterRequest.java | 673 +- .../CreateClusterRequestOrBuilder.java | 76 +- .../v1alpha/CreateInstanceRequest.java | 673 +- .../CreateInstanceRequestOrBuilder.java | 76 +- .../v1alpha/CreateInstanceRequests.java | 528 +- .../CreateInstanceRequestsOrBuilder.java | 58 + .../CreateSecondaryClusterRequest.java | 697 +- ...reateSecondaryClusterRequestOrBuilder.java | 76 +- .../CreateSecondaryInstanceRequest.java | 699 +- ...eateSecondaryInstanceRequestOrBuilder.java | 76 +- .../alloydb/v1alpha/CreateUserRequest.java | 644 +- .../v1alpha/CreateUserRequestOrBuilder.java | 73 +- .../alloydb/v1alpha/DatabaseVersion.java | 89 +- .../alloydb/v1alpha/DeleteBackupRequest.java | 527 +- .../v1alpha/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1alpha/DeleteClusterRequest.java | 564 +- .../DeleteClusterRequestOrBuilder.java | 59 +- .../v1alpha/DeleteInstanceRequest.java | 530 +- .../DeleteInstanceRequestOrBuilder.java | 56 +- .../alloydb/v1alpha/DeleteUserRequest.java | 453 +- .../v1alpha/DeleteUserRequestOrBuilder.java | 47 +- .../alloydb/v1alpha/EncryptionConfig.java | 319 +- .../v1alpha/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1alpha/EncryptionInfo.java | 559 +- .../v1alpha/EncryptionInfoOrBuilder.java | 73 + .../v1alpha/FailoverInstanceRequest.java | 456 +- .../FailoverInstanceRequestOrBuilder.java | 47 +- .../GenerateClientCertificateRequest.java | 809 +-- ...rateClientCertificateRequestOrBuilder.java | 94 +- .../GenerateClientCertificateResponse.java | 579 +- ...ateClientCertificateResponseOrBuilder.java | 66 +- .../alloydb/v1alpha/GetBackupRequest.java | 347 +- .../v1alpha/GetBackupRequestOrBuilder.java | 29 + .../alloydb/v1alpha/GetClusterRequest.java | 431 +- .../v1alpha/GetClusterRequestOrBuilder.java | 52 + .../v1alpha/GetConnectionInfoRequest.java | 422 +- .../GetConnectionInfoRequestOrBuilder.java | 44 +- .../alloydb/v1alpha/GetInstanceRequest.java | 403 +- .../v1alpha/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1alpha/GetUserRequest.java | 343 +- .../v1alpha/GetUserRequestOrBuilder.java | 31 + .../alloydb/v1alpha/InjectFaultRequest.java | 613 +- .../v1alpha/InjectFaultRequestOrBuilder.java | 61 +- .../cloud/alloydb/v1alpha/Instance.java | 5772 ++++++----------- .../cloud/alloydb/v1alpha/InstanceName.java | 0 .../alloydb/v1alpha/InstanceOrBuilder.java | 381 +- .../cloud/alloydb/v1alpha/InstanceView.java | 82 +- .../alloydb/v1alpha/ListBackupsRequest.java | 596 +- .../v1alpha/ListBackupsRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListBackupsResponse.java | 587 +- .../v1alpha/ListBackupsResponseOrBuilder.java | 63 +- .../alloydb/v1alpha/ListClustersRequest.java | 596 +- .../v1alpha/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListClustersResponse.java | 591 +- .../ListClustersResponseOrBuilder.java | 63 +- .../alloydb/v1alpha/ListInstancesRequest.java | 599 +- .../ListInstancesRequestOrBuilder.java | 65 +- .../v1alpha/ListInstancesResponse.java | 591 +- .../ListInstancesResponseOrBuilder.java | 63 +- .../ListSupportedDatabaseFlagsRequest.java | 491 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 638 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 65 +- .../alloydb/v1alpha/ListUsersRequest.java | 596 +- .../v1alpha/ListUsersRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListUsersResponse.java | 587 +- .../v1alpha/ListUsersResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1alpha/LocationName.java | 0 .../alloydb/v1alpha/MigrationSource.java | 543 +- .../v1alpha/MigrationSourceOrBuilder.java | 50 +- .../alloydb/v1alpha/OperationMetadata.java | 1032 ++- .../v1alpha/OperationMetadataOrBuilder.java | 114 +- .../v1alpha/PromoteClusterRequest.java | 530 +- .../PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1alpha/ResourcesProto.java | 776 +++ .../v1alpha/RestartInstanceRequest.java | 460 +- .../RestartInstanceRequestOrBuilder.java | 47 +- .../v1alpha/RestoreClusterRequest.java | 940 +-- .../RestoreClusterRequestOrBuilder.java | 95 +- .../cloud/alloydb/v1alpha/ServiceProto.java | 921 +++ .../cloud/alloydb/v1alpha/SslConfig.java | 566 +- .../alloydb/v1alpha/SslConfigOrBuilder.java | 49 + .../v1alpha/SupportedDatabaseFlag.java | 2210 +++---- .../v1alpha/SupportedDatabaseFlagName.java | 0 .../SupportedDatabaseFlagOrBuilder.java | 111 +- .../alloydb/v1alpha/UpdateBackupRequest.java | 651 +- .../v1alpha/UpdateBackupRequestOrBuilder.java | 70 +- .../alloydb/v1alpha/UpdateClusterRequest.java | 662 +- .../UpdateClusterRequestOrBuilder.java | 70 +- .../v1alpha/UpdateInstanceRequest.java | 662 +- .../UpdateInstanceRequestOrBuilder.java | 70 +- .../alloydb/v1alpha/UpdateUserRequest.java | 633 +- .../v1alpha/UpdateUserRequestOrBuilder.java | 67 +- .../google/cloud/alloydb/v1alpha/User.java | 636 +- .../cloud/alloydb/v1alpha/UserName.java | 0 .../cloud/alloydb/v1alpha/UserOrBuilder.java | 68 +- .../cloud/alloydb/v1alpha/UserPassword.java | 384 +- .../v1alpha/UserPasswordOrBuilder.java | 36 +- .../cloud/alloydb/v1alpha/resources.proto | 0 .../cloud/alloydb/v1alpha/service.proto | 0 .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 0 .../SyncGenerateClientCertificate.java | 0 ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../alloydbadmin/getuser/AsyncGetUser.java | 0 .../alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../alloydb/v1beta/AlloyDBAdminClient.java | 0 .../alloydb/v1beta/AlloyDBAdminSettings.java | 1 + .../cloud/alloydb/v1beta/gapic_metadata.json | 0 .../cloud/alloydb/v1beta/package-info.java | 0 .../alloydb/v1beta/stub/AlloyDBAdminStub.java | 0 .../v1beta/stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../v1beta/stub/GrpcAlloyDBAdminStub.java | 1 + .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../v1beta/stub/HttpJsonAlloyDBAdminStub.java | 1 + .../reflect-config.json | 0 .../AlloyDBAdminClientHttpJsonTest.java | 0 .../v1beta/AlloyDBAdminClientTest.java | 0 .../alloydb/v1beta/MockAlloyDBAdmin.java | 0 .../alloydb/v1beta/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1beta/MockIAMPolicy.java | 0 .../alloydb/v1beta/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1beta/MockLocations.java | 0 .../alloydb/v1beta/MockLocationsImpl.java | 0 .../alloydb/v1beta/AlloyDBAdminGrpc.java | 2995 +++++++++ .../alloydb/v1beta/AutomatedBackupPolicy.java | 2916 ++++----- .../AutomatedBackupPolicyOrBuilder.java | 160 +- .../google/cloud/alloydb/v1beta/Backup.java | 2977 +++------ .../cloud/alloydb/v1beta/BackupName.java | 0 .../cloud/alloydb/v1beta/BackupOrBuilder.java | 317 +- .../cloud/alloydb/v1beta/BackupSource.java | 412 +- .../alloydb/v1beta/BackupSourceOrBuilder.java | 44 +- .../v1beta/BatchCreateInstanceStatus.java | 614 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1beta/BatchCreateInstancesMetadata.java | 681 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1beta/BatchCreateInstancesRequest.java | 565 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1beta/BatchCreateInstancesResponse.java | 421 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../google/cloud/alloydb/v1beta/Cluster.java | 4925 +++++--------- .../cloud/alloydb/v1beta/ClusterName.java | 0 .../alloydb/v1beta/ClusterOrBuilder.java | 460 +- .../cloud/alloydb/v1beta/ClusterView.java | 82 +- .../cloud/alloydb/v1beta/ConnectionInfo.java | 655 +- .../v1beta/ConnectionInfoOrBuilder.java | 103 +- .../v1beta/ContinuousBackupConfig.java | 424 +- .../ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1beta/ContinuousBackupInfo.java | 865 +-- .../v1beta/ContinuousBackupInfoOrBuilder.java | 113 +- .../v1beta/ContinuousBackupSource.java | 448 +- .../ContinuousBackupSourceOrBuilder.java | 44 +- .../alloydb/v1beta/CreateBackupRequest.java | 659 +- .../v1beta/CreateBackupRequestOrBuilder.java | 73 +- .../alloydb/v1beta/CreateClusterRequest.java | 670 +- .../v1beta/CreateClusterRequestOrBuilder.java | 76 +- .../alloydb/v1beta/CreateInstanceRequest.java | 673 +- .../CreateInstanceRequestOrBuilder.java | 76 +- .../v1beta/CreateInstanceRequests.java | 528 +- .../CreateInstanceRequestsOrBuilder.java | 58 + .../v1beta/CreateSecondaryClusterRequest.java | 687 +- ...reateSecondaryClusterRequestOrBuilder.java | 76 +- .../CreateSecondaryInstanceRequest.java | 696 +- ...eateSecondaryInstanceRequestOrBuilder.java | 76 +- .../alloydb/v1beta/CreateUserRequest.java | 644 +- .../v1beta/CreateUserRequestOrBuilder.java | 73 +- .../cloud/alloydb/v1beta/DatabaseVersion.java | 89 +- .../alloydb/v1beta/DeleteBackupRequest.java | 527 +- .../v1beta/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1beta/DeleteClusterRequest.java | 561 +- .../v1beta/DeleteClusterRequestOrBuilder.java | 59 +- .../alloydb/v1beta/DeleteInstanceRequest.java | 530 +- .../DeleteInstanceRequestOrBuilder.java | 56 +- .../alloydb/v1beta/DeleteUserRequest.java | 453 +- .../v1beta/DeleteUserRequestOrBuilder.java | 47 +- .../alloydb/v1beta/EncryptionConfig.java | 319 +- .../v1beta/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1beta/EncryptionInfo.java | 556 +- .../v1beta/EncryptionInfoOrBuilder.java | 73 + .../v1beta/FailoverInstanceRequest.java | 456 +- .../FailoverInstanceRequestOrBuilder.java | 47 +- .../GenerateClientCertificateRequest.java | 793 +-- ...rateClientCertificateRequestOrBuilder.java | 86 +- .../GenerateClientCertificateResponse.java | 575 +- ...ateClientCertificateResponseOrBuilder.java | 66 +- .../alloydb/v1beta/GetBackupRequest.java | 347 +- .../v1beta/GetBackupRequestOrBuilder.java | 29 + .../alloydb/v1beta/GetClusterRequest.java | 425 +- .../v1beta/GetClusterRequestOrBuilder.java | 52 + .../v1beta/GetConnectionInfoRequest.java | 422 +- .../GetConnectionInfoRequestOrBuilder.java | 44 +- .../alloydb/v1beta/GetInstanceRequest.java | 403 +- .../v1beta/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1beta/GetUserRequest.java | 340 +- .../v1beta/GetUserRequestOrBuilder.java | 31 + .../alloydb/v1beta/InjectFaultRequest.java | 613 +- .../v1beta/InjectFaultRequestOrBuilder.java | 61 +- .../google/cloud/alloydb/v1beta/Instance.java | 5714 ++++++---------- .../cloud/alloydb/v1beta/InstanceName.java | 0 .../alloydb/v1beta/InstanceOrBuilder.java | 378 +- .../cloud/alloydb/v1beta/InstanceView.java | 82 +- .../alloydb/v1beta/ListBackupsRequest.java | 596 +- .../v1beta/ListBackupsRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListBackupsResponse.java | 587 +- .../v1beta/ListBackupsResponseOrBuilder.java | 63 +- .../alloydb/v1beta/ListClustersRequest.java | 596 +- .../v1beta/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListClustersResponse.java | 588 +- .../v1beta/ListClustersResponseOrBuilder.java | 63 +- .../alloydb/v1beta/ListInstancesRequest.java | 596 +- .../v1beta/ListInstancesRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListInstancesResponse.java | 591 +- .../ListInstancesResponseOrBuilder.java | 63 +- .../ListSupportedDatabaseFlagsRequest.java | 487 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 633 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 56 +- .../alloydb/v1beta/ListUsersRequest.java | 596 +- .../v1beta/ListUsersRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListUsersResponse.java | 587 +- .../v1beta/ListUsersResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1beta/LocationName.java | 0 .../cloud/alloydb/v1beta/MigrationSource.java | 539 +- .../v1beta/MigrationSourceOrBuilder.java | 50 +- .../alloydb/v1beta/OperationMetadata.java | 1032 ++- .../v1beta/OperationMetadataOrBuilder.java | 114 +- .../alloydb/v1beta/PromoteClusterRequest.java | 530 +- .../PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1beta/ResourcesProto.java | 773 +++ .../v1beta/RestartInstanceRequest.java | 460 +- .../RestartInstanceRequestOrBuilder.java | 47 +- .../alloydb/v1beta/RestoreClusterRequest.java | 940 +-- .../RestoreClusterRequestOrBuilder.java | 95 +- .../cloud/alloydb/v1beta/ServiceProto.java | 918 +++ .../cloud/alloydb/v1beta/SslConfig.java | 562 +- .../alloydb/v1beta/SslConfigOrBuilder.java | 49 + .../alloydb/v1beta/SupportedDatabaseFlag.java | 2169 +++---- .../v1beta/SupportedDatabaseFlagName.java | 0 .../SupportedDatabaseFlagOrBuilder.java | 111 +- .../alloydb/v1beta/UpdateBackupRequest.java | 648 +- .../v1beta/UpdateBackupRequestOrBuilder.java | 67 +- .../alloydb/v1beta/UpdateClusterRequest.java | 659 +- .../v1beta/UpdateClusterRequestOrBuilder.java | 70 +- .../alloydb/v1beta/UpdateInstanceRequest.java | 662 +- .../UpdateInstanceRequestOrBuilder.java | 70 +- .../alloydb/v1beta/UpdateUserRequest.java | 633 +- .../v1beta/UpdateUserRequestOrBuilder.java | 67 +- .../com/google/cloud/alloydb/v1beta/User.java | 633 +- .../google/cloud/alloydb/v1beta/UserName.java | 0 .../cloud/alloydb/v1beta/UserOrBuilder.java | 68 +- .../cloud/alloydb/v1beta/UserPassword.java | 384 +- .../alloydb/v1beta/UserPasswordOrBuilder.java | 36 +- .../cloud/alloydb/v1beta/resources.proto | 0 .../google/cloud/alloydb/v1beta/service.proto | 0 .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 0 .../SyncGenerateClientCertificate.java | 0 ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../alloydbadmin/getuser/AsyncGetUser.java | 0 .../alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 917 files changed, 72601 insertions(+), 121178 deletions(-) delete mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java delete mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java delete mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java delete mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java (57%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java (80%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java (56%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java (63%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java (77%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java (61%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java (52%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java (52%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java (77%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java (59%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfig.java (66%) create mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java (82%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java (82%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java (82%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java (83%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java (53%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (98%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (98%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1}/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java (57%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java (81%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java (77%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java (57%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java (63%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java (61%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java (61%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java (64%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java (53%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java (59%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java (61%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java (50%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java (65%) create mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java (81%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java (53%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1alpha}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java (57%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java (80%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java (75%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java (77%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java (76%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java (57%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java (63%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java (79%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java (61%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java (62%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java (64%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java (53%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java (63%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java (59%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java (65%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java (62%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java (63%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java (69%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java (67%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java (60%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java (68%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java (71%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java (65%) create mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java (73%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java (81%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java (72%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java (78%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java (74%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java (81%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java (70%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java (66%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java (53%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {java-alloydb => owl-bot-staging/java-alloydb/v1beta}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java deleted file mode 100644 index a560e210d3a3..000000000000 --- a/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,3857 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.alloydb.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListClustersRequest, - com.google.cloud.alloydb.v1.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListClustersRequest, - com.google.cloud.alloydb.v1.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListClustersRequest, - com.google.cloud.alloydb.v1.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.UpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = - getPromoteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.PromoteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = - getRestoreClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.RestoreClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = - getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListInstancesRequest, - com.google.cloud.alloydb.v1.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListInstancesRequest, - com.google.cloud.alloydb.v1.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListInstancesRequest, - com.google.cloud.alloydb.v1.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.v1.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = - getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, com.google.longrunning.Operation> - getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) - == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = - getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> - getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> - getFailoverInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> - getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = - getFailoverInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.FailoverInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = - getInjectFaultMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.InjectFaultRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = - getRestartInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.RestartInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListBackupsRequest, - com.google.cloud.alloydb.v1.ListBackupsResponse> - getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListBackupsRequest, - com.google.cloud.alloydb.v1.ListBackupsResponse> - getListBackupsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListBackupsRequest, - com.google.cloud.alloydb.v1.ListBackupsResponse> - getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListBackupsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> - getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> - getGetBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> - getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetBackupRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.v1.CreateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = - getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = - AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = - getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1.ConnectionInfo> - getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1.ConnectionInfo> - getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1.ConnectionInfo> - getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = - getGetConnectionInfoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListUsersRequest, - com.google.cloud.alloydb.v1.ListUsersResponse> - getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListUsersRequest, - com.google.cloud.alloydb.v1.ListUsersResponse> - getListUsersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.ListUsersRequest, - com.google.cloud.alloydb.v1.ListUsersResponse> - getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = - getListUsersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListUsersRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListUsersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> - getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> - getGetUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> - getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = - getGetUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> - getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> - getCreateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> - getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = - getCreateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> - getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> - getUpdateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> - getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = - getUpdateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.UpdateUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = - getDeleteUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.DeleteUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters( - com.google.cloud.alloydb.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster( - com.google.cloud.alloydb.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster( - com.google.cloud.alloydb.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster( - com.google.cloud.alloydb.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster( - com.google.cloud.alloydb.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster( - com.google.cloud.alloydb.v1.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPromoteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster( - com.google.cloud.alloydb.v1.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances( - com.google.cloud.alloydb.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance( - com.google.cloud.alloydb.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance( - com.google.cloud.alloydb.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance( - com.google.cloud.alloydb.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance( - com.google.cloud.alloydb.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance( - com.google.cloud.alloydb.v1.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFailoverInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault( - com.google.cloud.alloydb.v1.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInjectFaultMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance( - com.google.cloud.alloydb.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups( - com.google.cloud.alloydb.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup( - com.google.cloud.alloydb.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup( - com.google.cloud.alloydb.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup( - com.google.cloud.alloydb.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup( - com.google.cloud.alloydb.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateClientCertificateMethod(), responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectionInfoMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers( - com.google.cloud.alloydb.v1.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser( - com.google.cloud.alloydb.v1.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser( - com.google.cloud.alloydb.v1.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser( - com.google.cloud.alloydb.v1.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser( - com.google.cloud.alloydb.v1.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public abstract static class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters( - com.google.cloud.alloydb.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster( - com.google.cloud.alloydb.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster( - com.google.cloud.alloydb.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster( - com.google.cloud.alloydb.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster( - com.google.cloud.alloydb.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster( - com.google.cloud.alloydb.v1.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster( - com.google.cloud.alloydb.v1.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.alloydb.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance( - com.google.cloud.alloydb.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.alloydb.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.alloydb.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.alloydb.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance( - com.google.cloud.alloydb.v1.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault( - com.google.cloud.alloydb.v1.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance( - com.google.cloud.alloydb.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups( - com.google.cloud.alloydb.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup( - com.google.cloud.alloydb.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup( - com.google.cloud.alloydb.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup( - com.google.cloud.alloydb.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup( - com.google.cloud.alloydb.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers( - com.google.cloud.alloydb.v1.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser( - com.google.cloud.alloydb.v1.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser( - com.google.cloud.alloydb.v1.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser( - com.google.cloud.alloydb.v1.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser( - com.google.cloud.alloydb.v1.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListClustersResponse listClusters( - com.google.cloud.alloydb.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1.Cluster getCluster( - com.google.cloud.alloydb.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster( - com.google.cloud.alloydb.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster( - com.google.cloud.alloydb.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster( - com.google.cloud.alloydb.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster( - com.google.cloud.alloydb.v1.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster( - com.google.cloud.alloydb.v1.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListInstancesResponse listInstances( - com.google.cloud.alloydb.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1.Instance getInstance( - com.google.cloud.alloydb.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.alloydb.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance( - com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault( - com.google.cloud.alloydb.v1.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance( - com.google.cloud.alloydb.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListBackupsResponse listBackups( - com.google.cloud.alloydb.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1.Backup getBackup( - com.google.cloud.alloydb.v1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup( - com.google.cloud.alloydb.v1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup( - com.google.cloud.alloydb.v1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup( - com.google.cloud.alloydb.v1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse generateClientCertificate( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1.ConnectionInfo getConnectionInfo( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListUsersResponse listUsers( - com.google.cloud.alloydb.v1.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1.User getUser( - com.google.cloud.alloydb.v1.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1.User createUser( - com.google.cloud.alloydb.v1.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1.User updateUser( - com.google.cloud.alloydb.v1.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser( - com.google.cloud.alloydb.v1.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ListClustersResponse> - listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ListInstancesResponse> - listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryInstance( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ListBackupsResponse> - listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> - generateClientCertificate( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ConnectionInfo> - getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1.ListUsersResponse> - listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getUser(com.google.cloud.alloydb.v1.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createUser(com.google.cloud.alloydb.v1.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.cloud.alloydb.v1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.cloud.alloydb.v1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.cloud.alloydb.v1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.cloud.alloydb.v1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.cloud.alloydb.v1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster( - (com.google.cloud.alloydb.v1.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster( - (com.google.cloud.alloydb.v1.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster( - (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.cloud.alloydb.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.alloydb.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.alloydb.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance( - (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances( - (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.cloud.alloydb.v1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.alloydb.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance( - (com.google.cloud.alloydb.v1.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault( - (com.google.cloud.alloydb.v1.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance( - (com.google.cloud.alloydb.v1.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.cloud.alloydb.v1.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.cloud.alloydb.v1.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.cloud.alloydb.v1.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.cloud.alloydb.v1.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.cloud.alloydb.v1.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags( - (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>) - responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate( - (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>) - responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo( - (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers( - (com.google.cloud.alloydb.v1.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser( - (com.google.cloud.alloydb.v1.GetUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser( - (com.google.cloud.alloydb.v1.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser( - (com.google.cloud.alloydb.v1.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser( - (com.google.cloud.alloydb.v1.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListClustersRequest, - com.google.cloud.alloydb.v1.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetClusterRequest, - com.google.cloud.alloydb.v1.Cluster>(service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.PromoteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.RestoreClusterRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListInstancesRequest, - com.google.cloud.alloydb.v1.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetInstanceRequest, - com.google.cloud.alloydb.v1.Instance>(service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.FailoverInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.InjectFaultRequest, - com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.RestartInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListBackupsRequest, - com.google.cloud.alloydb.v1.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetBackupRequest, - com.google.cloud.alloydb.v1.Backup>(service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteBackupRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListUsersRequest, - com.google.cloud.alloydb.v1.ListUsersResponse>(service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User>( - service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateUserRequest, - com.google.cloud.alloydb.v1.User>(service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateUserRequest, - com.google.cloud.alloydb.v1.User>(service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private abstract static class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java deleted file mode 100644 index b3d01b069145..000000000000 --- a/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,3913 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.alloydb.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1alpha/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1alpha.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListClustersRequest, - com.google.cloud.alloydb.v1alpha.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListClustersRequest, - com.google.cloud.alloydb.v1alpha.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListClustersRequest, - com.google.cloud.alloydb.v1alpha.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetClusterRequest, - com.google.cloud.alloydb.v1alpha.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetClusterRequest, - com.google.cloud.alloydb.v1alpha.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetClusterRequest, - com.google.cloud.alloydb.v1alpha.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, - com.google.longrunning.Operation> - getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = - getPromoteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, - com.google.longrunning.Operation> - getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = - getRestoreClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = - getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListInstancesRequest, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListInstancesRequest, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListInstancesRequest, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetInstanceRequest, - com.google.cloud.alloydb.v1alpha.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetInstanceRequest, - com.google.cloud.alloydb.v1alpha.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetInstanceRequest, - com.google.cloud.alloydb.v1alpha.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = - getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) - == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = - getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, - com.google.longrunning.Operation> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, - com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, - com.google.longrunning.Operation> - getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, - com.google.longrunning.Operation> - getFailoverInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, - com.google.longrunning.Operation> - getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = - getFailoverInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = - getInjectFaultMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, - com.google.longrunning.Operation> - getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = - getRestartInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListBackupsRequest, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse> - getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListBackupsRequest, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse> - getListBackupsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListBackupsRequest, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse> - getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListBackupsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetBackupRequest, - com.google.cloud.alloydb.v1alpha.Backup> - getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetBackupRequest, - com.google.cloud.alloydb.v1alpha.Backup> - getGetBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetBackupRequest, - com.google.cloud.alloydb.v1alpha.Backup> - getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = - getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = - AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = - getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1alpha.ConnectionInfo> - getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1alpha.ConnectionInfo> - getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1alpha.ConnectionInfo> - getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = - getGetConnectionInfoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListUsersRequest, - com.google.cloud.alloydb.v1alpha.ListUsersResponse> - getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListUsersRequest, - com.google.cloud.alloydb.v1alpha.ListUsersResponse> - getListUsersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.ListUsersRequest, - com.google.cloud.alloydb.v1alpha.ListUsersResponse> - getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = - getListUsersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListUsersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListUsersResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> - getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1alpha.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> - getGetUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> - getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = - getGetUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateUserRequest, com.google.cloud.alloydb.v1alpha.User> - getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateUserRequest, com.google.cloud.alloydb.v1alpha.User> - getCreateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.CreateUserRequest, - com.google.cloud.alloydb.v1alpha.User> - getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = - getCreateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateUserRequest, com.google.cloud.alloydb.v1alpha.User> - getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateUserRequest, com.google.cloud.alloydb.v1alpha.User> - getUpdateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.UpdateUserRequest, - com.google.cloud.alloydb.v1alpha.User> - getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = - getUpdateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = - getDeleteUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters( - com.google.cloud.alloydb.v1alpha.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster( - com.google.cloud.alloydb.v1alpha.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPromoteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFailoverInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInjectFaultMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup( - com.google.cloud.alloydb.v1alpha.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateClientCertificateMethod(), responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectionInfoMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers( - com.google.cloud.alloydb.v1alpha.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser( - com.google.cloud.alloydb.v1alpha.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser( - com.google.cloud.alloydb.v1alpha.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public abstract static class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters( - com.google.cloud.alloydb.v1alpha.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster( - com.google.cloud.alloydb.v1alpha.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup( - com.google.cloud.alloydb.v1alpha.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers( - com.google.cloud.alloydb.v1alpha.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser( - com.google.cloud.alloydb.v1alpha.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser( - com.google.cloud.alloydb.v1alpha.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListClustersResponse listClusters( - com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Cluster getCluster( - com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListInstancesResponse listInstances( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Instance getInstance( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListBackupsResponse listBackups( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Backup getBackup( - com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - generateClientCertificate( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ConnectionInfo getConnectionInfo( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListUsersResponse listUsers( - com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User getUser( - com.google.cloud.alloydb.v1alpha.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User createUser( - com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User updateUser( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ListClustersResponse> - listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.Cluster> - getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryCluster( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ListInstancesResponse> - listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.Instance> - getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryInstance( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ListBackupsResponse> - listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.Backup> - getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> - generateClientCertificate( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ConnectionInfo> - getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1alpha.ListUsersResponse> - listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.cloud.alloydb.v1alpha.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.cloud.alloydb.v1alpha.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster( - (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster( - (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster( - (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.cloud.alloydb.v1alpha.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance( - (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances( - (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance( - (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault( - (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance( - (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.cloud.alloydb.v1alpha.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.cloud.alloydb.v1alpha.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags( - (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>) - responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate( - (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>) - responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo( - (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers( - (com.google.cloud.alloydb.v1alpha.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser( - (com.google.cloud.alloydb.v1alpha.GetUserRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser( - (com.google.cloud.alloydb.v1alpha.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser( - (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser( - (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListClustersRequest, - com.google.cloud.alloydb.v1alpha.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetClusterRequest, - com.google.cloud.alloydb.v1alpha.Cluster>(service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListInstancesRequest, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetInstanceRequest, - com.google.cloud.alloydb.v1alpha.Instance>(service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.InjectFaultRequest, - com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListBackupsRequest, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetBackupRequest, - com.google.cloud.alloydb.v1alpha.Backup>(service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1alpha.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListUsersRequest, - com.google.cloud.alloydb.v1alpha.ListUsersResponse>( - service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetUserRequest, - com.google.cloud.alloydb.v1alpha.User>(service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateUserRequest, - com.google.cloud.alloydb.v1alpha.User>(service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateUserRequest, - com.google.cloud.alloydb.v1alpha.User>(service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private abstract static class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java deleted file mode 100644 index 40b4380d1016..000000000000 --- a/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,3899 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.alloydb.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1beta/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1beta.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListClustersRequest, - com.google.cloud.alloydb.v1beta.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1beta.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListClustersRequest, - com.google.cloud.alloydb.v1beta.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListClustersRequest, - com.google.cloud.alloydb.v1beta.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetClusterRequest, - com.google.cloud.alloydb.v1beta.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1beta.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetClusterRequest, - com.google.cloud.alloydb.v1beta.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetClusterRequest, - com.google.cloud.alloydb.v1beta.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> - getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> - getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = - getPromoteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> - getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = - getRestoreClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, - com.google.longrunning.Operation> - getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = - getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListInstancesRequest, - com.google.cloud.alloydb.v1beta.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListInstancesRequest, - com.google.cloud.alloydb.v1beta.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListInstancesRequest, - com.google.cloud.alloydb.v1beta.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetInstanceRequest, - com.google.cloud.alloydb.v1beta.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetInstanceRequest, - com.google.cloud.alloydb.v1beta.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetInstanceRequest, - com.google.cloud.alloydb.v1beta.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation> - getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) - == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = - getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, - com.google.longrunning.Operation> - getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) - == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = - getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, com.google.longrunning.Operation> - getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, com.google.longrunning.Operation> - getFailoverInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, - com.google.longrunning.Operation> - getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = - getFailoverInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> - getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = - getInjectFaultMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.InjectFaultRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestartInstanceRequest, com.google.longrunning.Operation> - getRestartInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.RestartInstanceRequest, - com.google.longrunning.Operation> - getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = - getRestartInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListBackupsRequest, - com.google.cloud.alloydb.v1beta.ListBackupsResponse> - getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListBackupsRequest, - com.google.cloud.alloydb.v1beta.ListBackupsResponse> - getListBackupsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListBackupsRequest, - com.google.cloud.alloydb.v1beta.ListBackupsResponse> - getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListBackupsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListBackupsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetBackupRequest, com.google.cloud.alloydb.v1beta.Backup> - getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1beta.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetBackupRequest, com.google.cloud.alloydb.v1beta.Backup> - getGetBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetBackupRequest, - com.google.cloud.alloydb.v1beta.Backup> - getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> - getCreateBackupMethod; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> - getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> - getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteBackupRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) - == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = - getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = - AlloyDBAdminGrpc.getGenerateClientCertificateMethod) - == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = - getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1beta.ConnectionInfo> - getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1beta.ConnectionInfo> - getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1beta.ConnectionInfo> - getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = - getGetConnectionInfoMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor( - new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListUsersRequest, - com.google.cloud.alloydb.v1beta.ListUsersResponse> - getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1beta.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListUsersRequest, - com.google.cloud.alloydb.v1beta.ListUsersResponse> - getListUsersMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.ListUsersRequest, - com.google.cloud.alloydb.v1beta.ListUsersResponse> - getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = - getListUsersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListUsersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListUsersResponse - .getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> - getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1beta.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> - getGetUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> - getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = - getGetUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> - getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1beta.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> - getCreateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> - getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = - getCreateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> - getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> - getUpdateUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> - getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = - getUpdateUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.UpdateUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> - getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = - getDeleteUserMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.DeleteUserRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters( - com.google.cloud.alloydb.v1beta.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster( - com.google.cloud.alloydb.v1beta.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster( - com.google.cloud.alloydb.v1beta.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPromoteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances( - com.google.cloud.alloydb.v1beta.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance( - com.google.cloud.alloydb.v1beta.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFailoverInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault( - com.google.cloud.alloydb.v1beta.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInjectFaultMethod(), responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRestartInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups( - com.google.cloud.alloydb.v1beta.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup( - com.google.cloud.alloydb.v1beta.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup( - com.google.cloud.alloydb.v1beta.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateClientCertificateMethod(), responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetConnectionInfoMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers( - com.google.cloud.alloydb.v1beta.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser( - com.google.cloud.alloydb.v1beta.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser( - com.google.cloud.alloydb.v1beta.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser( - com.google.cloud.alloydb.v1beta.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser( - com.google.cloud.alloydb.v1beta.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public abstract static class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters( - com.google.cloud.alloydb.v1beta.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster( - com.google.cloud.alloydb.v1beta.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster( - com.google.cloud.alloydb.v1beta.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances( - com.google.cloud.alloydb.v1beta.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance( - com.google.cloud.alloydb.v1beta.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault( - com.google.cloud.alloydb.v1beta.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups( - com.google.cloud.alloydb.v1beta.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup( - com.google.cloud.alloydb.v1beta.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup( - com.google.cloud.alloydb.v1beta.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers( - com.google.cloud.alloydb.v1beta.ListUsersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser( - com.google.cloud.alloydb.v1beta.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser( - com.google.cloud.alloydb.v1beta.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser( - com.google.cloud.alloydb.v1beta.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser( - com.google.cloud.alloydb.v1beta.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListClustersResponse listClusters( - com.google.cloud.alloydb.v1beta.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Cluster getCluster( - com.google.cloud.alloydb.v1beta.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster( - com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListInstancesResponse listInstances( - com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Instance getInstance( - com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault( - com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListBackupsResponse listBackups( - com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Backup getBackup( - com.google.cloud.alloydb.v1beta.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup( - com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - generateClientCertificate( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ConnectionInfo getConnectionInfo( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListUsersResponse listUsers( - com.google.cloud.alloydb.v1beta.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User getUser( - com.google.cloud.alloydb.v1beta.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User createUser( - com.google.cloud.alloydb.v1beta.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User updateUser( - com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser( - com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - * - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ListClustersResponse> - listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.Cluster> - getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryCluster( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ListInstancesResponse> - listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.Instance> - getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createSecondaryInstance( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ListBackupsResponse> - listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.Backup> - getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> - listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> - generateClientCertificate( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ConnectionInfo> - getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.alloydb.v1beta.ListUsersResponse> - listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.cloud.alloydb.v1beta.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.cloud.alloydb.v1beta.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.cloud.alloydb.v1beta.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster( - (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster( - (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster( - (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.cloud.alloydb.v1beta.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.cloud.alloydb.v1beta.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.cloud.alloydb.v1beta.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance( - (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances( - (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance( - (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault( - (com.google.cloud.alloydb.v1beta.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance( - (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups( - (com.google.cloud.alloydb.v1beta.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup( - (com.google.cloud.alloydb.v1beta.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup( - (com.google.cloud.alloydb.v1beta.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup( - (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup( - (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags( - (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>) - responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate( - (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>) - responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo( - (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers( - (com.google.cloud.alloydb.v1beta.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser( - (com.google.cloud.alloydb.v1beta.GetUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser( - (com.google.cloud.alloydb.v1beta.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser( - (com.google.cloud.alloydb.v1beta.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser( - (com.google.cloud.alloydb.v1beta.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListClustersRequest, - com.google.cloud.alloydb.v1beta.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetClusterRequest, - com.google.cloud.alloydb.v1beta.Cluster>(service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.PromoteClusterRequest, - com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.RestoreClusterRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListInstancesRequest, - com.google.cloud.alloydb.v1beta.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetInstanceRequest, - com.google.cloud.alloydb.v1beta.Instance>(service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, - com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.InjectFaultRequest, - com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.RestartInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListBackupsRequest, - com.google.cloud.alloydb.v1beta.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetBackupRequest, - com.google.cloud.alloydb.v1beta.Backup>(service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteBackupRequest, - com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1beta.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListUsersRequest, - com.google.cloud.alloydb.v1beta.ListUsersResponse>( - service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetUserRequest, - com.google.cloud.alloydb.v1beta.User>(service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateUserRequest, - com.google.cloud.alloydb.v1beta.User>(service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateUserRequest, - com.google.cloud.alloydb.v1beta.User>(service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private abstract static class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 672975e9252a..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface CreateInstanceRequestsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List getCreateInstanceRequestsList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getCreateInstanceRequestsCount(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java deleted file mode 100644 index 3392eb6dd0e2..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/resources.proto - -package com.google.cloud.alloydb.v1; - -public interface EncryptionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType(); - - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the kmsKeyVersions. - */ - java.util.List getKmsKeyVersionsList(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java deleted file mode 100644 index 1c4a29c2ba01..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java deleted file mode 100644 index 4fa7bcbce764..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface GetUserRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java deleted file mode 100644 index 048c48bc74f7..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java +++ /dev/null @@ -1,904 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/resources.proto - -package com.google.cloud.alloydb.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_cloud_alloydb_v1_UserPassword_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_User_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_User_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/cloud/alloydb/v1/resources.prot" - + "o\022\027google.cloud.alloydb.v1\032\037google/api/f" - + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032\036google/protobuf/duration.proto\032\037" - + "google/protobuf/timestamp.proto\032\036google/" - + "protobuf/wrappers.proto\032\033google/type/day" - + "ofweek.proto\032\033google/type/timeofday.prot" - + "o\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022\020\n\010passw" - + "ord\030\002 \001(\t\"\346\001\n\017MigrationSource\022\027\n\thost_po" - + "rt\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002 \001(\tB\004\342A" - + "\001\003\022W\n\013source_type\030\003 \001(\0162<.google.cloud.a" - + "lloydb.v1.MigrationSource.MigrationSourc" - + "eTypeB\004\342A\001\003\"E\n\023MigrationSourceType\022%\n!MI" - + "GRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n\003DMS" - + "\020\001\"(\n\020EncryptionConfig\022\024\n\014kms_key_name\030\001" - + " \001(\t\"\210\002\n\016EncryptionInfo\022K\n\017encryption_ty" - + "pe\030\001 \001(\0162,.google.cloud.alloydb.v1.Encry" - + "ptionInfo.TypeB\004\342A\001\003\022K\n\020kms_key_versions" - + "\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkms.googleapis.com" - + "/CryptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPEC" - + "IFIED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037" - + "\n\033CUSTOMER_MANAGED_ENCRYPTION\020\002\"\200\003\n\tSslC" - + "onfig\022B\n\010ssl_mode\030\001 \001(\0162*.google.cloud.a" - + "lloydb.v1.SslConfig.SslModeB\004\342A\001\001\022D\n\tca_" - + "source\030\002 \001(\0162+.google.cloud.alloydb.v1.S" - + "slConfig.CaSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024S" - + "SL_MODE_UNSPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020" - + "\001\032\002\010\001\022\030\n\020SSL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_M" - + "ODE_VERIFY_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED" - + "_AND_ENCRYPTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010" - + "CaSource\022\031\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021C" - + "A_SOURCE_MANAGED\020\001\"\346\006\n\025AutomatedBackupPo" - + "licy\022X\n\017weekly_schedule\030\002 \001(\0132=.google.c" - + "loud.alloydb.v1.AutomatedBackupPolicy.We" - + "eklyScheduleH\000\022a\n\024time_based_retention\030\004" - + " \001(\0132A.google.cloud.alloydb.v1.Automated" - + "BackupPolicy.TimeBasedRetentionH\001\022i\n\030qua" - + "ntity_based_retention\030\005 \001(\0132E.google.clo" - + "ud.alloydb.v1.AutomatedBackupPolicy.Quan" - + "tityBasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210" - + "\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google.proto" - + "buf.Duration\022J\n\021encryption_config\030\010 \001(\0132" - + ").google.cloud.alloydb.v1.EncryptionConf" - + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022J\n\006labels\030\007 \003" - + "(\0132:.google.cloud.alloydb.v1.AutomatedBa" - + "ckupPolicy.LabelsEntry\032k\n\016WeeklySchedule" - + "\022+\n\013start_times\030\001 \003(\0132\026.google.type.Time" - + "OfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google.typ" - + "e.DayOfWeek\032I\n\022TimeBasedRetention\0223\n\020ret" - + "ention_period\030\001 \001(\0132\031.google.protobuf.Du" - + "ration\032\'\n\026QuantityBasedRetention\022\r\n\005coun" - + "t\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretentionB" - + "\n\n\010_enabled\"\236\001\n\026ContinuousBackupConfig\022\024" - + "\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_window_" - + "days\030\004 \001(\005\022D\n\021encryption_config\030\003 \001(\0132)." - + "google.cloud.alloydb.v1.EncryptionConfig" - + "B\n\n\010_enabled\"\212\002\n\024ContinuousBackupInfo\022F\n" - + "\017encryption_info\030\001 \001(\0132\'.google.cloud.al" - + "loydb.v1.EncryptionInfoB\004\342A\001\003\0226\n\014enabled" - + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.google.type.Da" - + "yOfWeekB\004\342A\001\003\022B\n\030earliest_restorable_tim" - + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" - + "\003\"e\n\014BackupSource\022\030\n\nbackup_uid\030\002 \001(\tB\004\342" - + "A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloy" - + "db.googleapis.com/Backup\"h\n\026ContinuousBa" - + "ckupSource\022\025\n\007cluster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoi" - + "nt_in_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tampB\004\342A\001\002\"\302\021\n\007Cluster\022D\n\rbackup_source\030" - + "\017 \001(\0132%.google.cloud.alloydb.v1.BackupSo" - + "urceB\004\342A\001\003H\000\022J\n\020migration_source\030\020 \001(\0132(" - + ".google.cloud.alloydb.v1.MigrationSource" - + "B\004\342A\001\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_" - + "name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_" - + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\013" - + "2\032.google.protobuf.TimestampB\004\342A\001\003\022<\n\006la" - + "bels\030\007 \003(\0132,.google.cloud.alloydb.v1.Clu" - + "ster.LabelsEntry\022;\n\005state\030\010 \001(\0162&.google" - + ".cloud.alloydb.v1.Cluster.StateB\004\342A\001\003\022H\n" - + "\014cluster_type\030\030 \001(\0162,.google.cloud.alloy" - + "db.v1.Cluster.ClusterTypeB\004\342A\001\003\022H\n\020datab" - + "ase_version\030\t \001(\0162(.google.cloud.alloydb" - + ".v1.DatabaseVersionB\004\342A\001\001\022L\n\016network_con" - + "fig\030\035 \001(\0132..google.cloud.alloydb.v1.Clus" - + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" - + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" - + "ork\022\014\n\004etag\030\013 \001(\t\022F\n\013annotations\030\014 \003(\01321" - + ".google.cloud.alloydb.v1.Cluster.Annotat" - + "ionsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003\022A\n\014" - + "initial_user\030\016 \001(\0132%.google.cloud.alloyd" - + "b.v1.UserPasswordB\004\342A\001\004\022O\n\027automated_bac" - + "kup_policy\030\021 \001(\0132..google.cloud.alloydb." - + "v1.AutomatedBackupPolicy\022:\n\nssl_config\030\022" - + " \001(\0132\".google.cloud.alloydb.v1.SslConfig" - + "B\002\030\001\022J\n\021encryption_config\030\023 \001(\0132).google" - + ".cloud.alloydb.v1.EncryptionConfigB\004\342A\001\001" - + "\022F\n\017encryption_info\030\024 \001(\0132\'.google.cloud" - + ".alloydb.v1.EncryptionInfoB\004\342A\001\003\022W\n\030cont" - + "inuous_backup_config\030\033 \001(\0132/.google.clou" - + "d.alloydb.v1.ContinuousBackupConfigB\004\342A\001" - + "\001\022S\n\026continuous_backup_info\030\034 \001(\0132-.goog" - + "le.cloud.alloydb.v1.ContinuousBackupInfo" - + "B\004\342A\001\003\022J\n\020secondary_config\030\026 \001(\01320.googl" - + "e.cloud.alloydb.v1.Cluster.SecondaryConf" - + "ig\022L\n\016primary_config\030\027 \001(\0132..google.clou" - + "d.alloydb.v1.Cluster.PrimaryConfigB\004\342A\001\003" - + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" - + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" - + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" - + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" - + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" - + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" - + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" - + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" - + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" - + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" - + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." - + "googleapis.com/Cluster\022:projects/{projec" - + "t}/locations/{location}/clusters/{cluste" - + "r}R\001\001B\010\n\006source\"\232\022\n\010Instance\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " - + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google." - + "cloud.alloydb.v1.Instance.LabelsEntry\022<\n" - + "\005state\030\010 \001(\0162\'.google.cloud.alloydb.v1.I" - + "nstance.StateB\004\342A\001\003\022K\n\rinstance_type\030\t \001" - + "(\0162..google.cloud.alloydb.v1.Instance.In" - + "stanceTypeB\004\342A\001\002\022G\n\016machine_config\030\n \001(\013" - + "2/.google.cloud.alloydb.v1.Instance.Mach" - + "ineConfig\022M\n\021availability_type\030\013 \001(\01622.g" - + "oogle.cloud.alloydb.v1.Instance.Availabi" - + "lityType\022\020\n\010gce_zone\030\014 \001(\t\022L\n\016database_f" - + "lags\030\r \003(\01324.google.cloud.alloydb.v1.Ins" - + "tance.DatabaseFlagsEntry\022C\n\rwritable_nod" - + "e\030\023 \001(\0132&.google.cloud.alloydb.v1.Instan" - + "ce.NodeB\004\342A\001\003\022;\n\005nodes\030\024 \003(\0132&.google.cl" - + "oud.alloydb.v1.Instance.NodeB\004\342A\001\003\022\\\n\025qu" - + "ery_insights_config\030\025 \001(\0132=.google.cloud" - + ".alloydb.v1.Instance.QueryInsightsInstan" - + "ceConfig\022J\n\020read_pool_config\030\016 \001(\01320.goo" - + "gle.cloud.alloydb.v1.Instance.ReadPoolCo" - + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" - + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022G\n\013annot" - + "ations\030\022 \003(\01322.google.cloud.alloydb.v1.I" - + "nstance.AnnotationsEntry\022`\n\030client_conne" - + "ction_config\030\027 \001(\01328.google.cloud.alloyd" - + "b.v1.Instance.ClientConnectionConfigB\004\342A" - + "\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(\005\032>" - + "\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n\n\002i" - + "p\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsights" - + "InstanceConfig\022$\n\027record_application_tag" - + "s\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address\030\003 " - + "\001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r\022#\n" - + "\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n\030_r" - + "ecord_application_tagsB\030\n\026_record_client" - + "_addressB\031\n\027_query_plans_per_minute\032$\n\016R" - + "eadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032x\n\026Cli" - + "entConnectionConfig\022 \n\022require_connector" - + "s\030\001 \001(\010B\004\342A\001\001\022<\n\nssl_config\030\002 \001(\0132\".goog" - + "le.cloud.alloydb.v1.SslConfigB\004\342A\001\001\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025" - + "\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOP" - + "PED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAI" - + "NTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020" - + "\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INST" - + "ANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\t" - + "READ_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Availabili" - + "tyType\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020" - + "\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb" - + ".googleapis.com/Instance\022Oprojects/{proj" - + "ect}/locations/{location}/clusters/{clus" - + "ter}/instances/{instance}R\001\001\"\342\001\n\016Connect" - + "ionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(" - + "\tB\004\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A" - + "\207\001\n%alloydb.googleapis.com/ConnectionInf" - + "o\022^projects/{project}/locations/{locatio" - + "n}/clusters/{cluster}/instances/{instanc" - + "e}/connectionInfo\"\267\013\n\006Backup\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " - + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013delete_time\030\017 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\022;\n\006labels\030\006 \003(\0132+.google." - + "cloud.alloydb.v1.Backup.LabelsEntry\022:\n\005s" - + "tate\030\007 \001(\0162%.google.cloud.alloydb.v1.Bac" - + "kup.StateB\004\342A\001\003\0222\n\004type\030\010 \001(\0162$.google.c" - + "loud.alloydb.v1.Backup.Type\022\023\n\013descripti" - + "on\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001\003\022=\n\014c" - + "luster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" - + "leapis.com/Cluster\022\031\n\013reconciling\030\013 \001(\010B" - + "\004\342A\001\003\022J\n\021encryption_config\030\014 \001(\0132).googl" - + "e.cloud.alloydb.v1.EncryptionConfigB\004\342A\001" - + "\001\022F\n\017encryption_info\030\r \001(\0132\'.google.clou" - + "d.alloydb.v1.EncryptionInfoB\004\342A\001\003\022\014\n\004eta" - + "g\030\016 \001(\t\022E\n\013annotations\030\020 \003(\01320.google.cl" - + "oud.alloydb.v1.Backup.AnnotationsEntry\022\030" - + "\n\nsize_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030" - + "\023 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "R\n\017expiry_quantity\030\024 \001(\01323.google.cloud." - + "alloydb.v1.Backup.QuantityBasedExpiryB\004\342" - + "A\001\003\022H\n\020database_version\030\026 \001(\0162(.google.c" - + "loud.alloydb.v1.DatabaseVersionB\004\342A\001\003\032Y\n" - + "\023QuantityBasedExpiry\022\035\n\017retention_count\030" - + "\001 \001(\005B\004\342A\001\003\022#\n\025total_retention_count\030\002 \001" - + "(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021" - + "STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATI" - + "NG\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024" - + "\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tA" - + "UTOMATED\020\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb" - + ".googleapis.com/Backup\0228projects/{projec" - + "t}/locations/{location}/backups/{backup}" - + "R\001\001\"\310\006\n\025SupportedDatabaseFlag\022`\n\023string_" - + "restrictions\030\007 \001(\0132A.google.cloud.alloyd" - + "b.v1.SupportedDatabaseFlag.StringRestric" - + "tionsH\000\022b\n\024integer_restrictions\030\010 \001(\0132B." - + "google.cloud.alloydb.v1.SupportedDatabas" - + "eFlag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(" - + "\t\022\021\n\tflag_name\030\002 \001(\t\022L\n\nvalue_type\030\003 \001(\016" - + "28.google.cloud.alloydb.v1.SupportedData" - + "baseFlag.ValueType\022\037\n\027accepts_multiple_v" - + "alues\030\004 \001(\010\022G\n\025supported_db_versions\030\005 \003" - + "(\0162(.google.cloud.alloydb.v1.DatabaseVer" - + "sion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022Str" - + "ingRestrictions\022\026\n\016allowed_values\030\001 \003(\t\032" - + "u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 \001(" - + "\0132\033.google.protobuf.Int64Value\022.\n\tmax_va" - + "lue\030\002 \001(\0132\033.google.protobuf.Int64Value\"U" - + "\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020\000\022" - + "\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n\004N" - + "ONE\020\004:g\352Ad\n,alloydb.googleapis.com/Suppo" - + "rtedDatabaseFlag\0224projects/{project}/loc" - + "ations/{location}/flags/{flag}B\016\n\014restri" - + "ctions\"\322\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n\010p" - + "assword\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030\004 " - + "\003(\tB\004\342A\001\001\022?\n\tuser_type\030\005 \001(\0162&.google.cl" - + "oud.alloydb.v1.User.UserTypeB\004\342A\001\001\"Q\n\010Us" - + "erType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022\024\n\020ALL" - + "OYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USER\020\002:l\352" - + "Ai\n\033alloydb.googleapis.com/User\022Gproject" - + "s/{project}/locations/{location}/cluster" - + "s/{cluster}/users/{user}R\001\001*^\n\014InstanceV" - + "iew\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023IN" - + "STANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FUL" - + "L\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW_UNSPE" - + "CIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUS" - + "TER_VIEW_CONTINUOUS_BACKUP\020\002*Y\n\017Database" - + "Version\022 \n\034DATABASE_VERSION_UNSPECIFIED\020" - + "\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002B" - + "\262\003\n\033com.google.cloud.alloydb.v1B\016Resourc" - + "esProtoP\001Z5cloud.google.com/go/alloydb/a" - + "piv1/alloydbpb;alloydbpb\252\002\027Google.Cloud." - + "AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032G" - + "oogle::Cloud::AlloyDB::V1\352A\246\001\n(cloudkms." - + "googleapis.com/CryptoKeyVersion\022zproject" - + "s/{project}/locations/{location}/keyRing" - + "s/{key_ring}/cryptoKeys/{crypto_key}/cry" - + "ptoKeyVersions/{crypto_key_version}\352AN\n\036" - + "compute.googleapis.com/Network\022,projects" - + "/{project}/global/networks/{network}b\006pr" - + "oto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_UserPassword_descriptor, - new java.lang.String[] { - "User", "Password", - }); - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor, - new java.lang.String[] { - "HostPort", "ReferenceId", "SourceType", - }); - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyVersions", - }); - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor, - new java.lang.String[] { - "SslMode", "CaSource", - }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { - "WeeklySchedule", - "TimeBasedRetention", - "QuantityBasedRetention", - "Enabled", - "BackupWindow", - "EncryptionConfig", - "Location", - "Labels", - "Schedule", - "Retention", - "Enabled", - }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { - "StartTimes", "DaysOfWeek", - }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { - "Count", - }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor, - new java.lang.String[] { - "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", - }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor, - new java.lang.String[] { - "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", - }); - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor, - new java.lang.String[] { - "BackupUid", "BackupName", - }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor, - new java.lang.String[] { - "Cluster", "PointInTime", - }); - internal_static_google_cloud_alloydb_v1_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_descriptor, - new java.lang.String[] { - "BackupSource", - "MigrationSource", - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "ClusterType", - "DatabaseVersion", - "NetworkConfig", - "Network", - "Etag", - "Annotations", - "Reconciling", - "InitialUser", - "AutomatedBackupPolicy", - "SslConfig", - "EncryptionConfig", - "EncryptionInfo", - "ContinuousBackupConfig", - "ContinuousBackupInfo", - "SecondaryConfig", - "PrimaryConfig", - "Source", - }); - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { - "Network", "AllocatedIpRange", - }); - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { - "PrimaryClusterName", - }); - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { - "SecondaryClusterNames", - }); - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "InstanceType", - "MachineConfig", - "AvailabilityType", - "GceZone", - "DatabaseFlags", - "WritableNode", - "Nodes", - "QueryInsightsConfig", - "ReadPoolConfig", - "IpAddress", - "Reconciling", - "Etag", - "Annotations", - "ClientConnectionConfig", - }); - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor, - new java.lang.String[] { - "CpuCount", - }); - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor, - new java.lang.String[] { - "ZoneId", "Id", "Ip", "State", - }); - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { - "RecordApplicationTags", - "RecordClientAddress", - "QueryStringLength", - "QueryPlansPerMinute", - "RecordApplicationTags", - "RecordClientAddress", - "QueryPlansPerMinute", - }); - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { - "NodeCount", - }); - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { - "RequireConnectors", "SslConfig", - }); - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor, - new java.lang.String[] { - "Name", "IpAddress", "InstanceUid", - }); - internal_static_google_cloud_alloydb_v1_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "Type", - "Description", - "ClusterUid", - "ClusterName", - "Reconciling", - "EncryptionConfig", - "EncryptionInfo", - "Etag", - "Annotations", - "SizeBytes", - "ExpiryTime", - "ExpiryQuantity", - "DatabaseVersion", - }); - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { - "RetentionCount", "TotalRetentionCount", - }); - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { - "StringRestrictions", - "IntegerRestrictions", - "Name", - "FlagName", - "ValueType", - "AcceptsMultipleValues", - "SupportedDbVersions", - "RequiresDbRestart", - "Restrictions", - }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { - "AllowedValues", - }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { - "MinValue", "MaxValue", - }); - internal_static_google_cloud_alloydb_v1_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_User_descriptor, - new java.lang.String[] { - "Name", "Password", "DatabaseRoles", "UserType", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java deleted file mode 100644 index 5868ae7cf1d9..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java +++ /dev/null @@ -1,978 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_cloud_alloydb_v1_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteUserRequest_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/cloud/alloydb/v1/service.proto\022" - + "\027google.cloud.alloydb.v1\032\034google/api/ann" - + "otations.proto\032\027google/api/client.proto\032" - + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\032\'google/cloud/alloyd" - + "b/v1/resources.proto\032#google/longrunning" - + "/operations.proto\032\036google/protobuf/durat" - + "ion.proto\032\033google/protobuf/empty.proto\032 " - + "google/protobuf/field_mask.proto\032\037google" - + "/protobuf/timestamp.proto\032\027google/rpc/st" - + "atus.proto\"\251\001\n\023ListClustersRequest\0227\n\006pa" - + "rent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis." - + "com/Cluster\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\n" - + "page_token\030\003 \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026" - + "\n\010order_by\030\005 \001(\tB\004\342A\001\001\"x\n\024ListClustersRe" - + "sponse\0222\n\010clusters\030\001 \003(\0132 .google.cloud." - + "alloydb.v1.Cluster\022\027\n\017next_page_token\030\002 " - + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"\204\001\n\021GetClusterR" - + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" - + "oogleapis.com/Cluster\0228\n\004view\030\002 \001(\0162$.go" - + "ogle.cloud.alloydb.v1.ClusterViewB\004\342A\001\001\"" - + "\342\001\n\035CreateSecondaryClusterRequest\0227\n\006par" - + "ent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.c" - + "om/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007" - + "cluster\030\003 \001(\0132 .google.cloud.alloydb.v1." - + "ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022" - + "\033\n\rvalidate_only\030\006 \001(\010B\004\342A\001\001\"\331\001\n\024CreateC" - + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" - + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" - + "r_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .goog" - + "le.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nreq" - + "uest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001" - + "(\010B\004\342A\001\001\"\332\001\n\024UpdateClusterRequest\0225\n\013upd" - + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" - + "skB\004\342A\001\001\0227\n\007cluster\030\002 \001(\0132 .google.cloud" - + ".alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" - + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" - + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" - + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" - + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" - + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" - + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" - + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" - + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" - + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" - + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" - + "\001\"\371\002\n\025RestoreClusterRequest\022>\n\rbackup_so" - + "urce\030\004 \001(\0132%.google.cloud.alloydb.v1.Bac" - + "kupSourceH\000\022S\n\030continuous_backup_source\030" - + "\010 \001(\0132/.google.cloud.alloydb.v1.Continuo" - + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" - + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" - + "ster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .g" - + "oogle.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\n" - + "request_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" - + "\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstancesR" - + "equest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb" - + ".googleapis.com/Instance\022\027\n\tpage_size\030\002 " - + "\001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030" - + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"{\n\025L" - + "istInstancesResponse\0224\n\tinstances\030\001 \003(\0132" - + "!.google.cloud.alloydb.v1.Instance\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" - + "\"\201\001\n\022GetInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" - + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" - + "3\n\004view\030\002 \001(\0162%.google.cloud.alloydb.v1." - + "InstanceView\"\336\001\n\025CreateInstanceRequest\0228" - + "\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googlea" - + "pis.com/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342" - + "A\001\002\0229\n\010instance\030\003 \001(\0132!.google.cloud.all" - + "oydb.v1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001" - + "(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\347\001" - + "\n\036CreateSecondaryInstanceRequest\0228\n\006pare" - + "nt\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googleapis.co" - + "m/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\0229\n" - + "\010instance\030\003 \001(\0132!.google.cloud.alloydb.v" - + "1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A" - + "\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"p\n\026Creat" - + "eInstanceRequests\022V\n\030create_instance_req" - + "uests\030\001 \003(\0132..google.cloud.alloydb.v1.Cr" - + "eateInstanceRequestB\004\342A\001\002\"\272\001\n\033BatchCreat" - + "eInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372" - + "A!\022\037alloydb.googleapis.com/Instance\022G\n\010r" - + "equests\030\002 \001(\0132/.google.cloud.alloydb.v1." - + "CreateInstanceRequestsB\004\342A\001\002\022\030\n\nrequest_" - + "id\030\003 \001(\tB\004\342A\001\001\"T\n\034BatchCreateInstancesRe" - + "sponse\0224\n\tinstances\030\001 \003(\0132!.google.cloud" - + ".alloydb.v1.Instance\"\215\002\n\034BatchCreateInst" - + "ancesMetadata\022\030\n\020instance_targets\030\001 \003(\t\022" - + "f\n\021instance_statuses\030\002 \003(\0132K.google.clou" - + "d.alloydb.v1.BatchCreateInstancesMetadat" - + "a.InstanceStatusesEntry\032k\n\025InstanceStatu" - + "sesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.g" - + "oogle.cloud.alloydb.v1.BatchCreateInstan" - + "ceStatus:\0028\001\"\320\002\n\031BatchCreateInstanceStat" - + "us\022G\n\005state\030\001 \001(\01628.google.cloud.alloydb" - + ".v1.BatchCreateInstanceStatus.State\022\021\n\te" - + "rror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.google.r" - + "pc.Status\022<\n\004type\030\003 \001(\0162..google.cloud.a" - + "lloydb.v1.Instance.InstanceType\"v\n\005State" - + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDING_CREAT" - + "E\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING" - + "\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"\335\001\n\025Upda" - + "teInstanceRequest\0225\n\013update_mask\030\001 \001(\0132\032" - + ".google.protobuf.FieldMaskB\004\342A\001\001\0229\n\010inst" - + "ance\030\002 \001(\0132!.google.cloud.alloydb.v1.Ins" - + "tanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n" - + "\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_miss" - + "ing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceReques" - + "t\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.google" - + "apis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342" - + "A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" - + "\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest" - + "\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googlea" - + "pis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A" - + "\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\212\002\n\022Inje" - + "ctFaultRequest\022O\n\nfault_type\030\001 \001(\01625.goo" - + "gle.cloud.alloydb.v1.InjectFaultRequest." - + "FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n\037" - + "alloydb.googleapis.com/Instance\022\030\n\nreque" - + "st_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" - + "B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPEC" - + "IFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstance" - + "Request\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb." - + "googleapis.com/Instance\022\030\n\nrequest_id\030\002 " - + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\225" - + "\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&\342" - + "A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" - + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\023ListBa" - + "ckupsResponse\0220\n\007backups\030\001 \003(\0132\037.google." - + "cloud.alloydb.v1.Backup\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020GetBack" - + "upRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloyd" - + "b.googleapis.com/Backup\"\324\001\n\023CreateBackup" - + "Request\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloyd" - + "b.googleapis.com/Backup\022\027\n\tbackup_id\030\002 \001" - + "(\tB\004\342A\001\002\0225\n\006backup\030\003 \001(\0132\037.google.cloud." - + "alloydb.v1.BackupB\004\342A\001\002\022\030\n\nrequest_id\030\004 " - + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\327" - + "\001\n\023UpdateBackupRequest\0225\n\013update_mask\030\001 " - + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225\n" - + "\006backup\030\002 \001(\0132\037.google.cloud.alloydb.v1." - + "BackupB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033" - + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mis" - + "sing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023DeleteBackupRequest" - + "\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googlea" - + "pis.com/Backup\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001" - + "\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 " - + "\001(\tB\004\342A\001\001\"\221\001\n!ListSupportedDatabaseFlags" - + "Request\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,alloyd" - + "b.googleapis.com/SupportedDatabaseFlag\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001" - + "\n\"ListSupportedDatabaseFlagsResponse\022P\n\030" - + "supported_database_flags\030\001 \003(\0132..google." - + "cloud.alloydb.v1.SupportedDatabaseFlag\022\027" - + "\n\017next_page_token\030\002 \001(\t\"\307\001\n GenerateClie" - + "ntCertificateRequest\0227\n\006parent\030\001 \001(\tB\'\342A" - + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030\n" - + "\nrequest_id\030\002 \001(\tB\004\342A\001\001\0226\n\rcert_duration" - + "\030\004 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001\022" - + "\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\"_\n!GenerateCli" - + "entCertificateResponse\022#\n\025pem_certificat" - + "e_chain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A" - + "\001\001\"n\n\030GetConnectionInfoRequest\0228\n\006parent" - + "\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/" - + "Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\203\003\n\021O" - + "perationMetadata\022f\n\037batch_create_instanc" - + "es_metadata\030\010 \001(\01325.google.cloud.alloydb" - + ".v1.BatchCreateInstancesMetadataB\004\342A\001\003H\000" - + "\0225\n\013create_time\030\001 \001(\0132\032.google.protobuf." - + "TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.goog" - + "le.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 " - + "\001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_" - + "message\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancell" - + "ation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004" - + "\342A\001\003B\022\n\020request_specific\"\251\001\n\020ListUsersRe" - + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb." - + "googleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004" - + "\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter" - + "\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"o\n\021" - + "ListUsersResponse\022,\n\005users\030\001 \003(\0132\035.googl" - + "e.cloud.alloydb.v1.User\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016GetUser" - + "Request\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb." - + "googleapis.com/User\"\312\001\n\021CreateUserReques" - + "t\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.goog" - + "leapis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\002\0221" - + "\n\004user\030\003 \001(\0132\035.google.cloud.alloydb.v1.U" - + "serB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rv" - + "alidate_only\030\005 \001(\010B\004\342A\001\001\"\321\001\n\021UpdateUserR" - + "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro" - + "tobuf.FieldMaskB\004\342A\001\001\0221\n\004user\030\002 \001(\0132\035.go" - + "ogle.cloud.alloydb.v1.UserB\004\342A\001\002\022\030\n\nrequ" - + "est_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(" - + "\010B\004\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"~\n\021" - + "DeleteUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035" - + "\n\033alloydb.googleapis.com/User\022\030\n\nrequest" - + "_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004" - + "\342A\001\0012\3721\n\014AlloyDBAdmin\022\252\001\n\014ListClusters\022," - + ".google.cloud.alloydb.v1.ListClustersReq" - + "uest\032-.google.cloud.alloydb.v1.ListClust" - + "ersResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1/{paren" - + "t=projects/*/locations/*}/clusters\022\227\001\n\nG" - + "etCluster\022*.google.cloud.alloydb.v1.GetC" - + "lusterRequest\032 .google.cloud.alloydb.v1." - + "Cluster\";\332A\004name\202\323\344\223\002.\022,/v1/{name=projec" - + "ts/*/locations/*/clusters/*}\022\327\001\n\rCreateC" - + "luster\022-.google.cloud.alloydb.v1.CreateC" - + "lusterRequest\032\035.google.longrunning.Opera" - + "tion\"x\312A\034\n\007Cluster\022\021OperationMetadata\332A\031" - + "parent,cluster,cluster_id\202\323\344\223\0027\",/v1/{pa" - + "rent=projects/*/locations/*}/clusters:\007c" - + "luster\022\331\001\n\rUpdateCluster\022-.google.cloud." - + "alloydb.v1.UpdateClusterRequest\032\035.google" - + ".longrunning.Operation\"z\312A\034\n\007Cluster\022\021Op" - + "erationMetadata\332A\023cluster,update_mask\202\323\344" - + "\223\002?24/v1/{cluster.name=projects/*/locati" - + "ons/*/clusters/*}:\007cluster\022\307\001\n\rDeleteClu" - + "ster\022-.google.cloud.alloydb.v1.DeleteClu" - + "sterRequest\032\035.google.longrunning.Operati" - + "on\"h\312A*\n\025google.protobuf.Empty\022\021Operatio" - + "nMetadata\332A\004name\202\323\344\223\002.*,/v1/{name=projec" - + "ts/*/locations/*/clusters/*}\022\306\001\n\016Promote" - + "Cluster\022..google.cloud.alloydb.v1.Promot" - + "eClusterRequest\032\035.google.longrunning.Ope" - + "ration\"e\312A\034\n\007Cluster\022\021OperationMetadata\332" - + "A\004name\202\323\344\223\0029\"4/v1/{name=projects/*/locat" - + "ions/*/clusters/*}:promote:\001*\022\277\001\n\016Restor" - + "eCluster\022..google.cloud.alloydb.v1.Resto" - + "reClusterRequest\032\035.google.longrunning.Op" - + "eration\"^\312A\034\n\007Cluster\022\021OperationMetadata" - + "\202\323\344\223\0029\"4/v1/{parent=projects/*/locations" - + "/*}/clusters:restore:\001*\022\372\001\n\026CreateSecond" - + "aryCluster\0226.google.cloud.alloydb.v1.Cre" - + "ateSecondaryClusterRequest\032\035.google.long" - + "running.Operation\"\210\001\312A\034\n\007Cluster\022\021Operat" - + "ionMetadata\332A\031parent,cluster,cluster_id\202" - + "\323\344\223\002G\" - * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior. - * - * - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - * - * - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The sslMode. - */ - com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode(); - - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The caSource. - */ - com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource(); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 762e9983076c..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface CreateInstanceRequestsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getCreateInstanceRequestsList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getCreateInstanceRequestsCount(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java deleted file mode 100644 index 9f573843aaf6..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface EncryptionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType(); - - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the kmsKeyVersions. - */ - java.util.List getKmsKeyVersionsList(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java deleted file mode 100644 index f2db1c18180e..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java deleted file mode 100644 index b5f6c98a12b4..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.alloydb.v1alpha.ClusterView getView(); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java deleted file mode 100644 index d8b6ff01f6e1..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetUserRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java deleted file mode 100644 index 928a78555334..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,936 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_cloud_alloydb_v1alpha_UserPassword_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_User_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_User_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/cloud/alloydb/v1alpha/resources" - + ".proto\022\034google.cloud.alloydb.v1alpha\032\037go" - + "ogle/api/field_behavior.proto\032\031google/ap" - + "i/resource.proto\032\036google/protobuf/durati" - + "on.proto\032\037google/protobuf/timestamp.prot" - + "o\032\036google/protobuf/wrappers.proto\032\033googl" - + "e/type/dayofweek.proto\032\033google/type/time" - + "ofday.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(" - + "\t\022\020\n\010password\030\002 \001(\t\"\353\001\n\017MigrationSource\022" - + "\027\n\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id" - + "\030\002 \001(\tB\004\342A\001\003\022\\\n\013source_type\030\003 \001(\0162A.goog" - + "le.cloud.alloydb.v1alpha.MigrationSource" - + ".MigrationSourceTypeB\004\342A\001\003\"E\n\023MigrationS" - + "ourceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPE" - + "CIFIED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n" - + "\014kms_key_name\030\001 \001(\t\"\215\002\n\016EncryptionInfo\022P" - + "\n\017encryption_type\030\001 \001(\01621.google.cloud.a" - + "lloydb.v1alpha.EncryptionInfo.TypeB\004\342A\001\003" - + "\022K\n\020kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(clo" - + "udkms.googleapis.com/CryptoKeyVersion\"\\\n" - + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" - + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" - + "NCRYPTION\020\002\"\212\003\n\tSslConfig\022G\n\010ssl_mode\030\001 " - + "\001(\0162/.google.cloud.alloydb.v1alpha.SslCo" - + "nfig.SslModeB\004\342A\001\001\022I\n\tca_source\030\002 \001(\01620." - + "google.cloud.alloydb.v1alpha.SslConfig.C" - + "aSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UN" - + "SPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020S" - + "SL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY" - + "_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRY" - + "PTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031" - + "\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_M" - + "ANAGED\020\001\"\377\006\n\025AutomatedBackupPolicy\022]\n\017we" - + "ekly_schedule\030\002 \001(\0132B.google.cloud.alloy" - + "db.v1alpha.AutomatedBackupPolicy.WeeklyS" - + "cheduleH\000\022f\n\024time_based_retention\030\004 \001(\0132" - + "F.google.cloud.alloydb.v1alpha.Automated" - + "BackupPolicy.TimeBasedRetentionH\001\022n\n\030qua" - + "ntity_based_retention\030\005 \001(\0132J.google.clo" - + "ud.alloydb.v1alpha.AutomatedBackupPolicy" - + ".QuantityBasedRetentionH\001\022\024\n\007enabled\030\001 \001" - + "(\010H\002\210\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google." - + "protobuf.Duration\022O\n\021encryption_config\030\010" - + " \001(\0132..google.cloud.alloydb.v1alpha.Encr" - + "yptionConfigB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022O\n\006" - + "labels\030\007 \003(\0132?.google.cloud.alloydb.v1al" - + "pha.AutomatedBackupPolicy.LabelsEntry\032k\n" - + "\016WeeklySchedule\022+\n\013start_times\030\001 \003(\0132\026.g" - + "oogle.type.TimeOfDay\022,\n\014days_of_week\030\002 \003" - + "(\0162\026.google.type.DayOfWeek\032I\n\022TimeBasedR" - + "etention\0223\n\020retention_period\030\001 \001(\0132\031.goo" - + "gle.protobuf.Duration\032\'\n\026QuantityBasedRe" - + "tention\022\r\n\005count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010schedul" - + "eB\013\n\tretentionB\n\n\010_enabled\"\243\001\n\026Continuou" - + "sBackupConfig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024r" - + "ecovery_window_days\030\004 \001(\005\022I\n\021encryption_" - + "config\030\003 \001(\0132..google.cloud.alloydb.v1al" - + "pha.EncryptionConfigB\n\n\010_enabled\"\217\002\n\024Con" - + "tinuousBackupInfo\022K\n\017encryption_info\030\001 \001" - + "(\0132,.google.cloud.alloydb.v1alpha.Encryp" - + "tionInfoB\004\342A\001\003\0226\n\014enabled_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\003\022.\n\010schedu" - + "le\030\003 \003(\0162\026.google.type.DayOfWeekB\004\342A\001\003\022B" - + "\n\030earliest_restorable_time\030\004 \001(\0132\032.googl" - + "e.protobuf.TimestampB\004\342A\001\003\"e\n\014BackupSour" - + "ce\022\030\n\nbackup_uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_n" - + "ame\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.c" - + "om/Backup\"h\n\026ContinuousBackupSource\022\025\n\007c" - + "luster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\004\342A\001\002\"\256\022\n\007" - + "Cluster\022I\n\rbackup_source\030\017 \001(\0132*.google." - + "cloud.alloydb.v1alpha.BackupSourceB\004\342A\001\003" - + "H\000\022O\n\020migration_source\030\020 \001(\0132-.google.cl" - + "oud.alloydb.v1alpha.MigrationSourceB\004\342A\001" - + "\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030" - + "\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" - + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels\030" - + "\007 \003(\01321.google.cloud.alloydb.v1alpha.Clu" - + "ster.LabelsEntry\022@\n\005state\030\010 \001(\0162+.google" - + ".cloud.alloydb.v1alpha.Cluster.StateB\004\342A" - + "\001\003\022M\n\014cluster_type\030\030 \001(\01621.google.cloud." - + "alloydb.v1alpha.Cluster.ClusterTypeB\004\342A\001" - + "\003\022M\n\020database_version\030\t \001(\0162-.google.clo" - + "ud.alloydb.v1alpha.DatabaseVersionB\004\342A\001\001" - + "\022Q\n\016network_config\030\035 \001(\01323.google.cloud." - + "alloydb.v1alpha.Cluster.NetworkConfigB\004\342" - + "A\001\001\022:\n\007network\030\n \001(\tB)\030\001\342A\001\002\372A \n\036compute" - + ".googleapis.com/Network\022\014\n\004etag\030\013 \001(\t\022K\n" - + "\013annotations\030\014 \003(\01326.google.cloud.alloyd" - + "b.v1alpha.Cluster.AnnotationsEntry\022\031\n\013re" - + "conciling\030\r \001(\010B\004\342A\001\003\022F\n\014initial_user\030\016 " - + "\001(\0132*.google.cloud.alloydb.v1alpha.UserP" - + "asswordB\004\342A\001\004\022T\n\027automated_backup_policy" - + "\030\021 \001(\01323.google.cloud.alloydb.v1alpha.Au" - + "tomatedBackupPolicy\022?\n\nssl_config\030\022 \001(\0132" - + "\'.google.cloud.alloydb.v1alpha.SslConfig" - + "B\002\030\001\022O\n\021encryption_config\030\023 \001(\0132..google" - + ".cloud.alloydb.v1alpha.EncryptionConfigB" - + "\004\342A\001\001\022K\n\017encryption_info\030\024 \001(\0132,.google." - + "cloud.alloydb.v1alpha.EncryptionInfoB\004\342A" - + "\001\003\022\\\n\030continuous_backup_config\030\033 \001(\01324.g" - + "oogle.cloud.alloydb.v1alpha.ContinuousBa" - + "ckupConfigB\004\342A\001\001\022X\n\026continuous_backup_in" - + "fo\030\034 \001(\01322.google.cloud.alloydb.v1alpha." - + "ContinuousBackupInfoB\004\342A\001\003\022O\n\020secondary_" - + "config\030\026 \001(\01325.google.cloud.alloydb.v1al" - + "pha.Cluster.SecondaryConfig\022Q\n\016primary_c" - + "onfig\030\027 \001(\01323.google.cloud.alloydb.v1alp" - + "ha.Cluster.PrimaryConfigB\004\342A\001\003\022\025\n\rsatisf" - + "ies_pzs\030\036 \001(\010\032k\n\rNetworkConfig\0228\n\007networ" - + "k\030\001 \001(\tB\'\342A\001\002\372A \n\036compute.googleapis.com" - + "/Network\022 \n\022allocated_ip_range\030\002 \001(\tB\004\342A" - + "\001\001\032/\n\017SecondaryConfig\022\034\n\024primary_cluster" - + "_name\030\001 \001(\t\0326\n\rPrimaryConfig\022%\n\027secondar" - + "y_cluster_names\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020An" - + "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CR" - + "EATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBO" - + "OTSTRAPPING\020\007\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOT" - + "ING\020\t\"G\n\013ClusterType\022\034\n\030CLUSTER_TYPE_UNS" - + "PECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b" - + "\352A_\n\036alloydb.googleapis.com/Cluster\022:pro" - + "jects/{project}/locations/{location}/clu" - + "sters/{cluster}R\001\001B\010\n\006source\"\323\024\n\010Instanc" - + "e\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 " - + "\001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " - + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" - + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.goog" - + "le.protobuf.TimestampB\004\342A\001\003\022B\n\006labels\030\007 " - + "\003(\01322.google.cloud.alloydb.v1alpha.Insta" - + "nce.LabelsEntry\022A\n\005state\030\010 \001(\0162,.google." - + "cloud.alloydb.v1alpha.Instance.StateB\004\342A" - + "\001\003\022P\n\rinstance_type\030\t \001(\01623.google.cloud" - + ".alloydb.v1alpha.Instance.InstanceTypeB\004" - + "\342A\001\002\022L\n\016machine_config\030\n \001(\01324.google.cl" - + "oud.alloydb.v1alpha.Instance.MachineConf" - + "ig\022R\n\021availability_type\030\013 \001(\01627.google.c" - + "loud.alloydb.v1alpha.Instance.Availabili" - + "tyType\022\020\n\010gce_zone\030\014 \001(\t\022Q\n\016database_fla" - + "gs\030\r \003(\01329.google.cloud.alloydb.v1alpha." - + "Instance.DatabaseFlagsEntry\022H\n\rwritable_" - + "node\030\023 \001(\0132+.google.cloud.alloydb.v1alph" - + "a.Instance.NodeB\004\342A\001\003\022@\n\005nodes\030\024 \003(\0132+.g" - + "oogle.cloud.alloydb.v1alpha.Instance.Nod" - + "eB\004\342A\001\003\022a\n\025query_insights_config\030\025 \001(\0132B" - + ".google.cloud.alloydb.v1alpha.Instance.Q" - + "ueryInsightsInstanceConfig\022O\n\020read_pool_" - + "config\030\016 \001(\01325.google.cloud.alloydb.v1al" - + "pha.Instance.ReadPoolConfig\022\030\n\nip_addres" - + "s\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\020 \001(\010B\004\342A\001\003" - + "\022\014\n\004etag\030\021 \001(\t\022L\n\013annotations\030\022 \003(\01327.go" - + "ogle.cloud.alloydb.v1alpha.Instance.Anno" - + "tationsEntry\022J\n\rupdate_policy\030\026 \001(\01323.go" - + "ogle.cloud.alloydb.v1alpha.Instance.Upda" - + "tePolicy\022e\n\030client_connection_config\030\027 \001" - + "(\0132=.google.cloud.alloydb.v1alpha.Instan" - + "ce.ClientConnectionConfigB\004\342A\001\001\022\025\n\rsatis" - + "fies_pzs\030\030 \001(\010\032\"\n\rMachineConfig\022\021\n\tcpu_c" - + "ount\030\001 \001(\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002i" - + "d\030\002 \001(\t\022\n\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033Q" - + "ueryInsightsInstanceConfig\022$\n\027record_app" - + "lication_tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_clien" - + "t_address\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_len" - + "gth\030\004 \001(\r\022#\n\026query_plans_per_minute\030\005 \001(" - + "\rH\002\210\001\001B\032\n\030_record_application_tagsB\030\n\026_r" - + "ecord_client_addressB\031\n\027_query_plans_per" - + "_minute\032$\n\016ReadPoolConfig\022\022\n\nnode_count\030" - + "\001 \001(\005\032\222\001\n\014UpdatePolicy\022F\n\004mode\030\001 \001(\01628.g" - + "oogle.cloud.alloydb.v1alpha.Instance.Upd" - + "atePolicy.Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFI" - + "ED\020\000\022\013\n\007DEFAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032}\n\026Cl" - + "ientConnectionConfig\022 \n\022require_connecto" - + "rs\030\001 \001(\010B\004\342A\001\001\022A\n\nssl_config\030\002 \001(\0132\'.goo" - + "gle.cloud.alloydb.v1alpha.SslConfigB\004\342A\001" - + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005S" - + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013" - + "\n\007STOPPED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022" - + "\017\n\013MAINTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRA" - + "PPING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035" - + "\n\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY" - + "\020\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Avai" - + "labilityType\022!\n\035AVAILABILITY_TYPE_UNSPEC" - + "IFIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037a" - + "lloydb.googleapis.com/Instance\022Oprojects" - + "/{project}/locations/{location}/clusters" - + "/{cluster}/instances/{instance}R\001\001\"\211\002\n\016C" - + "onnectionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_addres" - + "s\030\002 \001(\tB\004\342A\001\003\022%\n\025pem_certificate_chain\030\003" - + " \003(\tB\006\030\001\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003" - + ":\213\001\352A\207\001\n%alloydb.googleapis.com/Connecti" - + "onInfo\022^projects/{project}/locations/{lo" - + "cation}/clusters/{cluster}/instances/{in" - + "stance}/connectionInfo\"\366\013\n\006Backup\022\022\n\004nam" - + "e\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003u" - + "id\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update_" - + "time\030\005 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\003\0225\n\013delete_time\030\017 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\01320.go" - + "ogle.cloud.alloydb.v1alpha.Backup.Labels" - + "Entry\022?\n\005state\030\007 \001(\0162*.google.cloud.allo" - + "ydb.v1alpha.Backup.StateB\004\342A\001\003\0227\n\004type\030\010" - + " \001(\0162).google.cloud.alloydb.v1alpha.Back" - + "up.Type\022\023\n\013description\030\t \001(\t\022\031\n\013cluster_" - + "uid\030\022 \001(\tB\004\342A\001\003\022=\n\014cluster_name\030\n \001(\tB\'\342" - + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\031" - + "\n\013reconciling\030\013 \001(\010B\004\342A\001\003\022O\n\021encryption_" - + "config\030\014 \001(\0132..google.cloud.alloydb.v1al" - + "pha.EncryptionConfigB\004\342A\001\001\022K\n\017encryption" - + "_info\030\r \001(\0132,.google.cloud.alloydb.v1alp" - + "ha.EncryptionInfoB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022J\n" - + "\013annotations\030\020 \003(\01325.google.cloud.alloyd" - + "b.v1alpha.Backup.AnnotationsEntry\022\030\n\nsiz" - + "e_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030\023 \001(\013" - + "2\032.google.protobuf.TimestampB\004\342A\001\003\022W\n\017ex" - + "piry_quantity\030\024 \001(\01328.google.cloud.alloy" - + "db.v1alpha.Backup.QuantityBasedExpiryB\004\342" - + "A\001\003\022\025\n\rsatisfies_pzs\030\025 \001(\010\022M\n\020database_v" - + "ersion\030\026 \001(\0162-.google.cloud.alloydb.v1al" - + "pha.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBas" - + "edExpiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022" - + "#\n\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPEC" - + "IFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAIL" - + "ED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPE" - + "CIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016" - + "\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis." - + "com/Backup\0228projects/{project}/locations" - + "/{location}/backups/{backup}R\001\001\"\334\006\n\025Supp" - + "ortedDatabaseFlag\022e\n\023string_restrictions" - + "\030\007 \001(\0132F.google.cloud.alloydb.v1alpha.Su" - + "pportedDatabaseFlag.StringRestrictionsH\000" - + "\022g\n\024integer_restrictions\030\010 \001(\0132G.google." - + "cloud.alloydb.v1alpha.SupportedDatabaseF" - + "lag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022" - + "\021\n\tflag_name\030\002 \001(\t\022Q\n\nvalue_type\030\003 \001(\0162=" - + ".google.cloud.alloydb.v1alpha.SupportedD" - + "atabaseFlag.ValueType\022\037\n\027accepts_multipl" - + "e_values\030\004 \001(\010\022L\n\025supported_db_versions\030" - + "\005 \003(\0162-.google.cloud.alloydb.v1alpha.Dat" - + "abaseVersion\022\033\n\023requires_db_restart\030\006 \001(" - + "\010\032,\n\022StringRestrictions\022\026\n\016allowed_value" - + "s\030\001 \003(\t\032u\n\023IntegerRestrictions\022.\n\tmin_va" - + "lue\030\001 \001(\0132\033.google.protobuf.Int64Value\022." - + "\n\tmax_value\030\002 \001(\0132\033.google.protobuf.Int6" - + "4Value\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPEC" - + "IFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOA" - + "T\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloydb.googleapis.c" - + "om/SupportedDatabaseFlag\0224projects/{proj" - + "ect}/locations/{location}/flags/{flag}B\016" - + "\n\014restrictions\"\327\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342" - + "A\001\003\022\026\n\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_" - + "roles\030\004 \003(\tB\004\342A\001\001\022D\n\tuser_type\030\005 \001(\0162+.g" - + "oogle.cloud.alloydb.v1alpha.User.UserTyp" - + "eB\004\342A\001\001\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECI" - + "FIED\020\000\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_" - + "IAM_USER\020\002:l\352Ai\n\033alloydb.googleapis.com/" - + "User\022Gprojects/{project}/locations/{loca" - + "tion}/clusters/{cluster}/users/{user}R\001\001" - + "*^\n\014InstanceView\022\035\n\031INSTANCE_VIEW_UNSPEC" - + "IFIED\020\000\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INST" - + "ANCE_VIEW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUST" - + "ER_VIEW_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BA" - + "SIC\020\001\022\"\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020" - + "\002*j\n\017DatabaseVersion\022 \n\034DATABASE_VERSION" - + "_UNSPECIFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013P" - + "OSTGRES_14\020\002\022\017\n\013POSTGRES_15\020\003B\313\003\n com.go" - + "ogle.cloud.alloydb.v1alphaB\016ResourcesPro" - + "toP\001Z:cloud.google.com/go/alloydb/apiv1a" - + "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud." - + "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V" - + "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha" - + "\352A\246\001\n(cloudkms.googleapis.com/CryptoKeyV" - + "ersion\022zprojects/{project}/locations/{lo" - + "cation}/keyRings/{key_ring}/cryptoKeys/{" - + "crypto_key}/cryptoKeyVersions/{crypto_ke" - + "y_version}\352AN\n\036compute.googleapis.com/Ne" - + "twork\022,projects/{project}/global/network" - + "s/{network}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor, - new java.lang.String[] { - "User", "Password", - }); - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor, - new java.lang.String[] { - "HostPort", "ReferenceId", "SourceType", - }); - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyVersions", - }); - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor, - new java.lang.String[] { - "SslMode", "CaSource", - }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { - "WeeklySchedule", - "TimeBasedRetention", - "QuantityBasedRetention", - "Enabled", - "BackupWindow", - "EncryptionConfig", - "Location", - "Labels", - "Schedule", - "Retention", - "Enabled", - }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { - "StartTimes", "DaysOfWeek", - }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { - "Count", - }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor, - new java.lang.String[] { - "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", - }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor, - new java.lang.String[] { - "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", - }); - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor, - new java.lang.String[] { - "BackupUid", "BackupName", - }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor, - new java.lang.String[] { - "Cluster", "PointInTime", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor, - new java.lang.String[] { - "BackupSource", - "MigrationSource", - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "ClusterType", - "DatabaseVersion", - "NetworkConfig", - "Network", - "Etag", - "Annotations", - "Reconciling", - "InitialUser", - "AutomatedBackupPolicy", - "SslConfig", - "EncryptionConfig", - "EncryptionInfo", - "ContinuousBackupConfig", - "ContinuousBackupInfo", - "SecondaryConfig", - "PrimaryConfig", - "SatisfiesPzs", - "Source", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { - "Network", "AllocatedIpRange", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { - "PrimaryClusterName", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { - "SecondaryClusterNames", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "InstanceType", - "MachineConfig", - "AvailabilityType", - "GceZone", - "DatabaseFlags", - "WritableNode", - "Nodes", - "QueryInsightsConfig", - "ReadPoolConfig", - "IpAddress", - "Reconciling", - "Etag", - "Annotations", - "UpdatePolicy", - "ClientConnectionConfig", - "SatisfiesPzs", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor, - new java.lang.String[] { - "CpuCount", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor, - new java.lang.String[] { - "ZoneId", "Id", "Ip", "State", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { - "RecordApplicationTags", - "RecordClientAddress", - "QueryStringLength", - "QueryPlansPerMinute", - "RecordApplicationTags", - "RecordClientAddress", - "QueryPlansPerMinute", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { - "NodeCount", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor, - new java.lang.String[] { - "Mode", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { - "RequireConnectors", "SslConfig", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor, - new java.lang.String[] { - "Name", "IpAddress", "PemCertificateChain", "InstanceUid", - }); - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "Type", - "Description", - "ClusterUid", - "ClusterName", - "Reconciling", - "EncryptionConfig", - "EncryptionInfo", - "Etag", - "Annotations", - "SizeBytes", - "ExpiryTime", - "ExpiryQuantity", - "SatisfiesPzs", - "DatabaseVersion", - }); - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { - "RetentionCount", "TotalRetentionCount", - }); - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { - "StringRestrictions", - "IntegerRestrictions", - "Name", - "FlagName", - "ValueType", - "AcceptsMultipleValues", - "SupportedDbVersions", - "RequiresDbRestart", - "Restrictions", - }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { - "AllowedValues", - }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { - "MinValue", "MaxValue", - }); - internal_static_google_cloud_alloydb_v1alpha_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_User_descriptor, - new java.lang.String[] { - "Name", "Password", "DatabaseRoles", "UserType", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java deleted file mode 100644 index 3dad463d7709..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java +++ /dev/null @@ -1,995 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public final class ServiceProto { - private ServiceProto() {} - - 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_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_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/cloud/alloydb/v1alpha/service.p" - + "roto\022\034google.cloud.alloydb.v1alpha\032\034goog" - + "le/api/annotations.proto\032\027google/api/cli" - + "ent.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032,google/cl" - + "oud/alloydb/v1alpha/resources.proto\032#goo" - + "gle/longrunning/operations.proto\032\036google" - + "/protobuf/duration.proto\032\033google/protobu" - + "f/empty.proto\032 google/protobuf/field_mas" - + "k.proto\032\037google/protobuf/timestamp.proto" - + "\032\027google/rpc/status.proto\"\251\001\n\023ListCluste" - + "rsRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036allo" - + "ydb.googleapis.com/Cluster\022\027\n\tpage_size\030" - + "\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filte" - + "r\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}\n" - + "\024ListClustersResponse\0227\n\010clusters\030\001 \003(\0132" - + "%.google.cloud.alloydb.v1alpha.Cluster\022\027" - + "\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003" - + " \003(\t\"\211\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\t" - + "B\'\342A\001\002\372A \n\036alloydb.googleapis.com/Cluste" - + "r\022=\n\004view\030\002 \001(\0162).google.cloud.alloydb.v" - + "1alpha.ClusterViewB\004\342A\001\001\"\347\001\n\035CreateSecon" - + "daryClusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002" - + "\372A \022\036alloydb.googleapis.com/Cluster\022\030\n\nc" - + "luster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%" - + ".google.cloud.alloydb.v1alpha.ClusterB\004\342" - + "A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidat" - + "e_only\030\006 \001(\010B\004\342A\001\001\"\336\001\n\024CreateClusterRequ" - + "est\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.go" - + "ogleapis.com/Cluster\022\030\n\ncluster_id\030\002 \001(\t" - + "B\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%.google.cloud.a" - + "lloydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_" - + "id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342" - + "A\001\001\"\337\001\n\024UpdateClusterRequest\0225\n\013update_m" - + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" - + "A\001\001\022<\n\007cluster\030\002 \001(\0132%.google.cloud.allo" - + "ydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" - + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" - + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" - + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" - + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" - + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" - + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" - + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" - + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" - + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" - + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" - + "\001\"\210\003\n\025RestoreClusterRequest\022C\n\rbackup_so" - + "urce\030\004 \001(\0132*.google.cloud.alloydb.v1alph" - + "a.BackupSourceH\000\022X\n\030continuous_backup_so" - + "urce\030\010 \001(\01324.google.cloud.alloydb.v1alph" - + "a.ContinuousBackupSourceH\000\0227\n\006parent\030\001 \001" - + "(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.com/Clus" - + "ter\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster" - + "\030\003 \001(\0132%.google.cloud.alloydb.v1alpha.Cl" - + "usterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n" - + "\rvalidate_only\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n" - + "\024ListInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342" - + "A\001\002\372A!\022\037alloydb.googleapis.com/Instance\022" - + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003" - + " \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" - + " \001(\tB\004\342A\001\001\"\200\001\n\025ListInstancesResponse\0229\n\t" - + "instances\030\001 \003(\0132&.google.cloud.alloydb.v" - + "1alpha.Instance\022\027\n\017next_page_token\030\002 \001(\t" - + "\022\023\n\013unreachable\030\003 \003(\t\"\206\001\n\022GetInstanceReq" - + "uest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.goo" - + "gleapis.com/Instance\0228\n\004view\030\002 \001(\0162*.goo" - + "gle.cloud.alloydb.v1alpha.InstanceView\"\343" - + "\001\n\025CreateInstanceRequest\0228\n\006parent\030\001 \001(\t" - + "B(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instan" - + "ce\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instanc" - + "e\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.I" - + "nstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022" - + "\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\354\001\n\036CreateS" - + "econdaryInstanceRequest\0228\n\006parent\030\001 \001(\tB" - + "(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instanc" - + "e\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instance" - + "\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.In" - + "stanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033" - + "\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"u\n\026CreateIns" - + "tanceRequests\022[\n\030create_instance_request" - + "s\030\001 \003(\01323.google.cloud.alloydb.v1alpha.C" - + "reateInstanceRequestB\004\342A\001\002\"\277\001\n\033BatchCrea" - + "teInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002" - + "\372A!\022\037alloydb.googleapis.com/Instance\022L\n\010" - + "requests\030\002 \001(\01324.google.cloud.alloydb.v1" - + "alpha.CreateInstanceRequestsB\004\342A\001\002\022\030\n\nre" - + "quest_id\030\003 \001(\tB\004\342A\001\001\"Y\n\034BatchCreateInsta" - + "ncesResponse\0229\n\tinstances\030\001 \003(\0132&.google" - + ".cloud.alloydb.v1alpha.Instance\"\227\002\n\034Batc" - + "hCreateInstancesMetadata\022\030\n\020instance_tar" - + "gets\030\001 \003(\t\022k\n\021instance_statuses\030\002 \003(\0132P." - + "google.cloud.alloydb.v1alpha.BatchCreate" - + "InstancesMetadata.InstanceStatusesEntry\032" - + "p\n\025InstanceStatusesEntry\022\013\n\003key\030\001 \001(\t\022F\n" - + "\005value\030\002 \001(\01327.google.cloud.alloydb.v1al" - + "pha.BatchCreateInstanceStatus:\0028\001\"\332\002\n\031Ba" - + "tchCreateInstanceStatus\022L\n\005state\030\001 \001(\0162=" - + ".google.cloud.alloydb.v1alpha.BatchCreat" - + "eInstanceStatus.State\022\021\n\terror_msg\030\002 \001(\t" - + "\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\022A\n\004t" - + "ype\030\003 \001(\01623.google.cloud.alloydb.v1alpha" - + ".Instance.InstanceType\"v\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\022\n\016PENDING_CREATE\020\001\022\t\n\005RE" - + "ADY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006FAI" - + "LED\020\005\022\017\n\013ROLLED_BACK\020\006\"\342\001\n\025UpdateInstanc" - + "eRequest\0225\n\013update_mask\030\001 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\001\022>\n\010instance\030\002 \001(" - + "\0132&.google.cloud.alloydb.v1alpha.Instanc" - + "eB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" - + "idate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030" - + "\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceRequest\0226\n" - + "\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" - + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022" - + "\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" - + "(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest\0226\n\004" - + "name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis." - + "com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033" - + "\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\217\002\n\022InjectFa" - + "ultRequest\022T\n\nfault_type\030\001 \001(\0162:.google." - + "cloud.alloydb.v1alpha.InjectFaultRequest" - + ".FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n" - + "\037alloydb.googleapis.com/Instance\022\030\n\nrequ" - + "est_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(" - + "\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPE" - + "CIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstanc" - + "eRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb" - + ".googleapis.com/Instance\022\030\n\nrequest_id\030\002" - + " \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"" - + "\225\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&" - + "\342A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\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\022\020\n\010order_by\030\005 \001(\t\"z\n\023ListB" - + "ackupsResponse\0225\n\007backups\030\001 \003(\0132$.google" - + ".cloud.alloydb.v1alpha.Backup\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020G" - + "etBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035" - + "alloydb.googleapis.com/Backup\"\331\001\n\023Create" - + "BackupRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035" - + "alloydb.googleapis.com/Backup\022\027\n\tbackup_" - + "id\030\002 \001(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\0132$.google." - + "cloud.alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nre" - + "quest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 " - + "\001(\010B\004\342A\001\001\"\334\001\n\023UpdateBackupRequest\0225\n\013upd" - + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" - + "skB\004\342A\001\001\022:\n\006backup\030\002 \001(\0132$.google.cloud." - + "alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nrequest_" - + "id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342" - + "A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023Del" - + "eteBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n" - + "\035alloydb.googleapis.com/Backup\022\030\n\nreques" - + "t_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B" - + "\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001\n!ListSuppor" - + "tedDatabaseFlagsRequest\022E\n\006parent\030\001 \001(\tB" - + "5\342A\001\002\372A.\022,alloydb.googleapis.com/Support" - + "edDatabaseFlag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" - + "e_token\030\003 \001(\t\"\224\001\n\"ListSupportedDatabaseF" - + "lagsResponse\022U\n\030supported_database_flags" - + "\030\001 \003(\01323.google.cloud.alloydb.v1alpha.Su" - + "pportedDatabaseFlag\022\027\n\017next_page_token\030\002" - + " \001(\t\"\205\002\n GenerateClientCertificateReques" - + "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" - + "leapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(\tB\004" - + "\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001\0226\n\rcert_du" - + "ration\030\004 \001(\0132\031.google.protobuf.DurationB" - + "\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_m" - + "etadata_exchange\030\006 \001(\010B\004\342A\001\001\"~\n!Generate" - + "ClientCertificateResponse\022\035\n\017pem_certifi" - + "cate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certificate_chai" - + "n\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"n\n\030" - + "GetConnectionInfoRequest\0228\n\006parent\030\001 \001(\t" - + "B(\342A\001\002\372A!\n\037alloydb.googleapis.com/Instan" - + "ce\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\210\003\n\021Operati" - + "onMetadata\022k\n\037batch_create_instances_met" - + "adata\030\010 \001(\0132:.google.cloud.alloydb.v1alp" - + "ha.BatchCreateInstancesMetadataB\004\342A\001\003H\000\022" - + "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" - + "(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_m" - + "essage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancella" - + "tion\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342" - + "A\001\003B\022\n\020request_specific\"\251\001\n\020ListUsersReq" - + "uest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.g" - + "oogleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342" - + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030" - + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"t\n\021L" - + "istUsersResponse\0221\n\005users\030\001 \003(\0132\".google" - + ".cloud.alloydb.v1alpha.User\022\027\n\017next_page" - + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016Get" - + "UserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033allo" - + "ydb.googleapis.com/User\"\317\001\n\021CreateUserRe" - + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb." - + "googleapis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A" - + "\001\002\0226\n\004user\030\003 \001(\0132\".google.cloud.alloydb." - + "v1alpha.UserB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004" - + "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\021Up" - + "dateUserRequest\0225\n\013update_mask\030\001 \001(\0132\032.g" - + "oogle.protobuf.FieldMaskB\004\342A\001\001\0226\n\004user\030\002" - + " \001(\0132\".google.cloud.alloydb.v1alpha.User" - + "B\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvali" - + "date_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005" - + " \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222\n\004name\030" - + "\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapis.com/U" - + "ser\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidat" - + "e_only\030\003 \001(\010B\004\342A\001\0012\3614\n\014AlloyDBAdmin\022\271\001\n\014" - + "ListClusters\0221.google.cloud.alloydb.v1al" - + "pha.ListClustersRequest\0322.google.cloud.a" - + "lloydb.v1alpha.ListClustersResponse\"B\332A\006" - + "parent\202\323\344\223\0023\0221/v1alpha/{parent=projects/" - + "*/locations/*}/clusters\022\246\001\n\nGetCluster\022/" - + ".google.cloud.alloydb.v1alpha.GetCluster" - + "Request\032%.google.cloud.alloydb.v1alpha.C" - + "luster\"@\332A\004name\202\323\344\223\0023\0221/v1alpha/{name=pr" - + "ojects/*/locations/*/clusters/*}\022\341\001\n\rCre" - + "ateCluster\0222.google.cloud.alloydb.v1alph" - + "a.CreateClusterRequest\032\035.google.longrunn" - + "ing.Operation\"}\312A\034\n\007Cluster\022\021OperationMe" - + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002<" - + "\"1/v1alpha/{parent=projects/*/locations/" - + "*}/clusters:\007cluster\022\343\001\n\rUpdateCluster\0222" - + ".google.cloud.alloydb.v1alpha.UpdateClus" - + "terRequest\032\035.google.longrunning.Operatio" - + "n\"\177\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clu" - + "ster,update_mask\202\323\344\223\002D29/v1alpha/{cluste" - + "r.name=projects/*/locations/*/clusters/*" - + "}:\007cluster\022\321\001\n\rDeleteCluster\0222.google.cl" - + "oud.alloydb.v1alpha.DeleteClusterRequest" - + "\032\035.google.longrunning.Operation\"m\312A*\n\025go" - + "ogle.protobuf.Empty\022\021OperationMetadata\332A" - + "\004name\202\323\344\223\0023*1/v1alpha/{name=projects/*/l" - + "ocations/*/clusters/*}\022\320\001\n\016PromoteCluste" - + "r\0223.google.cloud.alloydb.v1alpha.Promote" - + "ClusterRequest\032\035.google.longrunning.Oper" - + "ation\"j\312A\034\n\007Cluster\022\021OperationMetadata\332A" - + "\004name\202\323\344\223\002>\"9/v1alpha/{name=projects/*/l" - + "ocations/*/clusters/*}:promote:\001*\022\311\001\n\016Re" - + "storeCluster\0223.google.cloud.alloydb.v1al" - + "pha.RestoreClusterRequest\032\035.google.longr" - + "unning.Operation\"c\312A\034\n\007Cluster\022\021Operatio" - + "nMetadata\202\323\344\223\002>\"9/v1alpha/{parent=projec" - + "ts/*/locations/*}/clusters:restore:\001*\022\204\002" - + "\n\026CreateSecondaryCluster\022;.google.cloud." - + "alloydb.v1alpha.CreateSecondaryClusterRe" - + "quest\032\035.google.longrunning.Operation\"\215\001\312" - + "A\034\n\007Cluster\022\021OperationMetadata\332A\031parent," - + "cluster,cluster_id\202\323\344\223\002L\"A/v1alpha/{pare" - + "nt=projects/*/locations/*}/clusters:crea" - + "tesecondary:\007cluster\022\310\001\n\rListInstances\0222" - + ".google.cloud.alloydb.v1alpha.ListInstan" - + "cesRequest\0323.google.cloud.alloydb.v1alph" - + "a.ListInstancesResponse\"N\332A\006parent\202\323\344\223\002?" - + "\022=/v1alpha/{parent=projects/*/locations/" - + "*/clusters/*}/instances\022\265\001\n\013GetInstance\022" - + "0.google.cloud.alloydb.v1alpha.GetInstan" - + "ceRequest\032&.google.cloud.alloydb.v1alpha" - + ".Instance\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name" - + "=projects/*/locations/*/clusters/*/insta" - + "nces/*}\022\364\001\n\016CreateInstance\0223.google.clou" - + "d.alloydb.v1alpha.CreateInstanceRequest\032" - + "\035.google.longrunning.Operation\"\215\001\312A\035\n\010In" - + "stance\022\021OperationMetadata\332A\033parent,insta" - + "nce,instance_id\202\323\344\223\002I\"=/v1alpha/{parent=" - + "projects/*/locations/*/clusters/*}/insta" - + "nces:\010instance\022\226\002\n\027CreateSecondaryInstan" - + "ce\022<.google.cloud.alloydb.v1alpha.Create" - + "SecondaryInstanceRequest\032\035.google.longru" - + "nning.Operation\"\235\001\312A\035\n\010Instance\022\021Operati" - + "onMetadata\332A\033parent,instance,instance_id" - + "\202\323\344\223\002Y\"M/v1alpha/{parent=projects/*/loca" - + "tions/*/clusters/*}/instances:createseco" - + "ndary:\010instance\022\202\002\n\024BatchCreateInstances" - + "\0229.google.cloud.alloydb.v1alpha.BatchCre" - + "ateInstancesRequest\032\035.google.longrunning" - + ".Operation\"\217\001\312A1\n\034BatchCreateInstancesRe" - + "sponse\022\021OperationMetadata\202\323\344\223\002U\"I/v1alph" - + "a/{parent=projects/*/locations/*/cluster" - + "s/*}/instances:batchCreate:\010requests\022\366\001\n" - + "\016UpdateInstance\0223.google.cloud.alloydb.v" - + "1alpha.UpdateInstanceRequest\032\035.google.lo" - + "ngrunning.Operation\"\217\001\312A\035\n\010Instance\022\021Ope" - + "rationMetadata\332A\024instance,update_mask\202\323\344" - + "\223\002R2F/v1alpha/{instance.name=projects/*/" - + "locations/*/clusters/*/instances/*}:\010ins" - + "tance\022\337\001\n\016DeleteInstance\0223.google.cloud." - + "alloydb.v1alpha.DeleteInstanceRequest\032\035." - + "google.longrunning.Operation\"y\312A*\n\025googl" - + "e.protobuf.Empty\022\021OperationMetadata\332A\004na" - + "me\202\323\344\223\002?*=/v1alpha/{name=projects/*/loca" - + "tions/*/clusters/*/instances/*}\022\342\001\n\020Fail" - + "overInstance\0225.google.cloud.alloydb.v1al" - + "pha.FailoverInstanceRequest\032\035.google.lon" - + "grunning.Operation\"x\312A\035\n\010Instance\022\021Opera" - + "tionMetadata\332A\004name\202\323\344\223\002K\"F/v1alpha/{nam" - + "e=projects/*/locations/*/clusters/*/inst" - + "ances/*}:failover:\001*\022\347\001\n\013InjectFault\0220.g" - + "oogle.cloud.alloydb.v1alpha.InjectFaultR" - + "equest\032\035.google.longrunning.Operation\"\206\001" - + "\312A\035\n\010Instance\022\021OperationMetadata\332A\017fault" - + "_type,name\202\323\344\223\002N\"I/v1alpha/{name=project" - + "s/*/locations/*/clusters/*/instances/*}:" - + "injectFault:\001*\022\337\001\n\017RestartInstance\0224.goo" - + "gle.cloud.alloydb.v1alpha.RestartInstanc" - + "eRequest\032\035.google.longrunning.Operation\"" - + "w\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" - + "\202\323\344\223\002J\"E/v1alpha/{name=projects/*/locati" - + "ons/*/clusters/*/instances/*}:restart:\001*" - + "\022\265\001\n\013ListBackups\0220.google.cloud.alloydb." - + "v1alpha.ListBackupsRequest\0321.google.clou" - + "d.alloydb.v1alpha.ListBackupsResponse\"A\332" - + "A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=project" - + "s/*/locations/*}/backups\022\242\001\n\tGetBackup\022." - + ".google.cloud.alloydb.v1alpha.GetBackupR" - + "equest\032$.google.cloud.alloydb.v1alpha.Ba" - + "ckup\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=proj" - + "ects/*/locations/*/backups/*}\022\332\001\n\014Create" - + "Backup\0221.google.cloud.alloydb.v1alpha.Cr" - + "eateBackupRequest\032\035.google.longrunning.O" - + "peration\"x\312A\033\n\006Backup\022\021OperationMetadata" - + "\332A\027parent,backup,backup_id\202\323\344\223\002:\"0/v1alp" - + "ha/{parent=projects/*/locations/*}/backu" - + "ps:\006backup\022\334\001\n\014UpdateBackup\0221.google.clo" - + "ud.alloydb.v1alpha.UpdateBackupRequest\032\035" - + ".google.longrunning.Operation\"z\312A\033\n\006Back" - + "up\022\021OperationMetadata\332A\022backup,update_ma" - + "sk\202\323\344\223\002A27/v1alpha/{backup.name=projects" - + "/*/locations/*/backups/*}:\006backup\022\316\001\n\014De" - + "leteBackup\0221.google.cloud.alloydb.v1alph" - + "a.DeleteBackupRequest\032\035.google.longrunni" - + "ng.Operation\"l\312A*\n\025google.protobuf.Empty" - + "\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1alp" - + "ha/{name=projects/*/locations/*/backups/" - + "*}\022\361\001\n\032ListSupportedDatabaseFlags\022?.goog" - + "le.cloud.alloydb.v1alpha.ListSupportedDa" - + "tabaseFlagsRequest\032@.google.cloud.alloyd" - + "b.v1alpha.ListSupportedDatabaseFlagsResp" - + "onse\"P\332A\006parent\202\323\344\223\002A\022?/v1alpha/{parent=" - + "projects/*/locations/*}/supportedDatabas" - + "eFlags\022\377\001\n\031GenerateClientCertificate\022>.g" - + "oogle.cloud.alloydb.v1alpha.GenerateClie" - + "ntCertificateRequest\032?.google.cloud.allo" - + "ydb.v1alpha.GenerateClientCertificateRes" - + "ponse\"a\332A\006parent\202\323\344\223\002R\"M/v1alpha/{parent" - + "=projects/*/locations/*/clusters/*}:gene" - + "rateClientCertificate:\001*\022\332\001\n\021GetConnecti" - + "onInfo\0226.google.cloud.alloydb.v1alpha.Ge" - + "tConnectionInfoRequest\032,.google.cloud.al" - + "loydb.v1alpha.ConnectionInfo\"_\332A\006parent\202" - + "\323\344\223\002P\022N/v1alpha/{parent=projects/*/locat" - + "ions/*/clusters/*/instances/*}/connectio" - + "nInfo\022\270\001\n\tListUsers\022..google.cloud.alloy" - + "db.v1alpha.ListUsersRequest\032/.google.clo" - + "ud.alloydb.v1alpha.ListUsersResponse\"J\332A" - + "\006parent\202\323\344\223\002;\0229/v1alpha/{parent=projects" - + "/*/locations/*/clusters/*}/users\022\245\001\n\007Get" - + "User\022,.google.cloud.alloydb.v1alpha.GetU" - + "serRequest\032\".google.cloud.alloydb.v1alph" - + "a.User\"H\332A\004name\202\323\344\223\002;\0229/v1alpha/{name=pr" - + "ojects/*/locations/*/clusters/*/users/*}" - + "\022\300\001\n\nCreateUser\022/.google.cloud.alloydb.v" - + "1alpha.CreateUserRequest\032\".google.cloud." - + "alloydb.v1alpha.User\"]\332A\023parent,user,use" - + "r_id\202\323\344\223\002A\"9/v1alpha/{parent=projects/*/" - + "locations/*/clusters/*}/users:\004user\022\302\001\n\n" - + "UpdateUser\022/.google.cloud.alloydb.v1alph" - + "a.UpdateUserRequest\032\".google.cloud.alloy" - + "db.v1alpha.User\"_\332A\020user,update_mask\202\323\344\223" - + "\002F2>/v1alpha/{user.name=projects/*/locat" - + "ions/*/clusters/*/users/*}:\004user\022\237\001\n\nDel" - + "eteUser\022/.google.cloud.alloydb.v1alpha.D" - + "eleteUserRequest\032\026.google.protobuf.Empty" - + "\"H\332A\004name\202\323\344\223\002;*9/v1alpha/{name=projects" - + "/*/locations/*/clusters/*/users/*}\032J\312A\026a" - + "lloydb.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB\316\001\n com.g" - + "oogle.cloud.alloydb.v1alphaB\014ServiceProt" - + "oP\001Z:cloud.google.com/go/alloydb/apiv1al" - + "pha/alloydbpb;alloydbpb\252\002\034Google.Cloud.A" - + "lloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V1" - + "alpha\352\002\037Google::Cloud::AlloyDB::V1alphab" - + "\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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor, - new java.lang.String[] { - "Clusters", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", "Force", - }); - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor, - new java.lang.String[] { - "BackupSource", - "ContinuousBackupSource", - "Parent", - "ClusterId", - "Cluster", - "RequestId", - "ValidateOnly", - "Source", - }); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor, - new java.lang.String[] { - "CreateInstanceRequests", - }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", "RequestId", - }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", - }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor, - new java.lang.String[] { - "InstanceTargets", "InstanceStatuses", - }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor, - new java.lang.String[] { - "State", "ErrorMsg", "Error", "Type", - }); - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor, - new java.lang.String[] { - "FaultType", "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor, - new java.lang.String[] { - "Backups", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor, - new java.lang.String[] { - "SupportedDatabaseFlags", "NextPageToken", - }); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", - }); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor, - new java.lang.String[] { - "PemCertificate", "PemCertificateChain", "CaCert", - }); - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestId", - }); - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor, - new java.lang.String[] { - "BatchCreateInstancesMetadata", - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusMessage", - "RequestedCancellation", - "ApiVersion", - "RequestSpecific", - }); - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor, - new java.lang.String[] { - "Users", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor, - new java.lang.String[] { - "Parent", "UserId", "User", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java deleted file mode 100644 index 7d26c55879c8..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface SslConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SslConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - * - * - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The sslMode. - */ - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode(); - - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The caSource. - */ - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource(); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 61f41e7cbbcd..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface CreateInstanceRequestsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getCreateInstanceRequestsList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - int getCreateInstanceRequestsCount(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - * - * - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java deleted file mode 100644 index da5f0bc71933..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public interface EncryptionInfoOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - * - * - *
-   * Output only. Type of encryption.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType(); - - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return A list containing the kmsKeyVersions. - */ - java.util.List getKmsKeyVersionsList(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - * - * - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java deleted file mode 100644 index 84da82f2703e..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the resource
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java deleted file mode 100644 index 290b41367fb8..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.alloydb.v1beta.ClusterView getView(); -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java deleted file mode 100644 index 7eabfce51dbe..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetUserRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * - * 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/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java deleted file mode 100644 index 6e69f9c9ba81..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java +++ /dev/null @@ -1,930 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public final class ResourcesProto { - private ResourcesProto() {} - - 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_cloud_alloydb_v1beta_UserPassword_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_User_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_User_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/cloud/alloydb/v1beta/resources." - + "proto\022\033google.cloud.alloydb.v1beta\032\037goog" - + "le/api/field_behavior.proto\032\031google/api/" - + "resource.proto\032\036google/protobuf/duration" - + ".proto\032\037google/protobuf/timestamp.proto\032" - + "\036google/protobuf/wrappers.proto\032\033google/" - + "type/dayofweek.proto\032\033google/type/timeof" - + "day.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022" - + "\020\n\010password\030\002 \001(\t\"\352\001\n\017MigrationSource\022\027\n" - + "\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002" - + " \001(\tB\004\342A\001\003\022[\n\013source_type\030\003 \001(\0162@.google" - + ".cloud.alloydb.v1beta.MigrationSource.Mi" - + "grationSourceTypeB\004\342A\001\003\"E\n\023MigrationSour" - + "ceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPECIF" - + "IED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n\014km" - + "s_key_name\030\001 \001(\t\"\214\002\n\016EncryptionInfo\022O\n\017e" - + "ncryption_type\030\001 \001(\01620.google.cloud.allo" - + "ydb.v1beta.EncryptionInfo.TypeB\004\342A\001\003\022K\n\020" - + "kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkm" - + "s.googleapis.com/CryptoKeyVersion\"\\\n\004Typ" - + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DEFAUL" - + "T_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_ENCRY" - + "PTION\020\002\"\210\003\n\tSslConfig\022F\n\010ssl_mode\030\001 \001(\0162" - + "..google.cloud.alloydb.v1beta.SslConfig." - + "SslModeB\004\342A\001\001\022H\n\tca_source\030\002 \001(\0162/.googl" - + "e.cloud.alloydb.v1beta.SslConfig.CaSourc" - + "eB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UNSPECIF" - + "IED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020SSL_MOD" - + "E_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY_CA\020\003\032" - + "\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRYPTED\020\004" - + "\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031\n\025CA_S" - + "OURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_MANAGED" - + "\020\001\"\372\006\n\025AutomatedBackupPolicy\022\\\n\017weekly_s" - + "chedule\030\002 \001(\0132A.google.cloud.alloydb.v1b" - + "eta.AutomatedBackupPolicy.WeeklySchedule" - + "H\000\022e\n\024time_based_retention\030\004 \001(\0132E.googl" - + "e.cloud.alloydb.v1beta.AutomatedBackupPo" - + "licy.TimeBasedRetentionH\001\022m\n\030quantity_ba" - + "sed_retention\030\005 \001(\0132I.google.cloud.alloy" - + "db.v1beta.AutomatedBackupPolicy.Quantity" - + "BasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210\001\001\0220" - + "\n\rbackup_window\030\003 \001(\0132\031.google.protobuf." - + "Duration\022N\n\021encryption_config\030\010 \001(\0132-.go" - + "ogle.cloud.alloydb.v1beta.EncryptionConf" - + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022N\n\006labels\030\007 \003" - + "(\0132>.google.cloud.alloydb.v1beta.Automat" - + "edBackupPolicy.LabelsEntry\032k\n\016WeeklySche" - + "dule\022+\n\013start_times\030\001 \003(\0132\026.google.type." - + "TimeOfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google" - + ".type.DayOfWeek\032I\n\022TimeBasedRetention\0223\n" - + "\020retention_period\030\001 \001(\0132\031.google.protobu" - + "f.Duration\032\'\n\026QuantityBasedRetention\022\r\n\005" - + "count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" - + "\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretent" - + "ionB\n\n\010_enabled\"\242\001\n\026ContinuousBackupConf" - + "ig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_win" - + "dow_days\030\004 \001(\005\022H\n\021encryption_config\030\003 \001(" - + "\0132-.google.cloud.alloydb.v1beta.Encrypti" - + "onConfigB\n\n\010_enabled\"\216\002\n\024ContinuousBacku" - + "pInfo\022J\n\017encryption_info\030\001 \001(\0132+.google." - + "cloud.alloydb.v1beta.EncryptionInfoB\004\342A\001" - + "\003\0226\n\014enabled_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.go" - + "ogle.type.DayOfWeekB\004\342A\001\003\022B\n\030earliest_re" - + "storable_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestampB\004\342A\001\003\"e\n\014BackupSource\022\030\n\nbackup_" - + "uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A" - + "\001\002\372A\037\n\035alloydb.googleapis.com/Backup\"h\n\026" - + "ContinuousBackupSource\022\025\n\007cluster\030\001 \001(\tB" - + "\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(\0132\032.google.pr" - + "otobuf.TimestampB\004\342A\001\002\"\206\022\n\007Cluster\022H\n\rba" - + "ckup_source\030\017 \001(\0132).google.cloud.alloydb" - + ".v1beta.BackupSourceB\004\342A\001\003H\000\022N\n\020migratio" - + "n_source\030\020 \001(\0132,.google.cloud.alloydb.v1" - + "beta.MigrationSourceB\004\342A\001\003H\000\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " - + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\022@\n\006labels\030\007 \003(\01320.google." - + "cloud.alloydb.v1beta.Cluster.LabelsEntry" - + "\022?\n\005state\030\010 \001(\0162*.google.cloud.alloydb.v" - + "1beta.Cluster.StateB\004\342A\001\003\022L\n\014cluster_typ" - + "e\030\030 \001(\01620.google.cloud.alloydb.v1beta.Cl" - + "uster.ClusterTypeB\004\342A\001\003\022L\n\020database_vers" - + "ion\030\t \001(\0162,.google.cloud.alloydb.v1beta." - + "DatabaseVersionB\004\342A\001\001\022P\n\016network_config\030" - + "\035 \001(\01322.google.cloud.alloydb.v1beta.Clus" - + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" - + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" - + "ork\022\014\n\004etag\030\013 \001(\t\022J\n\013annotations\030\014 \003(\01325" - + ".google.cloud.alloydb.v1beta.Cluster.Ann" - + "otationsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003" - + "\022E\n\014initial_user\030\016 \001(\0132).google.cloud.al" - + "loydb.v1beta.UserPasswordB\004\342A\001\004\022S\n\027autom" - + "ated_backup_policy\030\021 \001(\01322.google.cloud." - + "alloydb.v1beta.AutomatedBackupPolicy\022>\n\n" - + "ssl_config\030\022 \001(\0132&.google.cloud.alloydb." - + "v1beta.SslConfigB\002\030\001\022N\n\021encryption_confi" - + "g\030\023 \001(\0132-.google.cloud.alloydb.v1beta.En" - + "cryptionConfigB\004\342A\001\001\022J\n\017encryption_info\030" - + "\024 \001(\0132+.google.cloud.alloydb.v1beta.Encr" - + "yptionInfoB\004\342A\001\003\022[\n\030continuous_backup_co" - + "nfig\030\033 \001(\01323.google.cloud.alloydb.v1beta" - + ".ContinuousBackupConfigB\004\342A\001\001\022W\n\026continu" - + "ous_backup_info\030\034 \001(\01321.google.cloud.all" - + "oydb.v1beta.ContinuousBackupInfoB\004\342A\001\003\022N" - + "\n\020secondary_config\030\026 \001(\01324.google.cloud." - + "alloydb.v1beta.Cluster.SecondaryConfig\022P" - + "\n\016primary_config\030\027 \001(\01322.google.cloud.al" - + "loydb.v1beta.Cluster.PrimaryConfigB\004\342A\001\003" - + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" - + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" - + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" - + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" - + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" - + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" - + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" - + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" - + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" - + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" - + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." - + "googleapis.com/Cluster\022:projects/{projec" - + "t}/locations/{location}/clusters/{cluste" - + "r}R\001\001B\010\n\006source\"\255\024\n\010Instance\022\022\n\004name\030\001 \001" - + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " - + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" - + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" - + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\022A\n\006labels\030\007 \003(\01321.google." - + "cloud.alloydb.v1beta.Instance.LabelsEntr" - + "y\022@\n\005state\030\010 \001(\0162+.google.cloud.alloydb." - + "v1beta.Instance.StateB\004\342A\001\003\022O\n\rinstance_" - + "type\030\t \001(\01622.google.cloud.alloydb.v1beta" - + ".Instance.InstanceTypeB\004\342A\001\002\022K\n\016machine_" - + "config\030\n \001(\01323.google.cloud.alloydb.v1be" - + "ta.Instance.MachineConfig\022Q\n\021availabilit" - + "y_type\030\013 \001(\01626.google.cloud.alloydb.v1be" - + "ta.Instance.AvailabilityType\022\020\n\010gce_zone" - + "\030\014 \001(\t\022P\n\016database_flags\030\r \003(\01328.google." - + "cloud.alloydb.v1beta.Instance.DatabaseFl" - + "agsEntry\022G\n\rwritable_node\030\023 \001(\0132*.google" - + ".cloud.alloydb.v1beta.Instance.NodeB\004\342A\001" - + "\003\022?\n\005nodes\030\024 \003(\0132*.google.cloud.alloydb." - + "v1beta.Instance.NodeB\004\342A\001\003\022`\n\025query_insi" - + "ghts_config\030\025 \001(\0132A.google.cloud.alloydb" - + ".v1beta.Instance.QueryInsightsInstanceCo" - + "nfig\022N\n\020read_pool_config\030\016 \001(\01324.google." - + "cloud.alloydb.v1beta.Instance.ReadPoolCo" - + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" - + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022K\n\013annot" - + "ations\030\022 \003(\01326.google.cloud.alloydb.v1be" - + "ta.Instance.AnnotationsEntry\022I\n\rupdate_p" - + "olicy\030\026 \001(\01322.google.cloud.alloydb.v1bet" - + "a.Instance.UpdatePolicy\022d\n\030client_connec" - + "tion_config\030\027 \001(\0132<.google.cloud.alloydb" - + ".v1beta.Instance.ClientConnectionConfigB" - + "\004\342A\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(" - + "\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n" - + "\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsig" - + "htsInstanceConfig\022$\n\027record_application_" - + "tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address" - + "\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r" - + "\022#\n\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n" - + "\030_record_application_tagsB\030\n\026_record_cli" - + "ent_addressB\031\n\027_query_plans_per_minute\032$" - + "\n\016ReadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032\221\001\n" - + "\014UpdatePolicy\022E\n\004mode\030\001 \001(\01627.google.clo" - + "ud.alloydb.v1beta.Instance.UpdatePolicy." - + "Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\013\n\007DE" - + "FAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032|\n\026ClientConnec" - + "tionConfig\022 \n\022require_connectors\030\001 \001(\010B\004" - + "\342A\001\001\022@\n\nssl_config\030\002 \001(\0132&.google.cloud." - + "alloydb.v1beta.SslConfigB\004\342A\001\001\032-\n\013Labels" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n" - + "\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" - + "e\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" - + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002" - + "\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAINTENA" - + "NCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\010\022\r\n\t" - + "PROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INSTANCE_" - + "TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tREAD_" - + "POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020AvailabilityTyp" - + "e\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020\000\022\t\n\005" - + "ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb.goog" - + "leapis.com/Instance\022Oprojects/{project}/" - + "locations/{location}/clusters/{cluster}/" - + "instances/{instance}R\001\001\"\211\002\n\016ConnectionIn" - + "fo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(\tB\004\342A" - + "\001\003\022%\n\025pem_certificate_chain\030\003 \003(\tB\006\030\001\342A\001" - + "\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A\207\001\n%al" - + "loydb.googleapis.com/ConnectionInfo\022^pro" - + "jects/{project}/locations/{location}/clu" - + "sters/{cluster}/instances/{instance}/con" - + "nectionInfo\"\327\013\n\006Backup\022\022\n\004name\030\001 \001(\tB\004\342A" - + "\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342" - + "A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013del" - + "ete_time\030\017 \001(\0132\032.google.protobuf.Timesta" - + "mpB\004\342A\001\003\022?\n\006labels\030\006 \003(\0132/.google.cloud." - + "alloydb.v1beta.Backup.LabelsEntry\022>\n\005sta" - + "te\030\007 \001(\0162).google.cloud.alloydb.v1beta.B" - + "ackup.StateB\004\342A\001\003\0226\n\004type\030\010 \001(\0162(.google" - + ".cloud.alloydb.v1beta.Backup.Type\022\023\n\013des" - + "cription\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001" - + "\003\022=\n\014cluster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloyd" - + "b.googleapis.com/Cluster\022\031\n\013reconciling\030" - + "\013 \001(\010B\004\342A\001\003\022N\n\021encryption_config\030\014 \001(\0132-" - + ".google.cloud.alloydb.v1beta.EncryptionC" - + "onfigB\004\342A\001\001\022J\n\017encryption_info\030\r \001(\0132+.g" - + "oogle.cloud.alloydb.v1beta.EncryptionInf" - + "oB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022I\n\013annotations\030\020 \003" - + "(\01324.google.cloud.alloydb.v1beta.Backup." - + "AnnotationsEntry\022\030\n\nsize_bytes\030\021 \001(\003B\004\342A" - + "\001\003\0225\n\013expiry_time\030\023 \001(\0132\032.google.protobu" - + "f.TimestampB\004\342A\001\003\022V\n\017expiry_quantity\030\024 \001" - + "(\01327.google.cloud.alloydb.v1beta.Backup." - + "QuantityBasedExpiryB\004\342A\001\003\022L\n\020database_ve" - + "rsion\030\026 \001(\0162,.google.cloud.alloydb.v1bet" - + "a.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBased" - + "Expiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022#\n" - + "\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAILED" - + "\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPECI" - + "FIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016\n\n" - + "CONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis.co" - + "m/Backup\0228projects/{project}/locations/{" - + "location}/backups/{backup}R\001\001\"\330\006\n\025Suppor" - + "tedDatabaseFlag\022d\n\023string_restrictions\030\007" - + " \001(\0132E.google.cloud.alloydb.v1beta.Suppo" - + "rtedDatabaseFlag.StringRestrictionsH\000\022f\n" - + "\024integer_restrictions\030\010 \001(\0132F.google.clo" - + "ud.alloydb.v1beta.SupportedDatabaseFlag." - + "IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022\021\n\tf" - + "lag_name\030\002 \001(\t\022P\n\nvalue_type\030\003 \001(\0162<.goo" - + "gle.cloud.alloydb.v1beta.SupportedDataba" - + "seFlag.ValueType\022\037\n\027accepts_multiple_val" - + "ues\030\004 \001(\010\022K\n\025supported_db_versions\030\005 \003(\016" - + "2,.google.cloud.alloydb.v1beta.DatabaseV" - + "ersion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022S" - + "tringRestrictions\022\026\n\016allowed_values\030\001 \003(" - + "\t\032u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 " - + "\001(\0132\033.google.protobuf.Int64Value\022.\n\tmax_" - + "value\030\002 \001(\0132\033.google.protobuf.Int64Value" - + "\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n" - + "\004NONE\020\004:g\352Ad\n,alloydb.googleapis.com/Sup" - + "portedDatabaseFlag\0224projects/{project}/l" - + "ocations/{location}/flags/{flag}B\016\n\014rest" - + "rictions\"\326\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n" - + "\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030" - + "\004 \003(\tB\004\342A\001\001\022C\n\tuser_type\030\005 \001(\0162*.google." - + "cloud.alloydb.v1beta.User.UserTypeB\004\342A\001\001" - + "\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022" - + "\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USE" - + "R\020\002:l\352Ai\n\033alloydb.googleapis.com/User\022Gp" - + "rojects/{project}/locations/{location}/c" - + "lusters/{cluster}/users/{user}R\001\001*^\n\014Ins" - + "tanceView\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000" - + "\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VI" - + "EW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW" - + "_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"" - + "\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*j\n\017Da" - + "tabaseVersion\022 \n\034DATABASE_VERSION_UNSPEC" - + "IFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES" - + "_14\020\002\022\017\n\013POSTGRES_15\020\003B\306\003\n\037com.google.cl" - + "oud.alloydb.v1betaB\016ResourcesProtoP\001Z9cl" - + "oud.google.com/go/alloydb/apiv1beta/allo" - + "ydbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V" - + "1Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Go" - + "ogle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudk" - + "ms.googleapis.com/CryptoKeyVersion\022zproj" - + "ects/{project}/locations/{location}/keyR" - + "ings/{key_ring}/cryptoKeys/{crypto_key}/" - + "cryptoKeyVersions/{crypto_key_version}\352A" - + "N\n\036compute.googleapis.com/Network\022,proje" - + "cts/{project}/global/networks/{network}b" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor, - new java.lang.String[] { - "User", "Password", - }); - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor, - new java.lang.String[] { - "HostPort", "ReferenceId", "SourceType", - }); - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "KmsKeyVersions", - }); - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor, - new java.lang.String[] { - "SslMode", "CaSource", - }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { - "WeeklySchedule", - "TimeBasedRetention", - "QuantityBasedRetention", - "Enabled", - "BackupWindow", - "EncryptionConfig", - "Location", - "Labels", - "Schedule", - "Retention", - "Enabled", - }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { - "StartTimes", "DaysOfWeek", - }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { - "Count", - }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor, - new java.lang.String[] { - "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", - }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor, - new java.lang.String[] { - "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", - }); - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor, - new java.lang.String[] { - "BackupUid", "BackupName", - }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor, - new java.lang.String[] { - "Cluster", "PointInTime", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor, - new java.lang.String[] { - "BackupSource", - "MigrationSource", - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "ClusterType", - "DatabaseVersion", - "NetworkConfig", - "Network", - "Etag", - "Annotations", - "Reconciling", - "InitialUser", - "AutomatedBackupPolicy", - "SslConfig", - "EncryptionConfig", - "EncryptionInfo", - "ContinuousBackupConfig", - "ContinuousBackupInfo", - "SecondaryConfig", - "PrimaryConfig", - "Source", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { - "Network", "AllocatedIpRange", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { - "PrimaryClusterName", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { - "SecondaryClusterNames", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "InstanceType", - "MachineConfig", - "AvailabilityType", - "GceZone", - "DatabaseFlags", - "WritableNode", - "Nodes", - "QueryInsightsConfig", - "ReadPoolConfig", - "IpAddress", - "Reconciling", - "Etag", - "Annotations", - "UpdatePolicy", - "ClientConnectionConfig", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor, - new java.lang.String[] { - "CpuCount", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor, - new java.lang.String[] { - "ZoneId", "Id", "Ip", "State", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { - "RecordApplicationTags", - "RecordClientAddress", - "QueryStringLength", - "QueryPlansPerMinute", - "RecordApplicationTags", - "RecordClientAddress", - "QueryPlansPerMinute", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { - "NodeCount", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor, - new java.lang.String[] { - "Mode", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { - "RequireConnectors", "SslConfig", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor, - new java.lang.String[] { - "Name", "IpAddress", "PemCertificateChain", "InstanceUid", - }); - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "Uid", - "CreateTime", - "UpdateTime", - "DeleteTime", - "Labels", - "State", - "Type", - "Description", - "ClusterUid", - "ClusterName", - "Reconciling", - "EncryptionConfig", - "EncryptionInfo", - "Etag", - "Annotations", - "SizeBytes", - "ExpiryTime", - "ExpiryQuantity", - "DatabaseVersion", - }); - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { - "RetentionCount", "TotalRetentionCount", - }); - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { - "StringRestrictions", - "IntegerRestrictions", - "Name", - "FlagName", - "ValueType", - "AcceptsMultipleValues", - "SupportedDbVersions", - "RequiresDbRestart", - "Restrictions", - }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { - "AllowedValues", - }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { - "MinValue", "MaxValue", - }); - internal_static_google_cloud_alloydb_v1beta_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_User_descriptor, - new java.lang.String[] { - "Name", "Password", "DatabaseRoles", "UserType", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java deleted file mode 100644 index a56a186c65e6..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java +++ /dev/null @@ -1,992 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public final class ServiceProto { - private ServiceProto() {} - - 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_cloud_alloydb_v1beta_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_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/cloud/alloydb/v1beta/service.pr" - + "oto\022\033google.cloud.alloydb.v1beta\032\034google" - + "/api/annotations.proto\032\027google/api/clien" - + "t.proto\032\037google/api/field_behavior.proto" - + "\032\031google/api/resource.proto\032+google/clou" - + "d/alloydb/v1beta/resources.proto\032#google" - + "/longrunning/operations.proto\032\036google/pr" - + "otobuf/duration.proto\032\033google/protobuf/e" - + "mpty.proto\032 google/protobuf/field_mask.p" - + "roto\032\037google/protobuf/timestamp.proto\032\027g" - + "oogle/rpc/status.proto\"\251\001\n\023ListClustersR" - + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb" - + ".googleapis.com/Cluster\022\027\n\tpage_size\030\002 \001" - + "(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030\004" - + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"|\n\024Li" - + "stClustersResponse\0226\n\010clusters\030\001 \003(\0132$.g" - + "oogle.cloud.alloydb.v1beta.Cluster\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" - + "\"\210\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A" - + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022<\n" - + "\004view\030\002 \001(\0162(.google.cloud.alloydb.v1bet" - + "a.ClusterViewB\004\342A\001\001\"\346\001\n\035CreateSecondaryC" - + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" - + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" - + "r_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.goog" - + "le.cloud.alloydb.v1beta.ClusterB\004\342A\001\002\022\030\n" - + "\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" - + "\030\006 \001(\010B\004\342A\001\001\"\335\001\n\024CreateClusterRequest\0227\n" - + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleap" - + "is.com/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002" - + "\022;\n\007cluster\030\003 \001(\0132$.google.cloud.alloydb" - + ".v1beta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(" - + "\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\336\001\n" - + "\024UpdateClusterRequest\0225\n\013update_mask\030\001 \001" - + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\022;\n\007" - + "cluster\030\002 \001(\0132$.google.cloud.alloydb.v1b" - + "eta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342" - + "A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallo" - + "w_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024DeleteClusterR" - + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" - + "oogleapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(" - + "\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" - + "only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B\004\342A\001\001\"\231\001" - + "\n\025PromoteClusterRequest\0225\n\004name\030\001 \001(\tB\'\342" - + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030" - + "\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004" - + "\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\205\003\n\025Re" - + "storeClusterRequest\022B\n\rbackup_source\030\004 \001" - + "(\0132).google.cloud.alloydb.v1beta.BackupS" - + "ourceH\000\022W\n\030continuous_backup_source\030\010 \001(" - + "\01323.google.cloud.alloydb.v1beta.Continuo" - + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" - + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" - + "ster_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.g" - + "oogle.cloud.alloydb.v1beta.ClusterB\004\342A\001\002" - + "\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" - + "nly\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstan" - + "cesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" - + "oydb.googleapis.com/Instance\022\027\n\tpage_siz" - + "e\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006fil" - + "ter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"" - + "\177\n\025ListInstancesResponse\0228\n\tinstances\030\001 " - + "\003(\0132%.google.cloud.alloydb.v1beta.Instan" - + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" - + "le\030\003 \003(\t\"\205\001\n\022GetInstanceRequest\0226\n\004name\030" - + "\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" - + "nstance\0227\n\004view\030\002 \001(\0162).google.cloud.all" - + "oydb.v1beta.InstanceView\"\342\001\n\025CreateInsta" - + "nceRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" - + "oydb.googleapis.com/Instance\022\031\n\013instance" - + "_id\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.goog" - + "le.cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030" - + "\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_onl" - + "y\030\005 \001(\010B\004\342A\001\001\"\353\001\n\036CreateSecondaryInstanc" - + "eRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloy" - + "db.googleapis.com/Instance\022\031\n\013instance_i" - + "d\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.google" - + ".cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030\n\n" - + "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" - + "\005 \001(\010B\004\342A\001\001\"t\n\026CreateInstanceRequests\022Z\n" - + "\030create_instance_requests\030\001 \003(\01322.google" - + ".cloud.alloydb.v1beta.CreateInstanceRequ" - + "estB\004\342A\001\002\"\276\001\n\033BatchCreateInstancesReques" - + "t\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.goog" - + "leapis.com/Instance\022K\n\010requests\030\002 \001(\01323." - + "google.cloud.alloydb.v1beta.CreateInstan" - + "ceRequestsB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" - + "\001\001\"X\n\034BatchCreateInstancesResponse\0228\n\tin" - + "stances\030\001 \003(\0132%.google.cloud.alloydb.v1b" - + "eta.Instance\"\225\002\n\034BatchCreateInstancesMet" - + "adata\022\030\n\020instance_targets\030\001 \003(\t\022j\n\021insta" - + "nce_statuses\030\002 \003(\0132O.google.cloud.alloyd" - + "b.v1beta.BatchCreateInstancesMetadata.In" - + "stanceStatusesEntry\032o\n\025InstanceStatusesE" - + "ntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.googl" - + "e.cloud.alloydb.v1beta.BatchCreateInstan" - + "ceStatus:\0028\001\"\330\002\n\031BatchCreateInstanceStat" - + "us\022K\n\005state\030\001 \001(\0162<.google.cloud.alloydb" - + ".v1beta.BatchCreateInstanceStatus.State\022" - + "\021\n\terror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.goog" - + "le.rpc.Status\022@\n\004type\030\003 \001(\01622.google.clo" - + "ud.alloydb.v1beta.Instance.InstanceType\"" - + "v\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDI" - + "NG_CREATE\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010" - + "DELETING\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"" - + "\341\001\n\025UpdateInstanceRequest\0225\n\013update_mask" - + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001" - + "\022=\n\010instance\030\002 \001(\0132%.google.cloud.alloyd" - + "b.v1beta.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 " - + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033" - + "\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteIn" - + "stanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037al" - + "loydb.googleapis.com/Instance\022\030\n\nrequest" - + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" - + "alidate_only\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverIns" - + "tanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037all" - + "oydb.googleapis.com/Instance\022\030\n\nrequest_" - + "id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342" - + "A\001\001\"\216\002\n\022InjectFaultRequest\022S\n\nfault_type" - + "\030\001 \001(\01629.google.cloud.alloydb.v1beta.Inj" - + "ectFaultRequest.FaultTypeB\004\342A\001\002\0226\n\004name\030" - + "\002 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" - + "nstance\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" - + "idate_only\030\004 \001(\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026F" - + "AULT_TYPE_UNSPECIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n" - + "\026RestartInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" - + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" - + "\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_on" - + "ly\030\003 \001(\010B\004\342A\001\001\"\225\001\n\022ListBackupsRequest\0226\n" - + "\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloydb.googleap" - + "is.com/Backup\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\022\020\n\010order_by" - + "\030\005 \001(\t\"y\n\023ListBackupsResponse\0224\n\007backups" - + "\030\001 \003(\0132#.google.cloud.alloydb.v1beta.Bac" - + "kup\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha" - + "ble\030\003 \003(\t\"H\n\020GetBackupRequest\0224\n\004name\030\001 " - + "\001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Bac" - + "kup\"\330\001\n\023CreateBackupRequest\0226\n\006parent\030\001 " - + "\001(\tB&\342A\001\002\372A\037\022\035alloydb.googleapis.com/Bac" - + "kup\022\027\n\tbackup_id\030\002 \001(\tB\004\342A\001\002\0229\n\006backup\030\003" - + " \001(\0132#.google.cloud.alloydb.v1beta.Backu" - + "pB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rval" - + "idate_only\030\005 \001(\010B\004\342A\001\001\"\333\001\n\023UpdateBackupR" - + "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro" - + "tobuf.FieldMaskB\004\342A\001\001\0229\n\006backup\030\002 \001(\0132#." - + "google.cloud.alloydb.v1beta.BackupB\004\342A\001\002" - + "\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" - + "nly\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004" - + "\342A\001\001\"\226\001\n\023DeleteBackupRequest\0224\n\004name\030\001 \001" - + "(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Back" - + "up\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate" - + "_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001" - + "\n!ListSupportedDatabaseFlagsRequest\022E\n\006p" - + "arent\030\001 \001(\tB5\342A\001\002\372A.\022,alloydb.googleapis" - + ".com/SupportedDatabaseFlag\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\223\001\n\"ListSuppor" - + "tedDatabaseFlagsResponse\022T\n\030supported_da" - + "tabase_flags\030\001 \003(\01322.google.cloud.alloyd" - + "b.v1beta.SupportedDatabaseFlag\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"\205\002\n GenerateClientCertif" - + "icateRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036a" - + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" - + "_id\030\002 \001(\tB\004\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001" - + "\0226\n\rcert_duration\030\004 \001(\0132\031.google.protobu" - + "f.DurationB\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A" - + "\001\001\022#\n\025use_metadata_exchange\030\006 \001(\010B\004\342A\001\001\"" - + "~\n!GenerateClientCertificateResponse\022\035\n\017" - + "pem_certificate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certi" - + "ficate_chain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(" - + "\tB\004\342A\001\001\"n\n\030GetConnectionInfoRequest\0228\n\006p" - + "arent\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" - + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"" - + "\207\003\n\021OperationMetadata\022j\n\037batch_create_in" - + "stances_metadata\030\010 \001(\01329.google.cloud.al" - + "loydb.v1beta.BatchCreateInstancesMetadat" - + "aB\004\342A\001\003H\000\0225\n\013create_time\030\001 \001(\0132\032.google." - + "protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001" - + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" - + "target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034" - + "\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requeste" - + "d_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_versio" - + "n\030\007 \001(\tB\004\342A\001\003B\022\n\020request_specific\"\251\001\n\020Li" - + "stUsersRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" - + "\033alloydb.googleapis.com/User\022\027\n\tpage_siz" - + "e\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022" - + "\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB" - + "\004\342A\001\001\"s\n\021ListUsersResponse\0220\n\005users\030\001 \003(" - + "\0132!.google.cloud.alloydb.v1beta.User\022\027\n\017" - + "next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003" - + "(\t\"D\n\016GetUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002" - + "\372A\035\n\033alloydb.googleapis.com/User\"\316\001\n\021Cre" - + "ateUserRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" - + "\033alloydb.googleapis.com/User\022\025\n\007user_id\030" - + "\002 \001(\tB\004\342A\001\002\0225\n\004user\030\003 \001(\0132!.google.cloud" - + ".alloydb.v1beta.UserB\004\342A\001\002\022\030\n\nrequest_id" - + "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" - + "\001\"\325\001\n\021UpdateUserRequest\0225\n\013update_mask\030\001" - + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225" - + "\n\004user\030\002 \001(\0132!.google.cloud.alloydb.v1be" - + "ta.UserB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022" - + "\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mi" - + "ssing\030\005 \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222" - + "\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapi" - + "s.com/User\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\r" - + "validate_only\030\003 \001(\010B\004\342A\001\0012\2464\n\014AlloyDBAdm" - + "in\022\266\001\n\014ListClusters\0220.google.cloud.alloy" - + "db.v1beta.ListClustersRequest\0321.google.c" - + "loud.alloydb.v1beta.ListClustersResponse" - + "\"A\332A\006parent\202\323\344\223\0022\0220/v1beta/{parent=proje" - + "cts/*/locations/*}/clusters\022\243\001\n\nGetClust" - + "er\022..google.cloud.alloydb.v1beta.GetClus" - + "terRequest\032$.google.cloud.alloydb.v1beta" - + ".Cluster\"?\332A\004name\202\323\344\223\0022\0220/v1beta/{name=p" - + "rojects/*/locations/*/clusters/*}\022\337\001\n\rCr" - + "eateCluster\0221.google.cloud.alloydb.v1bet" - + "a.CreateClusterRequest\032\035.google.longrunn" - + "ing.Operation\"|\312A\034\n\007Cluster\022\021OperationMe" - + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002;" - + "\"0/v1beta/{parent=projects/*/locations/*" - + "}/clusters:\007cluster\022\341\001\n\rUpdateCluster\0221." - + "google.cloud.alloydb.v1beta.UpdateCluste" - + "rRequest\032\035.google.longrunning.Operation\"" - + "~\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clust" - + "er,update_mask\202\323\344\223\002C28/v1beta/{cluster.n" - + "ame=projects/*/locations/*/clusters/*}:\007" - + "cluster\022\317\001\n\rDeleteCluster\0221.google.cloud" - + ".alloydb.v1beta.DeleteClusterRequest\032\035.g" - + "oogle.longrunning.Operation\"l\312A*\n\025google" - + ".protobuf.Empty\022\021OperationMetadata\332A\004nam" - + "e\202\323\344\223\0022*0/v1beta/{name=projects/*/locati" - + "ons/*/clusters/*}\022\316\001\n\016PromoteCluster\0222.g" - + "oogle.cloud.alloydb.v1beta.PromoteCluste" - + "rRequest\032\035.google.longrunning.Operation\"" - + "i\312A\034\n\007Cluster\022\021OperationMetadata\332A\004name\202" - + "\323\344\223\002=\"8/v1beta/{name=projects/*/location" - + "s/*/clusters/*}:promote:\001*\022\307\001\n\016RestoreCl" - + "uster\0222.google.cloud.alloydb.v1beta.Rest" - + "oreClusterRequest\032\035.google.longrunning.O" - + "peration\"b\312A\034\n\007Cluster\022\021OperationMetadat" - + "a\202\323\344\223\002=\"8/v1beta/{parent=projects/*/loca" - + "tions/*}/clusters:restore:\001*\022\202\002\n\026CreateS" - + "econdaryCluster\022:.google.cloud.alloydb.v" - + "1beta.CreateSecondaryClusterRequest\032\035.go" - + "ogle.longrunning.Operation\"\214\001\312A\034\n\007Cluste" - + "r\022\021OperationMetadata\332A\031parent,cluster,cl" - + "uster_id\202\323\344\223\002K\"@/v1beta/{parent=projects" - + "/*/locations/*}/clusters:createsecondary" - + ":\007cluster\022\305\001\n\rListInstances\0221.google.clo" - + "ud.alloydb.v1beta.ListInstancesRequest\0322" - + ".google.cloud.alloydb.v1beta.ListInstanc" - + "esResponse\"M\332A\006parent\202\323\344\223\002>\022\022*\332A\004name\202\323\344\223\0021\022//v1beta/{name=pro" - + "jects/*/locations/*/backups/*}\022\330\001\n\014Creat" - + "eBackup\0220.google.cloud.alloydb.v1beta.Cr" - + "eateBackupRequest\032\035.google.longrunning.O" - + "peration\"w\312A\033\n\006Backup\022\021OperationMetadata" - + "\332A\027parent,backup,backup_id\202\323\344\223\0029\"//v1bet" - + "a/{parent=projects/*/locations/*}/backup" - + "s:\006backup\022\332\001\n\014UpdateBackup\0220.google.clou" - + "d.alloydb.v1beta.UpdateBackupRequest\032\035.g" - + "oogle.longrunning.Operation\"y\312A\033\n\006Backup" - + "\022\021OperationMetadata\332A\022backup,update_mask" - + "\202\323\344\223\002@26/v1beta/{backup.name=projects/*/" - + "locations/*/backups/*}:\006backup\022\314\001\n\014Delet" - + "eBackup\0220.google.cloud.alloydb.v1beta.De" - + "leteBackupRequest\032\035.google.longrunning.O" - + "peration\"k\312A*\n\025google.protobuf.Empty\022\021Op" - + "erationMetadata\332A\004name\202\323\344\223\0021*//v1beta/{n" - + "ame=projects/*/locations/*/backups/*}\022\356\001" - + "\n\032ListSupportedDatabaseFlags\022>.google.cl" - + "oud.alloydb.v1beta.ListSupportedDatabase" - + "FlagsRequest\032?.google.cloud.alloydb.v1be" - + "ta.ListSupportedDatabaseFlagsResponse\"O\332" - + "A\006parent\202\323\344\223\002@\022>/v1beta/{parent=projects" - + "/*/locations/*}/supportedDatabaseFlags\022\374" - + "\001\n\031GenerateClientCertificate\022=.google.cl" - + "oud.alloydb.v1beta.GenerateClientCertifi" - + "cateRequest\032>.google.cloud.alloydb.v1bet" - + "a.GenerateClientCertificateResponse\"`\332A\006" - + "parent\202\323\344\223\002Q\"L/v1beta/{parent=projects/*" - + "/locations/*/clusters/*}:generateClientC" - + "ertificate:\001*\022\327\001\n\021GetConnectionInfo\0225.go" - + "ogle.cloud.alloydb.v1beta.GetConnectionI" - + "nfoRequest\032+.google.cloud.alloydb.v1beta" - + ".ConnectionInfo\"^\332A\006parent\202\323\344\223\002O\022M/v1bet" - + "a/{parent=projects/*/locations/*/cluster" - + "s/*/instances/*}/connectionInfo\022\265\001\n\tList" - + "Users\022-.google.cloud.alloydb.v1beta.List" - + "UsersRequest\032..google.cloud.alloydb.v1be" - + "ta.ListUsersResponse\"I\332A\006parent\202\323\344\223\002:\0228/" - + "v1beta/{parent=projects/*/locations/*/cl" - + "usters/*}/users\022\242\001\n\007GetUser\022+.google.clo" - + "ud.alloydb.v1beta.GetUserRequest\032!.googl" - + "e.cloud.alloydb.v1beta.User\"G\332A\004name\202\323\344\223" - + "\002:\0228/v1beta/{name=projects/*/locations/*" - + "/clusters/*/users/*}\022\275\001\n\nCreateUser\022..go" - + "ogle.cloud.alloydb.v1beta.CreateUserRequ" - + "est\032!.google.cloud.alloydb.v1beta.User\"\\" - + "\332A\023parent,user,user_id\202\323\344\223\002@\"8/v1beta/{p" - + "arent=projects/*/locations/*/clusters/*}" - + "/users:\004user\022\277\001\n\nUpdateUser\022..google.clo" - + "ud.alloydb.v1beta.UpdateUserRequest\032!.go" - + "ogle.cloud.alloydb.v1beta.User\"^\332A\020user," - + "update_mask\202\323\344\223\002E2=/v1beta/{user.name=pr" - + "ojects/*/locations/*/clusters/*/users/*}" - + ":\004user\022\235\001\n\nDeleteUser\022..google.cloud.all" - + "oydb.v1beta.DeleteUserRequest\032\026.google.p" - + "rotobuf.Empty\"G\332A\004name\202\323\344\223\002:*8/v1beta/{n" - + "ame=projects/*/locations/*/clusters/*/us" - + "ers/*}\032J\312A\026alloydb.googleapis.com\322A.http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rmB\311\001\n\037com.google.cloud.alloydb.v1betaB\014" - + "ServiceProtoP\001Z9cloud.google.com/go/allo" - + "ydb/apiv1beta/alloydbpb;alloydbpb\252\002\033Goog" - + "le.Cloud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\A" - + "lloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::" - + "V1betab\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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor, - new java.lang.String[] { - "Clusters", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", "Force", - }); - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor, - new java.lang.String[] { - "BackupSource", - "ContinuousBackupSource", - "Parent", - "ClusterId", - "Cluster", - "RequestId", - "ValidateOnly", - "Source", - }); - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor, - new java.lang.String[] { - "CreateInstanceRequests", - }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "Requests", "RequestId", - }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", - }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor, - new java.lang.String[] { - "InstanceTargets", "InstanceStatuses", - }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor, - new java.lang.String[] { - "State", "ErrorMsg", "Error", "Type", - }); - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "Etag", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor, - new java.lang.String[] { - "FaultType", "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor, - new java.lang.String[] { - "Backups", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor, - new java.lang.String[] { - "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor, - new java.lang.String[] { - "SupportedDatabaseFlags", "NextPageToken", - }); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", - }); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor, - new java.lang.String[] { - "PemCertificate", "PemCertificateChain", "CaCert", - }); - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor, - new java.lang.String[] { - "Parent", "RequestId", - }); - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor, - new java.lang.String[] { - "BatchCreateInstancesMetadata", - "CreateTime", - "EndTime", - "Target", - "Verb", - "StatusMessage", - "RequestedCancellation", - "ApiVersion", - "RequestSpecific", - }); - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "Filter", "OrderBy", - }); - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor, - new java.lang.String[] { - "Users", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor, - new java.lang.String[] { - "Parent", "UserId", "User", "RequestId", "ValidateOnly", - }); - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor, - new java.lang.String[] { - "Name", "RequestId", "ValidateOnly", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java deleted file mode 100644 index da875af027f3..000000000000 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public interface SslConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SslConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - * - * - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The sslMode. - */ - com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode(); - - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - * - * - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The caSource. - */ - com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource(); -} diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java index 9060e3c2fa21..9c1d52d96cbe 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java +++ b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java @@ -3872,6 +3872,7 @@ public final GenerateClientCertificateResponse generateClientCertificate(String * .setRequestId("requestId693933066") * .setCertDuration(Duration.newBuilder().build()) * .setPublicKey("publicKey1446899510") + * .setUseMetadataExchange(true) * .build(); * GenerateClientCertificateResponse response = * alloyDBAdminClient.generateClientCertificate(request); @@ -3908,6 +3909,7 @@ public final GenerateClientCertificateResponse generateClientCertificate( * .setRequestId("requestId693933066") * .setCertDuration(Duration.newBuilder().build()) * .setPublicKey("publicKey1446899510") + * .setUseMetadataExchange(true) * .build(); * ApiFuture future = * alloyDBAdminClient.generateClientCertificateCallable().futureCall(request); diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java index 941faa1d5944..b360c7277cc7 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java +++ b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java @@ -34,6 +34,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.alloydb.v1.stub.AlloyDBAdminStubSettings; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java index ea20339a6fa0..34324f21623f 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java @@ -85,6 +85,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/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java index 544141093c08..fbcf82c94de2 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java @@ -36,6 +36,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.RequestParamsBuilder; diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java b/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java rename to owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..c78f41366843 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java @@ -0,0 +1,2995 @@ +package com.google.cloud.alloydb.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPromoteClusterMethod() { + io.grpc.MethodDescriptor getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestoreClusterMethod() { + io.grpc.MethodDescriptor getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.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; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.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; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { + io.grpc.MethodDescriptor getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInjectFaultMethod() { + io.grpc.MethodDescriptor getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.InjectFaultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartInstanceMethod() { + io.grpc.MethodDescriptor getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListBackupsMethod() { + io.grpc.MethodDescriptor getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetBackupMethod() { + io.grpc.MethodDescriptor getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.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; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateBackupMethod() { + io.grpc.MethodDescriptor getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteBackupMethod() { + io.grpc.MethodDescriptor getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUsersMethod() { + io.grpc.MethodDescriptor getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListUsersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListUsersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUserMethod() { + io.grpc.MethodDescriptor getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUserMethod() { + io.grpc.MethodDescriptor getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUserMethod() { + io.grpc.MethodDescriptor getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.UpdateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUserMethod() { + io.grpc.MethodDescriptor getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.DeleteUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AlloyDBAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser(com.google.cloud.alloydb.v1.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser(com.google.cloud.alloydb.v1.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static abstract class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser(com.google.cloud.alloydb.v1.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser(com.google.cloud.alloydb.v1.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListClustersResponse listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Cluster getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Instance getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Backup getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListUsersResponse listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User getUser(com.google.cloud.alloydb.v1.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User createUser(com.google.cloud.alloydb.v1.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.cloud.alloydb.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.cloud.alloydb.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.cloud.alloydb.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.cloud.alloydb.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.cloud.alloydb.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture promoteCluster( + com.google.cloud.alloydb.v1.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restoreCluster( + com.google.cloud.alloydb.v1.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.cloud.alloydb.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.alloydb.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.alloydb.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture failoverInstance( + com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture injectFault( + com.google.cloud.alloydb.v1.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restartInstance( + com.google.cloud.alloydb.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.cloud.alloydb.v1.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.cloud.alloydb.v1.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.cloud.alloydb.v1.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.cloud.alloydb.v1.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.cloud.alloydb.v1.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUsers( + com.google.cloud.alloydb.v1.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUser( + com.google.cloud.alloydb.v1.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUser( + com.google.cloud.alloydb.v1.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUser( + com.google.cloud.alloydb.v1.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.cloud.alloydb.v1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.cloud.alloydb.v1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.cloud.alloydb.v1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.cloud.alloydb.v1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.cloud.alloydb.v1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster((com.google.cloud.alloydb.v1.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster((com.google.cloud.alloydb.v1.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.cloud.alloydb.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.alloydb.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.alloydb.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.cloud.alloydb.v1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.alloydb.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance((com.google.cloud.alloydb.v1.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault((com.google.cloud.alloydb.v1.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance((com.google.cloud.alloydb.v1.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups((com.google.cloud.alloydb.v1.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup((com.google.cloud.alloydb.v1.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup((com.google.cloud.alloydb.v1.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup((com.google.cloud.alloydb.v1.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup((com.google.cloud.alloydb.v1.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers((com.google.cloud.alloydb.v1.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser((com.google.cloud.alloydb.v1.GetUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser((com.google.cloud.alloydb.v1.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser((com.google.cloud.alloydb.v1.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser((com.google.cloud.alloydb.v1.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListClustersRequest, + com.google.cloud.alloydb.v1.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetClusterRequest, + com.google.cloud.alloydb.v1.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.PromoteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.RestoreClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListInstancesRequest, + com.google.cloud.alloydb.v1.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetInstanceRequest, + com.google.cloud.alloydb.v1.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, + com.google.longrunning.Operation>( + service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.FailoverInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.InjectFaultRequest, + com.google.longrunning.Operation>( + service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.RestartInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListBackupsRequest, + com.google.cloud.alloydb.v1.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetBackupRequest, + com.google.cloud.alloydb.v1.Backup>( + service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListUsersRequest, + com.google.cloud.alloydb.v1.ListUsersResponse>( + service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetUserRequest, + com.google.cloud.alloydb.v1.User>( + service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateUserRequest, + com.google.cloud.alloydb.v1.User>( + service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateUserRequest, + com.google.cloud.alloydb.v1.User>( + service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteUserRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private static abstract class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java index 0ede0cee2dcd..a0781069ce14 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message describing the user-specified automated backup policy.
  *
@@ -30,60 +13,56 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutomatedBackupPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class,
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder
-      extends
+  public interface WeeklyScheduleOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -94,10 +73,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesList();
+    java.util.List 
+        getStartTimesList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,8 +88,6 @@ public interface WeeklyScheduleOrBuilder
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -124,8 +100,6 @@ public interface WeeklyScheduleOrBuilder
      */
     int getStartTimesCount();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -136,10 +110,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesOrBuilderList();
+    java.util.List 
+        getStartTimesOrBuilderList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -150,11 +123,10 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -163,13 +135,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -178,13 +147,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -193,14 +159,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -209,13 +172,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List getDaysOfWeekValueList(); + java.util.List + getDaysOfWeekValueList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -224,15 +185,12 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** - * - * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -245,16 +203,15 @@ public interface WeeklyScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WeeklySchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -262,32 +219,28 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class,
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -303,8 +256,6 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -316,13 +267,11 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -338,8 +287,6 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -355,8 +302,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -368,18 +313,16 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
-
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
-
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.type.DayOfWeek>
-        daysOfWeek_converter_ =
+        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -388,8 +331,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -398,7 +339,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -407,8 +347,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -417,7 +355,6 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ @java.lang.Override @@ -425,8 +362,6 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -435,7 +370,6 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -444,8 +378,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -454,16 +386,14 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return daysOfWeek_; } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -472,7 +402,6 @@ public java.util.List getDaysOfWeekValueList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -480,11 +409,9 @@ public java.util.List getDaysOfWeekValueList() { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } - private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -496,7 +423,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -518,20 +446,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -541,15 +469,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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other = - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList().equals(other.getStartTimesList())) return false; + if (!getStartTimesList() + .equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -576,95 +504,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - 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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -674,8 +596,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -688,34 +608,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class,
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -733,16 +652,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -756,18 +673,14 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule build()
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result =
-            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -784,8 +697,7 @@ private void buildPartialRepeatedFields(
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -793,53 +705,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other
-            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -858,10 +763,9 @@ public Builder mergeFrom(
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getStartTimesFieldBuilder()
-                      : null;
+              startTimesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getStartTimesFieldBuilder() : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -903,44 +807,42 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.type.TimeOfDay m =
-                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-                  if (startTimesBuilder_ == null) {
-                    ensureStartTimesIsMutable();
-                    startTimes_.add(m);
-                  } else {
-                    startTimesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              case 16:
-                {
+              case 10: {
+                com.google.type.TimeOfDay m =
+                    input.readMessage(
+                        com.google.type.TimeOfDay.parser(),
+                        extensionRegistry);
+                if (startTimesBuilder_ == null) {
+                  ensureStartTimesIsMutable();
+                  startTimes_.add(m);
+                } else {
+                  startTimesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              case 16: {
+                int tmpRaw = input.readEnum();
+                ensureDaysOfWeekIsMutable();
+                daysOfWeek_.add(tmpRaw);
+                break;
+              } // case 16
+              case 18: {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while(input.getBytesUntilLimit() > 0) {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                  break;
-                } // case 16
-              case 18:
-                {
-                  int length = input.readRawVarint32();
-                  int oldLimit = input.pushLimit(length);
-                  while (input.getBytesUntilLimit() > 0) {
-                    int tmpRaw = input.readEnum();
-                    ensureDaysOfWeekIsMutable();
-                    daysOfWeek_.add(tmpRaw);
-                  }
-                  input.popLimit(oldLimit);
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -950,28 +852,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List startTimes_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
-          startTimesBuilder_;
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
 
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -990,8 +885,6 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1010,8 +903,6 @@ public int getStartTimesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1030,8 +921,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1042,7 +931,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1056,8 +946,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1068,7 +956,8 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -1079,8 +968,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1105,8 +992,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1117,7 +1002,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1131,8 +1017,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1143,7 +1027,8 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1154,8 +1039,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1166,7 +1049,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1177,8 +1061,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1193,7 +1075,8 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1201,8 +1084,6 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1224,8 +1105,6 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1247,8 +1126,6 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1259,12 +1136,11 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
+          int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1275,16 +1151,14 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+          int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);
-        } else {
+          return startTimes_.get(index);  } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1295,8 +1169,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List
-          getStartTimesOrBuilderList() {
+      public java.util.List 
+           getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1304,8 +1178,6 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1317,12 +1189,10 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder()
-            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder().addBuilder(
+            com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1333,13 +1203,12 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
-        return getStartTimesFieldBuilder()
-            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
+          int index) {
+        return getStartTimesFieldBuilder().addBuilder(
+            index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1350,29 +1219,27 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List getStartTimesBuilderList() {
+      public java.util.List 
+           getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.type.TimeOfDay,
-                  com.google.type.TimeOfDay.Builder,
-                  com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
-
+      private java.util.List daysOfWeek_ =
+        java.util.Collections.emptyList();
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1380,8 +1247,6 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1390,7 +1255,6 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1398,8 +1262,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1408,15 +1270,12 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1425,7 +1284,6 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1433,8 +1291,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1443,12 +1299,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1458,8 +1314,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1468,7 +1322,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1482,8 +1335,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1492,7 +1343,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1506,8 +1356,6 @@ public Builder addAllDaysOfWeek( return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1516,7 +1364,6 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1526,8 +1373,6 @@ public Builder clearDaysOfWeek() { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1536,15 +1381,13 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1553,7 +1396,6 @@ public java.util.List getDaysOfWeekValueList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1561,8 +1403,6 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1571,20 +1411,18 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue(int index, int value) { + public Builder setDaysOfWeekValue( + int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1593,7 +1431,6 @@ public Builder setDaysOfWeekValue(int index, int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1604,8 +1441,6 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1614,11 +1449,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue( + java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1626,7 +1461,6 @@ public Builder addAllDaysOfWeekValue(java.lang.Iterable value onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1639,44 +1473,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1688,44 +1519,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TimeBasedRetentionOrBuilder - extends + public interface TimeBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
@@ -1735,8 +1557,6 @@ public interface TimeBasedRetentionOrBuilder com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** - * - * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1744,50 +1564,46 @@ public interface TimeBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TimeBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private TimeBasedRetention() {}
+    private TimeBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class,
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
-     *
-     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1795,25 +1611,18 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
      * The retention period.
      * 
@@ -1822,13 +1631,10 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1840,7 +1646,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1854,7 +1661,8 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1864,17 +1672,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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other = - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod() + .equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1897,95 +1705,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - 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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1995,8 +1797,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -2004,34 +1804,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class,
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -2045,22 +1844,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result =
-            buildPartial();
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2069,21 +1865,18 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention buil
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result =
-            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ =
-              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ = retentionPeriodBuilder_ == null
+              ? retentionPeriod_
+              : retentionPeriodBuilder_.build();
         }
       }
 
@@ -2091,53 +1884,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other
-            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -2167,20 +1953,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getRetentionPeriodFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2190,52 +1975,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          retentionPeriodBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
       /**
-       *
-       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
        * The retention period.
        * 
@@ -2256,15 +2027,14 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod( + com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2275,8 +2045,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The retention period.
        * 
@@ -2285,9 +2053,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && retentionPeriod_ != null - && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + retentionPeriod_ != null && + retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2300,8 +2068,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2319,8 +2085,6 @@ public Builder clearRetentionPeriod() { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2333,8 +2097,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** - * - * *
        * The retention period.
        * 
@@ -2345,14 +2107,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } } /** - * - * *
        * The retention period.
        * 
@@ -2360,22 +2119,18 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), getParentForChildren(), isClean()); + retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), + getParentForChildren(), + isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2388,44 +2143,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2437,33 +2189,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QuantityBasedRetentionOrBuilder - extends + public interface QuantityBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ int getCount(); } /** - * - * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2471,51 +2217,46 @@ public interface QuantityBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedRetention() {}
+    private QuantityBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class,
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder
-                  .class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
-     *
-     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2524,7 +2265,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2536,7 +2276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2550,7 +2291,8 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2560,16 +2302,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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other = - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2588,101 +2329,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - 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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2692,8 +2422,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
@@ -2701,35 +2429,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class,
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder
-                    .class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.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();
@@ -2739,22 +2465,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention build() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result =
-            buildPartial();
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2762,19 +2485,14 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
-          buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result =
-            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() {
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.count_ = count_;
@@ -2785,54 +2503,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) other);
+        if (other instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) {
+          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other) {
-        if (other
-            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other) {
+        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this;
         if (other.getCount() != 0) {
           setCount(other.getCount());
         }
@@ -2862,19 +2572,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  count_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                count_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2884,19 +2592,15 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int count_;
+      private int count_ ;
       /**
-       *
-       *
        * 
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2904,14 +2608,11 @@ public int getCount() { return count_; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @param value The count to set. * @return This builder for chaining. */ @@ -2923,14 +2624,11 @@ public Builder setCount(int value) { return this; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -2939,7 +2637,6 @@ public Builder clearCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2952,45 +2649,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,26 +2695,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int scheduleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schedule_; - public enum ScheduleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; - private ScheduleCase(int value) { this.value = value; } @@ -3037,38 +2726,32 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: - return WEEKLY_SCHEDULE; - case 0: - return SCHEDULE_NOT_SET; - default: - return null; + case 2: return WEEKLY_SCHEDULE; + case 0: return SCHEDULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ScheduleCase getScheduleCase() { - return ScheduleCase.forNumber(scheduleCase_); + public ScheduleCase + getScheduleCase() { + return ScheduleCase.forNumber( + scheduleCase_); } private int retentionCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object retention_; - public enum RetentionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; - private RetentionCase(int value) { this.value = value; } @@ -3084,36 +2767,30 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: - return TIME_BASED_RETENTION; - case 5: - return QUANTITY_BASED_RETENTION; - case 0: - return RETENTION_NOT_SET; - default: - return null; + case 4: return TIME_BASED_RETENTION; + case 5: return QUANTITY_BASED_RETENTION; + case 0: return RETENTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RetentionCase getRetentionCase() { - return RetentionCase.forNumber(retentionCase_); + public RetentionCase + getRetentionCase() { + return RetentionCase.forNumber( + retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** - * - * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3121,26 +2798,21 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } /** - * - * *
    * Weekly schedule for the Backup.
    * 
@@ -3148,26 +2820,20 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeekl * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -3175,60 +2841,42 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -3236,60 +2884,44 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -3297,15 +2929,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -3316,8 +2945,6 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3328,7 +2955,6 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -3336,8 +2962,6 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3348,18 +2972,13 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3373,16 +2992,12 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : backupWindow_;
+    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_;
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3390,10 +3005,7 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3401,8 +3013,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3410,21 +3020,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3432,24 +3035,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3458,7 +3054,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
    * 
* * string location = 6; - * * @return The location. */ @java.lang.Override @@ -3467,15 +3062,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3484,15 +3078,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; - * * @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 { @@ -3501,34 +3096,32 @@ public com.google.protobuf.ByteString getLocationBytes() { } 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.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3536,21 +3129,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3562,8 +3154,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3571,19 +3161,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3591,11 +3179,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3603,7 +3191,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3615,30 +3202,32 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage(2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage(4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage( - 5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + output.writeMessage(5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3652,43 +3241,41 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3698,32 +3285,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.cloud.alloydb.v1.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy other = - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow().equals(other.getBackupWindow())) return false; + if (!getBackupWindow() + .equals(other.getBackupWindow())) 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 (!getLocation().equals(other.getLocation())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule() + .equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3731,10 +3323,12 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention() + .equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention() + .equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3752,7 +3346,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3794,103 +3389,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3900,52 +3490,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class,
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3980,9 +3573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -4001,11 +3594,8 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1.AutomatedBackupPolicy result =
-          new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4019,12 +3609,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy res
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ =
-            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
+        result.backupWindow_ = backupWindowBuilder_ == null
+            ? backupWindow_
+            : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -4039,15 +3631,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 &&
+          weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 &&
+          timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 &&
+          quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -4056,39 +3651,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.AutomatedBackupPolic
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4096,8 +3690,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -4112,34 +3705,30 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy other
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE:
-          {
-            mergeWeeklySchedule(other.getWeeklySchedule());
-            break;
-          }
-        case SCHEDULE_NOT_SET:
-          {
-            break;
-          }
+        case WEEKLY_SCHEDULE: {
+          mergeWeeklySchedule(other.getWeeklySchedule());
+          break;
+        }
+        case SCHEDULE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION:
-          {
-            mergeTimeBasedRetention(other.getTimeBasedRetention());
-            break;
-          }
-        case QUANTITY_BASED_RETENTION:
-          {
-            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-            break;
-          }
-        case RETENTION_NOT_SET:
-          {
-            break;
-          }
+        case TIME_BASED_RETENTION: {
+          mergeTimeBasedRetention(other.getTimeBasedRetention());
+          break;
+        }
+        case QUANTITY_BASED_RETENTION: {
+          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+          break;
+        }
+        case RETENTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4167,70 +3756,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
-                scheduleCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getWeeklyScheduleFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              scheduleCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBackupWindowFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTimeBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4240,12 +3825,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-
-    public ScheduleCase getScheduleCase() {
-      return ScheduleCase.forNumber(scheduleCase_);
+    public ScheduleCase
+        getScheduleCase() {
+      return ScheduleCase.forNumber(
+          scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -4257,9 +3842,10 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-
-    public RetentionCase getRetentionCase() {
-      return RetentionCase.forNumber(retentionCase_);
+    public RetentionCase
+        getRetentionCase() {
+      return RetentionCase.forNumber(
+          retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -4272,20 +3858,13 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule,
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder,
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
-        weeklyScheduleBuilder_;
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
     /**
-     *
-     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -4293,15 +3872,11 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ @java.lang.Override @@ -4310,28 +3885,22 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeekl if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4345,14 +3914,11 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder setWeeklySchedule( com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { @@ -4366,27 +3932,18 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder mergeWeeklySchedule( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 - && schedule_ - != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder( - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 2 && + schedule_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -4402,14 +3959,11 @@ public Builder mergeWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -4428,67 +3982,49 @@ public Builder clearWeeklySchedule() { return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder - getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + schedule_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } - weeklyScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4500,21 +4036,13 @@ public Builder clearWeeklySchedule() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> - timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4522,48 +4050,35 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4577,19 +4092,14 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4600,29 +4110,18 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder mergeTimeBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 - && retention_ - != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 4 && + retention_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4638,15 +4137,11 @@ public Builder mergeTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4665,71 +4160,49 @@ public Builder clearTimeBasedRetention() { return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder - getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } - timeBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_, getParentForChildren(), isClean()); @@ -4741,21 +4214,13 @@ public Builder clearTimeBasedRetention() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> - quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4763,49 +4228,35 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4819,19 +4270,14 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4842,29 +4288,18 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder mergeQuantityBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 - && retention_ - != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder( - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 5 && + retention_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4880,15 +4315,11 @@ public Builder mergeQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4907,74 +4338,50 @@ public Builder clearQuantityBasedRetention() { return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder - getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } - quantityBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - retention_, + quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4984,17 +4391,14 @@ public Builder clearQuantityBasedRetention() { return quantityBasedRetentionBuilder_; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -5002,15 +4406,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -5018,15 +4419,12 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -5038,15 +4436,12 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -5058,13 +4453,8 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - backupWindowBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5075,15 +4465,12 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5094,21 +4481,16 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5134,8 +4516,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5147,7 +4527,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -5158,8 +4539,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5173,9 +4552,9 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && backupWindow_ != null
-            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          backupWindow_ != null &&
+          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -5188,8 +4567,6 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5212,8 +4589,6 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5231,8 +4606,6 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5248,14 +4621,11 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : backupWindow_;
+        return backupWindow_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5268,17 +4638,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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> 
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(), getParentForChildren(), isClean());
+        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(),
+                getParentForChildren(),
+                isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -5286,13 +4653,8 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.EncryptionConfig,
-            com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>
-        encryptionConfigBuilder_;
+        com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5300,18 +4662,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5319,24 +4676,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5344,9 +4694,7 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -5362,8 +4710,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5371,9 +4717,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -5387,8 +4731,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5396,16 +4738,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5418,8 +4757,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5427,9 +4764,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5442,8 +4777,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5451,9 +4784,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -5461,8 +4792,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5470,22 +4799,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5493,22 +4817,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5516,8 +4835,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private java.lang.Object location_ = ""; /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5526,13 +4843,13 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * 
* * string location = 6; - * * @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; @@ -5541,8 +4858,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5551,14 +4866,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; - * * @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 { @@ -5566,8 +4882,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5576,22 +4890,18 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 6; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5600,7 +4910,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 6; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -5610,8 +4919,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5620,14 +4927,12 @@ public Builder clearLocation() {
      * 
* * string location = 6; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -5635,19 +4940,21 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -5656,13 +4963,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5670,21 +4974,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5696,8 +4999,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5705,19 +5006,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5725,81 +5024,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5809,12 +5106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(); } @@ -5823,27 +5120,27 @@ public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5858,4 +5155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java index af66d77964c5..d91216ce661a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java @@ -1,179 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface AutomatedBackupPolicyOrBuilder - extends +public interface AutomatedBackupPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * * @return The weeklySchedule. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -184,13 +120,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -201,13 +134,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -222,8 +152,6 @@ public interface AutomatedBackupPolicyOrBuilder
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -231,16 +159,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -248,16 +171,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -265,15 +183,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -282,13 +196,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -297,14 +208,12 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -313,31 +222,30 @@ public interface AutomatedBackupPolicyOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -345,20 +253,19 @@ public interface AutomatedBackupPolicyOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); com.google.cloud.alloydb.v1.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java index 859f6170b7ee..8bec7349974f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { name_ = ""; displayName_ = ""; @@ -52,51 +34,48 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Backup.class, - com.google.cloud.alloydb.v1.Backup.Builder.class); + com.google.cloud.alloydb.v1.Backup.class, com.google.cloud.alloydb.v1.Backup.Builder.class); } /** - * - * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The backup is ready.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The backup is creating.
      * 
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(2), /** - * - * *
      * The backup failed.
      * 
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The backup is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The backup is ready.
      * 
@@ -168,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The backup is creating.
      * 
@@ -178,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 2; /** - * - * *
      * The backup failed.
      * 
@@ -188,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The backup is being deleted.
      * 
@@ -198,6 +159,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -222,53 +184,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return CREATING; - case 3: - return FAILED; - case 4: - return DELETING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return CREATING; + case 3: return FAILED; + case 4: return DELETING; + 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.cloud.alloydb.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; @@ -286,18 +246,15 @@ private State(int value) { } /** - * - * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Backup.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Backup Type is unknown.
      * 
@@ -306,8 +263,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -317,8 +272,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ON_DEMAND(1),
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -328,8 +281,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATED(2),
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -342,8 +293,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Backup Type is unknown.
      * 
@@ -352,8 +301,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -363,8 +310,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -374,8 +319,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -385,6 +328,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONTINUOUS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -409,51 +353,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return ON_DEMAND;
-        case 2:
-          return AUTOMATED;
-        case 3:
-          return CONTINUOUS;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return ON_DEMAND;
+        case 2: return AUTOMATED;
+        case 3: return CONTINUOUS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.v1.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -470,14 +413,11 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder
-      extends
+  public interface QuantityBasedExpiryOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -485,28 +425,22 @@ public interface QuantityBasedExpiryOrBuilder
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ int getRetentionCount(); /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** - * - * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -524,44 +458,41 @@ public interface QuantityBasedExpiryOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedExpiry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedExpiry() {}
+    private QuantityBasedExpiry() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class,
-              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -569,7 +500,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -580,15 +510,12 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -597,7 +524,6 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,7 +535,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -626,10 +553,12 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -639,16 +568,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.cloud.alloydb.v1.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other = - (com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() != other.getRetentionCount()) return false; - if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; + if (getRetentionCount() + != other.getRetentionCount()) return false; + if (getTotalRetentionCount() + != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -670,94 +600,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -767,8 +692,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -786,33 +709,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class,
-                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -823,9 +746,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
@@ -844,11 +767,8 @@ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry result =
-            new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -867,41 +787,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpir
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.cloud.alloydb.v1.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -909,8 +826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other) {
-        if (other == com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -943,25 +859,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  retentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 16:
-                {
-                  totalRetentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                retentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 16: {
+                totalRetentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -971,13 +884,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int retentionCount_;
+      private int retentionCount_ ;
       /**
-       *
-       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -985,7 +895,6 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -993,8 +902,6 @@ public int getRetentionCount() { return retentionCount_; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1002,7 +909,6 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -1014,8 +920,6 @@ public Builder setRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1023,7 +927,6 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -1033,17 +936,14 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_; + private int totalRetentionCount_ ; /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -1051,15 +951,12 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -1071,15 +968,12 @@ public Builder setTotalRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -1088,7 +982,6 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1101,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) private static final com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(); } @@ -1115,28 +1008,27 @@ public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,15 +1043,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1173,7 +1063,6 @@ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultInstance
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1182,15 +1071,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1204,15 +1092,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1221,18 +1110,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1241,29 +1126,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; } } /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1272,19 +1157,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -1293,30 +1174,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1327,15 +1208,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1343,15 +1220,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1359,14 +1232,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1376,15 +1246,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1392,15 +1258,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1408,14 +1270,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1425,15 +1284,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1441,15 +1296,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -1457,14 +1308,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1472,34 +1320,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1507,21 +1353,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1533,8 +1378,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1542,19 +1385,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1562,11 +1403,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @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(); } @@ -1576,90 +1417,64 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Backup.State getState() { - com.google.cloud.alloydb.v1.Backup.State result = - com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1.Backup.State getState() { + com.google.cloud.alloydb.v1.Backup.State result = com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Backup.Type getType() { - com.google.cloud.alloydb.v1.Backup.Type result = - com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.alloydb.v1.Backup.Type getType() { + com.google.cloud.alloydb.v1.Backup.Type result = com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ @java.lang.Override @@ -1668,29 +1483,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; } } /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @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 { @@ -1699,19 +1514,15 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; - @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ @java.lang.Override @@ -1720,30 +1531,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1752,21 +1563,15 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ @java.lang.Override @@ -1775,32 +1580,30 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1811,8 +1614,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1821,7 +1622,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1832,8 +1632,6 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1841,10 +1639,7 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1852,8 +1647,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1861,21 +1654,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1883,30 +1669,21 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1914,55 +1691,38 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ @java.lang.Override @@ -1971,29 +1731,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @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 { @@ -2002,35 +1762,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2040,21 +1797,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2068,8 +1824,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2079,19 +1833,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2101,11 +1853,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2115,14 +1867,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2133,17 +1882,13 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -2151,17 +1896,13 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ @java.lang.Override @@ -2169,16 +1910,13 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -2188,18 +1926,13 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiryQuantity_; /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -2207,92 +1940,64 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = - com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2304,7 +2009,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2320,8 +2026,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (state_ != com.google.cloud.alloydb.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2349,8 +2059,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2363,8 +2077,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expiryQuantity_ != null) { output.writeMessage(20, getExpiryQuantity()); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2386,26 +2099,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2414,45 +2131,52 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getExpiryQuantity()); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2462,53 +2186,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Backup other = (com.google.cloud.alloydb.v1.Backup) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getClusterUid().equals(other.getClusterUid())) return false; - if (!getClusterName().equals(other.getClusterName())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getClusterUid() + .equals(other.getClusterUid())) return false; + if (!getClusterName() + .equals(other.getClusterName())) return false; + if (getReconciling() + != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; - } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; + } + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime().equals(other.getExpiryTime())) return false; + if (!getExpiryTime() + .equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity() + .equals(other.getExpiryQuantity())) return false; } if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -2555,7 +2297,8 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2571,7 +2314,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2587,159 +2331,158 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Backup parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1.Backup parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.Backup) com.google.cloud.alloydb.v1.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Backup.class, - com.google.cloud.alloydb.v1.Backup.Builder.class); + com.google.cloud.alloydb.v1.Backup.class, com.google.cloud.alloydb.v1.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -2797,9 +2540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_descriptor; } @java.lang.Override @@ -2819,9 +2562,7 @@ public com.google.cloud.alloydb.v1.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1.Backup buildPartial() { com.google.cloud.alloydb.v1.Backup result = new com.google.cloud.alloydb.v1.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2838,13 +2579,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null + ? deleteTime_ + : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2869,12 +2616,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2887,11 +2636,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null + ? expiryTime_ + : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = - expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = expiryQuantityBuilder_ == null + ? expiryQuantity_ + : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.databaseVersion_ = databaseVersion_; @@ -2902,39 +2654,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1.Backup) other); + return mergeFrom((com.google.cloud.alloydb.v1.Backup)other); } else { super.mergeFrom(other); return this; @@ -2967,7 +2718,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -3004,7 +2756,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -3044,152 +2797,139 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: - { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: - { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: - { - input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: - { - input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 176: - { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00100000; - break; - } // case 176 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: { + input.readMessage( + getExpiryTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: { + input.readMessage( + getExpiryQuantityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 176: { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00100000; + break; + } // case 176 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3199,13 +2939,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3219,13 +2956,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -3234,8 +2971,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3249,14 +2984,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3264,8 +3000,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3279,22 +3013,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3308,7 +3038,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3318,8 +3047,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3333,14 +3060,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3350,20 +3075,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3372,21 +3095,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3394,35 +3116,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3432,21 +3147,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3456,21 +3167,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3479,22 +3188,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3502,37 +3210,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3542,22 +3243,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3567,58 +3264,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -3634,17 +3312,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3655,21 +3330,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3682,15 +3353,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3703,15 +3370,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3719,48 +3382,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -3768,58 +3419,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3835,17 +3467,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3856,21 +3485,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3883,15 +3508,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3904,15 +3525,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3920,48 +3537,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -3969,58 +3574,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -4036,17 +3622,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -4057,21 +3640,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -4084,15 +3663,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4105,15 +3680,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -4121,66 +3692,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4189,13 +3750,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4203,21 +3761,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4229,8 +3786,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4238,19 +3793,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4258,108 +3811,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4370,35 +3910,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.State getState() { - com.google.cloud.alloydb.v1.Backup.State result = - com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1.Backup.State result = com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4412,16 +3941,11 @@ public Builder setState(com.google.cloud.alloydb.v1.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4433,29 +3957,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4466,31 +3983,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.Type getType() { - com.google.cloud.alloydb.v1.Backup.Type result = - com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1.Backup.Type result = com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1.Backup.Type.UNRECOGNIZED : result; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @param value The type to set. * @return This builder for chaining. */ @@ -4504,14 +4014,11 @@ public Builder setType(com.google.cloud.alloydb.v1.Backup.Type value) { return this; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @return This builder for chaining. */ public Builder clearType() { @@ -4523,20 +4030,18 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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; @@ -4545,21 +4050,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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 { @@ -4567,35 +4071,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4605,21 +4102,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4629,21 +4122,19 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4652,22 +4143,21 @@ public java.lang.String getClusterUid() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4675,37 +4165,30 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4715,22 +4198,18 @@ public Builder clearClusterUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4740,23 +4219,19 @@ public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterName_ = ""; /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4765,24 +4240,21 @@ public java.lang.String getClusterName() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4790,41 +4262,30 @@ public com.google.protobuf.ByteString getClusterNameBytes() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4834,24 +4295,18 @@ public Builder clearClusterName() { return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4859,10 +4314,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4871,7 +4324,6 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4879,8 +4331,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4889,7 +4339,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4901,8 +4350,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4911,7 +4358,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4923,13 +4369,8 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4937,18 +4378,13 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4956,24 +4392,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4981,9 +4410,7 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4999,8 +4426,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5008,9 +4433,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -5024,8 +4447,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5033,16 +4454,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5055,8 +4473,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5064,9 +4480,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -5079,8 +4493,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5088,9 +4500,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -5098,8 +4508,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5107,22 +4515,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5130,22 +4533,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5153,58 +4551,39 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -5220,15 +4599,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -5242,21 +4617,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -5269,15 +4640,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -5290,15 +4657,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -5306,48 +4669,36 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -5355,20 +4706,18 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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; @@ -5377,21 +4726,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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 { @@ -5399,35 +4747,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -5437,21 +4778,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -5459,8 +4796,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -5469,12 +4806,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -5483,13 +4819,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5499,21 +4832,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5527,8 +4859,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5538,19 +4868,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5560,25 +4888,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5587,22 +4913,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5611,20 +4938,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5633,22 +4957,21 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_;
+    private long sizeBytes_ ;
     /**
-     *
-     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -5656,14 +4979,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -5675,14 +4995,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5694,64 +5011,45 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expiryTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5767,19 +5065,16 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5790,23 +5085,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) - && expiryTime_ != null - && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) && + expiryTime_ != null && + expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5819,17 +5110,13 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5842,17 +5129,13 @@ public Builder clearExpiryTime() { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5860,52 +5143,40 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), getParentForChildren(), isClean()); + expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), + getParentForChildren(), + isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5913,64 +5184,45 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> - expiryQuantityBuilder_; + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { @@ -5986,17 +5238,13 @@ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBase return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -6010,25 +5258,19 @@ public Builder setExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeExpiryQuantity( - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && expiryQuantity_ != null - && expiryQuantity_ - != com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + expiryQuantity_ != null && + expiryQuantity_ != com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -6041,17 +5283,13 @@ public Builder mergeExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -6064,72 +5302,54 @@ public Builder clearExpiryQuantity() { return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder - getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), getParentForChildren(), isClean()); + expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), + getParentForChildren(), + isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; @@ -6137,37 +5357,26 @@ public Builder clearExpiryQuantity() { private int databaseVersion_ = 0; /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6178,39 +5387,28 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = - com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6224,18 +5422,13 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6244,9 +5437,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6256,12 +5449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Backup) private static final com.google.cloud.alloydb.v1.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Backup(); } @@ -6270,27 +5463,27 @@ public static com.google.cloud.alloydb.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; @@ -6305,4 +5498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java index 0ed796d94c3e..30a953d7b467 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -39,13 +21,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -59,180 +38,135 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface BackupOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,161 +206,123 @@ public interface BackupOrBuilder * map<string, string> labels = 6; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1.Backup.State getState(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; - * * @return The type. */ com.google.cloud.alloydb.v1.Backup.Type getType(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ java.lang.String getClusterUid(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString getClusterUidBytes(); + com.google.protobuf.ByteString + getClusterUidBytes(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ java.lang.String getClusterName(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - com.google.protobuf.ByteString getClusterNameBytes(); + com.google.protobuf.ByteString + getClusterNameBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -436,14 +331,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -451,16 +343,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -468,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -485,81 +367,58 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -570,8 +429,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -580,13 +437,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -595,10 +454,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -608,13 +466,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -623,141 +479,104 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java index 310daf0ede62..e5e3de43785b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BackupSource} */ -public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BackupSource) BackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -44,32 +26,28 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BackupSource.class, - com.google.cloud.alloydb.v1.BackupSource.Builder.class); + com.google.cloud.alloydb.v1.BackupSource.class, com.google.cloud.alloydb.v1.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -102,15 +78,16 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -119,21 +96,15 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ @java.lang.Override @@ -142,32 +113,30 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -218,15 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.BackupSource)) { return super.equals(obj); } com.google.cloud.alloydb.v1.BackupSource other = (com.google.cloud.alloydb.v1.BackupSource) obj; - if (!getBackupUid().equals(other.getBackupUid())) return false; - if (!getBackupName().equals(other.getBackupName())) return false; + if (!getBackupUid() + .equals(other.getBackupUid())) return false; + if (!getBackupName() + .equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BackupSource) com.google.cloud.alloydb.v1.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BackupSource.class, - com.google.cloud.alloydb.v1.BackupSource.Builder.class); + com.google.cloud.alloydb.v1.BackupSource.class, com.google.cloud.alloydb.v1.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override @@ -408,11 +375,8 @@ public com.google.cloud.alloydb.v1.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource buildPartial() { - com.google.cloud.alloydb.v1.BackupSource result = - new com.google.cloud.alloydb.v1.BackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.BackupSource result = new com.google.cloud.alloydb.v1.BackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -431,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BackupSource result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1.BackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1.BackupSource)other); } else { super.mergeFrom(other); return this; @@ -508,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -536,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backupUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -550,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -565,8 +522,6 @@ public java.lang.String getBackupUid() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -574,14 +529,15 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -589,8 +545,6 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -598,22 +552,18 @@ public com.google.protobuf.ByteString getBackupUidBytes() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -621,7 +571,6 @@ public Builder setBackupUid(java.lang.String value) {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -631,8 +580,6 @@ public Builder clearBackupUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -640,14 +587,12 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -657,23 +602,19 @@ public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupName_ = ""; /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -682,24 +623,21 @@ public java.lang.String getBackupName() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -707,41 +645,30 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearBackupName() { @@ -751,33 +678,27 @@ public Builder clearBackupName() { return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -787,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BackupSource) private static final com.google.cloud.alloydb.v1.BackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BackupSource(); } @@ -801,27 +722,27 @@ public static com.google.cloud.alloydb.v1.BackupSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java similarity index 57% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java index 0c68c28ee275..cbf1ad2e55a5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface BackupSourceOrBuilder - extends +public interface BackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -33,13 +15,10 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ java.lang.String getBackupUid(); /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -47,39 +26,30 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString getBackupUidBytes(); + com.google.protobuf.ByteString + getBackupUidBytes(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ java.lang.String getBackupName(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - com.google.protobuf.ByteString getBackupNameBytes(); + com.google.protobuf.ByteString + getBackupNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java index 64942521b2ed..d945ab921633 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -41,16 +24,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstanceStatus extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -59,28 +41,25 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class,
-            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -89,10 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -101,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -112,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PENDING_CREATE(1),
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -122,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * The instance is being created.
      * 
@@ -132,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -142,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -153,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(5),
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -167,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -177,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -188,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -198,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -208,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -218,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -229,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 5;
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -240,6 +192,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -264,59 +217,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PENDING_CREATE;
-        case 2:
-          return READY;
-        case 3:
-          return CREATING;
-        case 4:
-          return DELETING;
-        case 5:
-          return FAILED;
-        case 6:
-          return ROLLED_BACK;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PENDING_CREATE;
+        case 2: return READY;
+        case 3: return CREATING;
+        case 4: return DELETING;
+        case 5: return FAILED;
+        case 6: return ROLLED_BACK;
+        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.cloud.alloydb.v1.BatchCreateInstanceStatus.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.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;
@@ -336,8 +283,6 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -350,16 +295,12 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -372,32 +313,23 @@ public int getStateValue() {
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ @java.lang.Override @@ -406,30 +338,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -440,15 +372,12 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ @java.lang.Override @@ -456,15 +385,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ @java.lang.Override @@ -472,8 +398,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -490,27 +414,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override
-  public int getTypeValue() {
+  @java.lang.Override public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
-  @java.lang.Override
-  public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1.Instance.InstanceType result =
-        com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
+  @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
     return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,18 +440,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (type_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -548,21 +463,20 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
+    if (type_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -572,19 +486,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.cloud.alloydb.v1.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other =
-        (com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg()
+        .equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -614,104 +529,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus prototype) {
+  public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -732,32 +641,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class,
-              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -774,9 +684,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -795,11 +705,8 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus result =
-          new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -813,7 +720,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null
+            ? error_
+            : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -824,39 +733,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstanceStatus)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -864,8 +772,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -906,37 +813,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                errorMsg_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              errorMsg_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getErrorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -946,13 +850,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -965,16 +866,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -987,7 +884,6 @@ public int getStateValue() {
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -998,8 +894,6 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1012,20 +906,14 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1038,7 +926,6 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() {
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1052,8 +939,6 @@ public Builder setState(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.St return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1066,7 +951,6 @@ public Builder setState(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.St
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1078,21 +962,19 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -1101,22 +983,21 @@ public java.lang.String getErrorMsg() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1124,37 +1005,30 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1164,22 +1038,18 @@ public Builder clearErrorMsg() { return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1189,33 +1059,26 @@ public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1226,8 +1089,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1249,8 +1110,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1258,7 +1117,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1269,8 +1129,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1280,9 +1138,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && error_ != null
-            && error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          error_ != null &&
+          error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1295,8 +1153,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1315,8 +1171,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1330,8 +1184,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1343,12 +1195,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1357,14 +1208,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1373,16 +1224,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override
-    public int getTypeValue() {
+    @java.lang.Override public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1394,20 +1242,15 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1.Instance.InstanceType result =
-          com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
-      return result == null
-          ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED
-          : result;
+      com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
+      return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result;
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1422,7 +1265,6 @@ public Builder setType(com.google.cloud.alloydb.v1.Instance.InstanceType value)
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1431,9 +1273,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
-
     @java.lang.Override
-    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 +1285,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1.BatchCreateInstanceStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus();
   }
@@ -1457,27 +1299,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCreateInstanceStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCreateInstanceStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.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 +1334,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
similarity index 80%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
index 79ed8a035086..db23d9ec83db 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
-public interface BatchCreateInstanceStatusOrBuilder
-    extends
+public interface BatchCreateInstanceStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -38,13 +20,10 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -57,67 +36,53 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString getErrorMsgBytes(); + com.google.protobuf.ByteString + getErrorMsgBytes(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -129,13 +94,11 @@ public interface BatchCreateInstanceStatusOrBuilder
 
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1.Instance.InstanceType getType();
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
similarity index 65%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
index df7bd9cb6cc0..b4516569df18 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
- *
- *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -28,60 +11,57 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstancesMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class,
-            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -90,15 +70,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { return instanceTargets_; } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -107,15 +85,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -124,7 +99,6 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -132,8 +106,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -142,52 +114,41 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; - private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -197,27 +158,23 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -227,18 +184,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -248,26 +200,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -277,16 +223,12 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -296,7 +238,6 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatuses } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -308,12 +249,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 { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetInstanceStatuses(), + InstanceStatusesDefaultEntryHolder.defaultEntry, + 2); getUnknownFields().writeTo(output); } @@ -331,18 +277,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - entry : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - instanceStatuses__ = - InstanceStatusesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry entry + : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry + instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -352,16 +295,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.cloud.alloydb.v1.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other = - (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList() + .equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals( + other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,104 +331,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -492,65 +430,69 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class,
-              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -569,11 +511,8 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata result =
-          new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -594,39 +533,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesMetad
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -634,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other) {
-      if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -646,7 +583,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadat
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(
+          other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -674,34 +612,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureInstanceTargetsIsMutable();
-                instanceTargets_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus>
-                    instanceStatuses__ =
-                        input.readMessage(
-                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableInstanceStatuses()
-                    .getMutableMap()
-                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureInstanceTargetsIsMutable();
+              instanceTargets_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              instanceStatuses__ = input.readMessage(
+                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableInstanceStatuses().getMutableMap().put(
+                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -711,12 +642,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -724,8 +653,6 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -734,16 +661,14 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -752,15 +677,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
      * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -769,7 +691,6 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -777,8 +698,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -787,16 +706,14 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -805,15 +722,13 @@ public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTargets( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -821,8 +736,6 @@ public Builder setInstanceTargets(int index, java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -831,14 +744,12 @@ public Builder setInstanceTargets(int index, java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargets( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -846,8 +757,6 @@ public Builder addInstanceTargets(java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -856,20 +765,19 @@ public Builder addInstanceTargets(java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets(java.lang.Iterable values) { + public Builder addAllInstanceTargets( + java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -878,19 +786,16 @@ public Builder addAllInstanceTargets(java.lang.Iterable values
      * 
* * repeated string instance_targets = 1; - * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + instanceTargets_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -899,14 +804,12 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; - * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargetsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -916,11 +819,8 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -928,14 +828,11 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } return instanceStatuses_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + private com.google.protobuf.MapField internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = - com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -944,13 +841,10 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { onChanged(); return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -960,27 +854,23 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -990,18 +880,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1011,26 +896,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1040,16 +919,12 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -1057,15 +932,13 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatuses } return map.get(key); } - public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap().clear(); + internalGetMutableInstanceStatuses().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1075,18 +948,18 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ - public Builder removeInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableInstanceStatuses().getMutableMap().remove(key); + public Builder removeInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableInstanceStatuses().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableInstanceStatuses() { @@ -1094,8 +967,6 @@ public Builder removeInstanceStatuses(java.lang.String key) { return internalGetMutableInstanceStatuses().getMutableMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1105,25 +976,19 @@ public Builder removeInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putInstanceStatuses( - java.lang.String key, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableInstanceStatuses().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableInstanceStatuses().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1133,20 +998,18 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putAllInstanceStatuses( - java.util.Map - values) { - internalGetMutableInstanceStatuses().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableInstanceStatuses().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1156,12 +1019,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(); } @@ -1170,27 +1033,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1205,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java index d240d12155d6..1c6f519b22f8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesMetadataOrBuilder - extends +public interface BatchCreateInstancesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -34,13 +16,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - java.util.List getInstanceTargetsList(); + java.util.List + getInstanceTargetsList(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -49,13 +29,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -64,14 +41,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -80,15 +54,13 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString + getInstanceTargetsBytes(int index); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -98,14 +70,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ int getInstanceStatusesCount(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -115,18 +83,17 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + */ + boolean containsInstanceStatuses( + java.lang.String key); + /** + * Use {@link #getInstanceStatusesMap()} instead. */ - boolean containsInstanceStatuses(java.lang.String key); - /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -136,15 +103,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -154,18 +117,14 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ /* nullable */ - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue); +com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -175,9 +134,7 @@ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefau
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java index 7876a8463b0c..b9614ac684bc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -44,40 +26,33 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 @@ -86,31 +61,29 @@ 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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,16 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.CreateInstanceRequests requests_; /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ @java.lang.Override @@ -138,49 +106,33 @@ public boolean hasRequests() { return requests_ != null; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests() { - return requests_ == null - ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null - ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,7 +150,6 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -207,15 +158,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,15 +183,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,7 +201,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +236,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -298,20 +250,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.cloud.alloydb.v1.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other = - (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests().equals(other.getRequests())) return false; + if (!getRequests() + .equals(other.getRequests())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,136 +291,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override @@ -503,11 +452,8 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest result = - new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -518,7 +464,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesReque result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null + ? requests_ + : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -529,39 +477,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -569,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -610,31 +556,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,27 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -673,23 +612,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -697,39 +633,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string 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() { @@ -739,23 +664,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -765,58 +684,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, - com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> - requestsBuilder_; + com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> requestsBuilder_; /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ public com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null - ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; } else { return requestsBuilder_.getMessage(); } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -832,15 +732,11 @@ public Builder setRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests va return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder builderForValue) { @@ -854,22 +750,17 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requests_ != null - && requests_ - != com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requests_ != null && + requests_ != com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -882,15 +773,11 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -903,15 +790,11 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -919,48 +802,36 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder getRequestsBui return getRequestsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null - ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? + com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, - com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, - com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder>( - getRequests(), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder>( + getRequests(), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; @@ -968,8 +839,6 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -987,13 +856,13 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1002,8 +871,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1021,14 +888,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1036,8 +904,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1055,22 +921,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1088,7 +950,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1098,8 +959,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1117,23 +976,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1143,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesRequest) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(); } @@ -1157,27 +1014,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java index f176bdd2b765..688f03666ebf 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesRequestOrBuilder - extends +public interface BatchCreateInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ boolean hasRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,13 +72,10 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,8 +93,8 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java index 7cb01b3fa3fe..4fa8a54bb1a3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * Created instances.
    * 
@@ -80,8 +58,6 @@ public java.util.List getInstancesList() { return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -89,13 +65,11 @@ public java.util.List getInstancesList() { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -107,8 +81,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Created instances.
    * 
@@ -120,8 +92,6 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Created instances.
    * 
@@ -129,12 +99,12 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -160,7 +131,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -170,15 +142,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.cloud.alloydb.v1.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other = - (com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,136 +172,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +312,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override @@ -366,18 +333,14 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result = - new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -397,39 +360,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesRespo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -437,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -457,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesRespons 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_); } @@ -492,26 +452,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.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) { @@ -521,28 +480,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * Created instances.
      * 
@@ -557,8 +509,6 @@ public java.util.List getInstancesList() { } } /** - * - * *
      * Created instances.
      * 
@@ -573,8 +523,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Created instances.
      * 
@@ -589,15 +537,14 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -611,8 +558,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance valu return this; } /** - * - * *
      * Created instances.
      * 
@@ -631,8 +576,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -653,15 +596,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -675,15 +617,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance valu return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -694,8 +635,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builder return this; } /** - * - * *
      * Created instances.
      * 
@@ -714,8 +653,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -726,7 +663,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); @@ -734,8 +672,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -753,8 +689,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Created instances.
      * 
@@ -772,44 +706,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -817,8 +746,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int i } } /** - * - * *
      * Created instances.
      * 
@@ -826,54 +753,49 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int i * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -883,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesResponse) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(); } @@ -897,27 +819,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,4 +854,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java index b3f675f97d33..87d6499c2e9f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesResponseOrBuilder - extends +public interface BatchCreateInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * Created instances.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1.Instance getInstances(int index); /** - * - * *
    * Created instances.
    * 
@@ -54,24 +33,21 @@ public interface BatchCreateInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( + int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java index 05f128e62e15..e44bba62fcd3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -52,51 +34,48 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.Cluster.class,
-            com.google.cloud.alloydb.v1.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1.Cluster.class, com.google.cloud.alloydb.v1.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The cluster is active and running.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -129,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STOPPED(2),
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -140,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     EMPTY(3),
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -150,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(4), /** - * - * *
      * The cluster is being deleted.
      * 
@@ -160,8 +129,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(5), /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -170,8 +137,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -181,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(7),
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -193,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     MAINTENANCE(8),
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -206,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -216,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The cluster is active and running.
      * 
@@ -226,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -240,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STOPPED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -251,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EMPTY_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -261,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 4; /** - * - * *
      * The cluster is being deleted.
      * 
@@ -271,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 5; /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -281,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -292,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -304,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -314,6 +255,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,63 +280,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return EMPTY; - case 4: - return CREATING; - case 5: - return DELETING; - case 6: - return FAILED; - case 7: - return BOOTSTRAPPING; - case 8: - return MAINTENANCE; - case 9: - return PROMOTING; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return EMPTY; + case 4: return CREATING; + case 5: return DELETING; + case 6: return FAILED; + case 7: return BOOTSTRAPPING; + case 8: return MAINTENANCE; + case 9: return PROMOTING; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - 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.cloud.alloydb.v1.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -412,18 +347,15 @@ private State(int value) { } /** - * - * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Cluster.ClusterType} */ - public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the cluster is unknown.
      * 
@@ -432,8 +364,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -442,8 +372,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -456,8 +384,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -466,8 +392,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -476,8 +400,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -487,6 +409,7 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -511,49 +434,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return CLUSTER_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return CLUSTER_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return SECONDARY;
+        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<
+        ClusterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ClusterType findValueByNumber(int number) {
+              return ClusterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterType findValueByNumber(int number) {
-            return ClusterType.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.cloud.alloydb.v1.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -570,14 +493,11 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder
-      extends
+  public interface NetworkConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -587,16 +507,11 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ java.lang.String getNetwork(); /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -606,70 +521,60 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
      * instance IPs for this cluster will be created in the allocated range. The
      * range name must comply with RFC 1035. Specifically, the name must be 1-63
      * characters long and match the regular expression
-     * [a-z]([-a-z0-9]*[a-z0-9])?.
-     * Field name is intended to be consistent with CloudSQL.
+     * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+     * Field name is intended to be consistent with Cloud SQL.
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
      * instance IPs for this cluster will be created in the allocated range. The
      * range name must comply with RFC 1035. Specifically, the name must be 1-63
      * characters long and match the regular expression
-     * [a-z]([-a-z0-9]*[a-z0-9])?.
-     * Field name is intended to be consistent with CloudSQL.
+     * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+     * Field name is intended to be consistent with Cloud SQL.
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString + getAllocatedIpRangeBytes(); } /** - * - * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -677,32 +582,28 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -712,10 +613,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ @java.lang.Override @@ -724,15 +622,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -742,18 +639,17 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -762,24 +658,20 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
      * instance IPs for this cluster will be created in the allocated range. The
      * range name must comply with RFC 1035. Specifically, the name must be 1-63
      * characters long and match the regular expression
-     * [a-z]([-a-z0-9]*[a-z0-9])?.
-     * Field name is intended to be consistent with CloudSQL.
+     * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+     * Field name is intended to be consistent with Cloud SQL.
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ @java.lang.Override @@ -788,35 +680,35 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
      * instance IPs for this cluster will be created in the allocated range. The
      * range name must comply with RFC 1035. Specifically, the name must be 1-63
      * characters long and match the regular expression
-     * [a-z]([-a-z0-9]*[a-z0-9])?.
-     * Field name is intended to be consistent with CloudSQL.
+     * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+     * Field name is intended to be consistent with Cloud SQL.
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -825,7 +717,6 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -837,7 +728,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -867,16 +759,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.cloud.alloydb.v1.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.NetworkConfig other = - (com.google.cloud.alloydb.v1.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1.Cluster.NetworkConfig) obj; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getAllocatedIpRange() + .equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -898,93 +791,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -994,41 +883,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Cluster.NetworkConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.NetworkConfig) com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Cluster.NetworkConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1039,9 +926,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -1060,11 +947,8 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1.Cluster.NetworkConfig result = - new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1083,41 +967,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.NetworkConfig res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Cluster.NetworkConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.Cluster.NetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1125,8 +1006,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1163,25 +1043,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1191,13 +1068,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object network_ = ""; /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1207,16 +1081,14 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1225,8 +1097,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1236,17 +1106,16 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1254,8 +1123,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1265,25 +1132,19 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1293,10 +1154,7 @@ public Builder setNetwork(java.lang.String value) {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1306,8 +1164,6 @@ public Builder clearNetwork() { return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1317,17 +1173,13 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1337,26 +1189,24 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object allocatedIpRange_ = ""; /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
        * instance IPs for this cluster will be created in the allocated range. The
        * range name must comply with RFC 1035. Specifically, the name must be 1-63
        * characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
-       * Field name is intended to be consistent with CloudSQL.
+       * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+       * Field name is intended to be consistent with Cloud SQL.
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1365,27 +1215,26 @@ public java.lang.String getAllocatedIpRange() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
        * instance IPs for this cluster will be created in the allocated range. The
        * range name must comply with RFC 1035. Specifically, the name must be 1-63
        * characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
-       * Field name is intended to be consistent with CloudSQL.
+       * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+       * Field name is intended to be consistent with Cloud SQL.
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1393,47 +1242,40 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
        * instance IPs for this cluster will be created in the allocated range. The
        * range name must comply with RFC 1035. Specifically, the name must be 1-63
        * characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
-       * Field name is intended to be consistent with CloudSQL.
+       * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+       * Field name is intended to be consistent with Cloud SQL.
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
        * instance IPs for this cluster will be created in the allocated range. The
        * range name must comply with RFC 1035. Specifically, the name must be 1-63
        * characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
-       * Field name is intended to be consistent with CloudSQL.
+       * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+       * Field name is intended to be consistent with Cloud SQL.
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1443,34 +1285,29 @@ public Builder clearAllocatedIpRange() { return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
        * instance IPs for this cluster will be created in the allocated range. The
        * range name must comply with RFC 1035. Specifically, the name must be 1-63
        * characters long and match the regular expression
-       * [a-z]([-a-z0-9]*[a-z0-9])?.
-       * Field name is intended to be consistent with CloudSQL.
+       * `[a-z]([-a-z0-9]*[a-z0-9])?`.
+       * Field name is intended to be consistent with Cloud SQL.
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1483,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1.Cluster.NetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(); } @@ -1497,28 +1334,27 @@ public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,43 +1369,36 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SecondaryConfigOrBuilder - extends + public interface SecondaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString + getPrimaryClusterNameBytes(); } /** - * - * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1577,55 +1406,49 @@ public interface SecondaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecondaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class,
-              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
-     *
-     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ @java.lang.Override @@ -1634,30 +1457,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1666,7 +1489,6 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1678,7 +1500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1702,15 +1525,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.cloud.alloydb.v1.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other = - (com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName() + .equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1730,94 +1553,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1827,8 +1645,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1836,33 +1652,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Cluster.SecondaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class,
-                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1872,9 +1688,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1893,11 +1709,8 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1.Cluster.SecondaryConfig result =
-            new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1913,41 +1726,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig r
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.SecondaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1955,8 +1765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1988,19 +1797,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  primaryClusterName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                primaryClusterName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2010,26 +1817,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
-       *
-       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -2038,22 +1842,21 @@ public java.lang.String getPrimaryClusterName() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -2061,37 +1864,30 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -2101,29 +1897,24 @@ public Builder clearPrimaryClusterName() { return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2136,12 +1927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1.Cluster.SecondaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(); } @@ -2150,28 +1941,27 @@ public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2186,79 +1976,59 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PrimaryConfigOrBuilder - extends + public interface PrimaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - java.util.List getSecondaryClusterNamesList(); + java.util.List + getSecondaryClusterNamesList(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index); } /** - * - * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2267,92 +2037,76 @@ public interface PrimaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PrimaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PrimaryConfig() {
-      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class,
-              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2360,26 +2114,21 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2391,10 +2140,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2421,16 +2170,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.cloud.alloydb.v1.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other = - (com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) - return false; + if (!getSecondaryClusterNamesList() + .equals(other.getSecondaryClusterNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2452,93 +2200,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2548,8 +2292,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2558,45 +2300,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Cluster.PrimaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class,
-                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2615,11 +2358,8 @@ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1.Cluster.PrimaryConfig result =
-            new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2636,41 +2376,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig res
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.PrimaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2678,8 +2415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2716,20 +2452,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureSecondaryClusterNamesIsMutable();
-                  secondaryClusterNames_.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();
+                ensureSecondaryClusterNamesIsMutable();
+                secondaryClusterNames_.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) {
@@ -2739,66 +2473,49 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ =
-              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2806,43 +2523,33 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecondaryClusterNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2850,24 +2557,18 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2875,67 +2576,53 @@ public Builder addSecondaryClusterNames(java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames( + java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + secondaryClusterNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2943,7 +2630,6 @@ public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString valu onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2956,12 +2642,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1.Cluster.PrimaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(); } @@ -2970,28 +2656,27 @@ public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3006,22 +2691,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -3037,38 +2719,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: - return BACKUP_SOURCE; - case 16: - return MIGRATION_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 15: return BACKUP_SOURCE; + case 16: return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -3076,56 +2750,42 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -3133,51 +2793,39 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1.MigrationSource) source_; + return (com.google.cloud.alloydb.v1.MigrationSource) source_; } return com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1.MigrationSource) source_; + return (com.google.cloud.alloydb.v1.MigrationSource) source_; } return com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3188,7 +2836,6 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -3197,15 +2844,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3216,15 +2862,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -3233,18 +2880,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -3253,29 +2896,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; } } /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -3284,19 +2927,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -3305,30 +2944,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3339,15 +2978,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3355,15 +2990,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3371,14 +3002,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3388,15 +3016,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3404,15 +3028,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -3420,14 +3040,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3437,15 +3054,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3453,15 +3066,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -3469,14 +3078,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3484,34 +3090,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3519,21 +3123,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3545,8 +3148,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3554,19 +3155,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3574,11 +3173,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3588,47 +3187,32 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Cluster.State getState() { - com.google.cloud.alloydb.v1.Cluster.State result = - com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.State getState() { + com.google.cloud.alloydb.v1.Cluster.State result = com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3636,19 +3220,13 @@ public com.google.cloud.alloydb.v1.Cluster.State getState() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3656,24 +3234,17 @@ public int getClusterTypeValue() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1.Cluster.ClusterType result = - com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); + @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1.Cluster.ClusterType result = com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); return result == null ? com.google.cloud.alloydb.v1.Cluster.ClusterType.UNRECOGNIZED : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3681,19 +3252,13 @@ public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3701,26 +3266,18 @@ public int getDatabaseVersionValue() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = - com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1.Cluster.NetworkConfig networkConfig_; /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3728,37 +3285,25 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3767,30 +3312,25 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3799,21 +3339,19 @@ public java.lang.String getNetwork() {
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -3822,18 +3360,14 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ETAG_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ @java.lang.Override @@ -3842,29 +3376,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @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 { @@ -3873,35 +3407,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3911,21 +3442,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3939,8 +3469,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3950,19 +3478,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3972,11 +3498,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3986,8 +3512,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -3997,7 +3521,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4008,17 +3531,12 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1.UserPassword initialUser_; /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ @java.lang.Override @@ -4026,49 +3544,34 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1.UserPassword getInitialUser() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1.AutomatedBackupPolicy automatedBackupPolicy_; /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4080,7 +3583,6 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -4088,8 +3590,6 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4101,18 +3601,13 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4126,56 +3621,41 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
    * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder
-      getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null
-        ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()
-        : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1.SslConfig sslConfig_;
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -4183,18 +3663,13 @@ public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4203,10 +3678,7 @@ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -4214,8 +3686,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4224,21 +3694,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4247,30 +3710,21 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -4278,55 +3732,37 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1.ContinuousBackupConfig continuousBackupConfig_; /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -4334,56 +3770,37 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1.ContinuousBackupInfo continuousBackupInfo_; /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -4391,54 +3808,37 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondaryConfig_; /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -4446,25 +3846,18 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -4472,26 +3865,18 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1.Cluster.PrimaryConfig primaryConfig_; /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -4499,44 +3884,30 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4548,7 +3919,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4567,13 +3939,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -4582,8 +3957,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -4614,8 +3993,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + if (clusterType_ != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4646,30 +4024,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4677,65 +4059,71 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.alloydb.v1.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.alloydb.v1.BackupSource) source_); } if (sourceCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.alloydb.v1.MigrationSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.alloydb.v1.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); + if (clusterType_ != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getNetworkConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4745,83 +4133,106 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Cluster other = (com.google.cloud.alloydb.v1.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; - } - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; + } + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser().equals(other.getInitialUser())) return false; + if (!getInitialUser() + .equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy() + .equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig() + .equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo() + .equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig() + .equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig() + .equals(other.getPrimaryConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource().equals(other.getMigrationSource())) return false; + if (!getMigrationSource() + .equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4878,7 +4289,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4932,103 +4344,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Cluster parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1.Cluster parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -5037,56 +4445,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster)
       com.google.cloud.alloydb.v1.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.class,
-              com.google.cloud.alloydb.v1.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.class, com.google.cloud.alloydb.v1.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.Cluster.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5179,9 +4590,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -5201,9 +4612,7 @@ public com.google.cloud.alloydb.v1.Cluster build() {
     @java.lang.Override
     public com.google.cloud.alloydb.v1.Cluster buildPartial() {
       com.google.cloud.alloydb.v1.Cluster result = new com.google.cloud.alloydb.v1.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5221,13 +4630,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -5243,8 +4658,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ =
-            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
+        result.networkConfig_ = networkConfigBuilder_ == null
+            ? networkConfig_
+            : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -5260,55 +4676,61 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ =
-            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
+        result.initialUser_ = initialUserBuilder_ == null
+            ? initialUser_
+            : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ =
-            automatedBackupPolicyBuilder_ == null
-                ? automatedBackupPolicy_
-                : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
+            ? automatedBackupPolicy_
+            : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null
+            ? sslConfig_
+            : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ =
-            continuousBackupConfigBuilder_ == null
-                ? continuousBackupConfig_
-                : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
+            ? continuousBackupConfig_
+            : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ =
-            continuousBackupInfoBuilder_ == null
-                ? continuousBackupInfo_
-                : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
+            ? continuousBackupInfo_
+            : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ =
-            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ = secondaryConfigBuilder_ == null
+            ? secondaryConfig_
+            : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ =
-            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
+        result.primaryConfig_ = primaryConfigBuilder_ == null
+            ? primaryConfig_
+            : primaryConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 &&
+          migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -5317,39 +4739,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1.Cluster) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5382,7 +4803,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -5406,7 +4828,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -5439,20 +4862,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
         mergePrimaryConfig(other.getPrimaryConfig());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case MIGRATION_SOURCE:
-          {
-            mergeMigrationSource(other.getMigrationSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case MIGRATION_SOURCE: {
+          mergeMigrationSource(other.getMigrationSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5480,185 +4900,180 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 64
-            case 72:
-              {
-                databaseVersion_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 72
-            case 82:
-              {
-                network_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 82
-            case 90:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00004000;
-                break;
-              } // case 90
-            case 98:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 98
-            case 104:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 104
-            case 114:
-              {
-                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(
-                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 162
-            case 178:
-              {
-                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x01000000;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x02000000;
-                break;
-              } // case 186
-            case 192:
-              {
-                clusterType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 192
-            case 218:
-              {
-                input.readMessage(
-                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00800000;
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 234
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 64
+            case 72: {
+              databaseVersion_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 72
+            case 82: {
+              network_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 82
+            case 90: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00004000;
+              break;
+            } // case 90
+            case 98: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 98
+            case 104: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 104
+            case 114: {
+              input.readMessage(
+                  getInitialUserFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getMigrationSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getSslConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 162
+            case 178: {
+              input.readMessage(
+                  getSecondaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x01000000;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getPrimaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x02000000;
+              break;
+            } // case 186
+            case 192: {
+              clusterType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 192
+            case 218: {
+              input.readMessage(
+                  getContinuousBackupConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getContinuousBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00800000;
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 234
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5668,12 +5083,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() {
@@ -5686,21 +5101,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.BackupSource,
-            com.google.cloud.alloydb.v1.BackupSource.Builder,
-            com.google.cloud.alloydb.v1.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5708,16 +5115,11 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override @@ -5735,15 +5137,11 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5759,15 +5157,11 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource( com.google.cloud.alloydb.v1.BackupSource.Builder builderForValue) { @@ -5781,25 +5175,18 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 - && source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 15 && + source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1.BackupSource.newBuilder((com.google.cloud.alloydb.v1.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -5815,15 +5202,11 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5842,29 +5225,21 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5878,30 +5253,21 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, - com.google.cloud.alloydb.v1.BackupSource.Builder, - com.google.cloud.alloydb.v1.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, - com.google.cloud.alloydb.v1.BackupSource.Builder, - com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1.BackupSource) source_, getParentForChildren(), isClean()); @@ -5913,21 +5279,13 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, - com.google.cloud.alloydb.v1.MigrationSource.Builder, - com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> - migrationSourceBuilder_; + com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> migrationSourceBuilder_; /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5935,16 +5293,11 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override @@ -5962,15 +5315,11 @@ public com.google.cloud.alloydb.v1.MigrationSource getMigrationSource() { } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource(com.google.cloud.alloydb.v1.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -5986,15 +5335,11 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1.MigrationSource va return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource( com.google.cloud.alloydb.v1.MigrationSource.Builder builderForValue) { @@ -6008,25 +5353,18 @@ public Builder setMigrationSource( return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 - && source_ != com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1.MigrationSource.newBuilder( - (com.google.cloud.alloydb.v1.MigrationSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 16 && + source_ != com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1.MigrationSource.newBuilder((com.google.cloud.alloydb.v1.MigrationSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -6042,15 +5380,11 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1.MigrationSource return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -6069,29 +5403,21 @@ public Builder clearMigrationSource() { return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -6105,30 +5431,21 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, - com.google.cloud.alloydb.v1.MigrationSource.Builder, - com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, - com.google.cloud.alloydb.v1.MigrationSource.Builder, - com.google.cloud.alloydb.v1.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1.MigrationSource) source_, getParentForChildren(), isClean()); @@ -6141,8 +5458,6 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6153,13 +5468,13 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr
      * 
* * 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; @@ -6168,8 +5483,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6180,14 +5493,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -6195,8 +5509,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6207,22 +5519,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6233,7 +5541,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -6243,8 +5550,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6255,14 +5560,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -6272,20 +5575,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -6294,21 +5595,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -6316,35 +5616,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6354,21 +5647,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -6378,21 +5667,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6401,22 +5688,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6424,37 +5710,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -6464,22 +5743,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -6489,58 +5764,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -6556,17 +5812,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -6577,21 +5830,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -6604,15 +5853,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6625,15 +5870,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -6641,48 +5882,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -6690,58 +5919,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -6757,17 +5967,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -6778,21 +5985,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6805,15 +6008,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6826,15 +6025,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6842,48 +6037,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -6891,58 +6074,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -6958,17 +6122,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -6979,21 +6140,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -7006,15 +6163,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -7027,15 +6180,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -7043,66 +6192,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7111,13 +6250,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7125,21 +6261,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7151,8 +6286,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7160,19 +6293,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7180,108 +6311,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000100; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7292,35 +6410,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.State getState() { - com.google.cloud.alloydb.v1.Cluster.State result = - com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1.Cluster.State result = com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -7334,16 +6441,11 @@ public Builder setState(com.google.cloud.alloydb.v1.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -7355,8 +6457,6 @@ public Builder clearState() { private int clusterType_ = 0; /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7364,19 +6464,13 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7384,10 +6478,7 @@ public int getClusterTypeValue() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -7398,8 +6489,6 @@ public Builder setClusterTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7407,21 +6496,15 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1.Cluster.ClusterType result = - com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); + com.google.cloud.alloydb.v1.Cluster.ClusterType result = com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); return result == null ? com.google.cloud.alloydb.v1.Cluster.ClusterType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7429,10 +6512,7 @@ public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The clusterType to set. * @return This builder for chaining. */ @@ -7446,8 +6526,6 @@ public Builder setClusterType(com.google.cloud.alloydb.v1.Cluster.ClusterType va return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7455,10 +6533,7 @@ public Builder setClusterType(com.google.cloud.alloydb.v1.Cluster.ClusterType va
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearClusterType() { @@ -7470,8 +6545,6 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7479,19 +6552,13 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7499,10 +6566,7 @@ public int getDatabaseVersionValue() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -7513,8 +6577,6 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7522,21 +6584,15 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = - com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7544,10 +6600,7 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -7561,8 +6614,6 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7570,10 +6621,7 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -7585,40 +6633,27 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -7634,9 +6669,7 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfi return this; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder builderForValue) { @@ -7650,16 +6683,13 @@ public Builder setNetworkConfig( return this; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && networkConfig_ != null - && networkConfig_ - != com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + networkConfig_ != null && + networkConfig_ != com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -7672,9 +6702,7 @@ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkCon return this; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -7687,9 +6715,7 @@ public Builder clearNetworkConfig() { return this; } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { bitField0_ |= 0x00001000; @@ -7697,36 +6723,28 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder getNetworkConfi return getNetworkConfigFieldBuilder().getBuilder(); } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } } /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), getParentForChildren(), isClean()); + networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), + getParentForChildren(), + isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -7734,8 +6752,6 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf private java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7744,19 +6760,16 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -7765,8 +6778,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7775,20 +6786,18 @@ public java.lang.String getNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -7796,8 +6805,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7806,28 +6813,21 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7836,24 +6836,18 @@ public Builder setNetwork(java.lang.String value) {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNetwork() { + @java.lang.Deprecated public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7862,20 +6856,15 @@ public Builder clearNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -7885,20 +6874,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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; @@ -7907,21 +6894,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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 { @@ -7929,35 +6915,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -7967,21 +6946,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -7989,8 +6964,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -7999,12 +6974,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -8013,13 +6987,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8029,21 +7000,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8057,8 +7027,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8068,19 +7036,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8090,25 +7056,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8117,22 +7081,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8141,20 +7106,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8163,16 +7125,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_;
+    private boolean reconciling_ ;
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8182,7 +7144,6 @@ public Builder putAllAnnotations(java.util.Map
      *
      * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-     *
      * @return The reconciling.
      */
     @java.lang.Override
@@ -8190,8 +7151,6 @@ public boolean getReconciling() {
       return reconciling_;
     }
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8201,7 +7160,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -8213,8 +7171,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8224,7 +7180,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -8236,61 +7191,42 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, - com.google.cloud.alloydb.v1.UserPassword.Builder, - com.google.cloud.alloydb.v1.UserPasswordOrBuilder> - initialUserBuilder_; + com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder> initialUserBuilder_; /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null - ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { if (initialUserBuilder_ == null) { @@ -8306,16 +7242,12 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser( com.google.cloud.alloydb.v1.UserPassword.Builder builderForValue) { @@ -8329,22 +7261,18 @@ public Builder setInitialUser( return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && initialUser_ != null - && initialUser_ != com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + initialUser_ != null && + initialUser_ != com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -8357,16 +7285,12 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value) return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -8379,16 +7303,12 @@ public Builder clearInitialUser() { return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -8396,50 +7316,38 @@ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder() return getInitialUserFieldBuilder().getBuilder(); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null - ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? + com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, - com.google.cloud.alloydb.v1.UserPassword.Builder, - com.google.cloud.alloydb.v1.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, - com.google.cloud.alloydb.v1.UserPassword.Builder, - com.google.cloud.alloydb.v1.UserPasswordOrBuilder>( - getInitialUser(), getParentForChildren(), isClean()); + initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder>( + getInitialUser(), + getParentForChildren(), + isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -8447,13 +7355,8 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder private com.google.cloud.alloydb.v1.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy, - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, - com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> - automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8465,15 +7368,12 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
      * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8485,21 +7385,16 @@ public boolean hasAutomatedBackupPolicy() {
      * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8512,8 +7407,7 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder setAutomatedBackupPolicy(
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
+    public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8527,8 +7421,6 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8553,8 +7445,6 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8567,13 +7457,11 @@ public Builder setAutomatedBackupPolicy(
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder mergeAutomatedBackupPolicy(
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
+    public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00040000) != 0)
-            && automatedBackupPolicy_ != null
-            && automatedBackupPolicy_
-                != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00040000) != 0) &&
+          automatedBackupPolicy_ != null &&
+          automatedBackupPolicy_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) {
           getAutomatedBackupPolicyBuilder().mergeFrom(value);
         } else {
           automatedBackupPolicy_ = value;
@@ -8586,8 +7474,6 @@ public Builder mergeAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8611,8 +7497,6 @@ public Builder clearAutomatedBackupPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8625,15 +7509,12 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder
-        getAutomatedBackupPolicyBuilder() {
+    public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() {
       bitField0_ |= 0x00040000;
       onChanged();
       return getAutomatedBackupPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8646,19 +7527,15 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder
-        getAutomatedBackupPolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
       if (automatedBackupPolicyBuilder_ != null) {
         return automatedBackupPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return automatedBackupPolicy_ == null
-            ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()
-            : automatedBackupPolicy_;
+        return automatedBackupPolicy_ == null ?
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8672,17 +7549,14 @@ public Builder clearAutomatedBackupPolicy() {
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy,
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder,
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> 
         getAutomatedBackupPolicyFieldBuilder() {
       if (automatedBackupPolicyBuilder_ == null) {
-        automatedBackupPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy,
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder,
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>(
-                getAutomatedBackupPolicy(), getParentForChildren(), isClean());
+        automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>(
+                getAutomatedBackupPolicy(),
+                getParentForChildren(),
+                isClean());
         automatedBackupPolicy_ = null;
       }
       return automatedBackupPolicyBuilder_;
@@ -8690,61 +7564,45 @@ public Builder clearAutomatedBackupPolicy() {
 
     private com.google.cloud.alloydb.v1.SslConfig sslConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.SslConfig,
-            com.google.cloud.alloydb.v1.SslConfig.Builder,
-            com.google.cloud.alloydb.v1.SslConfigOrBuilder>
-        sslConfigBuilder_;
+        com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> sslConfigBuilder_;
     /**
-     *
-     *
      * 
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { + @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8758,16 +7616,14 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { + @java.lang.Deprecated public Builder setSslConfig( + com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -8778,20 +7634,17 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builde return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { + @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -8804,16 +7657,13 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearSslConfig() { + @java.lang.Deprecated public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -8824,42 +7674,33 @@ public Builder clearSslConfig() { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -8867,17 +7708,14 @@ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, - com.google.cloud.alloydb.v1.SslConfig.Builder, - com.google.cloud.alloydb.v1.SslConfigOrBuilder> + com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, - com.google.cloud.alloydb.v1.SslConfig.Builder, - com.google.cloud.alloydb.v1.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -8885,13 +7723,8 @@ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8900,18 +7733,13 @@ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8920,24 +7748,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8946,9 +7767,7 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -8964,8 +7783,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8974,9 +7791,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -8990,8 +7805,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9000,16 +7813,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -9022,8 +7832,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9032,9 +7840,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -9047,8 +7853,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9057,9 +7861,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -9067,8 +7869,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9077,22 +7877,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9101,22 +7896,17 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -9124,58 +7914,39 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -9191,15 +7962,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -9213,21 +7980,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -9240,15 +8003,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -9261,15 +8020,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -9277,48 +8032,36 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -9326,61 +8069,41 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private com.google.cloud.alloydb.v1.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, - com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> - continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setContinuousBackupConfig( - com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9394,15 +8117,11 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder builderForValue) { @@ -9416,23 +8135,17 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeContinuousBackupConfig( - com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) - && continuousBackupConfig_ != null - && continuousBackupConfig_ - != com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) && + continuousBackupConfig_ != null && + continuousBackupConfig_ != com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -9445,15 +8158,11 @@ public Builder mergeContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -9466,66 +8175,48 @@ public Builder clearContinuousBackupConfig() { return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder - getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? + com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, - com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, - com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), getParentForChildren(), isClean()); + continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), + getParentForChildren(), + isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -9533,58 +8224,39 @@ public Builder clearContinuousBackupConfig() { private com.google.cloud.alloydb.v1.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, - com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> - continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { @@ -9600,15 +8272,11 @@ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBac return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder builderForValue) { @@ -9622,23 +8290,17 @@ public Builder setContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeContinuousBackupInfo( - com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) - && continuousBackupInfo_ != null - && continuousBackupInfo_ - != com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) && + continuousBackupInfo_ != null && + continuousBackupInfo_ != com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -9651,15 +8313,11 @@ public Builder mergeContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -9672,66 +8330,48 @@ public Builder clearContinuousBackupInfo() { return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder - getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? + com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, - com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, - com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), getParentForChildren(), isClean()); + continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), + getParentForChildren(), + isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -9739,47 +8379,34 @@ public Builder clearContinuousBackupInfo() { private com.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> - secondaryConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9800,8 +8427,6 @@ public Builder setSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.SecondaryC return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9820,8 +8445,6 @@ public Builder setSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9830,10 +8453,9 @@ public Builder setSecondaryConfig( */ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) - && secondaryConfig_ != null - && secondaryConfig_ - != com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) && + secondaryConfig_ != null && + secondaryConfig_ != com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -9846,8 +8468,6 @@ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.Secondar return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9865,8 +8485,6 @@ public Builder clearSecondaryConfig() { return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9879,27 +8497,21 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder getSecondaryC return getSecondaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9907,17 +8519,14 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder getSecondaryC * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), getParentForChildren(), isClean()); + secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), + getParentForChildren(), + isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -9925,58 +8534,39 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder getSecondaryC private com.google.cloud.alloydb.v1.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> - primaryConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -9992,15 +8582,11 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfi return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder builderForValue) { @@ -10014,22 +8600,17 @@ public Builder setPrimaryConfig( return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) - && primaryConfig_ != null - && primaryConfig_ - != com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) && + primaryConfig_ != null && + primaryConfig_ != com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -10042,15 +8623,11 @@ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryCon return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -10063,15 +8640,11 @@ public Builder clearPrimaryConfig() { return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; @@ -10079,55 +8652,43 @@ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder getPrimaryConfi return getPrimaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), getParentForChildren(), isClean()); + primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), + getParentForChildren(), + isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10137,12 +8698,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster) private static final com.google.cloud.alloydb.v1.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster(); } @@ -10151,27 +8712,27 @@ public static com.google.cloud.alloydb.v1.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10186,4 +8747,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java index c4da5e90933c..0113bf332791 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java @@ -1,113 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ com.google.cloud.alloydb.v1.BackupSource getBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ com.google.cloud.alloydb.v1.MigrationSource getMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -118,13 +72,10 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -135,180 +86,135 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -317,31 +223,30 @@ public interface ClusterOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -349,53 +254,40 @@ public interface ClusterOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1.Cluster.State getState(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -403,16 +295,11 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -420,17 +307,12 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -438,16 +320,11 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -455,40 +332,27 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion(); /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig(); /** - * - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -497,19 +361,13 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ - @java.lang.Deprecated - java.lang.String getNetwork(); + @java.lang.Deprecated java.lang.String getNetwork(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -518,45 +376,35 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=543 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNetworkBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -567,8 +415,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -577,13 +423,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -592,10 +440,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -605,13 +452,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -620,11 +465,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -634,58 +478,41 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ com.google.cloud.alloydb.v1.UserPassword getInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -697,13 +524,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -715,13 +539,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -737,50 +558,37 @@ java.lang.String getAnnotationsOrDefault(
   com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - boolean hasSslConfig(); + @java.lang.Deprecated boolean hasSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1/resources.proto;l=578 + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1.SslConfig getSslConfig(); + @java.lang.Deprecated com.google.cloud.alloydb.v1.SslConfig getSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -789,16 +597,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -807,16 +610,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -825,162 +623,110 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -990,43 +736,29 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java index 540dfbc28ebf..bb2200844c7f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1.ClusterView}
  */
-public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -52,8 +32,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   CLUSTER_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -67,8 +45,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -77,8 +53,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -89,8 +63,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -101,6 +73,7 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -125,49 +98,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0:
-        return CLUSTER_VIEW_UNSPECIFIED;
-      case 1:
-        return CLUSTER_VIEW_BASIC;
-      case 2:
-        return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default:
-        return null;
+      case 0: return CLUSTER_VIEW_UNSPECIFIED;
+      case 1: return CLUSTER_VIEW_BASIC;
+      case 2: return CLUSTER_VIEW_CONTINUOUS_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 ClusterView findValueByNumber(int number) {
-          return ClusterView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ClusterView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ClusterView findValueByNumber(int number) {
+            return ClusterView.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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;
@@ -183,3 +156,4 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.ClusterView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
similarity index 71%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
index 6175453e249d..4633feb4ab3d 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
- *
- *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ConnectionInfo}
  */
-public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConnectionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ConnectionInfo)
     ConnectionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
@@ -46,32 +28,28 @@ private ConnectionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ConnectionInfo.class,
-            com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1.ConnectionInfo.class, com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -79,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,15 +65,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 ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -104,15 +80,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 { @@ -121,12 +98,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -134,7 +108,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -143,15 +116,14 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -159,15 +131,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -176,18 +149,14 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } public static final int INSTANCE_UID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ @java.lang.Override @@ -196,29 +165,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -227,7 +196,6 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -275,17 +244,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.cloud.alloydb.v1.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ConnectionInfo other = - (com.google.cloud.alloydb.v1.ConnectionInfo) obj; + com.google.cloud.alloydb.v1.ConnectionInfo other = (com.google.cloud.alloydb.v1.ConnectionInfo) obj; - if (!getName().equals(other.getName())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (!getInstanceUid().equals(other.getInstanceUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (!getInstanceUid() + .equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -308,104 +279,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -413,32 +379,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ConnectionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ConnectionInfo)
       com.google.cloud.alloydb.v1.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ConnectionInfo.class,
-              com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1.ConnectionInfo.class, com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ConnectionInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -450,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -471,11 +438,8 @@ public com.google.cloud.alloydb.v1.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1.ConnectionInfo result =
-          new com.google.cloud.alloydb.v1.ConnectionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.ConnectionInfo result = new com.google.cloud.alloydb.v1.ConnectionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -497,39 +461,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ConnectionInfo result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ConnectionInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ConnectionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -579,31 +542,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 34:
-              {
-                instanceUid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 34: {
+              instanceUid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -613,13 +572,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -627,13 +583,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; @@ -642,8 +598,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -651,14 +605,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 { @@ -666,8 +621,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -675,22 +628,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -698,7 +647,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -708,8 +656,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -717,14 +663,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -734,8 +678,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -743,13 +685,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -758,8 +700,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -767,14 +707,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -782,8 +723,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -791,22 +730,18 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -814,7 +749,6 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -824,8 +758,6 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -833,14 +765,12 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -850,20 +780,18 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceUid_ = ""; /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -872,21 +800,20 @@ public java.lang.String getInstanceUid() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -894,35 +821,28 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -932,30 +852,26 @@ public Builder clearInstanceUid() { return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -965,12 +881,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ConnectionInfo) private static final com.google.cloud.alloydb.v1.ConnectionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ConnectionInfo(); } @@ -979,27 +895,27 @@ public static com.google.cloud.alloydb.v1.ConnectionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1014,4 +930,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java index f2e89aef0d2d..91c6d6674b50 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ConnectionInfoOrBuilder - extends +public interface ConnectionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -33,13 +15,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -47,14 +26,12 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -62,13 +39,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -76,33 +50,28 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString getInstanceUidBytes(); + com.google.protobuf.ByteString + getInstanceUidBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java index 679a5c3cba49..3dbf54252369 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ContinuousBackupConfig() {}
+  private ContinuousBackupConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ContinuousBackupConfig.class,
-            com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -98,8 +74,6 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -107,7 +81,6 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -118,8 +91,6 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -128,7 +99,6 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -136,8 +106,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -146,18 +114,13 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -169,13 +132,10 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null
-        ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()
-        : encryptionConfig_;
+    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -207,13 +168,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -223,22 +187,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.cloud.alloydb.v1.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1.ContinuousBackupConfig other =
-        (com.google.cloud.alloydb.v1.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled() != other.getEnabled()) return false;
+      if (getEnabled()
+          != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays()
+        != other.getRecoveryWindowDays()) 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;
@@ -253,7 +219,8 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -267,103 +234,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -371,32 +333,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ContinuousBackupConfig.class,
-              com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ContinuousBackupConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.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 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -433,11 +396,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1.ContinuousBackupConfig result =
-          new com.google.cloud.alloydb.v1.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -453,8 +413,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupConfig re
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -463,39 +424,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupConfig re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -540,32 +499,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 26:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                recoveryWindowDays_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 26: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              recoveryWindowDays_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -575,19 +531,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -595,14 +547,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -610,14 +559,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -629,14 +575,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -646,10 +589,8 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_; + private int recoveryWindowDays_ ; /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -657,7 +598,6 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -665,8 +605,6 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -674,7 +612,6 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; - * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -686,8 +623,6 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -695,7 +630,6 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; - * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -707,13 +641,8 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, - com.google.cloud.alloydb.v1.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -722,15 +651,12 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -739,21 +665,16 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -777,8 +698,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -800,8 +719,6 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -813,10 +730,9 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && encryptionConfig_ != null
-            && encryptionConfig_
-                != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          encryptionConfig_ != null &&
+          encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -829,8 +745,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -851,8 +765,6 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -868,8 +780,6 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -883,14 +793,11 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null
-            ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()
-            : encryptionConfig_;
+        return encryptionConfig_ == null ?
+            com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -901,24 +808,21 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.EncryptionConfig,
-            com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>
+        com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> 
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1.EncryptionConfig,
-                com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
-                com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(), getParentForChildren(), isClean());
+        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(),
+                getParentForChildren(),
+                isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -928,12 +832,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1.ContinuousBackupConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupConfig();
   }
@@ -942,27 +846,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupConfig getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ContinuousBackupConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ContinuousBackupConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -977,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
index bf8f1e515287..dd79c69a6de4 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
-public interface ContinuousBackupConfigOrBuilder
-    extends
+public interface ContinuousBackupConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -58,14 +34,11 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -74,13 +47,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -89,13 +59,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
similarity index 63%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
index 57d4003e83d9..5e6e37e48550 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
- *
- *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -28,55 +11,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ContinuousBackupInfo.class,
-            com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_;
   /**
-   *
-   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -84,57 +60,40 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -142,16 +101,12 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ @java.lang.Override @@ -159,15 +114,12 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -175,13 +127,10 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List schedule_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> - schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -190,17 +139,12 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ @java.lang.Override @@ -209,17 +153,12 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ @java.lang.Override @@ -227,17 +166,12 @@ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -246,35 +180,26 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return schedule_; } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -282,23 +207,17 @@ public java.util.List getScheduleValueList() { public int getScheduleValue(int index) { return schedule_.get(index); } - private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -306,46 +225,32 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -385,26 +291,28 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -414,26 +322,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.cloud.alloydb.v1.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ContinuousBackupInfo other = - (com.google.cloud.alloydb.v1.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime().equals(other.getEnabledTime())) return false; + if (!getEnabledTime() + .equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime() + .equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -467,104 +377,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -572,32 +477,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ContinuousBackupInfo.class,
-              com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ContinuousBackupInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -623,9 +529,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -644,18 +550,14 @@ public com.google.cloud.alloydb.v1.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1.ContinuousBackupInfo result =
-          new com.google.cloud.alloydb.v1.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -666,18 +568,19 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ =
-            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
+        result.enabledTime_ = enabledTimeBuilder_ == null
+            ? enabledTime_
+            : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ =
-            earliestRestorableTimeBuilder_ == null
-                ? earliestRestorableTime_
-                : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
+            ? earliestRestorableTime_
+            : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -685,39 +588,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupInfo resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,8 +627,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -772,51 +673,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
+            case 10: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEnabledTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              int tmpRaw = input.readEnum();
+              ensureScheduleIsMutable();
+              schedule_.add(tmpRaw);
+              break;
+            } // case 24
+            case 26: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-                break;
-              } // case 24
-            case 26:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureScheduleIsMutable();
-                  schedule_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -826,66 +726,46 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.EncryptionInfo,
-            com.google.cloud.alloydb.v1.EncryptionInfo.Builder,
-            com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>
-        encryptionInfoBuilder_;
+        com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -901,16 +781,12 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -924,22 +800,18 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && encryptionInfo_ != null - && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -952,16 +824,12 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -974,16 +842,12 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -991,50 +855,38 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -1042,61 +894,42 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - enabledTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -1112,18 +945,15 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -1134,22 +964,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && enabledTime_ != null - && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + enabledTime_ != null && + enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -1162,16 +988,12 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1184,16 +1006,12 @@ public Builder clearEnabledTime() { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1201,57 +1019,45 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), getParentForChildren(), isClean()); + enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), + getParentForChildren(), + isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = java.util.Collections.emptyList(); - + private java.util.List schedule_ = + java.util.Collections.emptyList(); private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1259,17 +1065,12 @@ private void ensureScheduleIsMutable() { } } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1277,34 +1078,24 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1312,22 +1103,18 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(int index, com.google.type.DayOfWeek value) { + public Builder setSchedule( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1337,17 +1124,12 @@ public Builder setSchedule(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The schedule to add. * @return This builder for chaining. */ @@ -1361,21 +1143,17 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule(java.lang.Iterable values) { + public Builder addAllSchedule( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1384,17 +1162,12 @@ public Builder addAllSchedule(java.lang.Iterable * Output only. Days of the week on which a continuous backup is taken. Output * only field. Ignored if passed into the request. *
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1404,34 +1177,25 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1439,39 +1203,30 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue(int index, int value) { + public Builder setScheduleValue( + int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1482,21 +1237,17 @@ public Builder addScheduleValue(int value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue(java.lang.Iterable values) { + public Builder addAllScheduleValue( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1507,61 +1258,42 @@ public Builder addAllScheduleValue(java.lang.Iterable values) private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1577,16 +1309,12 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1600,22 +1328,18 @@ public Builder setEarliestRestorableTime( return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && earliestRestorableTime_ != null - && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + earliestRestorableTime_ != null && + earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1628,16 +1352,12 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1650,16 +1370,12 @@ public Builder clearEarliestRestorableTime() { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1667,57 +1383,45 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), getParentForChildren(), isClean()); + earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), + getParentForChildren(), + isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1727,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1.ContinuousBackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupInfo(); } @@ -1741,27 +1445,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1776,4 +1480,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java index f22f33a370cb..e5bd829f1857 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java @@ -1,232 +1,153 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ContinuousBackupInfoOrBuilder - extends +public interface ContinuousBackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ java.util.List getScheduleList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ int getScheduleCount(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List getScheduleValueList(); + java.util.List + getScheduleValueList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java index 8f245d9ce00e..9ded15b4bfd3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContinuousBackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1.ContinuousBackupSource.class, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -76,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ @java.lang.Override @@ -85,15 +62,14 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -101,15 +77,16 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -120,15 +97,11 @@ public com.google.protobuf.ByteString getClusterBytes() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -136,15 +109,11 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ @java.lang.Override @@ -152,14 +121,11 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -167,7 +133,6 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -199,7 +165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ContinuousBackupSource other = - (com.google.cloud.alloydb.v1.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1.ContinuousBackupSource other = (com.google.cloud.alloydb.v1.ContinuousBackupSource) obj; - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime().equals(other.getPointInTime())) return false; + if (!getPointInTime() + .equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,135 +213,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupSource) com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1.ContinuousBackupSource.class, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -409,11 +373,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1.ContinuousBackupSource result = - new com.google.cloud.alloydb.v1.ContinuousBackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ContinuousBackupSource result = new com.google.cloud.alloydb.v1.ContinuousBackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -424,8 +385,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupSource re result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = - pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); + result.pointInTime_ = pointInTimeBuilder_ == null + ? pointInTime_ + : pointInTimeBuilder_.build(); } } @@ -433,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupSource re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupSource)other); } else { super.mergeFrom(other); return this; @@ -473,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -509,25 +469,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPointInTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -551,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -566,8 +522,6 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -575,14 +529,15 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -590,8 +545,6 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -599,22 +552,18 @@ public com.google.protobuf.ByteString getClusterBytes() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -622,7 +571,6 @@ public Builder setCluster(java.lang.String value) {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCluster() { @@ -632,8 +580,6 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -641,14 +587,12 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -658,55 +602,39 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - pointInTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -722,16 +650,14 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -742,20 +668,17 @@ public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && pointInTime_ != null - && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + pointInTime_ != null && + pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -768,14 +691,11 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -788,14 +708,11 @@ public Builder clearPointInTime() { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -803,53 +720,43 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), getParentForChildren(), isClean()); + pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), + getParentForChildren(), + isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -859,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1.ContinuousBackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupSource(); } @@ -873,27 +780,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupSource getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,4 +815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java index 6d3ee704f1a6..a3d47b453b60 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ContinuousBackupSourceOrBuilder - extends +public interface ContinuousBackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -33,13 +15,10 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ java.lang.String getCluster(); /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -47,46 +26,35 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - com.google.protobuf.ByteString getClusterBytes(); + com.google.protobuf.ByteString + getClusterBytes(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java index e44b943e0f50..c3194389e907 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; @@ -45,40 +27,33 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateBackupRequest.class, - com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateBackupRequest.class, com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -140,29 +109,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -173,15 +142,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Backup backup_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -189,15 +154,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -205,14 +166,11 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { @@ -220,12 +178,9 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -243,7 +198,6 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -252,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -278,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -297,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -314,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,13 +309,15 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -374,22 +327,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.cloud.alloydb.v1.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateBackupRequest other = - (com.google.cloud.alloydb.v1.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1.CreateBackupRequest other = (com.google.cloud.alloydb.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest) com.google.cloud.alloydb.v1.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateBackupRequest.class, - com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateBackupRequest.class, com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateBackupRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override @@ -586,11 +540,8 @@ public com.google.cloud.alloydb.v1.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateBackupRequest result = - new com.google.cloud.alloydb.v1.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateBackupRequest result = new com.google.cloud.alloydb.v1.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -604,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateBackupRequest resul result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -618,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateBackupRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -848,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -896,21 +816,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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,35 +837,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -956,21 +868,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -980,35 +888,24 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1.Backup getBackup() { @@ -1019,14 +916,11 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { @@ -1042,16 +936,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1062,20 +954,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForVa return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1088,14 +977,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1108,14 +994,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1123,44 +1006,36 @@ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1168,8 +1043,6 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1187,13 +1060,13 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1202,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1221,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1236,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1255,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1288,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1298,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1332,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1350,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1370,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1387,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateBackupRequest) private static final com.google.cloud.alloydb.v1.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateBackupRequest(); } @@ -1413,27 +1265,27 @@ public static com.google.cloud.alloydb.v1.CreateBackupRequest getDefaultInstance 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; @@ -1448,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java index f225ab48b0f0..9344bc9caf7f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1.Backup getBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -135,13 +92,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -159,21 +113,18 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java index f6d1feb0f661..b436aa335717 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -45,41 +27,34 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateClusterRequest.class, - com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateClusterRequest.class, com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -142,29 +111,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -175,15 +144,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -191,15 +156,11 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -207,14 +168,11 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -222,12 +180,9 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -245,7 +200,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -254,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -280,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -299,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -308,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -317,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -361,13 +312,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -377,22 +330,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.cloud.alloydb.v1.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateClusterRequest other = - (com.google.cloud.alloydb.v1.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1.CreateClusterRequest other = (com.google.cloud.alloydb.v1.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -415,142 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateClusterRequest) com.google.cloud.alloydb.v1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateClusterRequest.class, - com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateClusterRequest.class, com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -568,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -589,11 +543,8 @@ public com.google.cloud.alloydb.v1.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateClusterRequest result = - new com.google.cloud.alloydb.v1.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateClusterRequest result = new com.google.cloud.alloydb.v1.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -607,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateClusterRequest resu result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -621,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateClusterRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -661,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -710,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -756,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -786,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -811,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -855,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -882,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -904,21 +824,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -926,35 +845,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -964,21 +876,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -988,55 +896,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1052,16 +944,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1072,20 +962,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderFor return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1098,14 +985,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1118,14 +1002,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1133,46 +1014,36 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1180,8 +1051,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1199,13 +1068,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1214,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1233,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1248,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1267,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1300,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1310,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1329,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1344,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1355,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1363,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1372,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1384,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1393,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1402,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1414,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateClusterRequest) private static final com.google.cloud.alloydb.v1.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateClusterRequest(); } @@ -1428,27 +1276,27 @@ public static com.google.cloud.alloydb.v1.CreateClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1463,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java index 12c4a87d2150..07e809e266c2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java @@ -1,125 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,13 +94,10 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -161,14 +115,12 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -176,7 +128,6 @@ public interface CreateClusterRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java index 99ae9454bce8..a7d7fa345d35 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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,41 +27,34 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequest.class, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -142,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -175,15 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -191,47 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -249,7 +200,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -258,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -284,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -303,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -312,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -321,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -333,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -365,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -381,22 +330,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.cloud.alloydb.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateInstanceRequest other = - (com.google.cloud.alloydb.v1.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1.CreateInstanceRequest other = (com.google.cloud.alloydb.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -419,142 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest) com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequest.class, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -572,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -593,11 +543,8 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateInstanceRequest result = - new com.google.cloud.alloydb.v1.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateInstanceRequest result = new com.google.cloud.alloydb.v1.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -611,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequest res result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -625,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -665,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -714,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -760,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -790,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -815,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -859,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -886,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -908,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -930,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -968,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -992,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -1059,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1080,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderF return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1107,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1128,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1144,48 +1014,36 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1193,8 +1051,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1212,13 +1068,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1227,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1246,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1261,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1280,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1313,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1323,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1342,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1357,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1368,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1376,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1385,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1397,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1406,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1415,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1427,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateInstanceRequest(); } @@ -1441,27 +1276,27 @@ public static com.google.cloud.alloydb.v1.CreateInstanceRequest getDefaultInstan 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; @@ -1476,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java index 000d71d10b0a..cef46e0d8c13 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java @@ -1,125 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,13 +94,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -161,14 +115,12 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -176,7 +128,6 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java index 9c6e69caa978..9f7b12a4424b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java @@ -1,157 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequests extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequests.class, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List createInstanceRequests_; /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index) { return createInstanceRequests_.get(index); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -177,9 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, createInstanceRequests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,16 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateInstanceRequests other = - (com.google.cloud.alloydb.v1.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1.CreateInstanceRequests other = (com.google.cloud.alloydb.v1.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) - return false; + if (!getCreateInstanceRequestsList() + .equals(other.getCreateInstanceRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,135 +177,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateInstanceRequests} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateInstanceRequests) com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequests.class, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateInstanceRequests.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -385,18 +338,14 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1.CreateInstanceRequests result = - new com.google.cloud.alloydb.v1.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1.CreateInstanceRequests result = new com.google.cloud.alloydb.v1.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.CreateInstanceRequests result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -416,39 +365,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequests re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequests) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequests)other); } else { super.mergeFrom(other); return this; @@ -456,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -476,10 +423,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequests othe createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCreateInstanceRequestsFieldBuilder() - : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCreateInstanceRequestsFieldBuilder() : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -511,27 +457,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -541,41 +485,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - createInstanceRequests_ = java.util.Collections.emptyList(); - + private java.util.List createInstanceRequests_ = + java.util.Collections.emptyList(); private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = - new java.util.ArrayList( - createInstanceRequests_); + createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, - com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> - createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -583,16 +515,12 @@ private void ensureCreateInstanceRequestsIsMutable() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -602,16 +530,12 @@ public int getCreateInstanceRequestsCount() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -621,16 +545,12 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceReques } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest value) { @@ -647,16 +567,12 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -670,19 +586,14 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addCreateInstanceRequests( - com.google.cloud.alloydb.v1.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -696,16 +607,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest value) { @@ -722,16 +629,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -745,16 +648,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -768,22 +667,19 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllCreateInstanceRequests( java.lang.Iterable values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -791,16 +687,12 @@ public Builder addAllCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -813,16 +705,12 @@ public Builder clearCreateInstanceRequests() { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -835,55 +723,42 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder - getCreateInstanceRequestsBuilder(int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( + int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); - } else { + return createInstanceRequests_.get(index); } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -891,68 +766,48 @@ public Builder removeCreateInstanceRequests(int index) { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder(int index) { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( + int index) { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, - com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, - com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -961,9 +816,9 @@ public Builder removeCreateInstanceRequests(int index) { } return createInstanceRequestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1.CreateInstanceRequests DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateInstanceRequests(); } @@ -987,27 +842,27 @@ public static com.google.cloud.alloydb.v1.CreateInstanceRequests getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..760acc212783 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface CreateInstanceRequestsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getCreateInstanceRequestsCount(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java index a54d6019c664..36208a010804 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -/** Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} */ -public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} + */ +public final class CreateSecondaryClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -37,41 +23,34 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -80,32 +59,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -114,18 +91,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -134,29 +107,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -167,15 +140,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -183,15 +152,11 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -199,14 +164,11 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -214,12 +176,9 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -237,7 +196,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -246,15 +204,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -272,15 +229,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -291,8 +249,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -300,7 +256,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -309,7 +264,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -353,13 +308,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -369,22 +326,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.cloud.alloydb.v1.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other = - (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -407,135 +368,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1.CreateSecondaryClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override @@ -574,11 +535,8 @@ public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest result = - new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -592,7 +550,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryClusterReq result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -606,39 +566,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryClusterReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -646,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -695,43 +653,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -741,28 +695,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -771,24 +720,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -796,41 +742,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -840,24 +775,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -867,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -889,21 +816,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -911,35 +837,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -949,21 +868,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -973,55 +888,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1037,16 +936,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1057,20 +954,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderFor return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1083,14 +977,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1103,14 +994,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1118,46 +1006,36 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1165,8 +1043,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1184,13 +1060,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1199,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1218,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1233,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1252,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1285,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1295,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1314,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1329,10 +1193,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1340,7 +1202,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1348,8 +1209,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1357,7 +1216,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1369,8 +1227,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1378,7 +1234,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1387,9 +1242,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,12 +1254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) private static final com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(); } @@ -1413,27 +1268,27 @@ public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,4 +1303,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java index 268b01419c32..3e59b06a5ca7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java @@ -1,125 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateSecondaryClusterRequestOrBuilder - extends +public interface CreateSecondaryClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,13 +94,10 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -161,14 +115,12 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -176,7 +128,6 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java index 9ce8b2ba482e..5709830dea11 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSecondaryInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -46,41 +27,34 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -143,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -176,15 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -192,47 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -250,7 +200,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -259,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -285,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -304,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -313,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -322,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -382,22 +330,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.cloud.alloydb.v1.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other = - (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) 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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -574,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override @@ -595,11 +543,8 @@ public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest result = - new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -613,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRe result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -627,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -667,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -716,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -762,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -792,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -817,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -861,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -888,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -910,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -932,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -970,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -994,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -1061,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1082,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderF return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1109,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1130,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1146,48 +1014,36 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1195,8 +1051,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1214,13 +1068,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1229,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1248,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1263,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1282,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1315,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1325,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1344,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1359,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1370,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1378,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1387,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1399,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1408,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1417,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1429,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) private static final com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(); } @@ -1443,27 +1276,27 @@ public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1478,4 +1311,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java index 6022078c5ac0..1aad188052a3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,125 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateSecondaryInstanceRequestOrBuilder - extends +public interface CreateSecondaryInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,13 +94,10 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -161,14 +115,12 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -176,7 +128,6 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java index cf9e8baabef2..0431bb8e4ca2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateUserRequest} */ -public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateUserRequest) CreateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -45,40 +27,33 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateUserRequest.class, - com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateUserRequest.class, com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int USER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ @java.lang.Override @@ -140,29 +109,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -173,14 +142,11 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.User user_; /** - * - * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the user field is set. */ @java.lang.Override @@ -188,14 +154,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The user. */ @java.lang.Override @@ -203,8 +166,6 @@ public com.google.cloud.alloydb.v1.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being created
    * 
@@ -217,12 +178,9 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -240,7 +198,6 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -249,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -275,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -294,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -311,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -323,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -355,13 +309,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -371,22 +327,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.cloud.alloydb.v1.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateUserRequest other = - (com.google.cloud.alloydb.v1.CreateUserRequest) obj; + com.google.cloud.alloydb.v1.CreateUserRequest other = (com.google.cloud.alloydb.v1.CreateUserRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getUserId().equals(other.getUserId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getUserId() + .equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; + if (!getUser() + .equals(other.getUser())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateUserRequest) com.google.cloud.alloydb.v1.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateUserRequest.class, - com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateUserRequest.class, com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -562,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override @@ -583,11 +540,8 @@ public com.google.cloud.alloydb.v1.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateUserRequest result = - new com.google.cloud.alloydb.v1.CreateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.CreateUserRequest result = new com.google.cloud.alloydb.v1.CreateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -601,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateUserRequest result) result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -615,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateUserRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -703,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -749,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -778,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -802,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -844,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -870,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -892,21 +816,20 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -914,35 +837,28 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -952,21 +868,17 @@ public Builder clearUserId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -976,35 +888,24 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1.User getUser() { @@ -1015,14 +916,11 @@ public com.google.cloud.alloydb.v1.User getUser() { } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { @@ -1038,16 +936,14 @@ public Builder setUser(com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1058,20 +954,17 @@ public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1084,14 +977,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1104,14 +994,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1119,44 +1006,36 @@ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1164,8 +1043,6 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1183,13 +1060,13 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1198,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1217,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1232,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1251,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1284,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1294,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1313,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1328,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1346,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1366,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1383,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1395,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateUserRequest) private static final com.google.cloud.alloydb.v1.CreateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateUserRequest(); } @@ -1409,27 +1265,27 @@ public static com.google.cloud.alloydb.v1.CreateUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1444,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java index 2f5fb8b2ccc1..f3f80f760b35 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateUserRequestOrBuilder - extends +public interface CreateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The user. */ com.google.cloud.alloydb.v1.User getUser(); /** - * - * *
    * Required. The resource being created
    * 
@@ -113,8 +75,6 @@ public interface CreateUserRequestOrBuilder com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -132,13 +92,10 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -156,21 +113,18 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java index e58efb871140..f02a09d9d8eb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1.DatabaseVersion} */ -public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * This is an unknown database version.
    * 
@@ -39,8 +21,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_VERSION_UNSPECIFIED(0), /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -50,8 +30,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated POSTGRES_13(1), /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -63,8 +41,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * This is an unknown database version.
    * 
@@ -73,8 +49,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -83,8 +57,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -93,6 +65,7 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_14_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,49 +90,49 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: - return DATABASE_VERSION_UNSPECIFIED; - case 1: - return POSTGRES_13; - case 2: - return POSTGRES_14; - default: - return null; + case 0: return DATABASE_VERSION_UNSPECIFIED; + case 1: return POSTGRES_13; + case 2: return POSTGRES_14; + 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 DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseVersion> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion 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; @@ -175,3 +148,4 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.DatabaseVersion) } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java index fb118f72e1b2..e47ba19d4054 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteBackupRequest.class, com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -199,15 +168,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -216,12 +182,9 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -229,7 +192,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -238,15 +200,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; } } /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -254,15 +215,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -271,7 +233,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -312,7 +274,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -325,18 +288,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.cloud.alloydb.v1.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteBackupRequest other = - (com.google.cloud.alloydb.v1.DeleteBackupRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1.DeleteBackupRequest other = (com.google.cloud.alloydb.v1.DeleteBackupRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -353,7 +319,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -361,136 +328,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest) com.google.cloud.alloydb.v1.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteBackupRequest.class, com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -503,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -524,11 +487,8 @@ public com.google.cloud.alloydb.v1.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteBackupRequest result = - new com.google.cloud.alloydb.v1.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.DeleteBackupRequest result = new com.google.cloud.alloydb.v1.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteBackupRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -639,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.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; @@ -709,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -734,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string 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() { @@ -778,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -805,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -824,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -839,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -873,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -892,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -925,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -935,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -954,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -969,17 +883,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -987,15 +898,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1007,15 +915,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1027,8 +932,6 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1036,13 +939,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,8 +954,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1060,14 +961,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1075,8 +977,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1084,22 +984,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1107,7 +1003,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1117,8 +1012,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1126,23 +1019,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteBackupRequest(); } @@ -1166,27 +1057,27 @@ public static com.google.cloud.alloydb.v1.DeleteBackupRequest getDefaultInstance 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; @@ -1201,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java index ad776c568e8d..0947d3af6bbe 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteBackupRequestOrBuilder - extends +public interface DeleteBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,28 +68,23 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -127,13 +92,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -141,8 +103,8 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java index bc9a96bbce51..b3e232ba5df6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteClusterRequest.class, com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -273,14 +235,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -289,7 +248,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -336,10 +295,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,19 +310,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.cloud.alloydb.v1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteClusterRequest other = - (com.google.cloud.alloydb.v1.DeleteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + com.google.cloud.alloydb.v1.DeleteClusterRequest other = (com.google.cloud.alloydb.v1.DeleteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,144 +345,142 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.DeleteClusterRequest) com.google.cloud.alloydb.v1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteClusterRequest.class, com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -552,11 +515,8 @@ public com.google.cloud.alloydb.v1.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteClusterRequest result = - new com.google.cloud.alloydb.v1.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.DeleteClusterRequest result = new com.google.cloud.alloydb.v1.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -584,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteClusterRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -624,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -673,43 +631,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -719,28 +671,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.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; @@ -749,24 +696,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -774,41 +718,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -818,24 +751,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -845,8 +772,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -864,13 +789,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -879,8 +804,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -898,14 +821,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -913,8 +837,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -932,22 +854,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -965,7 +883,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -975,8 +892,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -994,14 +909,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1011,8 +924,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1020,13 +931,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1035,8 +946,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1044,14 +953,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1059,8 +969,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1068,22 +976,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1091,7 +995,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1101,8 +1004,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1110,14 +1011,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1125,17 +1024,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1143,15 +1039,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1163,15 +1056,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1181,16 +1071,13 @@ public Builder clearValidateOnly() { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1198,14 +1085,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -1217,14 +1101,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -1233,9 +1114,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1245,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteClusterRequest(); } @@ -1259,27 +1140,27 @@ public static com.google.cloud.alloydb.v1.DeleteClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1294,4 +1175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java index 7ae5aa285dd0..48c59fced8c2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteClusterRequestOrBuilder - extends +public interface DeleteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,34 +92,28 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java index 497756d8db5b..c4978361251d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteInstanceRequest other = - (com.google.cloud.alloydb.v1.DeleteInstanceRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1.DeleteInstanceRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,142 +321,139 @@ 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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest) com.google.cloud.alloydb.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -503,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -524,11 +487,8 @@ public com.google.cloud.alloydb.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteInstanceRequest result = - new com.google.cloud.alloydb.v1.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteInstanceRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -639,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -709,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -734,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -778,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -805,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -824,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -839,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -873,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -892,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -925,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -935,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -954,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -971,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -980,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -995,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1004,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1019,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1028,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1051,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1061,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1070,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1085,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1103,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1123,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1140,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteInstanceRequest(); } @@ -1166,27 +1057,27 @@ public static com.google.cloud.alloydb.v1.DeleteInstanceRequest getDefaultInstan 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; @@ -1201,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java index fe198cb992f7..d8c3a03c4d70 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteInstanceRequestOrBuilder - extends +public interface DeleteInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -113,13 +81,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -127,21 +92,18 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java index 814364224246..26bb6a2c8da2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteUserRequest} */ -public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.DeleteUserRequest) DeleteUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteUserRequest.class, - com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteUserRequest.class, com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteUserRequest other = - (com.google.cloud.alloydb.v1.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1.DeleteUserRequest other = (com.google.cloud.alloydb.v1.DeleteUserRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,142 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.DeleteUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.DeleteUserRequest) com.google.cloud.alloydb.v1.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteUserRequest.class, - com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteUserRequest.class, com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.DeleteUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override @@ -458,11 +424,8 @@ public com.google.cloud.alloydb.v1.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteUserRequest result = - new com.google.cloud.alloydb.v1.DeleteUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.DeleteUserRequest result = new com.google.cloud.alloydb.v1.DeleteUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -484,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteUserRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteUserRequest)other); } else { super.mergeFrom(other); return this; @@ -564,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.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; @@ -628,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -653,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string 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() { @@ -697,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -724,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -743,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -758,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -777,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -792,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -811,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -854,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -873,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -888,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -906,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -926,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -943,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteUserRequest) private static final com.google.cloud.alloydb.v1.DeleteUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteUserRequest(); } @@ -969,27 +879,27 @@ public static com.google.cloud.alloydb.v1.DeleteUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1004,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java index ff78aa8d78bc..41218093d823 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteUserRequestOrBuilder - extends +public interface DeleteUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java index 19e04b39dca1..063bd003a8ad 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.EncryptionConfig.class,
-            com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1.EncryptionConfig.class, com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
-   *
-   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ @java.lang.Override @@ -86,15 +63,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -102,15 +78,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; - * * @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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.EncryptionConfig other = - (com.google.cloud.alloydb.v1.EncryptionConfig) obj; + com.google.cloud.alloydb.v1.EncryptionConfig other = (com.google.cloud.alloydb.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; } @@ -182,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.EncryptionConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.EncryptionConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -287,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig)
       com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.EncryptionConfig.class,
-              com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1.EncryptionConfig.class, com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.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();
@@ -322,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +316,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1.EncryptionConfig result =
-          new com.google.cloud.alloydb.v1.EncryptionConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.EncryptionConfig result = new com.google.cloud.alloydb.v1.EncryptionConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +333,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.EncryptionConfig result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1.EncryptionConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.EncryptionConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -435,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                kmsKeyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              kmsKeyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -457,13 +424,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -471,13 +435,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; - * * @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; @@ -486,8 +450,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -495,14 +457,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @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 { @@ -510,8 +473,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -519,22 +480,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 1; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -542,7 +499,6 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 1; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -552,8 +508,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -561,23 +515,21 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -587,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.EncryptionConfig) private static final com.google.cloud.alloydb.v1.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.EncryptionConfig(); } @@ -601,27 +553,27 @@ public static com.google.cloud.alloydb.v1.EncryptionConfig getDefaultInstance() 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; @@ -636,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java similarity index 56% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java index 2f37e28416ce..1c7437d1d420 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java index 9ecb078fbc88..06f67c342475 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java @@ -1,81 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.EncryptionInfo.class, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1.EncryptionInfo.class, com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); } /** - * - * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.EncryptionInfo.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -84,8 +63,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 will be populated. This is the default state.
@@ -95,8 +72,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.
      * KMS key versions will be populated.
@@ -109,8 +84,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -119,8 +92,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 will be populated. This is the default state.
@@ -130,8 +101,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.
      * KMS key versions will be populated.
@@ -141,6 +110,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(
@@ -165,49 +135,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<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.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;
@@ -227,93 +197,65 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); + @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1.EncryptionInfo.Type result = com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); return result == null ? com.google.cloud.alloydb.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { return kmsKeyVersions_; } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -321,26 +263,21 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -352,9 +289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -369,9 +306,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -389,16 +326,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.cloud.alloydb.v1.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.EncryptionInfo other = - (com.google.cloud.alloydb.v1.EncryptionInfo) obj; + com.google.cloud.alloydb.v1.EncryptionInfo other = (com.google.cloud.alloydb.v1.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList() + .equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -421,149 +358,146 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo) com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.EncryptionInfo.class, - com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1.EncryptionInfo.class, com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override @@ -582,11 +516,8 @@ public com.google.cloud.alloydb.v1.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1.EncryptionInfo result = - new com.google.cloud.alloydb.v1.EncryptionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.EncryptionInfo result = new com.google.cloud.alloydb.v1.EncryptionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -606,39 +537,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.EncryptionInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1.EncryptionInfo) other); + return mergeFrom((com.google.cloud.alloydb.v1.EncryptionInfo)other); } else { super.mergeFrom(other); return this; @@ -686,26 +616,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,38 +642,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -757,35 +672,24 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); + com.google.cloud.alloydb.v1.EncryptionInfo.Type result = com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); return result == null ? com.google.cloud.alloydb.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -799,16 +703,11 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1.EncryptionInfo.Type return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -820,7 +719,6 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -828,52 +726,38 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -881,43 +765,33 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -925,24 +799,18 @@ public Builder setKmsKeyVersions(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -950,67 +818,53 @@ public Builder addKmsKeyVersions(java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions(java.lang.Iterable values) { + public Builder addAllKmsKeyVersions( + java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -1018,9 +872,9 @@ public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.EncryptionInfo) private static final com.google.cloud.alloydb.v1.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.EncryptionInfo(); } @@ -1044,27 +898,27 @@ public static com.google.cloud.alloydb.v1.EncryptionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1079,4 +933,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..34734642ea39 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public interface EncryptionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType(); + + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return A list containing the kmsKeyVersions. + */ + java.util.List + getKmsKeyVersionsList(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java index 952af620710d..350898bf1193 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FailoverInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.FailoverInstanceRequest other = - (com.google.cloud.alloydb.v1.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1.FailoverInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,142 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.FailoverInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.FailoverInstanceRequest) com.google.cloud.alloydb.v1.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.FailoverInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -458,11 +424,8 @@ public com.google.cloud.alloydb.v1.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.FailoverInstanceRequest result = - new com.google.cloud.alloydb.v1.FailoverInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1.FailoverInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -484,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.FailoverInstanceRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.FailoverInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.FailoverInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -524,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -565,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -629,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -654,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -698,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -725,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -744,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -759,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -778,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -793,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -812,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -845,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -855,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -874,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -889,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -907,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -927,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -944,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1.FailoverInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.FailoverInstanceRequest(); } @@ -970,27 +879,27 @@ public static com.google.cloud.alloydb.v1.FailoverInstanceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java index bd3f63286a61..2065fa58b27e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface FailoverInstanceRequestOrBuilder - extends +public interface FailoverInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java index a6eae5037949..6fa3484bc85c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateClientCertificateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -47,41 +28,34 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class,
-            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -156,15 +124,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -182,15 +149,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -201,8 +169,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -211,9 +177,7 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ @java.lang.Override @@ -221,8 +185,6 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -231,20 +193,14 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -253,29 +209,22 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ @java.lang.Override @@ -284,29 +233,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -314,8 +263,24 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } - private byte memoizedIsInitialized = -1; + public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; + private boolean useMetadataExchange_ = false; + /** + *
+   * Optional. An optional hint to the endpoint to generate a client
+   * ceritificate that can be used by AlloyDB connectors to exchange additional
+   * metadata with the server after TLS handshake.
+   * 
+ * + * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The useMetadataExchange. + */ + @java.lang.Override + public boolean getUseMetadataExchange() { + return useMetadataExchange_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -327,7 +292,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -340,6 +306,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, publicKey_); } + if (useMetadataExchange_ != false) { + output.writeBool(6, useMetadataExchange_); + } getUnknownFields().writeTo(output); } @@ -356,11 +325,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } + if (useMetadataExchange_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, useMetadataExchange_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -369,21 +343,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.cloud.alloydb.v1.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other = - (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration().equals(other.getCertDuration())) return false; + if (!getCertDuration() + .equals(other.getCertDuration())) return false; } - if (!getPublicKey().equals(other.getPublicKey())) return false; + if (!getPublicKey() + .equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() + != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -405,110 +384,107 @@ public int hashCode() { } hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); + hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -516,32 +492,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class,
-              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -554,18 +531,18 @@ public Builder clear() {
         certDurationBuilder_ = null;
       }
       publicKey_ = "";
+      useMetadataExchange_ = false;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -580,17 +557,13 @@ public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result =
-          new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result) {
+    private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -599,51 +572,54 @@ private void buildPartial0(
         result.requestId_ = requestId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.certDuration_ =
-            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
+        result.certDuration_ = certDurationBuilder_ == null
+            ? certDuration_
+            : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.publicKey_ = publicKey_;
       }
+      if (((from_bitField0_ & 0x00000010) != 0)) {
+        result.useMetadataExchange_ = useMetadataExchange_;
+      }
     }
 
     @java.lang.Override
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -651,9 +627,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other) {
-      if (other
-          == com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -672,6 +646,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.GenerateClientCertificateRe
         bitField0_ |= 0x00000008;
         onChanged();
       }
+      if (other.getUseMetadataExchange() != false) {
+        setUseMetadataExchange(other.getUseMetadataExchange());
+      }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -698,37 +675,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            case 42:
-              {
-                publicKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getCertDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            case 42: {
+              publicKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 42
+            case 48: {
+              useMetadataExchange_ = input.readBool();
+              bitField0_ |= 0x00000010;
+              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) {
@@ -738,28 +717,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -768,24 +742,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -793,41 +764,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -837,24 +797,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -864,8 +818,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -883,13 +835,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -898,8 +850,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -917,14 +867,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -932,8 +883,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -951,22 +900,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -984,7 +929,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -994,8 +938,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1013,14 +955,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1030,13 +970,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - certDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1045,17 +980,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1064,23 +995,17 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1089,8 +1014,7 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1106,8 +1030,6 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1116,10 +1038,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1130,8 +1052,6 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1140,14 +1060,13 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && certDuration_ != null - && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + certDuration_ != null && + certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1160,8 +1079,6 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1170,8 +1087,7 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1184,8 +1100,6 @@ public Builder clearCertDuration() { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1194,8 +1108,7 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000004; @@ -1203,8 +1116,6 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1213,21 +1124,17 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1236,21 +1143,17 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getCertDuration(), getParentForChildren(), isClean()); + certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getCertDuration(), + getParentForChildren(), + isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1258,20 +1161,18 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1280,21 +1181,20 @@ public java.lang.String getPublicKey() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1302,35 +1202,28 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKey_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1340,21 +1233,17 @@ public Builder clearPublicKey() { return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000008; @@ -1362,8 +1251,58 @@ public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { return this; } + private boolean useMetadataExchange_ ; + /** + *
+     * Optional. An optional hint to the endpoint to generate a client
+     * ceritificate that can be used by AlloyDB connectors to exchange additional
+     * metadata with the server after TLS handshake.
+     * 
+ * + * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The useMetadataExchange. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public boolean getUseMetadataExchange() { + return useMetadataExchange_; + } + /** + *
+     * Optional. An optional hint to the endpoint to generate a client
+     * ceritificate that can be used by AlloyDB connectors to exchange additional
+     * metadata with the server after TLS handshake.
+     * 
+ * + * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The useMetadataExchange to set. + * @return This builder for chaining. + */ + public Builder setUseMetadataExchange(boolean value) { + + useMetadataExchange_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. An optional hint to the endpoint to generate a client
+     * ceritificate that can be used by AlloyDB connectors to exchange additional
+     * metadata with the server after TLS handshake.
+     * 
+ * + * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearUseMetadataExchange() { + bitField0_ = (bitField0_ & ~0x00000010); + useMetadataExchange_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,13 +1312,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1.GenerateClientCertificateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.GenerateClientCertificateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(); } @@ -1388,27 +1326,27 @@ public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1361,6 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java index 3762eb492b68..fbb1731a7104 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GenerateClientCertificateRequestOrBuilder - extends +public interface GenerateClientCertificateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -114,15 +82,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -131,15 +95,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -148,33 +108,39 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ java.lang.String getPublicKey(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString getPublicKeyBytes(); + com.google.protobuf.ByteString + getPublicKeyBytes(); + + /** + *
+   * Optional. An optional hint to the endpoint to generate a client
+   * ceritificate that can be used by AlloyDB connectors to exchange additional
+   * metadata with the server after TLS handshake.
+   * 
+ * + * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The useMetadataExchange. + */ + boolean getUseMetadataExchange(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java index 2599a16789d0..035c792274e1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java @@ -1,117 +1,86 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateClientCertificateResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateClientCertificateResponse() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { return pemCertificateChain_; } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -119,36 +88,29 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ @java.lang.Override @@ -157,29 +119,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -188,7 +150,6 @@ public com.google.protobuf.ByteString getCaCertBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < pemCertificateChain_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pemCertificateChain_.getRaw(i)); } @@ -235,16 +197,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.cloud.alloydb.v1.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other = - (com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) obj; - if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; - if (!getCaCert().equals(other.getCaCert())) return false; + if (!getPemCertificateChainList() + .equals(other.getPemCertificateChainList())) return false; + if (!getCaCert() + .equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,154 +231,149 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance(); } @@ -430,17 +388,13 @@ public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result = - new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { pemCertificateChain_.makeImmutable(); @@ -455,39 +409,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateResponse)other); } else { super.mergeFrom(other); return this; @@ -495,9 +448,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other) { - if (other - == com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance()) return this; if (!other.pemCertificateChain_.isEmpty()) { if (pemCertificateChain_.isEmpty()) { pemCertificateChain_ = other.pemCertificateChain_; @@ -539,26 +490,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: - { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,12 +516,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -581,49 +527,38 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -631,41 +566,33 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateChain( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000001; @@ -673,23 +600,18 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000001; @@ -697,64 +619,53 @@ public Builder addPemCertificateChain(java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain(java.lang.Iterable values) { + public Builder addAllPemCertificateChain( + java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pemCertificateChain_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -765,20 +676,18 @@ public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) private java.lang.Object caCert_ = ""; /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -787,21 +696,20 @@ public java.lang.String getCaCert() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -809,35 +717,28 @@ public com.google.protobuf.ByteString getCaCertBytes() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCert( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } caCert_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -847,30 +748,26 @@ public Builder clearCaCert() { return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCertBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -880,13 +777,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1.GenerateClientCertificateResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.GenerateClientCertificateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(); } @@ -895,27 +791,27 @@ public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,4 +826,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java index 73d18b1923e6..0fa68065c2a3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java @@ -1,109 +1,74 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GenerateClientCertificateResponseOrBuilder - extends +public interface GenerateClientCertificateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - java.util.List getPemCertificateChainList(); + java.util.List + getPemCertificateChainList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString + getPemCertificateChainBytes(int index); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ java.lang.String getCaCert(); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - com.google.protobuf.ByteString getCaCertBytes(); + com.google.protobuf.ByteString + getCaCertBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java similarity index 61% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java index 6d0aee031ce0..d88f6a87be2e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java @@ -1,82 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetBackupRequest.class, - com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.GetBackupRequest.class, com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 1 [(.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 @@ -85,31 +60,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. Name of the resource
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -118,7 +91,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -154,15 +127,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.cloud.alloydb.v1.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetBackupRequest other = - (com.google.cloud.alloydb.v1.GetBackupRequest) obj; + com.google.cloud.alloydb.v1.GetBackupRequest other = (com.google.cloud.alloydb.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; } @@ -181,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest) com.google.cloud.alloydb.v1.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetBackupRequest.class, - com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.GetBackupRequest.class, com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -320,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override @@ -341,11 +310,8 @@ public com.google.cloud.alloydb.v1.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.GetBackupRequest result = - new com.google.cloud.alloydb.v1.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GetBackupRequest result = new com.google.cloud.alloydb.v1.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +327,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetBackupRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -433,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,27 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.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,23 +442,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -508,39 +463,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -550,32 +494,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetBackupRequest) private static final com.google.cloud.alloydb.v1.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetBackupRequest(); } @@ -599,27 +537,27 @@ public static com.google.cloud.alloydb.v1.GetBackupRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..a6f5c206ea61 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the resource
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the resource
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java index 0bd7dc41e4ae..63b3eb4244b8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetClusterRequest.class, - com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.GetClusterRequest.class, com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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,44 +96,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.ClusterView getView() { - com.google.cloud.alloydb.v1.ClusterView result = - com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1.ClusterView getView() { + com.google.cloud.alloydb.v1.ClusterView result = com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -192,7 +154,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,15 +165,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.cloud.alloydb.v1.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetClusterRequest other = - (com.google.cloud.alloydb.v1.GetClusterRequest) obj; + com.google.cloud.alloydb.v1.GetClusterRequest other = (com.google.cloud.alloydb.v1.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -232,136 +195,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetClusterRequest) com.google.cloud.alloydb.v1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetClusterRequest.class, - com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.GetClusterRequest.class, com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override @@ -393,11 +352,8 @@ public com.google.cloud.alloydb.v1.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.GetClusterRequest result = - new com.google.cloud.alloydb.v1.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GetClusterRequest result = new com.google.cloud.alloydb.v1.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -416,39 +372,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetClusterRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -491,25 +446,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -519,28 +471,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.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; @@ -549,24 +496,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -574,41 +518,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -618,24 +551,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -645,35 +572,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -684,37 +600,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterView getView() { - com.google.cloud.alloydb.v1.ClusterView result = - com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1.ClusterView result = com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.ClusterView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -728,17 +633,12 @@ public Builder setView(com.google.cloud.alloydb.v1.ClusterView value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -747,9 +647,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +659,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetClusterRequest) private static final com.google.cloud.alloydb.v1.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetClusterRequest(); } @@ -773,27 +673,27 @@ public static com.google.cloud.alloydb.v1.GetClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -808,4 +708,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java similarity index 52% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java index 6bd6d01b8949..f8c20cc1956c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java @@ -1,84 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetClusterRequestOrBuilder - extends +public interface GetClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.alloydb.v1.ClusterView getView(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java index ff199f3c84e1..f5e273c66135 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectionInfoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -196,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetConnectionInfoRequest other = - (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,135 +239,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetConnectionInfoRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetConnectionInfoRequest) com.google.cloud.alloydb.v1.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetConnectionInfoRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -429,11 +395,8 @@ public com.google.cloud.alloydb.v1.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1.GetConnectionInfoRequest result = - new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -452,39 +415,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetConnectionInfoRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetConnectionInfoRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.GetConnectionInfoRequest)other); } else { super.mergeFrom(other); return this; @@ -492,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -530,25 +491,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,28 +516,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.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; @@ -588,24 +541,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.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,41 +563,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string 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() { @@ -657,24 +596,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,8 +617,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -703,13 +634,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -718,8 +649,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -737,14 +666,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -752,8 +682,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -771,22 +699,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -804,7 +728,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -814,8 +737,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -833,23 +754,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -859,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1.GetConnectionInfoRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(); } @@ -873,27 +792,27 @@ public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java index 4746efd2f69d..192bee19127a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetConnectionInfoRequestOrBuilder - extends +public interface GetConnectionInfoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,8 +68,8 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java index 94cf4488eb2c..484c174cc575 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetInstanceRequest.class, - com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.GetInstanceRequest.class, com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,40 +96,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.InstanceView getView() { - com.google.cloud.alloydb.v1.InstanceView result = - com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1.InstanceView getView() { + com.google.cloud.alloydb.v1.InstanceView result = com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -188,7 +152,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -198,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetInstanceRequest other = - (com.google.cloud.alloydb.v1.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1.GetInstanceRequest other = (com.google.cloud.alloydb.v1.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -228,136 +193,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetInstanceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetInstanceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest) com.google.cloud.alloydb.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetInstanceRequest.class, - com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.GetInstanceRequest.class, com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -368,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -389,11 +350,8 @@ public com.google.cloud.alloydb.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.GetInstanceRequest result = - new com.google.cloud.alloydb.v1.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GetInstanceRequest result = new com.google.cloud.alloydb.v1.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -412,39 +370,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetInstanceRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -487,25 +444,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,28 +469,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -545,24 +494,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -570,41 +516,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -614,24 +549,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -641,29 +570,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -674,31 +596,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceView getView() { - com.google.cloud.alloydb.v1.InstanceView result = - com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1.InstanceView result = com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.InstanceView.UNRECOGNIZED : result; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -712,14 +627,11 @@ public Builder setView(com.google.cloud.alloydb.v1.InstanceView value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -728,9 +640,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -740,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetInstanceRequest) private static final com.google.cloud.alloydb.v1.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetInstanceRequest(); } @@ -754,27 +666,27 @@ public static com.google.cloud.alloydb.v1.GetInstanceRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -789,4 +701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java similarity index 52% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java index 147f8cb943dd..932b8add83ae 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java @@ -1,80 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetInstanceRequestOrBuilder - extends +public interface GetInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; - * * @return The view. */ com.google.cloud.alloydb.v1.InstanceView getView(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java index fa8c838000e2..144d18186fb5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetUserRequest} */ -public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetUserRequest) GetUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetUserRequest.class, - com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1.GetUserRequest.class, com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetUserRequest other = - (com.google.cloud.alloydb.v1.GetUserRequest) obj; + com.google.cloud.alloydb.v1.GetUserRequest other = (com.google.cloud.alloydb.v1.GetUserRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetUserRequest) com.google.cloud.alloydb.v1.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetUserRequest.class, - com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1.GetUserRequest.class, com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.alloydb.v1.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1.GetUserRequest result = - new com.google.cloud.alloydb.v1.GetUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.GetUserRequest result = new com.google.cloud.alloydb.v1.GetUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetUserRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.GetUserRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetUserRequest) private static final com.google.cloud.alloydb.v1.GetUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetUserRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.alloydb.v1.GetUserRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..7e996c8b755b --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface GetUserRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java index ba3074460d5c..5785a0fe248d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.InjectFaultRequest} */ -public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InjectFaultRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.InjectFaultRequest) InjectFaultRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -45,28 +27,25 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.InjectFaultRequest.class, - com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1.InjectFaultRequest.class, com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); } /** - * - * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -74,10 +53,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.InjectFaultRequest.FaultType}
    */
-  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The fault type is unknown.
      * 
@@ -86,8 +64,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ FAULT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Stop the VM
      * 
@@ -99,8 +75,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The fault type is unknown.
      * 
@@ -109,8 +83,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Stop the VM
      * 
@@ -119,6 +91,7 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOP_VM_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,47 +116,48 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: - return FAULT_TYPE_UNSPECIFIED; - case 1: - return STOP_VM; - default: - return null; + case 0: return FAULT_TYPE_UNSPECIFIED; + case 1: return STOP_VM; + 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 FaultType findValueByNumber(int number) { - return FaultType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + FaultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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,60 +177,39 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -265,32 +218,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -299,12 +250,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -322,7 +270,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -331,15 +278,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -357,15 +303,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -376,8 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -385,7 +330,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -394,7 +338,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,10 +349,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (faultType_ - != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (faultType_ != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -430,10 +372,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ - != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); + if (faultType_ != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -442,7 +383,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -452,18 +394,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.cloud.alloydb.v1.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.InjectFaultRequest other = - (com.google.cloud.alloydb.v1.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1.InjectFaultRequest other = (com.google.cloud.alloydb.v1.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -482,142 +426,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.InjectFaultRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.InjectFaultRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.InjectFaultRequest) com.google.cloud.alloydb.v1.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.InjectFaultRequest.class, - com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1.InjectFaultRequest.class, com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.InjectFaultRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -630,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override @@ -651,11 +592,8 @@ public com.google.cloud.alloydb.v1.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1.InjectFaultRequest result = - new com.google.cloud.alloydb.v1.InjectFaultRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.InjectFaultRequest result = new com.google.cloud.alloydb.v1.InjectFaultRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -680,39 +618,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.InjectFaultRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.InjectFaultRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.InjectFaultRequest)other); } else { super.mergeFrom(other); return this; @@ -763,37 +700,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -803,38 +735,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int faultType_ = 0; /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -845,37 +765,24 @@ public Builder setFaultTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The faultType to set. * @return This builder for chaining. */ @@ -889,16 +796,11 @@ public Builder setFaultType(com.google.cloud.alloydb.v1.InjectFaultRequest.Fault return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFaultType() { @@ -910,23 +812,19 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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; @@ -935,24 +833,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -960,41 +855,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1004,24 +888,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1031,8 +909,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +926,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,8 +941,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1084,14 +958,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1099,8 +974,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1118,22 +991,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1151,7 +1020,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1161,8 +1029,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,14 +1046,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1195,10 +1059,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1206,7 +1068,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1214,8 +1075,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1223,7 +1082,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,8 +1093,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1244,7 +1100,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1253,9 +1108,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.InjectFaultRequest) private static final com.google.cloud.alloydb.v1.InjectFaultRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.InjectFaultRequest(); } @@ -1279,27 +1134,27 @@ public static com.google.cloud.alloydb.v1.InjectFaultRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,4 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java index f5fbcafa828e..8a39b031e1e6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java @@ -1,91 +1,54 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface InjectFaultRequestOrBuilder - extends +public interface InjectFaultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -103,13 +66,10 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -127,14 +87,12 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -142,7 +100,6 @@ public interface InjectFaultRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java index a2453b0154d8..8eab7dfbf6a6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = "";
     displayName_ = "";
@@ -53,18 +35,20 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_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();
@@ -73,33 +57,28 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.Instance.class,
-            com.google.cloud.alloydb.v1.Instance.Builder.class);
+            com.google.cloud.alloydb.v1.Instance.class, com.google.cloud.alloydb.v1.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -108,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance is active and running.
      * 
@@ -118,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -128,8 +103,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPED(2), /** - * - * *
      * The instance is being created.
      * 
@@ -138,8 +111,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ MAINTENANCE(5), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -171,8 +138,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(6),
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -184,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(8),
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -197,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -207,8 +168,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance is active and running.
      * 
@@ -217,8 +176,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -227,8 +184,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -237,8 +192,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -247,8 +200,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -257,8 +208,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAINTENANCE_VALUE = 5; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -270,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 6;
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -283,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -293,6 +238,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -317,61 +263,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return CREATING; - case 4: - return DELETING; - case 5: - return MAINTENANCE; - case 6: - return FAILED; - case 8: - return BOOTSTRAPPING; - case 9: - return PROMOTING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return CREATING; + case 4: return DELETING; + case 5: return MAINTENANCE; + case 6: return FAILED; + case 8: return BOOTSTRAPPING; + case 9: return PROMOTING; + 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.cloud.alloydb.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; @@ -389,18 +329,15 @@ private State(int value) { } /** - * - * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Instance.InstanceType} */ - public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unknown.
      * 
@@ -409,8 +346,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -419,8 +354,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -433,8 +366,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_POOL(2),
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -447,8 +378,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unknown.
      * 
@@ -457,8 +386,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -467,8 +394,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -481,8 +406,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_POOL_VALUE = 2;
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -492,6 +415,7 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -516,51 +440,50 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0:
-          return INSTANCE_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return READ_POOL;
-        case 3:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return INSTANCE_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return READ_POOL;
+        case 3: return SECONDARY;
+        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<
+        InstanceType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public InstanceType findValueByNumber(int number) {
+              return InstanceType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceType findValueByNumber(int number) {
-            return InstanceType.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.cloud.alloydb.v1.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -578,8 +501,6 @@ private InstanceType(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -591,10 +512,9 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.Instance.AvailabilityType}
    */
-  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown Availability type.
      * 
@@ -603,8 +523,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Zonal available instance.
      * 
@@ -613,8 +531,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ ZONAL(1), /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -626,8 +542,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * This is an unknown Availability type.
      * 
@@ -636,8 +550,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Zonal available instance.
      * 
@@ -646,8 +558,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ZONAL_VALUE = 1; /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -656,6 +566,7 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int REGIONAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,42 +591,39 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: - return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: - return ZONAL; - case 2: - return REGIONAL; - default: - return null; + case 0: return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: return ZONAL; + case 2: return REGIONAL; + 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< + AvailabilityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AvailabilityType findValueByNumber(int number) { + return AvailabilityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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.cloud.alloydb.v1.Instance.getDescriptor().getEnumTypes().get(2); } @@ -724,7 +632,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AvailabilityType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -741,77 +650,67 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder - extends + public interface MachineConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ int getCpuCount(); } /** - * - * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.MachineConfig} */ - public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MachineConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MachineConfig() {} + private MachineConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.MachineConfig.class, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -820,7 +719,6 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -832,7 +730,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -846,7 +745,8 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -856,15 +756,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.cloud.alloydb.v1.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.MachineConfig other = - (com.google.cloud.alloydb.v1.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1.Instance.MachineConfig other = (com.google.cloud.alloydb.v1.Instance.MachineConfig) obj; - if (getCpuCount() != other.getCpuCount()) return false; + if (getCpuCount() + != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -884,93 +784,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -980,41 +876,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.MachineConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.MachineConfig) com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.MachineConfig.class, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.MachineConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1024,9 +918,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -1045,11 +939,8 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.MachineConfig result = - new com.google.cloud.alloydb.v1.Instance.MachineConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.Instance.MachineConfig result = new com.google.cloud.alloydb.v1.Instance.MachineConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1065,41 +956,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.MachineConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.MachineConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.MachineConfig)other); } else { super.mergeFrom(other); return this; @@ -1107,8 +995,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1138,19 +1025,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1160,19 +1045,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuCount_; + private int cpuCount_ ; /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -1180,14 +1061,11 @@ public int getCpuCount() { return cpuCount_; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1199,14 +1077,11 @@ public Builder setCpuCount(int value) { return this; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1215,7 +1090,6 @@ public Builder clearCpuCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1228,12 +1102,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1.Instance.MachineConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.MachineConfig(); } @@ -1242,28 +1116,27 @@ public static com.google.cloud.alloydb.v1.Instance.MachineConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,91 +1151,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NodeOrBuilder - extends + public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.Node) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ java.lang.String getIp(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ - com.google.protobuf.ByteString getIpBytes(); + com.google.protobuf.ByteString + getIpBytes(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1371,13 +1227,10 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The state. */ java.lang.String getState(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1386,14 +1239,12 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); } /** - * - * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1402,16 +1253,15 @@ public interface NodeOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Instance.Node}
    */
-  public static final class Node extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Node extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.Node)
       NodeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1421,38 +1271,33 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Instance.Node.class,
-              com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1.Instance.Node.class, com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -1461,29 +1306,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1492,18 +1337,14 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -1512,29 +1353,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1543,18 +1384,14 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int IP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ @java.lang.Override @@ -1563,29 +1400,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -1594,12 +1431,9 @@ public com.google.protobuf.ByteString getIpBytes() { } public static final int STATE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1608,7 +1442,6 @@ public com.google.protobuf.ByteString getIpBytes() {
      * 
* * string state = 4; - * * @return The state. */ @java.lang.Override @@ -1617,15 +1450,14 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1634,15 +1466,16 @@ public java.lang.String getState() {
      * 
* * string state = 4; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -1651,7 +1484,6 @@ public com.google.protobuf.ByteString getStateBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1663,7 +1495,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1705,18 +1538,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.cloud.alloydb.v1.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.Node other = - (com.google.cloud.alloydb.v1.Instance.Node) obj; + com.google.cloud.alloydb.v1.Instance.Node other = (com.google.cloud.alloydb.v1.Instance.Node) obj; - if (!getZoneId().equals(other.getZoneId())) return false; - if (!getId().equals(other.getId())) return false; - if (!getIp().equals(other.getIp())) return false; - if (!getState().equals(other.getState())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getIp() + .equals(other.getIp())) return false; + if (!getState() + .equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1741,94 +1577,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1838,8 +1670,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1848,33 +1678,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Instance.Node}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.Node)
         com.google.cloud.alloydb.v1.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Instance.Node.class,
-                com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1.Instance.Node.class, com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Instance.Node.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1887,9 +1717,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1908,11 +1738,8 @@ public com.google.cloud.alloydb.v1.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1.Instance.Node result =
-            new com.google.cloud.alloydb.v1.Instance.Node(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1.Instance.Node result = new com.google.cloud.alloydb.v1.Instance.Node(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1937,41 +1764,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.Node result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Instance.Node) other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Instance.Node)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2026,37 +1850,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  zoneId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  id_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  ip_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  state_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                zoneId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                ip_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                state_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2066,25 +1885,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
-       *
-       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -2093,21 +1909,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -2115,35 +1930,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -2153,21 +1961,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -2177,20 +1981,18 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2199,21 +2001,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -2221,35 +2022,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -2259,21 +2053,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2283,20 +2073,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object ip_ = ""; /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2305,21 +2093,20 @@ public java.lang.String getIp() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The bytes for ip. */ - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -2327,35 +2114,28 @@ public com.google.protobuf.ByteString getIpBytes() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return This builder for chaining. */ public Builder clearIp() { @@ -2365,21 +2145,17 @@ public Builder clearIp() { return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2389,8 +2165,6 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object state_ = ""; /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2399,13 +2173,13 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) {
        * 
* * string state = 4; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2414,8 +2188,6 @@ public java.lang.String getState() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2424,14 +2196,15 @@ public java.lang.String getState() {
        * 
* * string state = 4; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -2439,8 +2212,6 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2449,22 +2220,18 @@ public com.google.protobuf.ByteString getStateBytes() {
        * 
* * string state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setState( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2473,7 +2240,6 @@ public Builder setState(java.lang.String value) {
        * 
* * string state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2483,8 +2249,6 @@ public Builder clearState() { return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2493,21 +2257,18 @@ public Builder clearState() {
        * 
* * string state = 4; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2520,12 +2281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.Node) private static final com.google.cloud.alloydb.v1.Instance.Node DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.Node(); } @@ -2534,28 +2295,27 @@ public static com.google.cloud.alloydb.v1.Instance.Node getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2570,84 +2330,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QueryInsightsInstanceConfigOrBuilder - extends + public interface QueryInsightsInstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ int getQueryStringLength(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2655,13 +2398,10 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2669,67 +2409,59 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** - * - * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryInsightsInstanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueryInsightsInstanceConfig() {} + private QueryInsightsInstanceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2737,15 +2469,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -2756,15 +2485,12 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2772,15 +2498,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -2791,15 +2514,12 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -2810,8 +2530,6 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2819,7 +2537,6 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2827,8 +2544,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2836,7 +2551,6 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2845,7 +2559,6 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2857,7 +2570,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2880,16 +2594,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2899,26 +2617,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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other = - (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() + != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() + != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() != other.getQueryStringLength()) return false; + if (getQueryStringLength() + != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() + != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2933,11 +2654,13 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2951,95 +2674,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - 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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3049,42 +2766,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.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(); @@ -3097,16 +2811,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - .getDefaultInstance(); + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); } @java.lang.Override @@ -3120,17 +2832,13 @@ public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig build() @java.lang.Override public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result = - new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -3155,53 +2863,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) { - return mergeFrom( - (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other) { - if (other - == com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other) { + if (other == com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -3240,37 +2941,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: - { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -3280,20 +2976,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean recordApplicationTags_; + private boolean recordApplicationTags_ ; /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -3301,15 +2993,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -3317,15 +3006,12 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3337,15 +3023,12 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3355,17 +3038,14 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_; + private boolean recordClientAddress_ ; /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3373,15 +3053,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -3389,15 +3066,12 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3409,15 +3083,12 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3427,17 +3098,14 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_; + private int queryStringLength_ ; /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -3445,15 +3113,12 @@ public int getQueryStringLength() { return queryStringLength_; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3465,15 +3130,12 @@ public Builder setQueryStringLength(int value) { return this; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3483,10 +3145,8 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_; + private int queryPlansPerMinute_ ; /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3494,7 +3154,6 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3502,8 +3161,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3511,7 +3168,6 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3519,8 +3175,6 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3528,7 +3182,6 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3540,8 +3193,6 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3549,7 +3200,6 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3558,7 +3208,6 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3571,44 +3220,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3620,83 +3266,73 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadPoolConfigOrBuilder - extends + public interface ReadPoolConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ int getNodeCount(); } /** - * - * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadPoolConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadPoolConfig() {} + private ReadPoolConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -3705,7 +3341,6 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3717,7 +3352,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3731,7 +3367,8 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3741,15 +3378,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.cloud.alloydb.v1.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other = - (com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) obj; - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3769,94 +3406,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3866,41 +3498,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ReadPoolConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3910,9 +3540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3931,11 +3561,8 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig result = - new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3951,41 +3578,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.ReadPoolConfig)other); } else { super.mergeFrom(other); return this; @@ -3993,8 +3617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -4024,19 +3647,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4046,19 +3667,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -4066,14 +3683,11 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -4085,14 +3699,11 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -4101,7 +3712,6 @@ public Builder clearNodeCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4114,12 +3724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1.Instance.ReadPoolConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(); } @@ -4128,28 +3738,27 @@ public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4164,122 +3773,99 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClientConnectionConfigOrBuilder - extends + public interface ClientConnectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ boolean getRequireConnectors(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ com.google.cloud.alloydb.v1.SslConfig getSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); } /** - * - * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClientConnectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClientConnectionConfig() {} + private ClientConnectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -4290,16 +3876,11 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.SslConfig sslConfig_; /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -4307,44 +3888,30 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4356,7 +3923,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -4373,10 +3941,12 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4386,18 +3956,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.cloud.alloydb.v1.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other = - (com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() != other.getRequireConnectors()) return false; + if (getRequireConnectors() + != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4411,7 +3982,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -4422,94 +3994,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4519,41 +4086,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ClientConnectionConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4568,14 +4133,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance(); } @@ -4590,23 +4154,21 @@ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result = - new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null + ? sslConfig_ + : sslConfigBuilder_.build(); } } @@ -4614,41 +4176,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig)other); } else { super.mergeFrom(other); return this; @@ -4656,9 +4215,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other) { - if (other - == com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -4691,25 +4248,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSslConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4719,20 +4275,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean requireConnectors_; + private boolean requireConnectors_ ; /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -4740,15 +4292,12 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -4760,15 +4309,12 @@ public Builder setRequireConnectors(boolean value) { return this; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -4780,58 +4326,39 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, - com.google.cloud.alloydb.v1.SslConfig.Builder, - com.google.cloud.alloydb.v1.SslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -4847,17 +4374,14 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { + public Builder setSslConfig( + com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -4868,21 +4392,17 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builde return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -4895,15 +4415,11 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4916,15 +4432,11 @@ public Builder clearSslConfig() { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -4932,53 +4444,40 @@ public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, - com.google.cloud.alloydb.v1.SslConfig.Builder, - com.google.cloud.alloydb.v1.SslConfigOrBuilder> + com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, - com.google.cloud.alloydb.v1.SslConfig.Builder, - com.google.cloud.alloydb.v1.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4991,13 +4490,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(); } @@ -5006,28 +4504,27 @@ public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5042,15 +4539,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5064,7 +4559,6 @@ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultIns
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -5073,15 +4567,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5095,15 +4588,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -5112,18 +4606,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -5132,29 +4622,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; } } /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -5163,19 +4653,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -5184,30 +4670,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -5218,15 +4704,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5234,15 +4716,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5250,14 +4728,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -5267,31 +4742,23 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override public boolean hasUpdateTime() { return updateTime_ != null; } - /** - * - * + /** *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -5299,14 +4766,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -5316,15 +4780,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -5332,15 +4792,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -5348,14 +4804,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -5363,34 +4816,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -5398,21 +4849,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -5424,8 +4874,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -5433,19 +4881,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -5453,11 +4899,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5467,93 +4913,64 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.State getState() { - com.google.cloud.alloydb.v1.Instance.State result = - com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1.Instance.State getState() { + com.google.cloud.alloydb.v1.Instance.State result = com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1.Instance.InstanceType result = - com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); + @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1.Instance.MachineConfig machineConfig_; /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -5561,26 +4978,19 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -5590,16 +5000,12 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
-    return machineConfig_ == null
-        ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()
-        : machineConfig_;
+    return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5610,16 +5016,12 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5630,25 +5032,17 @@ public int getAvailabilityTypeValue() {
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1.Instance.AvailabilityType result = com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5659,7 +5053,6 @@ public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ @java.lang.Override @@ -5668,15 +5061,14 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5687,15 +5079,16 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -5704,36 +5097,32 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; - private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5754,21 +5143,20 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsDatabaseFlags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5793,8 +5181,6 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5815,19 +5201,17 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5848,11 +5232,11 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5862,17 +5246,12 @@ public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1.Instance.Node writableNode_;
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ @java.lang.Override @@ -5880,142 +5259,105 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.Node getWritableNode() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private java.util.List nodes_; /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -6023,52 +5365,38 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1.Instance.ReadPoolConfig readPoolConfig_; /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -6076,52 +5404,41 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } public static final int IP_ADDRESS_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -6130,30 +5447,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -6164,8 +5481,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -6175,7 +5490,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -6184,18 +5498,14 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ @java.lang.Override @@ -6204,29 +5514,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @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 { @@ -6235,35 +5545,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6273,21 +5580,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6301,8 +5607,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6312,19 +5616,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6334,11 +5636,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6348,16 +5650,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -6365,45 +5662,30 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6415,7 +5697,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6434,29 +5717,33 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { + if (instanceType_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { + if (availabilityType_ != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDatabaseFlags(), + DatabaseFlagsDefaultEntryHolder.defaultEntry, + 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -6469,8 +5756,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -6502,88 +5793,95 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); + if (instanceType_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); + if (availabilityType_ != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry : - internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry databaseFlags__ = - DatabaseFlagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry + : internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry + databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getQueryInsightsConfig()); } if (clientConnectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getClientConnectionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6593,58 +5891,77 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Instance)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Instance other = (com.google.cloud.alloydb.v1.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig().equals(other.getMachineConfig())) return false; + if (!getMachineConfig() + .equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone().equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; + if (!getGceZone() + .equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals( + other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode().equals(other.getWritableNode())) return false; + if (!getWritableNode() + .equals(other.getWritableNode())) return false; } - if (!getNodesList().equals(other.getNodesList())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig() + .equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getReadPoolConfig() + .equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig() + .equals(other.getClientConnectionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6714,7 +6031,8 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -6730,103 +6048,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Instance parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1.Instance parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -6834,17 +6148,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.Instance)
       com.google.cloud.alloydb.v1.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_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();
@@ -6853,12 +6168,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 18:
           return internalGetAnnotations();
         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();
@@ -6867,27 +6183,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Instance.class,
-              com.google.cloud.alloydb.v1.Instance.Builder.class);
+              com.google.cloud.alloydb.v1.Instance.class, com.google.cloud.alloydb.v1.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.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();
@@ -6956,9 +6273,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -6979,9 +6296,7 @@ public com.google.cloud.alloydb.v1.Instance build() {
     public com.google.cloud.alloydb.v1.Instance buildPartial() {
       com.google.cloud.alloydb.v1.Instance result = new com.google.cloud.alloydb.v1.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -7010,13 +6325,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7029,8 +6350,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ =
-            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
+        result.machineConfig_ = machineConfigBuilder_ == null
+            ? machineConfig_
+            : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -7043,18 +6365,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ =
-            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
+        result.writableNode_ = writableNodeBuilder_ == null
+            ? writableNode_
+            : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ =
-            queryInsightsConfigBuilder_ == null
-                ? queryInsightsConfig_
-                : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
+            ? queryInsightsConfig_
+            : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ =
-            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ = readPoolConfigBuilder_ == null
+            ? readPoolConfig_
+            : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -7070,10 +6393,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.clientConnectionConfig_ =
-            clientConnectionConfigBuilder_ == null
-                ? clientConnectionConfig_
-                : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
+            ? clientConnectionConfig_
+            : clientConnectionConfigBuilder_.build();
       }
     }
 
@@ -7081,39 +6403,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1.Instance) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7146,7 +6467,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -7165,7 +6487,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(
+          other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -7188,10 +6511,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodesFieldBuilder()
-                    : null;
+            nodesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodesFieldBuilder() : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -7216,7 +6538,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasClientConnectionConfig()) {
         mergeClientConnectionConfig(other.getClientConnectionConfig());
@@ -7247,172 +6570,158 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 72:
-              {
-                instanceType_ = input.readEnum();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 88:
-              {
-                availabilityType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            case 98:
-              {
-                gceZone_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 98
-            case 106:
-              {
-                com.google.protobuf.MapEntry databaseFlags__ =
-                    input.readMessage(
-                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableDatabaseFlags()
-                    .getMutableMap()
-                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 114
-            case 122:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 122
-            case 128:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 128
-            case 138:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 138
-            case 146:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 154
-            case 162:
-              {
-                com.google.cloud.alloydb.v1.Instance.Node m =
-                    input.readMessage(
-                        com.google.cloud.alloydb.v1.Instance.Node.parser(), extensionRegistry);
-                if (nodesBuilder_ == null) {
-                  ensureNodesIsMutable();
-                  nodes_.add(m);
-                } else {
-                  nodesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(
-                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 170
-            case 186:
-              {
-                input.readMessage(
-                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 186
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 72: {
+              instanceType_ = input.readEnum();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getMachineConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 88: {
+              availabilityType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            case 98: {
+              gceZone_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 98
+            case 106: {
+              com.google.protobuf.MapEntry
+              databaseFlags__ = input.readMessage(
+                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableDatabaseFlags().getMutableMap().put(
+                  databaseFlags__.getKey(), databaseFlags__.getValue());
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getReadPoolConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 114
+            case 122: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 122
+            case 128: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 128
+            case 138: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 138
+            case 146: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getWritableNodeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 154
+            case 162: {
+              com.google.cloud.alloydb.v1.Instance.Node m =
+                  input.readMessage(
+                      com.google.cloud.alloydb.v1.Instance.Node.parser(),
+                      extensionRegistry);
+              if (nodesBuilder_ == null) {
+                ensureNodesIsMutable();
+                nodes_.add(m);
+              } else {
+                nodesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getQueryInsightsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 170
+            case 186: {
+              input.readMessage(
+                  getClientConnectionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 186
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7422,13 +6731,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7442,13 +6748,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -7457,8 +6763,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7472,14 +6776,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -7487,8 +6792,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7502,22 +6805,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7531,7 +6830,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -7541,8 +6839,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7556,14 +6852,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -7573,20 +6867,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -7595,21 +6887,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -7617,35 +6908,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -7655,21 +6939,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -7679,21 +6959,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -7702,22 +6980,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -7725,37 +7002,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -7765,22 +7035,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7790,58 +7056,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -7857,17 +7104,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7878,21 +7122,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7905,15 +7145,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7926,15 +7162,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -7942,48 +7174,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -7991,58 +7211,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8058,17 +7259,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8079,21 +7277,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8106,15 +7300,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -8127,15 +7317,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -8143,48 +7329,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -8192,58 +7366,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -8259,17 +7414,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -8280,21 +7432,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -8307,15 +7455,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -8328,15 +7472,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -8344,66 +7484,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -8412,13 +7542,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -8426,21 +7553,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -8452,8 +7578,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -8461,19 +7585,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -8481,108 +7603,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8593,35 +7702,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.State getState() { - com.google.cloud.alloydb.v1.Instance.State result = - com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1.Instance.State result = com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -8635,16 +7733,11 @@ public Builder setState(com.google.cloud.alloydb.v1.Instance.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -8656,33 +7749,22 @@ public Builder clearState() { private int instanceType_ = 0; /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -8693,37 +7775,24 @@ public Builder setInstanceTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1.Instance.InstanceType result = - com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); - return result == null - ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); + return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The instanceType to set. * @return This builder for chaining. */ @@ -8737,16 +7806,11 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1.Instance.InstanceType return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -8758,49 +7822,36 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.MachineConfig, - com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, - com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> - machineConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> machineConfigBuilder_; /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8822,8 +7873,6 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineConf
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8843,8 +7892,6 @@ public Builder setMachineConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8854,10 +7901,9 @@ public Builder setMachineConfig(
      */
     public Builder mergeMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0)
-            && machineConfig_ != null
-            && machineConfig_
-                != com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0) &&
+          machineConfig_ != null &&
+          machineConfig_ != com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -8870,8 +7916,6 @@ public Builder mergeMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineCo
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8890,8 +7934,6 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8905,8 +7947,6 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder getMachineConf
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8918,14 +7958,11 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null
-            ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()
-            : machineConfig_;
+        return machineConfig_ == null ?
+            com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8934,17 +7971,14 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
      * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.Instance.MachineConfig,
-            com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder,
-            com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>
+        com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> 
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1.Instance.MachineConfig,
-                com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder,
-                com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(), getParentForChildren(), isClean());
+        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(),
+                getParentForChildren(),
+                isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -8952,8 +7986,6 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
 
     private int availabilityType_ = 0;
     /**
-     *
-     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8964,16 +7996,12 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8984,7 +8012,6 @@ public int getAvailabilityTypeValue() {
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -8995,8 +8022,6 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9007,20 +8032,14 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.Instance.AvailabilityType result = com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED : result; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9031,12 +8050,10 @@ public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType( - com.google.cloud.alloydb.v1.Instance.AvailabilityType value) { + public Builder setAvailabilityType(com.google.cloud.alloydb.v1.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -9046,8 +8063,6 @@ public Builder setAvailabilityType( return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9058,7 +8073,6 @@ public Builder setAvailabilityType(
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -9070,8 +8084,6 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9082,13 +8094,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; - * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -9097,8 +8109,6 @@ public java.lang.String getGceZone() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9109,14 +8119,15 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -9124,8 +8135,6 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9136,22 +8145,18 @@ public com.google.protobuf.ByteString getGceZoneBytes() {
      * 
* * string gce_zone = 12; - * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9162,7 +8167,6 @@ public Builder setGceZone(java.lang.String value) {
      * 
* * string gce_zone = 12; - * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -9172,8 +8176,6 @@ public Builder clearGceZone() { return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9184,14 +8186,12 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; - * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -9199,8 +8199,8 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -9209,12 +8209,11 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { } return databaseFlags_; } - private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = - com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = com.google.protobuf.MapField.newMapField( + DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -9223,13 +8222,10 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { onChanged(); return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9250,21 +8246,20 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /** Use {@link #getDatabaseFlagsMap()} instead. */
+    /**
+     * Use {@link #getDatabaseFlagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9289,8 +8284,6 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9311,19 +8304,17 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9344,25 +8335,23 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap().clear();
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9382,22 +8371,23 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
+    public Builder removeDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableDatabaseFlags() {
+    public java.util.Map
+        getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9417,20 +8407,17 @@ public java.util.Map getMutableDatabaseFlags
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
+    public Builder putDatabaseFlags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9450,69 +8437,52 @@ public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
+    public Builder putAllDatabaseFlags(
+        java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.Instance.Node,
-            com.google.cloud.alloydb.v1.Instance.Node.Builder,
-            com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>
-        writableNodeBuilder_;
+        com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> writableNodeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ public com.google.cloud.alloydb.v1.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null - ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -9528,16 +8498,12 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode( com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -9551,22 +8517,18 @@ public Builder setWritableNode( return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && writableNode_ != null - && writableNode_ != com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + writableNode_ != null && + writableNode_ != com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -9579,16 +8541,12 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1.Instance.Node value return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -9601,16 +8559,12 @@ public Builder clearWritableNode() { return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -9618,82 +8572,62 @@ public com.google.cloud.alloydb.v1.Instance.Node.Builder getWritableNodeBuilder( return getWritableNodeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null - ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? + com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, - com.google.cloud.alloydb.v1.Instance.Node.Builder, - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, - com.google.cloud.alloydb.v1.Instance.Node.Builder, - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( - getWritableNode(), getParentForChildren(), isClean()); + writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( + getWritableNode(), + getParentForChildren(), + isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, - com.google.cloud.alloydb.v1.Instance.Node.Builder, - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> - nodesBuilder_; + com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> nodesBuilder_; /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -9703,16 +8637,12 @@ public java.util.List getNodesList() } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -9722,16 +8652,12 @@ public int getNodesCount() { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -9741,18 +8667,15 @@ public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNodes(int index, com.google.cloud.alloydb.v1.Instance.Node value) { + public Builder setNodes( + int index, com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9766,16 +8689,12 @@ public Builder setNodes(int index, com.google.cloud.alloydb.v1.Instance.Node val return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNodes( int index, com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -9789,16 +8708,12 @@ public Builder setNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { @@ -9814,18 +8729,15 @@ public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node value) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addNodes(int index, com.google.cloud.alloydb.v1.Instance.Node value) { + public Builder addNodes( + int index, com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9839,18 +8751,15 @@ public Builder addNodes(int index, com.google.cloud.alloydb.v1.Instance.Node val return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { + public Builder addNodes( + com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); @@ -9861,16 +8770,12 @@ public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node.Builder builde return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes( int index, com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -9884,22 +8789,19 @@ public Builder addNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -9907,16 +8809,12 @@ public Builder addAllNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -9929,16 +8827,12 @@ public Builder clearNodes() { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -9951,53 +8845,42 @@ public Builder removeNodes(int index) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.Instance.Node.Builder getNodesBuilder(int index) { + public com.google.cloud.alloydb.v1.Instance.Node.Builder getNodesBuilder( + int index) { return getNodesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { + return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -10005,65 +8888,52 @@ public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder(int index) { - return getNodesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder( + int index) { + return getNodesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, - com.google.cloud.alloydb.v1.Instance.Node.Builder, - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, - com.google.cloud.alloydb.v1.Instance.Node.Builder, - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( - nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( + nodes_, + ((bitField0_ & 0x00004000) != 0), + getParentForChildren(), + isClean()); nodes_ = null; } return nodesBuilder_; @@ -10071,62 +8941,41 @@ public java.util.List getNode private com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> - queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10140,15 +8989,11 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder setQueryInsightsConfig( com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { @@ -10162,24 +9007,17 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder mergeQueryInsightsConfig( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && queryInsightsConfig_ != null - && queryInsightsConfig_ - != com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + queryInsightsConfig_ != null && + queryInsightsConfig_ != com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -10192,15 +9030,11 @@ public Builder mergeQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -10213,66 +9047,48 @@ public Builder clearQueryInsightsConfig() { return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder - getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), getParentForChildren(), isClean()); + queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), + getParentForChildren(), + isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -10280,49 +9096,39 @@ public Builder clearQueryInsightsConfig() { private com.google.cloud.alloydb.v1.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> - readPoolConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; @@ -10341,10 +9147,9 @@ public Builder setReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPoolCo return this; } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; @@ -10361,20 +9166,18 @@ public Builder setReadPoolConfig( return this; } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; */ public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && readPoolConfig_ != null - && readPoolConfig_ - != com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + readPoolConfig_ != null && + readPoolConfig_ != com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) { getReadPoolConfigBuilder().mergeFrom(value); } else { readPoolConfig_ = value; @@ -10387,10 +9190,9 @@ public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPool return this; } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; @@ -10406,10 +9208,9 @@ public Builder clearReadPoolConfig() { return this; } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; @@ -10420,45 +9221,38 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder getReadPoolCo return getReadPoolConfigFieldBuilder().getBuilder(); } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder - getReadPoolConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { if (readPoolConfigBuilder_ != null) { return readPoolConfigBuilder_.getMessageOrBuilder(); } else { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } } /** - * - * *
-     * Read pool specific config.
+     * Read pool instance configuration.
+     * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> getReadPoolConfigFieldBuilder() { if (readPoolConfigBuilder_ == null) { - readPoolConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder>( - getReadPoolConfig(), getParentForChildren(), isClean()); + readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder>( + getReadPoolConfig(), + getParentForChildren(), + isClean()); readPoolConfig_ = null; } return readPoolConfigBuilder_; @@ -10466,21 +9260,19 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder getReadPoolCo private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -10489,22 +9281,21 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -10512,37 +9303,30 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -10552,22 +9336,18 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -10575,10 +9355,8 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10588,7 +9366,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -10596,8 +9373,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10607,7 +9382,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -10619,8 +9393,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10630,7 +9402,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -10642,20 +9413,18 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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; @@ -10664,21 +9433,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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 { @@ -10686,35 +9454,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -10724,21 +9485,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -10746,8 +9503,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -10756,12 +9513,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -10770,13 +9526,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10786,21 +9539,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10814,8 +9566,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10825,19 +9575,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10847,25 +9595,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10874,22 +9620,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10898,20 +9645,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10920,69 +9664,51 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig,
-            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder,
-            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>
-        clientConnectionConfigBuilder_;
+        com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setClientConnectionConfig( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10996,15 +9722,11 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -11018,24 +9740,17 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeClientConnectionConfig( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && clientConnectionConfig_ != null - && clientConnectionConfig_ - != com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + clientConnectionConfig_ != null && + clientConnectionConfig_ != com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -11048,15 +9763,11 @@ public Builder mergeClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00200000); @@ -11069,73 +9780,55 @@ public Builder clearClientConnectionConfig() { return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder - getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { bitField0_ |= 0x00200000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), getParentForChildren(), isClean()); + clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), + getParentForChildren(), + isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -11145,12 +9838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance) private static final com.google.cloud.alloydb.v1.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance(); } @@ -11159,27 +9852,27 @@ public static com.google.cloud.alloydb.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; @@ -11194,4 +9887,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java index aaec563890ea..bae29a203055 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -39,13 +21,10 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -59,180 +38,135 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface InstanceOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,108 +206,79 @@ public interface InstanceOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1.Instance.State getState(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -385,8 +289,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -397,13 +299,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -414,14 +313,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -432,13 +328,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ java.lang.String getGceZone(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -449,14 +342,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString getGceZoneBytes(); + com.google.protobuf.ByteString + getGceZoneBytes(); /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -478,8 +369,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getDatabaseFlagsCount();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -499,13 +388,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(java.lang.String key);
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  boolean containsDatabaseFlags(
+      java.lang.String key);
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getDatabaseFlags();
+  java.util.Map
+  getDatabaseFlags();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -525,10 +416,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map getDatabaseFlagsMap();
+  java.util.Map
+  getDatabaseFlagsMap();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -549,13 +439,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-  java.lang.String getDatabaseFlagsOrDefault(
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -575,187 +463,139 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ com.google.cloud.alloydb.v1.Instance.Node getWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getNodesList(); + java.util.List + getNodesList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1.Instance.Node getNodes(int index); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getNodesCount(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getNodesOrBuilderList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index); + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( + int index); /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig(); /** - * - * *
-   * Read pool specific config.
+   * Read pool instance configuration.
+   * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; @@ -763,35 +603,28 @@ java.lang.String getDatabaseFlagsOrDefault( com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -801,39 +634,31 @@ java.lang.String getDatabaseFlagsOrDefault(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -844,8 +669,6 @@ java.lang.String getDatabaseFlagsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -854,13 +677,15 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -869,10 +694,9 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -882,13 +706,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -897,47 +719,33 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java index bad7e3cb0354..32152cdc8d5f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1.InstanceView}
  */
-public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -52,8 +32,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   INSTANCE_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -66,8 +44,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -76,8 +52,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -88,8 +62,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -99,6 +71,7 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,49 +96,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0:
-        return INSTANCE_VIEW_UNSPECIFIED;
-      case 1:
-        return INSTANCE_VIEW_BASIC;
-      case 2:
-        return INSTANCE_VIEW_FULL;
-      default:
-        return null;
+      case 0: return INSTANCE_VIEW_UNSPECIFIED;
+      case 1: return INSTANCE_VIEW_BASIC;
+      case 2: return INSTANCE_VIEW_FULL;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public InstanceView findValueByNumber(int number) {
-          return InstanceView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      InstanceView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public InstanceView findValueByNumber(int number) {
+            return InstanceView.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView 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;
@@ -181,3 +154,4 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.InstanceView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
similarity index 68%
rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
index 1b6031e6983b..b1e84c986178 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
+++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
- *
- *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsRequest.class, - com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsRequest.class, com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Filtering results
    * 
* * 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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListBackupsRequest other = - (com.google.cloud.alloydb.v1.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListBackupsRequest other = (com.google.cloud.alloydb.v1.ListBackupsRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -392,136 +355,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListBackupsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListBackupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest) com.google.cloud.alloydb.v1.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsRequest.class, - com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsRequest.class, com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1.ListBackupsRequest result = - new com.google.cloud.alloydb.v1.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ListBackupsRequest result = new com.google.cloud.alloydb.v1.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListBackupsRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -678,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -724,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.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; @@ -753,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -777,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string 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() { @@ -819,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -843,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -861,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -881,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -901,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -923,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -945,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -983,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1007,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering results
      * 
* * 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; @@ -1029,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering results
      * 
* * 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 { @@ -1051,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1089,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1113,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1135,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1157,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1195,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1228,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListBackupsRequest) private static final com.google.cloud.alloydb.v1.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListBackupsRequest(); } @@ -1242,27 +1115,27 @@ public static com.google.cloud.alloydb.v1.ListBackupsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1277,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java similarity index 59% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java index e1199f3a50ec..361ffb5fa661 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java index 3f86f48fbd62..b43844555a68 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsResponse.class, - com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsResponse.class, com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of Backup
    * 
@@ -82,8 +61,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -91,13 +68,11 @@ public java.util.List getBackupsList() { * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -109,8 +84,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of Backup
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of Backup
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListBackupsResponse other = - (com.google.cloud.alloydb.v1.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1.ListBackupsResponse other = (com.google.cloud.alloydb.v1.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,136 +301,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListBackupsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListBackupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse) com.google.cloud.alloydb.v1.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsResponse.class, - com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsResponse.class, com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1.ListBackupsResponse result = - new com.google.cloud.alloydb.v1.ListBackupsResponse(this); + com.google.cloud.alloydb.v1.ListBackupsResponse result = new com.google.cloud.alloydb.v1.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListBackupsResponse resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance()) return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListBackupsResponse other) backupsBuilder_ = null; backups_ = other.backups_; bitField0_ = (bitField0_ & ~0x00000001); - backupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getBackupsFieldBuilder() - : null; + backupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBackupsFieldBuilder() : null; } else { backupsBuilder_.addAllMessages(other.backups_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1.Backup.parser(), extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1.Backup.parser(), + extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,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.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> - backupsBuilder_; + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupsBuilder_; /** - * - * *
      * The list of Backup
      * 
@@ -735,8 +675,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of Backup
      * 
@@ -751,8 +689,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of Backup
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { } } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder setBackups(int index, com.google.cloud.alloydb.v1.Backup value) { + public Builder setBackups( + int index, com.google.cloud.alloydb.v1.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setBackups(int index, com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * The list of Backup
      * 
@@ -809,8 +742,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -831,15 +762,14 @@ public Builder addBackups(com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder addBackups(int index, com.google.cloud.alloydb.v1.Backup value) { + public Builder addBackups( + int index, com.google.cloud.alloydb.v1.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addBackups(int index, com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder addBackups(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder addBackups( + com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addBackups(com.google.cloud.alloydb.v1.Backup.Builder builderForV return this; } /** - * - * *
      * The list of Backup
      * 
@@ -892,8 +819,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -904,7 +829,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); @@ -912,8 +838,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -931,8 +855,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of Backup
      * 
@@ -950,44 +872,39 @@ public Builder removeBackups(int index) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.Backup.Builder getBackupsBuilder(int index) { + public com.google.cloud.alloydb.v1.Backup.Builder getBackupsBuilder( + int index) { return getBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.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 Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index } } /** - * - * *
      * The list of Backup
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); + return getBackupsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder(int index) { - return getBackupsFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder( + int index) { + return getBackupsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public java.util.List getBackupsBuilderList() { + public java.util.List + getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder>( - backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( + backups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); backups_ = null; } return backupsBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getBackupsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListBackupsResponse) private static final com.google.cloud.alloydb.v1.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListBackupsResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1.ListBackupsResponse getDefaultInstance 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; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java index b515008806e5..fecd09e11c26 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - java.util.List getBackupsList(); + java.util.List + getBackupsList(); /** - * - * *
    * The list of Backup
    * 
@@ -44,8 +25,6 @@ public interface ListBackupsResponseOrBuilder */ com.google.cloud.alloydb.v1.Backup getBackups(int index); /** - * - * *
    * The list of Backup
    * 
@@ -54,99 +33,82 @@ public interface ListBackupsResponseOrBuilder */ int getBackupsCount(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - java.util.List getBackupsOrBuilderList(); + java.util.List + getBackupsOrBuilderList(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index); + com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java index d2201b17caf2..e30f9ceb4ae0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,32 +28,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersRequest.class, - com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListClustersRequest.class, com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -146,18 +116,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,29 +132,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +163,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -217,29 +179,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -248,18 +210,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -268,29 +226,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -299,7 +257,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -340,7 +298,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_); @@ -359,19 +318,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.cloud.alloydb.v1.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListClustersRequest other = - (com.google.cloud.alloydb.v1.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListClustersRequest other = (com.google.cloud.alloydb.v1.ListClustersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -398,136 +361,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListClustersRequest) com.google.cloud.alloydb.v1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersRequest.class, - com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListClustersRequest.class, com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override @@ -562,11 +521,8 @@ public com.google.cloud.alloydb.v1.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1.ListClustersRequest result = - new com.google.cloud.alloydb.v1.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ListClustersRequest result = new com.google.cloud.alloydb.v1.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -594,39 +550,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListClustersRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListClustersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -634,8 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -685,43 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,13 +679,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -745,16 +690,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.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; @@ -763,8 +706,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -772,17 +713,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -790,8 +730,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -799,25 +737,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -825,10 +757,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/-
      * 
* - * - * string 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() { @@ -838,8 +767,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -847,17 +774,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -865,17 +788,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -883,15 +803,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -903,15 +820,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -923,20 +837,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -945,21 +857,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -967,35 +878,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1005,21 +909,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1029,20 +929,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,21 +949,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1073,35 +970,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1111,21 +1001,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1135,20 +1021,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1157,21 +1041,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1179,35 +1062,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1217,30 +1093,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1250,12 +1122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListClustersRequest) private static final com.google.cloud.alloydb.v1.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListClustersRequest(); } @@ -1264,27 +1136,27 @@ public static com.google.cloud.alloydb.v1.ListClustersRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1299,4 +1171,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java index 5d3593305402..aa4aa7b9aab3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -33,16 +15,11 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -50,100 +27,80 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java index d827df57185b..dab1b5c1f38a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersResponse.class, - com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListClustersResponse.class, com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of Cluster
    * 
@@ -82,8 +61,6 @@ public java.util.List getClustersList() { return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -91,13 +68,11 @@ public java.util.List getClustersList() { * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -109,8 +84,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of Cluster
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of Cluster
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListClustersResponse other = - (com.google.cloud.alloydb.v1.ListClustersResponse) obj; + com.google.cloud.alloydb.v1.ListClustersResponse other = (com.google.cloud.alloydb.v1.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,136 +301,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListClustersResponse) com.google.cloud.alloydb.v1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersResponse.class, - com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListClustersResponse.class, com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1.ListClustersResponse result = - new com.google.cloud.alloydb.v1.ListClustersResponse(this); + com.google.cloud.alloydb.v1.ListClustersResponse result = new com.google.cloud.alloydb.v1.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListClustersResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListClustersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersResponse other) clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> - clustersBuilder_; + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of Cluster
      * 
@@ -735,8 +675,6 @@ public java.util.List getClustersList() { } } /** - * - * *
      * The list of Cluster
      * 
@@ -751,8 +689,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of Cluster
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.cloud.alloydb.v1.Cluster value) { + public Builder setClusters( + int index, com.google.cloud.alloydb.v1.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setClusters(int index, com.google.cloud.alloydb.v1.Cluster value) return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -809,8 +742,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -831,15 +762,14 @@ public Builder addClusters(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.cloud.alloydb.v1.Cluster value) { + public Builder addClusters( + int index, com.google.cloud.alloydb.v1.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addClusters(int index, com.google.cloud.alloydb.v1.Cluster value) return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder addClusters(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addClusters(com.google.cloud.alloydb.v1.Cluster.Builder builderFo return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -892,8 +819,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -904,7 +829,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -912,8 +838,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -931,8 +855,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -950,44 +872,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.Cluster.Builder getClustersBuilder(int index) { + public com.google.cloud.alloydb.v1.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int ind } } /** - * - * *
      * The list of Cluster
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int ind * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public java.util.List getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getClustersBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListClustersResponse) private static final com.google.cloud.alloydb.v1.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListClustersResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1.ListClustersResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java index 4cb4df4d0286..47053fc541a5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - java.util.List getClustersList(); + java.util.List + getClustersList(); /** - * - * *
    * The list of Cluster
    * 
@@ -44,8 +25,6 @@ public interface ListClustersResponseOrBuilder */ com.google.cloud.alloydb.v1.Cluster getClusters(int index); /** - * - * *
    * The list of Cluster
    * 
@@ -54,99 +33,82 @@ public interface ListClustersResponseOrBuilder */ int getClustersCount(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - java.util.List getClustersOrBuilderList(); + java.util.List + getClustersOrBuilderList(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index); + com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java index 911db2cc3918..4b5214988e65 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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,32 +28,28 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesRequest.class, - com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesRequest.class, com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -150,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +167,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -221,29 +183,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -252,18 +214,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -272,29 +230,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -303,7 +261,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,7 +302,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_); @@ -363,19 +322,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.cloud.alloydb.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListInstancesRequest other = - (com.google.cloud.alloydb.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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListInstancesRequest other = (com.google.cloud.alloydb.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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -402,136 +365,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest) com.google.cloud.alloydb.v1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesRequest.class, - com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesRequest.class, com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -545,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -566,11 +525,8 @@ public com.google.cloud.alloydb.v1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1.ListInstancesRequest result = - new com.google.cloud.alloydb.v1.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ListInstancesRequest result = new com.google.cloud.alloydb.v1.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -598,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListInstancesRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -638,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -689,43 +643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,13 +683,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -751,16 +696,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -769,8 +712,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -780,17 +721,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -798,8 +738,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -809,25 +747,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -837,10 +769,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -850,8 +779,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -861,17 +788,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -879,17 +802,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -897,15 +817,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -917,15 +834,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -937,20 +851,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -959,21 +871,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -981,35 +892,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1019,21 +923,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1043,20 +943,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1065,21 +963,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1087,35 +984,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1125,21 +1015,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1149,20 +1035,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1171,21 +1055,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1193,35 +1076,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1231,30 +1107,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1264,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListInstancesRequest) private static final com.google.cloud.alloydb.v1.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListInstancesRequest(); } @@ -1278,27 +1150,27 @@ public static com.google.cloud.alloydb.v1.ListInstancesRequest getDefaultInstanc 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; @@ -1313,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java index 841599ebb67d..de8bbf43fcc1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -35,16 +17,11 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -54,100 +31,80 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java index d772ceb88fff..49480e79b52a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesResponse.class, - com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesResponse.class, com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of Instance
    * 
@@ -82,8 +61,6 @@ public java.util.List getInstancesList() { return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -91,13 +68,11 @@ public java.util.List getInstancesList() { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -109,8 +84,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of Instance
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of Instance
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListInstancesResponse other = - (com.google.cloud.alloydb.v1.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1.ListInstancesResponse other = (com.google.cloud.alloydb.v1.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse) com.google.cloud.alloydb.v1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesResponse.class, - com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesResponse.class, com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1.ListInstancesResponse result = - new com.google.cloud.alloydb.v1.ListInstancesResponse(this); + com.google.cloud.alloydb.v1.ListInstancesResponse result = new com.google.cloud.alloydb.v1.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListInstancesResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesResponse other 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_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of Instance
      * 
@@ -735,8 +675,6 @@ public java.util.List getInstancesList() { } } /** - * - * *
      * The list of Instance
      * 
@@ -751,8 +689,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of Instance
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { } } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance valu return this; } /** - * - * *
      * The list of Instance
      * 
@@ -809,8 +742,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -831,15 +762,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance valu return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builder return this; } /** - * - * *
      * The list of Instance
      * 
@@ -892,8 +819,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -904,7 +829,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); @@ -912,8 +838,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -931,8 +855,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of Instance
      * 
@@ -950,44 +872,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.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 Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int i } } /** - * - * *
      * The list of Instance
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int i * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getInstances private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListInstancesResponse) private static final com.google.cloud.alloydb.v1.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListInstancesResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1.ListInstancesResponse getDefaultInstan 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; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java index 82594fb287cb..9d8b0ce66746 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of Instance
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1.Instance getInstances(int index); /** - * - * *
    * The list of Instance
    * 
@@ -54,100 +33,82 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java index d9290c69d1d2..df2ba18ce5a4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +26,28 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -81,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -112,18 +85,17 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -151,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -171,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -250,17 +216,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.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other = - (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,136 +252,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -425,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); } @@ -447,17 +409,13 @@ public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result = - new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -474,39 +432,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest)other); } else { super.mergeFrom(other); return this; @@ -514,9 +471,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other) { - if (other - == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,31 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -590,13 +541,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -607,16 +555,14 @@ public Builder mergeFrom(
      * flags.
      * 
* - * - * string parent = 1 [(.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; @@ -625,8 +571,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -637,17 +581,16 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -655,8 +598,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -667,25 +608,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -696,10 +631,7 @@ public Builder setParent(java.lang.String value) {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -709,8 +641,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -721,17 +651,13 @@ public Builder clearParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -739,17 +665,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -757,15 +680,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -777,15 +697,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -797,20 +714,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -819,21 +734,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -841,35 +755,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -879,30 +786,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,13 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(); } @@ -927,27 +829,27 @@ public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +864,6 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java index 81144fc13338..64359d4a27f0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListSupportedDatabaseFlagsRequestOrBuilder - extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -36,16 +18,11 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -56,50 +33,40 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java index 8c14dc287429..ae416a938715 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,116 +26,94 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List supportedDatabaseFlags_; /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { return supportedDatabaseFlags_.get(index); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,29 +122,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 +153,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +164,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -223,9 +182,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, supportedDatabaseFlags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -238,17 +196,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other = - (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList() + .equals(other.getSupportedDatabaseFlagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,136 +230,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,14 +371,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); } @@ -440,18 +392,14 @@ public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result = - new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -463,8 +411,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -475,39 +422,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse)other); } else { super.mergeFrom(other); return this; @@ -515,9 +461,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other) { - if (other - == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -536,10 +480,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsR supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSupportedDatabaseFlagsFieldBuilder() - : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSupportedDatabaseFlagsFieldBuilder() : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -576,33 +519,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,39 +552,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - supportedDatabaseFlags_ = java.util.Collections.emptyList(); - + private java.util.List supportedDatabaseFlags_ = + java.util.Collections.emptyList(); private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = - new java.util.ArrayList( - supportedDatabaseFlags_); + supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> - supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -652,14 +581,11 @@ private void ensureSupportedDatabaseFlagsIsMutable() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -669,14 +595,11 @@ public int getSupportedDatabaseFlagsCount() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -686,14 +609,11 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFla } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { @@ -710,14 +630,11 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -731,17 +648,13 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public Builder addSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -755,14 +668,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { @@ -779,14 +689,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -800,14 +707,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -821,20 +725,18 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addAllSupportedDatabaseFlags( java.lang.Iterable values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -842,14 +744,11 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -862,14 +761,11 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -882,49 +778,39 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder - getSupportedDatabaseFlagsBuilder(int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( + int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); - } else { + return supportedDatabaseFlags_.get(index); } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -932,62 +818,45 @@ public Builder removeSupportedDatabaseFlags(int index) { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder(int index) { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( + int index) { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -999,20 +868,18 @@ public Builder removeSupportedDatabaseFlags(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1021,21 +888,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1043,35 +909,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1081,30 +940,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,43 +969,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1015,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java index 759198a79d7b..7442c9b675ea 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,108 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListSupportedDatabaseFlagsResponseOrBuilder - extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List getSupportedDatabaseFlagsList(); + java.util.List + getSupportedDatabaseFlagsList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ int getSupportedDatabaseFlagsCount(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; */ com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java index fb54c913baa7..33e68f14ac84 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersRequest} */ -public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListUsersRequest) ListUsersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersRequest.class, - com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListUsersRequest.class, com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListUsersRequest other = - (com.google.cloud.alloydb.v1.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListUsersRequest other = (com.google.cloud.alloydb.v1.ListUsersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -392,136 +355,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListUsersRequest) com.google.cloud.alloydb.v1.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersRequest.class, - com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListUsersRequest.class, com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListUsersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1.ListUsersRequest result = - new com.google.cloud.alloydb.v1.ListUsersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.ListUsersRequest result = new com.google.cloud.alloydb.v1.ListUsersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListUsersRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListUsersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListUsersRequest)other); } else { super.mergeFrom(other); return this; @@ -678,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -724,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.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; @@ -753,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -777,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string 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() { @@ -819,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -843,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -861,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -881,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -901,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -923,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -945,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -983,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1007,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1029,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1089,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1113,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1135,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1157,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1195,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1228,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListUsersRequest) private static final com.google.cloud.alloydb.v1.ListUsersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListUsersRequest(); } @@ -1242,27 +1115,27 @@ public static com.google.cloud.alloydb.v1.ListUsersRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1277,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java index 46a4d0ab0f21..aae1bdcf6361 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListUsersRequestOrBuilder - extends +public interface ListUsersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java index df00c67fb628..737baf4383c1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersResponse} */ -public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListUsersResponse) ListUsersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersResponse.class, - com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListUsersResponse.class, com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List users_; /** - * - * *
    * The list of User
    * 
@@ -82,8 +61,6 @@ public java.util.List getUsersList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -91,13 +68,11 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -109,8 +84,6 @@ public int getUsersCount() { return users_.size(); } /** - * - * *
    * The list of User
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { return users_.get(index); } /** - * - * *
    * The list of User
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { * repeated .google.cloud.alloydb.v1.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( + int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListUsersResponse other = - (com.google.cloud.alloydb.v1.ListUsersResponse) obj; + com.google.cloud.alloydb.v1.ListUsersResponse other = (com.google.cloud.alloydb.v1.ListUsersResponse) obj; - if (!getUsersList().equals(other.getUsersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUsersList() + .equals(other.getUsersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -341,136 +301,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListUsersResponse) com.google.cloud.alloydb.v1.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersResponse.class, - com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListUsersResponse.class, com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListUsersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override @@ -509,12 +466,9 @@ public com.google.cloud.alloydb.v1.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1.ListUsersResponse result = - new com.google.cloud.alloydb.v1.ListUsersResponse(this); + com.google.cloud.alloydb.v1.ListUsersResponse result = new com.google.cloud.alloydb.v1.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -546,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListUsersResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListUsersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1.ListUsersResponse)other); } else { super.mergeFrom(other); return this; @@ -605,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListUsersResponse other) { usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUsersFieldBuilder() - : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUsersFieldBuilder() : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -655,38 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1.User m = - input.readMessage(com.google.cloud.alloydb.v1.User.parser(), extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1.User m = + input.readMessage( + com.google.cloud.alloydb.v1.User.parser(), + extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -696,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> - usersBuilder_; + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> usersBuilder_; /** - * - * *
      * The list of User
      * 
@@ -732,8 +675,6 @@ public java.util.List getUsersList() { } } /** - * - * *
      * The list of User
      * 
@@ -748,8 +689,6 @@ public int getUsersCount() { } } /** - * - * *
      * The list of User
      * 
@@ -764,15 +703,14 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder setUsers(int index, com.google.cloud.alloydb.v1.User value) { + public Builder setUsers( + int index, com.google.cloud.alloydb.v1.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -786,15 +724,14 @@ public Builder setUsers(int index, com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder setUsers(int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUsers( + int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.set(index, builderForValue.build()); @@ -805,8 +742,6 @@ public Builder setUsers(int index, com.google.cloud.alloydb.v1.User.Builder buil return this; } /** - * - * *
      * The list of User
      * 
@@ -827,15 +762,14 @@ public Builder addUsers(com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers(int index, com.google.cloud.alloydb.v1.User value) { + public Builder addUsers( + int index, com.google.cloud.alloydb.v1.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -849,15 +783,14 @@ public Builder addUsers(int index, com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers(com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder addUsers( + com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -868,15 +801,14 @@ public Builder addUsers(com.google.cloud.alloydb.v1.User.Builder builderForValue return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers(int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder addUsers( + int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(index, builderForValue.build()); @@ -887,8 +819,6 @@ public Builder addUsers(int index, com.google.cloud.alloydb.v1.User.Builder buil return this; } /** - * - * *
      * The list of User
      * 
@@ -899,7 +829,8 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -907,8 +838,6 @@ public Builder addAllUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -926,8 +855,6 @@ public Builder clearUsers() { return this; } /** - * - * *
      * The list of User
      * 
@@ -945,44 +872,39 @@ public Builder removeUsers(int index) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.User.Builder getUsersBuilder(int index) { + public com.google.cloud.alloydb.v1.User.Builder getUsersBuilder( + int index) { return getUsersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( + int index) { if (usersBuilder_ == null) { - return users_.get(index); - } else { + return users_.get(index); } else { return usersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -990,8 +912,6 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { } } /** - * - * *
      * The list of User
      * 
@@ -999,47 +919,42 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { * repeated .google.cloud.alloydb.v1.User users = 1; */ public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder() { - return getUsersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1.User.getDefaultInstance()); + return getUsersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder(int index) { - return getUsersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder( + int index) { + return getUsersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public java.util.List getUsersBuilderList() { + public java.util.List + getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder>( - users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( + users_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); users_ = null; } return usersBuilder_; @@ -1047,20 +962,18 @@ public java.util.List getUsersBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1069,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1091,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1129,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1153,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1161,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1205,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1243,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1265,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1324,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListUsersResponse) private static final com.google.cloud.alloydb.v1.ListUsersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListUsersResponse(); } @@ -1350,27 +1224,27 @@ public static com.google.cloud.alloydb.v1.ListUsersResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1385,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java index ba13ade3c95e..dff8928b62a0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListUsersResponseOrBuilder - extends +public interface ListUsersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - java.util.List getUsersList(); + java.util.List + getUsersList(); /** - * - * *
    * The list of User
    * 
@@ -44,8 +25,6 @@ public interface ListUsersResponseOrBuilder */ com.google.cloud.alloydb.v1.User getUsers(int index); /** - * - * *
    * The list of User
    * 
@@ -54,99 +33,82 @@ public interface ListUsersResponseOrBuilder */ int getUsersCount(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - java.util.List getUsersOrBuilderList(); + java.util.List + getUsersOrBuilderList(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index); + com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java index 235b9d3fc6e5..25a4f88340c8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.MigrationSource}
  */
-public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.MigrationSource)
     MigrationSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -46,38 +28,34 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.MigrationSource.class,
-            com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1.MigrationSource.class, com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Migration source is unknown.
      * 
@@ -86,8 +64,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -99,8 +75,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Migration source is unknown.
      * 
@@ -109,8 +83,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -119,6 +91,7 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int DMS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,12 +116,9 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: - return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: - return DMS; - default: - return null; + case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: return DMS; + default: return null; } } @@ -156,28 +126,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MigrationSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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.cloud.alloydb.v1.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -186,7 +156,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MigrationSourceType 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; @@ -204,19 +175,15 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ @java.lang.Override @@ -225,30 +192,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -257,19 +224,15 @@ public com.google.protobuf.ByteString getHostPortBytes() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ @java.lang.Override @@ -278,30 +241,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -312,46 +275,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null - ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,17 +310,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { + if (sourceType_ != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -391,11 +336,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + if (sourceType_ != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,16 +348,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.cloud.alloydb.v1.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.MigrationSource other = - (com.google.cloud.alloydb.v1.MigrationSource) obj; + com.google.cloud.alloydb.v1.MigrationSource other = (com.google.cloud.alloydb.v1.MigrationSource) obj; - if (!getHostPort().equals(other.getHostPort())) return false; - if (!getReferenceId().equals(other.getReferenceId())) return false; + if (!getHostPort() + .equals(other.getHostPort())) return false; + if (!getReferenceId() + .equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -438,104 +382,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -543,32 +482,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.MigrationSource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.MigrationSource)
       com.google.cloud.alloydb.v1.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.MigrationSource.class,
-              com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1.MigrationSource.class, com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.MigrationSource.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -601,11 +541,8 @@ public com.google.cloud.alloydb.v1.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1.MigrationSource result =
-          new com.google.cloud.alloydb.v1.MigrationSource(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.MigrationSource result = new com.google.cloud.alloydb.v1.MigrationSource(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -627,39 +564,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.MigrationSource result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1.MigrationSource) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.MigrationSource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -707,31 +643,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                hostPort_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                referenceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              hostPort_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              referenceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -741,26 +673,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
-     *
-     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -769,22 +698,21 @@ public java.lang.String getHostPort() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -792,37 +720,30 @@ public com.google.protobuf.ByteString getHostPortBytes() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPort( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -832,22 +753,18 @@ public Builder clearHostPort() { return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPortBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -857,21 +774,19 @@ public Builder setHostPortBytes(com.google.protobuf.ByteString value) { private java.lang.Object referenceId_ = ""; /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -880,22 +795,21 @@ public java.lang.String getReferenceId() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -903,37 +817,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -943,22 +850,18 @@ public Builder clearReferenceId() { return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -968,33 +871,22 @@ public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1005,42 +897,28 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null - ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType( - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType value) { + public Builder setSourceType(com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1050,16 +928,11 @@ public Builder setSourceType( return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1068,9 +941,9 @@ public Builder clearSourceType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.MigrationSource) private static final com.google.cloud.alloydb.v1.MigrationSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.MigrationSource(); } @@ -1094,27 +967,27 @@ public static com.google.cloud.alloydb.v1.MigrationSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java index 3cc00444e8c3..d55207da2965 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java @@ -1,107 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface MigrationSourceOrBuilder - extends +public interface MigrationSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.MigrationSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ java.lang.String getHostPort(); /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString getHostPortBytes(); + com.google.protobuf.ByteString + getHostPortBytes(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ java.lang.String getReferenceId(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString getReferenceIdBytes(); + com.google.protobuf.ByteString + getReferenceIdBytes(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java index 4b483c7b9a90..a41dc8dd57f0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,38 +28,33 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.OperationMetadata.class, - com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1.OperationMetadata.class, com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object requestSpecific_; - public enum RequestSpecificCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; - private RequestSpecificCase(int value) { this.value = value; } @@ -93,36 +70,29 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: - return BATCH_CREATE_INSTANCES_METADATA; - case 0: - return REQUESTSPECIFIC_NOT_SET; - default: - return null; + case 8: return BATCH_CREATE_INSTANCES_METADATA; + case 0: return REQUESTSPECIFIC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -130,42 +100,31 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -173,15 +132,11 @@ public boolean hasBatchCreateInstancesMetadata() { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -189,15 +144,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -205,14 +156,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -222,15 +170,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,15 +182,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -254,14 +194,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -269,18 +206,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -289,29 +222,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -320,18 +253,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -340,29 +269,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -371,18 +300,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -391,29 +316,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -424,8 +349,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -435,7 +358,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -444,18 +366,14 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -464,29 +382,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -495,7 +413,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,7 +424,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -530,8 +448,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage(8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -543,10 +460,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -558,15 +477,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -576,32 +495,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.OperationMetadata other = - (com.google.cloud.alloydb.v1.OperationMetadata) obj; + com.google.cloud.alloydb.v1.OperationMetadata other = (com.google.cloud.alloydb.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) - return false; + if (!getBatchCreateInstancesMetadata() + .equals(other.getBatchCreateInstancesMetadata())) return false; break; case 0: default: @@ -632,7 +557,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -648,136 +574,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.OperationMetadata) com.google.cloud.alloydb.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.OperationMetadata.class, - com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1.OperationMetadata.class, com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -806,9 +728,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -827,11 +749,8 @@ public com.google.cloud.alloydb.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1.OperationMetadata result = - new com.google.cloud.alloydb.v1.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.OperationMetadata result = new com.google.cloud.alloydb.v1.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -840,10 +759,14 @@ public com.google.cloud.alloydb.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -865,7 +788,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.OperationMetadata result) private void buildPartialOneofs(com.google.cloud.alloydb.v1.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && + batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -874,39 +798,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.OperationMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1.OperationMetadata) other); + return mergeFrom((com.google.cloud.alloydb.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -945,15 +868,13 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.OperationMetadata other) { onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: - { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: - { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -981,62 +902,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), + extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1046,12 +963,12 @@ public Builder mergeFrom( } // finally return this; } - private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -1064,21 +981,13 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> - batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -1086,21 +995,15 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; @@ -1114,18 +1017,13 @@ public boolean hasBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1139,15 +1037,11 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1161,27 +1055,18 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 - && requestSpecific_ - != com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) { - requestSpecific_ = - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder( - (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_) - .mergeFrom(value) - .buildPartial(); + if (requestSpecificCase_ == 8 && + requestSpecific_ != com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) { + requestSpecific_ = com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_) + .mergeFrom(value).buildPartial(); } else { requestSpecific_ = value; } @@ -1197,15 +1082,11 @@ public Builder mergeBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1224,34 +1105,24 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder - getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1262,31 +1133,21 @@ public Builder clearBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1299,58 +1160,39 @@ public Builder clearBatchCreateInstancesMetadata() { 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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1366,17 +1208,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1387,21 +1226,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1414,15 +1249,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1435,15 +1266,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1451,48 +1278,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1500,35 +1315,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1539,14 +1343,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1562,16 +1363,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1582,20 +1381,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1608,14 +1404,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1628,14 +1421,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1643,44 +1433,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1688,20 +1470,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1710,21 +1490,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1732,35 +1511,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1770,21 +1542,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1794,20 +1562,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1816,21 +1582,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1838,35 +1603,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1876,21 +1634,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1900,20 +1654,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1922,21 +1674,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1944,35 +1695,28 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1982,21 +1726,17 @@ public Builder clearStatusMessage() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -2004,10 +1744,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2017,7 +1755,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -2025,8 +1762,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2036,7 +1771,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -2048,8 +1782,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2059,7 +1791,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -2071,20 +1802,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -2093,21 +1822,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -2115,35 +1843,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -2153,30 +1874,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2186,12 +1903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.OperationMetadata) private static final com.google.cloud.alloydb.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.OperationMetadata(); } @@ -2200,27 +1917,27 @@ public static com.google.cloud.alloydb.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2235,4 +1952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java index 502a0ebb7f8d..a2fedb534ed7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java @@ -1,224 +1,154 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -228,35 +158,29 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); com.google.cloud.alloydb.v1.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java index 63205a9bd794..13d0b689b329 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PromoteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.PromoteClusterRequest) PromoteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.PromoteClusterRequest.class, com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.PromoteClusterRequest other = - (com.google.cloud.alloydb.v1.PromoteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1.PromoteClusterRequest other = (com.google.cloud.alloydb.v1.PromoteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,142 +321,139 @@ 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.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.PromoteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.PromoteClusterRequest) com.google.cloud.alloydb.v1.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.PromoteClusterRequest.class, com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.PromoteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -503,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -524,11 +487,8 @@ public com.google.cloud.alloydb.v1.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.PromoteClusterRequest result = - new com.google.cloud.alloydb.v1.PromoteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.PromoteClusterRequest result = new com.google.cloud.alloydb.v1.PromoteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.PromoteClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.PromoteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.PromoteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -639,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.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; @@ -709,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -734,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string 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() { @@ -778,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -805,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -824,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -839,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -873,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -892,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -925,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -935,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -954,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -971,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -980,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -995,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1004,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1019,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1028,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1051,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1061,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1070,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1085,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1103,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1123,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1140,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1.PromoteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.PromoteClusterRequest(); } @@ -1166,27 +1057,27 @@ public static com.google.cloud.alloydb.v1.PromoteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java index bf59e25434ef..24c5ef04ef37 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface PromoteClusterRequestOrBuilder - extends +public interface PromoteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,21 +92,18 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java new file mode 100644 index 000000000000..4b78aa553398 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java @@ -0,0 +1,749 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_cloud_alloydb_v1_UserPassword_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_User_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_User_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/cloud/alloydb/v1/resources.prot" + + "o\022\027google.cloud.alloydb.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\032\036google/" + + "protobuf/wrappers.proto\032\033google/type/day" + + "ofweek.proto\032\033google/type/timeofday.prot" + + "o\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022\020\n\010passw" + + "ord\030\002 \001(\t\"\346\001\n\017MigrationSource\022\027\n\thost_po" + + "rt\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002 \001(\tB\004\342A" + + "\001\003\022W\n\013source_type\030\003 \001(\0162<.google.cloud.a" + + "lloydb.v1.MigrationSource.MigrationSourc" + + "eTypeB\004\342A\001\003\"E\n\023MigrationSourceType\022%\n!MI" + + "GRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n\003DMS" + + "\020\001\"(\n\020EncryptionConfig\022\024\n\014kms_key_name\030\001" + + " \001(\t\"\210\002\n\016EncryptionInfo\022K\n\017encryption_ty" + + "pe\030\001 \001(\0162,.google.cloud.alloydb.v1.Encry" + + "ptionInfo.TypeB\004\342A\001\003\022K\n\020kms_key_versions" + + "\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkms.googleapis.com" + + "/CryptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPEC" + + "IFIED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037" + + "\n\033CUSTOMER_MANAGED_ENCRYPTION\020\002\"\200\003\n\tSslC" + + "onfig\022B\n\010ssl_mode\030\001 \001(\0162*.google.cloud.a" + + "lloydb.v1.SslConfig.SslModeB\004\342A\001\001\022D\n\tca_" + + "source\030\002 \001(\0162+.google.cloud.alloydb.v1.S" + + "slConfig.CaSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024S" + + "SL_MODE_UNSPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020" + + "\001\032\002\010\001\022\030\n\020SSL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_M" + + "ODE_VERIFY_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED" + + "_AND_ENCRYPTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010" + + "CaSource\022\031\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021C" + + "A_SOURCE_MANAGED\020\001\"\346\006\n\025AutomatedBackupPo" + + "licy\022X\n\017weekly_schedule\030\002 \001(\0132=.google.c" + + "loud.alloydb.v1.AutomatedBackupPolicy.We" + + "eklyScheduleH\000\022a\n\024time_based_retention\030\004" + + " \001(\0132A.google.cloud.alloydb.v1.Automated" + + "BackupPolicy.TimeBasedRetentionH\001\022i\n\030qua" + + "ntity_based_retention\030\005 \001(\0132E.google.clo" + + "ud.alloydb.v1.AutomatedBackupPolicy.Quan" + + "tityBasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210" + + "\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google.proto" + + "buf.Duration\022J\n\021encryption_config\030\010 \001(\0132" + + ").google.cloud.alloydb.v1.EncryptionConf" + + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022J\n\006labels\030\007 \003" + + "(\0132:.google.cloud.alloydb.v1.AutomatedBa" + + "ckupPolicy.LabelsEntry\032k\n\016WeeklySchedule" + + "\022+\n\013start_times\030\001 \003(\0132\026.google.type.Time" + + "OfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google.typ" + + "e.DayOfWeek\032I\n\022TimeBasedRetention\0223\n\020ret" + + "ention_period\030\001 \001(\0132\031.google.protobuf.Du" + + "ration\032\'\n\026QuantityBasedRetention\022\r\n\005coun" + + "t\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretentionB" + + "\n\n\010_enabled\"\236\001\n\026ContinuousBackupConfig\022\024" + + "\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_window_" + + "days\030\004 \001(\005\022D\n\021encryption_config\030\003 \001(\0132)." + + "google.cloud.alloydb.v1.EncryptionConfig" + + "B\n\n\010_enabled\"\212\002\n\024ContinuousBackupInfo\022F\n" + + "\017encryption_info\030\001 \001(\0132\'.google.cloud.al" + + "loydb.v1.EncryptionInfoB\004\342A\001\003\0226\n\014enabled" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.google.type.Da" + + "yOfWeekB\004\342A\001\003\022B\n\030earliest_restorable_tim" + + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\"e\n\014BackupSource\022\030\n\nbackup_uid\030\002 \001(\tB\004\342" + + "A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloy" + + "db.googleapis.com/Backup\"h\n\026ContinuousBa" + + "ckupSource\022\025\n\007cluster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoi" + + "nt_in_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\002\"\302\021\n\007Cluster\022D\n\rbackup_source\030" + + "\017 \001(\0132%.google.cloud.alloydb.v1.BackupSo" + + "urceB\004\342A\001\003H\000\022J\n\020migration_source\030\020 \001(\0132(" + + ".google.cloud.alloydb.v1.MigrationSource" + + "B\004\342A\001\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_" + + "name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022<\n\006la" + + "bels\030\007 \003(\0132,.google.cloud.alloydb.v1.Clu" + + "ster.LabelsEntry\022;\n\005state\030\010 \001(\0162&.google" + + ".cloud.alloydb.v1.Cluster.StateB\004\342A\001\003\022H\n" + + "\014cluster_type\030\030 \001(\0162,.google.cloud.alloy" + + "db.v1.Cluster.ClusterTypeB\004\342A\001\003\022H\n\020datab" + + "ase_version\030\t \001(\0162(.google.cloud.alloydb" + + ".v1.DatabaseVersionB\004\342A\001\001\022L\n\016network_con" + + "fig\030\035 \001(\0132..google.cloud.alloydb.v1.Clus" + + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + + "ork\022\014\n\004etag\030\013 \001(\t\022F\n\013annotations\030\014 \003(\01321" + + ".google.cloud.alloydb.v1.Cluster.Annotat" + + "ionsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003\022A\n\014" + + "initial_user\030\016 \001(\0132%.google.cloud.alloyd" + + "b.v1.UserPasswordB\004\342A\001\004\022O\n\027automated_bac" + + "kup_policy\030\021 \001(\0132..google.cloud.alloydb." + + "v1.AutomatedBackupPolicy\022:\n\nssl_config\030\022" + + " \001(\0132\".google.cloud.alloydb.v1.SslConfig" + + "B\002\030\001\022J\n\021encryption_config\030\023 \001(\0132).google" + + ".cloud.alloydb.v1.EncryptionConfigB\004\342A\001\001" + + "\022F\n\017encryption_info\030\024 \001(\0132\'.google.cloud" + + ".alloydb.v1.EncryptionInfoB\004\342A\001\003\022W\n\030cont" + + "inuous_backup_config\030\033 \001(\0132/.google.clou" + + "d.alloydb.v1.ContinuousBackupConfigB\004\342A\001" + + "\001\022S\n\026continuous_backup_info\030\034 \001(\0132-.goog" + + "le.cloud.alloydb.v1.ContinuousBackupInfo" + + "B\004\342A\001\003\022J\n\020secondary_config\030\026 \001(\01320.googl" + + "e.cloud.alloydb.v1.Cluster.SecondaryConf" + + "ig\022L\n\016primary_config\030\027 \001(\0132..google.clou" + + "d.alloydb.v1.Cluster.PrimaryConfigB\004\342A\001\003" + + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + + "googleapis.com/Cluster\022:projects/{projec" + + "t}/locations/{location}/clusters/{cluste" + + "r}R\001\001B\010\n\006source\"\232\022\n\010Instance\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google." + + "cloud.alloydb.v1.Instance.LabelsEntry\022<\n" + + "\005state\030\010 \001(\0162\'.google.cloud.alloydb.v1.I" + + "nstance.StateB\004\342A\001\003\022K\n\rinstance_type\030\t \001" + + "(\0162..google.cloud.alloydb.v1.Instance.In" + + "stanceTypeB\004\342A\001\002\022G\n\016machine_config\030\n \001(\013" + + "2/.google.cloud.alloydb.v1.Instance.Mach" + + "ineConfig\022M\n\021availability_type\030\013 \001(\01622.g" + + "oogle.cloud.alloydb.v1.Instance.Availabi" + + "lityType\022\020\n\010gce_zone\030\014 \001(\t\022L\n\016database_f" + + "lags\030\r \003(\01324.google.cloud.alloydb.v1.Ins" + + "tance.DatabaseFlagsEntry\022C\n\rwritable_nod" + + "e\030\023 \001(\0132&.google.cloud.alloydb.v1.Instan" + + "ce.NodeB\004\342A\001\003\022;\n\005nodes\030\024 \003(\0132&.google.cl" + + "oud.alloydb.v1.Instance.NodeB\004\342A\001\003\022\\\n\025qu" + + "ery_insights_config\030\025 \001(\0132=.google.cloud" + + ".alloydb.v1.Instance.QueryInsightsInstan" + + "ceConfig\022J\n\020read_pool_config\030\016 \001(\01320.goo" + + "gle.cloud.alloydb.v1.Instance.ReadPoolCo" + + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022G\n\013annot" + + "ations\030\022 \003(\01322.google.cloud.alloydb.v1.I" + + "nstance.AnnotationsEntry\022`\n\030client_conne" + + "ction_config\030\027 \001(\01328.google.cloud.alloyd" + + "b.v1.Instance.ClientConnectionConfigB\004\342A" + + "\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(\005\032>" + + "\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n\n\002i" + + "p\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsights" + + "InstanceConfig\022$\n\027record_application_tag" + + "s\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address\030\003 " + + "\001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r\022#\n" + + "\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n\030_r" + + "ecord_application_tagsB\030\n\026_record_client" + + "_addressB\031\n\027_query_plans_per_minute\032$\n\016R" + + "eadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032x\n\026Cli" + + "entConnectionConfig\022 \n\022require_connector" + + "s\030\001 \001(\010B\004\342A\001\001\022<\n\nssl_config\030\002 \001(\0132\".goog" + + "le.cloud.alloydb.v1.SslConfigB\004\342A\001\001\032-\n\013L" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOP" + + "PED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAI" + + "NTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020" + + "\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INST" + + "ANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\t" + + "READ_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Availabili" + + "tyType\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020" + + "\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb" + + ".googleapis.com/Instance\022Oprojects/{proj" + + "ect}/locations/{location}/clusters/{clus" + + "ter}/instances/{instance}R\001\001\"\342\001\n\016Connect" + + "ionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(" + + "\tB\004\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A" + + "\207\001\n%alloydb.googleapis.com/ConnectionInf" + + "o\022^projects/{project}/locations/{locatio" + + "n}/clusters/{cluster}/instances/{instanc" + + "e}/connectionInfo\"\267\013\n\006Backup\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\017 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022;\n\006labels\030\006 \003(\0132+.google." + + "cloud.alloydb.v1.Backup.LabelsEntry\022:\n\005s" + + "tate\030\007 \001(\0162%.google.cloud.alloydb.v1.Bac" + + "kup.StateB\004\342A\001\003\0222\n\004type\030\010 \001(\0162$.google.c" + + "loud.alloydb.v1.Backup.Type\022\023\n\013descripti" + + "on\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001\003\022=\n\014c" + + "luster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + + "leapis.com/Cluster\022\031\n\013reconciling\030\013 \001(\010B" + + "\004\342A\001\003\022J\n\021encryption_config\030\014 \001(\0132).googl" + + "e.cloud.alloydb.v1.EncryptionConfigB\004\342A\001" + + "\001\022F\n\017encryption_info\030\r \001(\0132\'.google.clou" + + "d.alloydb.v1.EncryptionInfoB\004\342A\001\003\022\014\n\004eta" + + "g\030\016 \001(\t\022E\n\013annotations\030\020 \003(\01320.google.cl" + + "oud.alloydb.v1.Backup.AnnotationsEntry\022\030" + + "\n\nsize_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030" + + "\023 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "R\n\017expiry_quantity\030\024 \001(\01323.google.cloud." + + "alloydb.v1.Backup.QuantityBasedExpiryB\004\342" + + "A\001\003\022H\n\020database_version\030\026 \001(\0162(.google.c" + + "loud.alloydb.v1.DatabaseVersionB\004\342A\001\003\032Y\n" + + "\023QuantityBasedExpiry\022\035\n\017retention_count\030" + + "\001 \001(\005B\004\342A\001\003\022#\n\025total_retention_count\030\002 \001" + + "(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021" + + "STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATI" + + "NG\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024" + + "\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tA" + + "UTOMATED\020\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb" + + ".googleapis.com/Backup\0228projects/{projec" + + "t}/locations/{location}/backups/{backup}" + + "R\001\001\"\310\006\n\025SupportedDatabaseFlag\022`\n\023string_" + + "restrictions\030\007 \001(\0132A.google.cloud.alloyd" + + "b.v1.SupportedDatabaseFlag.StringRestric" + + "tionsH\000\022b\n\024integer_restrictions\030\010 \001(\0132B." + + "google.cloud.alloydb.v1.SupportedDatabas" + + "eFlag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(" + + "\t\022\021\n\tflag_name\030\002 \001(\t\022L\n\nvalue_type\030\003 \001(\016" + + "28.google.cloud.alloydb.v1.SupportedData" + + "baseFlag.ValueType\022\037\n\027accepts_multiple_v" + + "alues\030\004 \001(\010\022G\n\025supported_db_versions\030\005 \003" + + "(\0162(.google.cloud.alloydb.v1.DatabaseVer" + + "sion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022Str" + + "ingRestrictions\022\026\n\016allowed_values\030\001 \003(\t\032" + + "u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 \001(" + + "\0132\033.google.protobuf.Int64Value\022.\n\tmax_va" + + "lue\030\002 \001(\0132\033.google.protobuf.Int64Value\"U" + + "\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n\004N" + + "ONE\020\004:g\352Ad\n,alloydb.googleapis.com/Suppo" + + "rtedDatabaseFlag\0224projects/{project}/loc" + + "ations/{location}/flags/{flag}B\016\n\014restri" + + "ctions\"\322\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n\010p" + + "assword\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030\004 " + + "\003(\tB\004\342A\001\001\022?\n\tuser_type\030\005 \001(\0162&.google.cl" + + "oud.alloydb.v1.User.UserTypeB\004\342A\001\001\"Q\n\010Us" + + "erType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022\024\n\020ALL" + + "OYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USER\020\002:l\352" + + "Ai\n\033alloydb.googleapis.com/User\022Gproject" + + "s/{project}/locations/{location}/cluster" + + "s/{cluster}/users/{user}R\001\001*^\n\014InstanceV" + + "iew\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023IN" + + "STANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FUL" + + "L\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW_UNSPE" + + "CIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUS" + + "TER_VIEW_CONTINUOUS_BACKUP\020\002*Y\n\017Database" + + "Version\022 \n\034DATABASE_VERSION_UNSPECIFIED\020" + + "\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002B" + + "\262\003\n\033com.google.cloud.alloydb.v1B\016Resourc" + + "esProtoP\001Z5cloud.google.com/go/alloydb/a" + + "piv1/alloydbpb;alloydbpb\252\002\027Google.Cloud." + + "AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032G" + + "oogle::Cloud::AlloyDB::V1\352A\246\001\n(cloudkms." + + "googleapis.com/CryptoKeyVersion\022zproject" + + "s/{project}/locations/{location}/keyRing" + + "s/{key_ring}/cryptoKeys/{crypto_key}/cry" + + "ptoKeyVersions/{crypto_key_version}\352AN\n\036" + + "compute.googleapis.com/Network\022,projects" + + "/{project}/global/networks/{network}b\006pr" + + "oto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_UserPassword_descriptor, + new java.lang.String[] { "User", "Password", }); + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor, + new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor, + new java.lang.String[] { "SslMode", "CaSource", }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { "StartTimes", "DaysOfWeek", }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { "Count", }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor, + new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor, + new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor, + new java.lang.String[] { "BackupUid", "BackupName", }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor, + new java.lang.String[] { "Cluster", "PointInTime", }); + internal_static_google_cloud_alloydb_v1_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_descriptor, + new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "Source", }); + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { "Network", "AllocatedIpRange", }); + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { "PrimaryClusterName", }); + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { "SecondaryClusterNames", }); + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "ClientConnectionConfig", }); + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor, + new java.lang.String[] { "CpuCount", }); + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor, + new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { "NodeCount", }); + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { "RequireConnectors", "SslConfig", }); + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor, + new java.lang.String[] { "Name", "IpAddress", "InstanceUid", }); + internal_static_google_cloud_alloydb_v1_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "DatabaseVersion", }); + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { "AllowedValues", }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { "MinValue", "MaxValue", }); + internal_static_google_cloud_alloydb_v1_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_User_descriptor, + new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java index 63470123d64c..feb991fb2db3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -/** Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} + */ +public final class RestartInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -36,41 +22,34 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.RestartInstanceRequest.class, com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 @@ -79,32 +58,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -113,12 +90,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -136,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -145,15 +118,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -171,15 +143,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -190,15 +163,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -207,7 +177,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,7 +215,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } 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 +226,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.RestartInstanceRequest other = - (com.google.cloud.alloydb.v1.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1.RestartInstanceRequest other = (com.google.cloud.alloydb.v1.RestartInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,134 +255,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1.RestartInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.RestartInstanceRequest) com.google.cloud.alloydb.v1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.RestartInstanceRequest.class, com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.RestartInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -442,11 +416,8 @@ public com.google.cloud.alloydb.v1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.RestartInstanceRequest result = - new com.google.cloud.alloydb.v1.RestartInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.RestartInstanceRequest result = new com.google.cloud.alloydb.v1.RestartInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -468,39 +439,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestartInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.RestartInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.RestartInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -508,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -549,31 +518,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -583,28 +548,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -613,24 +573,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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,41 +595,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -682,24 +628,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -709,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -728,13 +666,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -743,8 +681,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -762,14 +698,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -777,8 +714,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -796,22 +731,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -829,7 +760,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -839,8 +769,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +786,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -873,17 +799,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -891,15 +814,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -911,15 +831,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -928,9 +845,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -940,12 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1.RestartInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.RestartInstanceRequest(); } @@ -954,27 +871,27 @@ public static com.google.cloud.alloydb.v1.RestartInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java index dadaeb21438c..43fc53b008f3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface RestartInstanceRequestOrBuilder - extends +public interface RestartInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java index d49c20ca96c6..b6fac2098f27 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreClusterRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -46,39 +28,34 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto
-        .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.RestoreClusterRequest.class,
-            com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1.RestoreClusterRequest.class, com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -94,36 +71,30 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return BACKUP_SOURCE;
-        case 8:
-          return CONTINUOUS_BACKUP_SOURCE;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 4: return BACKUP_SOURCE;
+        case 8: return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -131,26 +102,21 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } /** - * - * *
    * Backup source.
    * 
@@ -160,22 +126,19 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -183,27 +146,22 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance(); } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -212,30 +170,23 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou
    * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder
-      getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-      return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_;
+       return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -244,32 +195,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -278,18 +227,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -298,29 +243,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -331,15 +276,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -347,15 +288,11 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -363,14 +300,11 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -378,12 +312,9 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -401,7 +332,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -410,15 +340,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -436,15 +365,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -455,8 +385,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -464,7 +392,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -473,7 +400,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -485,7 +411,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -523,23 +450,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.alloydb.v1.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -549,29 +476,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.cloud.alloydb.v1.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.RestoreClusterRequest other = - (com.google.cloud.alloydb.v1.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1.RestoreClusterRequest other = (com.google.cloud.alloydb.v1.RestoreClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource() + .equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -598,7 +531,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -617,103 +551,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -721,32 +650,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.RestoreClusterRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.RestoreClusterRequest)
       com.google.cloud.alloydb.v1.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.RestoreClusterRequest.class,
-              com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1.RestoreClusterRequest.class, com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.RestoreClusterRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -772,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto
-          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -793,11 +723,8 @@ public com.google.cloud.alloydb.v1.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1.RestoreClusterRequest result =
-          new com.google.cloud.alloydb.v1.RestoreClusterRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.RestoreClusterRequest result = new com.google.cloud.alloydb.v1.RestoreClusterRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -812,7 +739,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestoreClusterRequest res
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null
+            ? cluster_
+            : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -825,10 +754,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestoreClusterRequest res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 &&
+          continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -837,39 +768,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.RestoreClusterReques
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1.RestoreClusterRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.RestoreClusterRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -877,8 +807,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -901,20 +830,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.RestoreClusterRequest other
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case CONTINUOUS_BACKUP_SOURCE:
-          {
-            mergeContinuousBackupSource(other.getContinuousBackupSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case CONTINUOUS_BACKUP_SOURCE: {
+          mergeContinuousBackupSource(other.getContinuousBackupSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -942,56 +868,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 48:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 48
-            case 66:
-              {
-                input.readMessage(
-                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getClusterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 48: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 48
+            case 66: {
+              input.readMessage(
+                  getContinuousBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1001,12 +924,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() {
@@ -1019,19 +942,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.BackupSource,
-            com.google.cloud.alloydb.v1.BackupSource.Builder,
-            com.google.cloud.alloydb.v1.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -1039,14 +956,11 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override @@ -1064,8 +978,6 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { } } /** - * - * *
      * Backup source.
      * 
@@ -1086,8 +998,6 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { return this; } /** - * - * *
      * Backup source.
      * 
@@ -1106,8 +1016,6 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Backup source.
      * 
@@ -1116,13 +1024,10 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 - && source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 4 && + source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1.BackupSource.newBuilder((com.google.cloud.alloydb.v1.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1138,8 +1043,6 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) return this; } /** - * - * *
      * Backup source.
      * 
@@ -1163,8 +1066,6 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Backup source.
      * 
@@ -1175,8 +1076,6 @@ public com.google.cloud.alloydb.v1.BackupSource.Builder getBackupSourceBuilder() return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Backup source.
      * 
@@ -1195,8 +1094,6 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } } /** - * - * *
      * Backup source.
      * 
@@ -1204,19 +1101,14 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde * .google.cloud.alloydb.v1.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, - com.google.cloud.alloydb.v1.BackupSource.Builder, - com.google.cloud.alloydb.v1.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, - com.google.cloud.alloydb.v1.BackupSource.Builder, - com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1.BackupSource) source_, getParentForChildren(), isClean()); @@ -1228,20 +1120,14 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupSource, - com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> - continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1249,15 +1135,12 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ @java.lang.Override @@ -1275,8 +1158,6 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou } } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1284,8 +1165,7 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public Builder setContinuousBackupSource(
-        com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
+    public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
       if (continuousBackupSourceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1299,8 +1179,6 @@ public Builder setContinuousBackupSource(
       return this;
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1320,8 +1198,6 @@ public Builder setContinuousBackupSource(
       return this;
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1329,16 +1205,12 @@ public Builder setContinuousBackupSource(
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public Builder mergeContinuousBackupSource(
-        com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
+    public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
       if (continuousBackupSourceBuilder_ == null) {
-        if (sourceCase_ == 8
-            && source_ != com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) {
-          source_ =
-              com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder(
-                      (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceCase_ == 8 &&
+            source_ != com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) {
+          source_ = com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1.ContinuousBackupSource) source_)
+              .mergeFrom(value).buildPartial();
         } else {
           source_ = value;
         }
@@ -1354,8 +1226,6 @@ public Builder mergeContinuousBackupSource(
       return this;
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1380,8 +1250,6 @@ public Builder clearContinuousBackupSource() {
       return this;
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1389,13 +1257,10 @@ public Builder clearContinuousBackupSource() {
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder
-        getContinuousBackupSourceBuilder() {
+    public com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() {
       return getContinuousBackupSourceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1404,8 +1269,7 @@ public Builder clearContinuousBackupSource() {
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
     @java.lang.Override
-    public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder
-        getContinuousBackupSourceOrBuilder() {
+    public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
       if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) {
         return continuousBackupSourceBuilder_.getMessageOrBuilder();
       } else {
@@ -1416,8 +1280,6 @@ public Builder clearContinuousBackupSource() {
       }
     }
     /**
-     *
-     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1426,19 +1288,14 @@ public Builder clearContinuousBackupSource() {
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.ContinuousBackupSource,
-            com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder,
-            com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>
+        com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> 
         getContinuousBackupSourceFieldBuilder() {
       if (continuousBackupSourceBuilder_ == null) {
         if (!(sourceCase_ == 8)) {
           source_ = com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance();
         }
-        continuousBackupSourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1.ContinuousBackupSource,
-                com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder,
-                com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>(
+        continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>(
                 (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_,
                 getParentForChildren(),
                 isClean());
@@ -1451,23 +1308,19 @@ public Builder clearContinuousBackupSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -1476,24 +1329,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1501,41 +1351,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -1545,24 +1384,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1572,20 +1405,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1594,21 +1425,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1616,35 +1446,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1654,21 +1477,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1678,55 +1497,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1742,16 +1545,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1762,20 +1563,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderFor return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1788,14 +1586,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1808,14 +1603,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1823,46 +1615,36 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1870,8 +1652,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1889,13 +1669,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1904,8 +1684,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1923,14 +1701,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1938,8 +1717,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1957,22 +1734,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1990,7 +1763,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -2000,8 +1772,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -2019,14 +1789,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -2034,10 +1802,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2045,7 +1811,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -2053,8 +1818,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2062,7 +1825,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -2074,8 +1836,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2083,7 +1843,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -2092,9 +1851,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2104,12 +1863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1.RestoreClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.RestoreClusterRequest(); } @@ -2118,27 +1877,27 @@ public static com.google.cloud.alloydb.v1.RestoreClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2153,4 +1912,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java similarity index 80% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java index 23420a25b9d5..1b56dd4d65a8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface RestoreClusterRequestOrBuilder - extends +public interface RestoreClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; - * * @return The backupSource. */ com.google.cloud.alloydb.v1.BackupSource getBackupSource(); /** - * - * *
    * Backup source.
    * 
@@ -59,34 +35,26 @@ public interface RestoreClusterRequestOrBuilder com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -97,102 +65,75 @@ public interface RestoreClusterRequestOrBuilder
   com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -210,13 +151,10 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -234,14 +172,12 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -249,7 +185,6 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java new file mode 100644 index 000000000000..788286873745 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java @@ -0,0 +1,905 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public final class ServiceProto { + private ServiceProto() {} + 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_cloud_alloydb_v1_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteUserRequest_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/cloud/alloydb/v1/service.proto\022" + + "\027google.cloud.alloydb.v1\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\'google/cloud/alloyd" + + "b/v1/resources.proto\032#google/longrunning" + + "/operations.proto\032\036google/protobuf/durat" + + "ion.proto\032\033google/protobuf/empty.proto\032 " + + "google/protobuf/field_mask.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\251\001\n\023ListClustersRequest\0227\n\006pa" + + "rent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis." + + "com/Cluster\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\n" + + "page_token\030\003 \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026" + + "\n\010order_by\030\005 \001(\tB\004\342A\001\001\"x\n\024ListClustersRe" + + "sponse\0222\n\010clusters\030\001 \003(\0132 .google.cloud." + + "alloydb.v1.Cluster\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"\204\001\n\021GetClusterR" + + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + + "oogleapis.com/Cluster\0228\n\004view\030\002 \001(\0162$.go" + + "ogle.cloud.alloydb.v1.ClusterViewB\004\342A\001\001\"" + + "\342\001\n\035CreateSecondaryClusterRequest\0227\n\006par" + + "ent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.c" + + "om/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007" + + "cluster\030\003 \001(\0132 .google.cloud.alloydb.v1." + + "ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\006 \001(\010B\004\342A\001\001\"\331\001\n\024CreateC" + + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + + "r_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .goog" + + "le.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nreq" + + "uest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001" + + "(\010B\004\342A\001\001\"\332\001\n\024UpdateClusterRequest\0225\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\004\342A\001\001\0227\n\007cluster\030\002 \001(\0132 .google.cloud" + + ".alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + + "\001\"\371\002\n\025RestoreClusterRequest\022>\n\rbackup_so" + + "urce\030\004 \001(\0132%.google.cloud.alloydb.v1.Bac" + + "kupSourceH\000\022S\n\030continuous_backup_source\030" + + "\010 \001(\0132/.google.cloud.alloydb.v1.Continuo" + + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + + "ster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .g" + + "oogle.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\n" + + "request_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + + "\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstancesR" + + "equest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb" + + ".googleapis.com/Instance\022\027\n\tpage_size\030\002 " + + "\001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030" + + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"{\n\025L" + + "istInstancesResponse\0224\n\tinstances\030\001 \003(\0132" + + "!.google.cloud.alloydb.v1.Instance\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"\201\001\n\022GetInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + + "3\n\004view\030\002 \001(\0162%.google.cloud.alloydb.v1." + + "InstanceView\"\336\001\n\025CreateInstanceRequest\0228" + + "\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googlea" + + "pis.com/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342" + + "A\001\002\0229\n\010instance\030\003 \001(\0132!.google.cloud.all" + + "oydb.v1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001" + + "(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\347\001" + + "\n\036CreateSecondaryInstanceRequest\0228\n\006pare" + + "nt\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googleapis.co" + + "m/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\0229\n" + + "\010instance\030\003 \001(\0132!.google.cloud.alloydb.v" + + "1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A" + + "\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"p\n\026Creat" + + "eInstanceRequests\022V\n\030create_instance_req" + + "uests\030\001 \003(\0132..google.cloud.alloydb.v1.Cr" + + "eateInstanceRequestB\004\342A\001\002\"\272\001\n\033BatchCreat" + + "eInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372" + + "A!\022\037alloydb.googleapis.com/Instance\022G\n\010r" + + "equests\030\002 \001(\0132/.google.cloud.alloydb.v1." + + "CreateInstanceRequestsB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\003 \001(\tB\004\342A\001\001\"T\n\034BatchCreateInstancesRe" + + "sponse\0224\n\tinstances\030\001 \003(\0132!.google.cloud" + + ".alloydb.v1.Instance\"\215\002\n\034BatchCreateInst" + + "ancesMetadata\022\030\n\020instance_targets\030\001 \003(\t\022" + + "f\n\021instance_statuses\030\002 \003(\0132K.google.clou" + + "d.alloydb.v1.BatchCreateInstancesMetadat" + + "a.InstanceStatusesEntry\032k\n\025InstanceStatu" + + "sesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.g" + + "oogle.cloud.alloydb.v1.BatchCreateInstan" + + "ceStatus:\0028\001\"\320\002\n\031BatchCreateInstanceStat" + + "us\022G\n\005state\030\001 \001(\01628.google.cloud.alloydb" + + ".v1.BatchCreateInstanceStatus.State\022\021\n\te" + + "rror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.google.r" + + "pc.Status\022<\n\004type\030\003 \001(\0162..google.cloud.a" + + "lloydb.v1.Instance.InstanceType\"v\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDING_CREAT" + + "E\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING" + + "\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"\335\001\n\025Upda" + + "teInstanceRequest\0225\n\013update_mask\030\001 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\001\0229\n\010inst" + + "ance\030\002 \001(\0132!.google.cloud.alloydb.v1.Ins" + + "tanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n" + + "\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_miss" + + "ing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceReques" + + "t\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.google" + + "apis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342" + + "A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + + "\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest" + + "\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googlea" + + "pis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A" + + "\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\212\002\n\022Inje" + + "ctFaultRequest\022O\n\nfault_type\030\001 \001(\01625.goo" + + "gle.cloud.alloydb.v1.InjectFaultRequest." + + "FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n\037" + + "alloydb.googleapis.com/Instance\022\030\n\nreque" + + "st_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" + + "B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPEC" + + "IFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstance" + + "Request\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb." + + "googleapis.com/Instance\022\030\n\nrequest_id\030\002 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\225" + + "\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&\342" + + "A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\023ListBa" + + "ckupsResponse\0220\n\007backups\030\001 \003(\0132\037.google." + + "cloud.alloydb.v1.Backup\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020GetBack" + + "upRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloyd" + + "b.googleapis.com/Backup\"\324\001\n\023CreateBackup" + + "Request\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloyd" + + "b.googleapis.com/Backup\022\027\n\tbackup_id\030\002 \001" + + "(\tB\004\342A\001\002\0225\n\006backup\030\003 \001(\0132\037.google.cloud." + + "alloydb.v1.BackupB\004\342A\001\002\022\030\n\nrequest_id\030\004 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\327" + + "\001\n\023UpdateBackupRequest\0225\n\013update_mask\030\001 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225\n" + + "\006backup\030\002 \001(\0132\037.google.cloud.alloydb.v1." + + "BackupB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mis" + + "sing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023DeleteBackupRequest" + + "\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googlea" + + "pis.com/Backup\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001" + + "\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 " + + "\001(\tB\004\342A\001\001\"\221\001\n!ListSupportedDatabaseFlags" + + "Request\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,alloyd" + + "b.googleapis.com/SupportedDatabaseFlag\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001" + + "\n\"ListSupportedDatabaseFlagsResponse\022P\n\030" + + "supported_database_flags\030\001 \003(\0132..google." + + "cloud.alloydb.v1.SupportedDatabaseFlag\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\354\001\n GenerateClie" + + "ntCertificateRequest\0227\n\006parent\030\001 \001(\tB\'\342A" + + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030\n" + + "\nrequest_id\030\002 \001(\tB\004\342A\001\001\0226\n\rcert_duration" + + "\030\004 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001\022" + + "\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_metadat" + + "a_exchange\030\006 \001(\010B\004\342A\001\001\"_\n!GenerateClient" + + "CertificateResponse\022#\n\025pem_certificate_c" + + "hain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"" + + "n\n\030GetConnectionInfoRequest\0228\n\006parent\030\001 " + + "\001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/Ins" + + "tance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\203\003\n\021Oper" + + "ationMetadata\022f\n\037batch_create_instances_" + + "metadata\030\010 \001(\01325.google.cloud.alloydb.v1" + + ".BatchCreateInstancesMetadataB\004\342A\001\003H\000\0225\n" + + "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001(\t" + + "B\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_mes" + + "sage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancellati" + + "on\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342A\001" + + "\003B\022\n\020request_specific\"\251\001\n\020ListUsersReque" + + "st\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.goo" + + "gleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001" + + "\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 " + + "\001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"o\n\021Lis" + + "tUsersResponse\022,\n\005users\030\001 \003(\0132\035.google.c" + + "loud.alloydb.v1.User\022\027\n\017next_page_token\030" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016GetUserReq" + + "uest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.goo" + + "gleapis.com/User\"\312\001\n\021CreateUserRequest\0224" + + "\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.googlea" + + "pis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\002\0221\n\004u" + + "ser\030\003 \001(\0132\035.google.cloud.alloydb.v1.User" + + "B\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvali" + + "date_only\030\005 \001(\010B\004\342A\001\001\"\321\001\n\021UpdateUserRequ" + + "est\0225\n\013update_mask\030\001 \001(\0132\032.google.protob" + + "uf.FieldMaskB\004\342A\001\001\0221\n\004user\030\002 \001(\0132\035.googl" + + "e.cloud.alloydb.v1.UserB\004\342A\001\002\022\030\n\nrequest" + + "_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004" + + "\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"~\n\021Del" + + "eteUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033a" + + "lloydb.googleapis.com/User\022\030\n\nrequest_id" + + "\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001" + + "\0012\3721\n\014AlloyDBAdmin\022\252\001\n\014ListClusters\022,.go" + + "ogle.cloud.alloydb.v1.ListClustersReques" + + "t\032-.google.cloud.alloydb.v1.ListClusters" + + "Response\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=p" + + "rojects/*/locations/*}/clusters\022\227\001\n\nGetC" + + "luster\022*.google.cloud.alloydb.v1.GetClus" + + "terRequest\032 .google.cloud.alloydb.v1.Clu" + + "ster\";\332A\004name\202\323\344\223\002.\022,/v1/{name=projects/" + + "*/locations/*/clusters/*}\022\327\001\n\rCreateClus" + + "ter\022-.google.cloud.alloydb.v1.CreateClus" + + "terRequest\032\035.google.longrunning.Operatio" + + "n\"x\312A\034\n\007Cluster\022\021OperationMetadata\332A\031par" + + "ent,cluster,cluster_id\202\323\344\223\0027\",/v1/{paren" + + "t=projects/*/locations/*}/clusters:\007clus" + + "ter\022\331\001\n\rUpdateCluster\022-.google.cloud.all" + + "oydb.v1.UpdateClusterRequest\032\035.google.lo" + + "ngrunning.Operation\"z\312A\034\n\007Cluster\022\021Opera" + + "tionMetadata\332A\023cluster,update_mask\202\323\344\223\002?" + + "24/v1/{cluster.name=projects/*/locations" + + "/*/clusters/*}:\007cluster\022\307\001\n\rDeleteCluste" + + "r\022-.google.cloud.alloydb.v1.DeleteCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "h\312A*\n\025google.protobuf.Empty\022\021OperationMe" + + "tadata\332A\004name\202\323\344\223\002.*,/v1/{name=projects/" + + "*/locations/*/clusters/*}\022\306\001\n\016PromoteClu" + + "ster\022..google.cloud.alloydb.v1.PromoteCl" + + "usterRequest\032\035.google.longrunning.Operat" + + "ion\"e\312A\034\n\007Cluster\022\021OperationMetadata\332A\004n" + + "ame\202\323\344\223\0029\"4/v1/{name=projects/*/location" + + "s/*/clusters/*}:promote:\001*\022\277\001\n\016RestoreCl" + + "uster\022..google.cloud.alloydb.v1.RestoreC" + + "lusterRequest\032\035.google.longrunning.Opera" + + "tion\"^\312A\034\n\007Cluster\022\021OperationMetadata\202\323\344" + + "\223\0029\"4/v1/{parent=projects/*/locations/*}" + + "/clusters:restore:\001*\022\372\001\n\026CreateSecondary" + + "Cluster\0226.google.cloud.alloydb.v1.Create" + + "SecondaryClusterRequest\032\035.google.longrun" + + "ning.Operation\"\210\001\312A\034\n\007Cluster\022\021Operation" + + "Metadata\332A\031parent,cluster,cluster_id\202\323\344\223" + + "\002G\" * SSL configuration. *
* * Protobuf type {@code google.cloud.alloydb.v1.SslConfig} */ -public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SslConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SslConfig) SslConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -44,38 +26,34 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SslConfig.class, - com.google.cloud.alloydb.v1.SslConfig.Builder.class); + com.google.cloud.alloydb.v1.SslConfig.class, com.google.cloud.alloydb.v1.SslConfig.Builder.class); } /** - * - * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.SslConfig.SslMode} */ - public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -84,8 +62,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ SSL_MODE_UNSPECIFIED(0), /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -95,8 +71,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated SSL_MODE_ALLOW(1), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -108,8 +82,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -121,8 +93,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -131,8 +101,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -144,8 +112,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -154,8 +120,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -164,8 +128,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -176,8 +138,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -188,8 +148,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -198,8 +156,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -208,6 +164,7 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTED_ONLY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,55 +189,52 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: - return SSL_MODE_UNSPECIFIED; - case 1: - return SSL_MODE_ALLOW; - case 2: - return SSL_MODE_REQUIRE; - case 3: - return SSL_MODE_VERIFY_CA; - case 4: - return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: - return ENCRYPTED_ONLY; - default: - return null; + case 0: return SSL_MODE_UNSPECIFIED; + case 1: return SSL_MODE_ALLOW; + case 2: return SSL_MODE_REQUIRE; + case 3: return SSL_MODE_VERIFY_CA; + case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: return ENCRYPTED_ONLY; + 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< + SslMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SslMode findValueByNumber(int number) { + return SslMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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.cloud.alloydb.v1.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -298,18 +252,15 @@ private SslMode(int value) { } /** - * - * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.SslConfig.CaSource} */ - public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -319,8 +270,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -332,8 +281,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -343,8 +290,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -353,6 +298,7 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_SOURCE_MANAGED_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -377,47 +323,48 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: - return CA_SOURCE_UNSPECIFIED; - case 1: - return CA_SOURCE_MANAGED; - default: - return null; + case 0: return CA_SOURCE_UNSPECIFIED; + case 1: return CA_SOURCE_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< + CaSource> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CaSource findValueByNumber(int number) { + return CaSource.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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.cloud.alloydb.v1.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -437,85 +384,58 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1.SslConfig.SslMode result = - com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); + @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1.SslConfig.SslMode result = com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.SslMode.UNRECOGNIZED : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1.SslConfig.CaSource result = - com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); + @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1.SslConfig.CaSource result = com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.CaSource.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -527,13 +447,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (sslMode_ - != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (sslMode_ != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -545,13 +464,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ - != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); + if (sslMode_ != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); + if (caSource_ != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -561,7 +480,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.cloud.alloydb.v1.SslConfig)) { return super.equals(obj); @@ -590,135 +509,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SslConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.SslConfig 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.cloud.alloydb.v1.SslConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SslConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SslConfig) com.google.cloud.alloydb.v1.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SslConfig.class, - com.google.cloud.alloydb.v1.SslConfig.Builder.class); + com.google.cloud.alloydb.v1.SslConfig.class, com.google.cloud.alloydb.v1.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.SslConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -729,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override @@ -750,11 +666,8 @@ public com.google.cloud.alloydb.v1.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig buildPartial() { - com.google.cloud.alloydb.v1.SslConfig result = - new com.google.cloud.alloydb.v1.SslConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.SslConfig result = new com.google.cloud.alloydb.v1.SslConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -773,39 +686,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SslConfig result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.SslConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1.SslConfig)other); } else { super.mergeFrom(other); return this; @@ -846,25 +758,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -874,38 +783,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int sslMode_ = 0; /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -916,35 +813,24 @@ public Builder setSslModeValue(int value) { return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1.SslConfig.SslMode result = - com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); + com.google.cloud.alloydb.v1.SslConfig.SslMode result = com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.SslMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The sslMode to set. * @return This builder for chaining. */ @@ -958,16 +844,11 @@ public Builder setSslMode(com.google.cloud.alloydb.v1.SslConfig.SslMode value) { return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSslMode() { @@ -979,35 +860,24 @@ public Builder clearSslMode() { private int caSource_ = 0; /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -1018,37 +888,26 @@ public Builder setCaSourceValue(int value) { return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1.SslConfig.CaSource result = - com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); + com.google.cloud.alloydb.v1.SslConfig.CaSource result = com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.CaSource.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The caSource to set. * @return This builder for chaining. */ @@ -1062,17 +921,12 @@ public Builder setCaSource(com.google.cloud.alloydb.v1.SslConfig.CaSource value) return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearCaSource() { @@ -1081,9 +935,9 @@ public Builder clearCaSource() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1093,12 +947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SslConfig) private static final com.google.cloud.alloydb.v1.SslConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SslConfig(); } @@ -1107,27 +961,27 @@ public static com.google.cloud.alloydb.v1.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +996,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java new file mode 100644 index 000000000000..586fed990904 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public interface SslConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The sslMode. + */ + com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode(); + + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The caSource. + */ + com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java index f1bb07d3e2e7..be9a338eb921 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SupportedDatabaseFlag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -50,28 +32,25 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class,
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown flag type.
      * 
@@ -92,8 +70,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ VALUE_TYPE_UNSPECIFIED(0), /** - * - * *
      * String type flag.
      * 
@@ -102,8 +78,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Integer type flag.
      * 
@@ -112,8 +86,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ INTEGER(2), /** - * - * *
      * Float type flag.
      * 
@@ -122,8 +94,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ FLOAT(3), /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -135,8 +105,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is an unknown flag type.
      * 
@@ -145,8 +113,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * String type flag.
      * 
@@ -155,8 +121,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Integer type flag.
      * 
@@ -165,8 +129,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTEGER_VALUE = 2; /** - * - * *
      * Float type flag.
      * 
@@ -175,8 +137,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLOAT_VALUE = 3; /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -185,6 +145,7 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -209,55 +170,51 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: - return VALUE_TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INTEGER; - case 3: - return FLOAT; - case 4: - return NONE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return VALUE_TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INTEGER; + case 3: return FLOAT; + case 4: return NONE; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ValueType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1.SupportedDatabaseFlag.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType 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; @@ -274,155 +231,132 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder - extends + public interface StringRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); } /** - * - * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringRestrictions() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -430,24 +364,21 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -459,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -488,15 +420,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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other = - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -518,95 +450,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - 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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -616,67 +542,62 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -685,17 +606,13 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions buil @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions buildPartial() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = - new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -707,53 +624,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) other); + return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other) { - if (other - == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other) { + if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -790,20 +700,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -813,12 +721,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -826,46 +732,38 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -873,39 +771,33 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -913,22 +805,18 @@ public Builder setAllowedValues(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -936,61 +824,53 @@ public Builder addAllowedValues(java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -998,7 +878,6 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1011,44 +890,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,44 +936,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IntegerRestrictionsOrBuilder - extends + public interface IntegerRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1107,32 +974,24 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1142,58 +1001,52 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** - * - * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IntegerRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IntegerRestrictions() {} + private IntegerRestrictions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1201,14 +1054,11 @@ public boolean hasMinValue() { return minValue_ != null; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ @java.lang.Override @@ -1216,8 +1066,6 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1232,14 +1080,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1247,14 +1092,11 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ @java.lang.Override @@ -1262,8 +1104,6 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1276,7 +1116,6 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1288,7 +1127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1305,10 +1145,12 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1318,21 +1160,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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other = - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1359,95 +1202,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - 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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1457,43 +1294,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder - .class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1512,22 +1345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1536,23 +1366,23 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions bui @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = - new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null + ? minValue_ + : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null + ? maxValue_ + : maxValueBuilder_.build(); } } @@ -1560,54 +1390,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) other); + if (other instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other - == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1640,25 +1462,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMinValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMaxValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1668,52 +1491,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - minValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } else { return minValueBuilder_.getMessage(); } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1734,15 +1543,14 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1753,8 +1561,6 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1763,9 +1569,9 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && minValue_ != null - && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + minValue_ != null && + minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1778,8 +1584,6 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1797,8 +1601,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1811,8 +1613,6 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1823,14 +1623,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1838,17 +1635,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -1856,47 +1650,34 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - maxValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1917,15 +1698,14 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1936,8 +1716,6 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1946,9 +1724,9 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && maxValue_ != null - && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + maxValue_ != null && + maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1961,8 +1739,6 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1980,8 +1756,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1994,8 +1768,6 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2006,14 +1778,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2021,22 +1790,18 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2049,45 +1814,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2099,26 +1860,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int restrictionsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object restrictions_; - public enum RestrictionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; - private RestrictionsCase(int value) { this.value = value; } @@ -2134,38 +1891,30 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: - return STRING_RESTRICTIONS; - case 8: - return INTEGER_RESTRICTIONS; - case 0: - return RESTRICTIONS_NOT_SET; - default: - return null; + case 7: return STRING_RESTRICTIONS; + case 8: return INTEGER_RESTRICTIONS; + case 0: return RESTRICTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RestrictionsCase getRestrictionsCase() { - return RestrictionsCase.forNumber(restrictionsCase_); + public RestrictionsCase + getRestrictionsCase() { + return RestrictionsCase.forNumber( + restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2173,60 +1922,42 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -2234,55 +1965,39 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2290,7 +2005,6 @@ public boolean hasIntegerRestrictions() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2299,15 +2013,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2315,15 +2028,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 { @@ -2332,19 +2046,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ @java.lang.Override @@ -2353,30 +2063,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -2388,39 +2098,29 @@ public com.google.protobuf.ByteString getFlagNameBytes() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2429,49 +2129,36 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List supportedDbVersions_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion> - supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion> supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>() { public com.google.cloud.alloydb.v1.DatabaseVersion convert(java.lang.Integer from) { - com.google.cloud.alloydb.v1.DatabaseVersion result = - com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(from); - return result == null - ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(from); + return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } }; /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ @java.lang.Override public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2479,14 +2166,11 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2495,29 +2179,24 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2525,14 +2204,11 @@ public java.util.List getSupportedDbVersionsValueList() { public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } - private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2541,7 +2217,6 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -2550,7 +2225,6 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2562,7 +2236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2570,9 +2245,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { + if (valueType_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2589,12 +2262,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); + output.writeMessage(7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + output.writeMessage(8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } getUnknownFields().writeTo(output); } @@ -2611,42 +2282,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); + if (valueType_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2656,27 +2322,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.cloud.alloydb.v1.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag other = - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag) obj; - if (!getName().equals(other.getName())) return false; - if (!getFlagName().equals(other.getFlagName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFlagName() + .equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() + != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() + != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions() + .equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions() + .equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2699,13 +2370,15 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2724,103 +2397,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2831,32 +2499,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class,
-              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2880,9 +2549,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2901,19 +2570,15 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1.SupportedDatabaseFlag result =
-          new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2943,10 +2608,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 &&
+          stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 &&
+          integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2955,39 +2622,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.SupportedDatabaseFla
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2995,8 +2661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -3027,20 +2692,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag other
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS:
-          {
-            mergeStringRestrictions(other.getStringRestrictions());
-            break;
-          }
-        case INTEGER_RESTRICTIONS:
-          {
-            mergeIntegerRestrictions(other.getIntegerRestrictions());
-            break;
-          }
-        case RESTRICTIONS_NOT_SET:
-          {
-            break;
-          }
+        case STRING_RESTRICTIONS: {
+          mergeStringRestrictions(other.getStringRestrictions());
+          break;
+        }
+        case INTEGER_RESTRICTIONS: {
+          mergeIntegerRestrictions(other.getIntegerRestrictions());
+          break;
+        }
+        case RESTRICTIONS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3068,76 +2730,68 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                flagName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 24:
-              {
-                valueType_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 24
-            case 32:
-              {
-                acceptsMultipleValues_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 32
-            case 40:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              flagName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 24: {
+              valueType_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 24
+            case 32: {
+              acceptsMultipleValues_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 32
+            case 40: {
+              int tmpRaw = input.readEnum();
+              ensureSupportedDbVersionsIsMutable();
+              supportedDbVersions_.add(tmpRaw);
+              break;
+            } // case 40
+            case 42: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-                break;
-              } // case 40
-            case 42:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureSupportedDbVersionsIsMutable();
-                  supportedDbVersions_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 42
-            case 48:
-              {
-                requiresDbRestart_ = input.readBool();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(
-                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 42
+            case 48: {
+              requiresDbRestart_ = input.readBool();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getStringRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getIntegerRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3147,12 +2801,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-
-    public RestrictionsCase getRestrictionsCase() {
-      return RestrictionsCase.forNumber(restrictionsCase_);
+    public RestrictionsCase
+        getRestrictionsCase() {
+      return RestrictionsCase.forNumber(
+          restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -3165,21 +2819,13 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions,
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder,
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
-        stringRestrictionsBuilder_;
+        com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
     /**
-     *
-     *
      * 
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -3187,49 +2833,35 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder setStringRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3243,19 +2875,14 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3266,29 +2893,18 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder mergeStringRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 - && restrictions_ - != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 7 && + restrictions_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3304,15 +2920,11 @@ public Builder mergeStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -3331,74 +2943,50 @@ public Builder clearStringRestrictions() { return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder - getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } - stringRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - restrictions_, + stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3409,21 +2997,13 @@ public Builder clearStringRestrictions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> - integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3431,49 +3011,35 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3487,19 +3053,14 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3510,29 +3071,18 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder mergeIntegerRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 - && restrictions_ - != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 8 && + restrictions_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3548,15 +3098,11 @@ public Builder mergeIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3575,74 +3121,50 @@ public Builder clearIntegerRestrictions() { return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder - getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } - integerRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_, + integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3654,8 +3176,6 @@ public Builder clearIntegerRestrictions() { private java.lang.Object name_ = ""; /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3663,13 +3183,13 @@ public Builder clearIntegerRestrictions() {
      * 
* * 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; @@ -3678,8 +3198,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3687,14 +3205,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 { @@ -3702,8 +3221,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3711,22 +3228,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3734,7 +3247,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3744,8 +3256,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3753,14 +3263,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3770,21 +3278,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object flagName_ = ""; /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3793,22 +3299,21 @@ public java.lang.String getFlagName() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -3816,37 +3321,30 @@ public com.google.protobuf.ByteString getFlagNameBytes() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3856,22 +3354,18 @@ public Builder clearFlagName() { return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3882,16 +3376,13 @@ public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3903,20 +3394,15 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The valueType to set. * @return This builder for chaining. */ @@ -3931,7 +3417,6 @@ public Builder setValueType(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Va } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3941,17 +3426,14 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_; + private boolean acceptsMultipleValues_ ; /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3959,15 +3441,12 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -3979,15 +3458,12 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -3998,8 +3474,7 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -4007,45 +3482,34 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsList() { + public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -4053,14 +3517,11 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -4076,14 +3537,11 @@ public Builder setSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4097,14 +3555,11 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1.DatabaseVersio return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4118,14 +3573,11 @@ public Builder addAllSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -4135,28 +3587,23 @@ public Builder clearSupportedDbVersions() { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -4164,33 +3611,28 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue(int index, int value) { + public Builder setSupportedDbVersionsValue( + int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -4201,18 +3643,16 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue( + java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -4221,10 +3661,8 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * Whether setting or updating this flag on an Instance requires a database * restart. If a flag that requires database restart is set, the backend @@ -4233,7 +3671,6 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -4241,8 +3678,6 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4251,7 +3686,6 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; - * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -4263,8 +3697,6 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4273,7 +3705,6 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; - * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -4282,9 +3713,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4294,12 +3725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(); } @@ -4308,27 +3739,27 @@ public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4343,4 +3774,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java index 975df4862979..14ced4e0cffe 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java @@ -1,115 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface SupportedDatabaseFlagOrBuilder - extends +public interface SupportedDatabaseFlagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -117,13 +69,10 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -131,131 +80,105 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ java.lang.String getFlagName(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - com.google.protobuf.ByteString getFlagNameBytes(); + com.google.protobuf.ByteString + getFlagNameBytes(); /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType(); /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int index); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List getSupportedDbVersionsValueList(); + java.util.List + getSupportedDbVersionsValueList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -264,7 +187,6 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java index 24137ee94544..fec161d171a2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateBackupRequest.class, com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Backup backup_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -142,15 +108,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -158,14 +120,11 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { @@ -173,12 +132,9 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,7 +152,6 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -269,15 +221,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -286,7 +235,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -324,19 +273,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -346,25 +299,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.cloud.alloydb.v1.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateBackupRequest other = - (com.google.cloud.alloydb.v1.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1.UpdateBackupRequest other = (com.google.cloud.alloydb.v1.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getBackup() + .equals(other.getBackup())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,144 +344,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest) com.google.cloud.alloydb.v1.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateBackupRequest.class, com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -546,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -567,11 +522,8 @@ public com.google.cloud.alloydb.v1.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateBackupRequest result = - new com.google.cloud.alloydb.v1.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.UpdateBackupRequest result = new com.google.cloud.alloydb.v1.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -579,10 +531,14 @@ public com.google.cloud.alloydb.v1.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -599,39 +555,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateBackupRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -639,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -684,43 +638,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -730,18 +682,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -750,17 +696,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -769,23 +711,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -794,8 +730,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -811,8 +746,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -821,10 +754,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -835,8 +768,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -845,14 +776,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -865,8 +795,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -875,8 +803,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -889,8 +816,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -899,8 +824,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -908,8 +832,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -918,21 +840,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -941,21 +859,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -963,35 +877,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1.Backup getBackup() { @@ -1002,14 +905,11 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { @@ -1025,16 +925,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1045,20 +943,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForVa return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1071,14 +966,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1091,14 +983,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -1106,44 +995,36 @@ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, - com.google.cloud.alloydb.v1.Backup.Builder, - com.google.cloud.alloydb.v1.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1151,8 +1032,6 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,13 +1049,13 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1185,8 +1064,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1204,14 +1081,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1219,8 +1097,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1238,22 +1114,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1271,7 +1143,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1281,8 +1152,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1300,14 +1169,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1315,17 +1182,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1333,15 +1197,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1353,15 +1214,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1371,17 +1229,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1389,15 +1244,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1409,15 +1261,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1426,9 +1275,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1438,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateBackupRequest(); } @@ -1452,27 +1301,27 @@ public static com.google.cloud.alloydb.v1.UpdateBackupRequest getDefaultInstance 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; @@ -1487,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java similarity index 82% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java index 7c895288ff3b..bbcd83fe72ec 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1.Backup getBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,35 +112,29 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java index c892ed76b306..9bfb2d7861a2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateClusterRequest.class, com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Cluster cluster_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -142,15 +108,11 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -158,14 +120,11 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -173,12 +132,9 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,7 +152,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -259,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -270,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -287,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -325,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,25 +300,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.cloud.alloydb.v1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateClusterRequest other = - (com.google.cloud.alloydb.v1.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1.UpdateClusterRequest other = (com.google.cloud.alloydb.v1.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,144 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UpdateClusterRequest) com.google.cloud.alloydb.v1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateClusterRequest.class, com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.UpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -547,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -568,11 +523,8 @@ public com.google.cloud.alloydb.v1.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateClusterRequest result = - new com.google.cloud.alloydb.v1.UpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.UpdateClusterRequest result = new com.google.cloud.alloydb.v1.UpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -580,10 +532,14 @@ public com.google.cloud.alloydb.v1.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -600,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateClusterRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -640,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -685,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -751,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -770,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -795,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -812,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -822,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -836,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -846,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -866,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -876,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -890,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -900,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -909,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -919,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -942,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -964,55 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1028,16 +926,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1048,20 +944,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderFor return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1074,14 +967,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1094,14 +984,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -1109,46 +996,36 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, - com.google.cloud.alloydb.v1.Cluster.Builder, - com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1156,8 +1033,6 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1175,13 +1050,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1190,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1209,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1224,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1243,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1276,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1286,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1305,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1320,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1331,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1339,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1348,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1360,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1369,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1379,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1397,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1417,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1434,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1446,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1.UpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateClusterRequest(); } @@ -1460,27 +1305,27 @@ public static com.google.cloud.alloydb.v1.UpdateClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1495,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java similarity index 82% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java index c38552ba96b9..e27c5b44833e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateClusterRequestOrBuilder - extends +public interface UpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,14 +112,12 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -170,21 +125,17 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java index 12c16c416b0a..306850c111d3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Instance instance_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -142,47 +108,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,7 +152,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -209,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -235,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -254,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -263,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -274,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -291,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -329,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -351,25 +300,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.cloud.alloydb.v1.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateInstanceRequest other = - (com.google.cloud.alloydb.v1.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -392,144 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** - * - * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest) com.google.cloud.alloydb.v1.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -551,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -572,11 +523,8 @@ public com.google.cloud.alloydb.v1.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateInstanceRequest result = - new com.google.cloud.alloydb.v1.UpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1.UpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -584,10 +532,14 @@ public com.google.cloud.alloydb.v1.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -604,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateInstanceRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -644,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -689,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -755,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -774,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -799,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -816,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -826,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -840,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -850,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -870,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -880,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -894,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -904,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -913,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -923,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -946,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -968,58 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -1035,17 +926,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1056,21 +944,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderF return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1083,15 +967,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1104,15 +984,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -1120,48 +996,36 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, - com.google.cloud.alloydb.v1.Instance.Builder, - com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1169,8 +1033,6 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,13 +1050,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1203,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1222,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1237,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1256,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1289,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1299,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1318,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1333,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1344,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1352,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1361,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1373,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1382,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1392,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1410,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1430,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1447,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - 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 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1.UpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateInstanceRequest(); } @@ -1473,27 +1305,27 @@ public static com.google.cloud.alloydb.v1.UpdateInstanceRequest getDefaultInstan 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; @@ -1508,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java similarity index 82% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java index b598d3836fb1..efa70c442e9d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateInstanceRequestOrBuilder - extends +public interface UpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,14 +112,12 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -170,21 +125,17 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java index c8ea1f316f3a..e050f10d88e9 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateUserRequest} */ -public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UpdateUserRequest) UpdateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateUserRequest.class, - com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateUserRequest.class, com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,14 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.User user_; /** - * - * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the user field is set. */ @java.lang.Override @@ -141,14 +108,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The user. */ @java.lang.Override @@ -156,8 +120,6 @@ public com.google.cloud.alloydb.v1.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being updated
    * 
@@ -170,12 +132,9 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -193,7 +152,6 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -202,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -228,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -247,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -266,14 +221,11 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -282,7 +234,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -320,19 +272,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -342,25 +298,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.cloud.alloydb.v1.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateUserRequest other = - (com.google.cloud.alloydb.v1.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1.UpdateUserRequest other = (com.google.cloud.alloydb.v1.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getUser() + .equals(other.getUser())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -383,144 +343,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UpdateUserRequest) com.google.cloud.alloydb.v1.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateUserRequest.class, - com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateUserRequest.class, com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.UpdateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto - .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override @@ -563,11 +521,8 @@ public com.google.cloud.alloydb.v1.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateUserRequest result = - new com.google.cloud.alloydb.v1.UpdateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1.UpdateUserRequest result = new com.google.cloud.alloydb.v1.UpdateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -575,10 +530,14 @@ public com.google.cloud.alloydb.v1.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -595,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateUserRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -679,43 +637,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,18 +681,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -745,17 +695,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -764,23 +710,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -789,8 +729,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -806,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -816,10 +753,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -830,8 +767,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -840,14 +775,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -860,8 +794,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -870,8 +802,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -884,8 +815,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -894,8 +823,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -903,8 +831,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -913,21 +839,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -936,21 +858,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -958,35 +876,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1.User getUser() { @@ -997,14 +904,11 @@ public com.google.cloud.alloydb.v1.User getUser() { } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { @@ -1020,16 +924,14 @@ public Builder setUser(com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1040,20 +942,17 @@ public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1066,14 +965,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1086,14 +982,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -1101,44 +994,36 @@ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, - com.google.cloud.alloydb.v1.User.Builder, - com.google.cloud.alloydb.v1.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1146,8 +1031,6 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1165,13 +1048,13 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1180,8 +1063,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1199,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1214,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1233,22 +1113,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1266,7 +1142,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1276,8 +1151,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1295,14 +1168,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1310,17 +1181,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1328,15 +1196,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1348,15 +1213,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1366,16 +1228,13 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1383,14 +1242,11 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1402,14 +1258,11 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1418,9 +1271,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - 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 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateUserRequest) private static final com.google.cloud.alloydb.v1.UpdateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateUserRequest(); } @@ -1444,27 +1297,27 @@ public static com.google.cloud.alloydb.v1.UpdateUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java similarity index 83% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java index a1b300fbe957..31dff0b2ae06 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateUserRequestOrBuilder - extends +public interface UpdateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -68,38 +42,29 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The user. */ com.google.cloud.alloydb.v1.User getUser(); /** - * - * *
    * Required. The resource being updated
    * 
@@ -109,8 +74,6 @@ public interface UpdateUserRequestOrBuilder com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -128,13 +91,10 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,34 +112,28 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java index 66a4397407ea..33a69af4d1d3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java @@ -1,82 +1,62 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.User} */ -public final class User extends com.google.protobuf.GeneratedMessageV3 - implements +public final class User extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.User) UserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private User() { name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.alloydb.v1.User.class, com.google.cloud.alloydb.v1.User.Builder.class); } /** - * - * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.User.UserType} */ - public enum UserType implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified user type.
      * 
@@ -85,8 +65,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ USER_TYPE_UNSPECIFIED(0), /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -96,8 +74,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALLOYDB_BUILT_IN(1),
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -109,8 +85,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified user type.
      * 
@@ -119,8 +93,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -130,8 +102,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -140,6 +110,7 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOYDB_IAM_USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -164,49 +135,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: - return USER_TYPE_UNSPECIFIED; - case 1: - return ALLOYDB_BUILT_IN; - case 2: - return ALLOYDB_IAM_USER; - default: - return null; + case 0: return USER_TYPE_UNSPECIFIED; + case 1: return ALLOYDB_BUILT_IN; + case 2: return ALLOYDB_IAM_USER; + 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< + UserType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UserType findValueByNumber(int number) { + return UserType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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.cloud.alloydb.v1.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType 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,19 +195,15 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -245,30 +212,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; } } /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -277,18 +244,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -297,29 +260,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -328,50 +291,41 @@ public com.google.protobuf.ByteString getPasswordBytes() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { return databaseRoles_; } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -379,63 +333,47 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1.User.UserType getUserType() { - com.google.cloud.alloydb.v1.User.UserType result = - com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); + @java.lang.Override public com.google.cloud.alloydb.v1.User.UserType getUserType() { + com.google.cloud.alloydb.v1.User.UserType result = com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -484,7 +423,8 @@ public int getSerializedSize() { size += 1 * getDatabaseRolesList().size(); } if (userType_ != com.google.cloud.alloydb.v1.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,16 +434,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.cloud.alloydb.v1.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1.User other = (com.google.cloud.alloydb.v1.User) obj; - if (!getName().equals(other.getName())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabaseRolesList() + .equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -531,150 +474,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.User parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.User parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.User parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1.User parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1.User parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.User parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.User parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.User 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.cloud.alloydb.v1.User parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.User parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.User} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.User) com.google.cloud.alloydb.v1.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.User.class, - com.google.cloud.alloydb.v1.User.Builder.class); + com.google.cloud.alloydb.v1.User.class, com.google.cloud.alloydb.v1.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1.User.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto - .internal_static_google_cloud_alloydb_v1_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override @@ -694,9 +635,7 @@ public com.google.cloud.alloydb.v1.User build() { @java.lang.Override public com.google.cloud.alloydb.v1.User buildPartial() { com.google.cloud.alloydb.v1.User result = new com.google.cloud.alloydb.v1.User(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -722,39 +661,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.User result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.User) { - return mergeFrom((com.google.cloud.alloydb.v1.User) other); + return mergeFrom((com.google.cloud.alloydb.v1.User)other); } else { super.mergeFrom(other); return this; @@ -812,38 +750,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: - { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -853,26 +786,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -881,22 +811,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -904,37 +833,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -944,22 +866,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -969,20 +887,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -991,21 +907,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1013,35 +928,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -1051,21 +959,17 @@ public Builder clearPassword() { return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -1075,7 +979,6 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -1083,46 +986,38 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1130,39 +1025,33 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1170,22 +1059,18 @@ public Builder setDatabaseRoles(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1193,61 +1078,53 @@ public Builder addDatabaseRoles(java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles(java.lang.Iterable values) { + public Builder addAllDatabaseRoles( + java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1258,33 +1135,22 @@ public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { private int userType_ = 0; /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1295,35 +1161,24 @@ public Builder setUserTypeValue(int value) { return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1.User.UserType getUserType() { - com.google.cloud.alloydb.v1.User.UserType result = - com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1.User.UserType result = com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1.User.UserType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The userType to set. * @return This builder for chaining. */ @@ -1337,16 +1192,11 @@ public Builder setUserType(com.google.cloud.alloydb.v1.User.UserType value) { return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUserType() { @@ -1355,9 +1205,9 @@ public Builder clearUserType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1367,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.User) private static final com.google.cloud.alloydb.v1.User DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.User(); } @@ -1381,27 +1231,27 @@ public static com.google.cloud.alloydb.v1.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1416,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java index 1f8f8efc88c9..40bbe5f20cf1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java @@ -1,160 +1,114 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface UserOrBuilder - extends +public interface UserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.User) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - java.util.List getDatabaseRolesList(); + java.util.List + getDatabaseRolesList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString + getDatabaseRolesBytes(int index); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ com.google.cloud.alloydb.v1.User.UserType getUserType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java index 911b268b4d31..8843b621d9e5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** - * - * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.UserPassword}
  */
-public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserPassword extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UserPassword)
     UserPasswordOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -45,38 +27,33 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.UserPassword.class,
-            com.google.cloud.alloydb.v1.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1.UserPassword.class, com.google.cloud.alloydb.v1.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
-   *
-   *
    * 
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getUserBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -209,15 +182,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.cloud.alloydb.v1.UserPassword)) { return super.equals(obj); } com.google.cloud.alloydb.v1.UserPassword other = (com.google.cloud.alloydb.v1.UserPassword) obj; - if (!getUser().equals(other.getUser())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUser() + .equals(other.getUser())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,104 +213,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -343,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1.UserPassword}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UserPassword)
       com.google.cloud.alloydb.v1.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.UserPassword.class,
-              com.google.cloud.alloydb.v1.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1.UserPassword.class, com.google.cloud.alloydb.v1.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.UserPassword.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -400,11 +371,8 @@ public com.google.cloud.alloydb.v1.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1.UserPassword result =
-          new com.google.cloud.alloydb.v1.UserPassword(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1.UserPassword result = new com.google.cloud.alloydb.v1.UserPassword(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -423,39 +391,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UserPassword result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1.UserPassword) other);
+        return mergeFrom((com.google.cloud.alloydb.v1.UserPassword)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -500,25 +467,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                user_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                password_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              user_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              password_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -528,25 +492,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
-     *
-     *
      * 
      * The database username.
      * 
* * string user = 1; - * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -555,21 +516,20 @@ public java.lang.String getUser() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return The bytes for user. */ - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -577,35 +537,28 @@ public com.google.protobuf.ByteString getUserBytes() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return This builder for chaining. */ public Builder clearUser() { @@ -615,21 +568,17 @@ public Builder clearUser() { return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -639,20 +588,18 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -661,21 +608,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -683,35 +629,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -721,30 +660,26 @@ public Builder clearPassword() { return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -754,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UserPassword) private static final com.google.cloud.alloydb.v1.UserPassword DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UserPassword(); } @@ -768,27 +703,27 @@ public static com.google.cloud.alloydb.v1.UserPassword getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -803,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java similarity index 53% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java index dc70fc963f7f..40ac5c720b3a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface UserPasswordOrBuilder - extends +public interface UserPasswordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UserPassword) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ java.lang.String getUser(); /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ - com.google.protobuf.ByteString getUserBytes(); + com.google.protobuf.ByteString + getUserBytes(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto similarity index 99% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto index 9e35537e9361..9042f00fab96 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto @@ -401,8 +401,8 @@ message Cluster { // instance IPs for this cluster will be created in the allocated range. The // range name must comply with RFC 1035. Specifically, the name must be 1-63 // characters long and match the regular expression - // [a-z]([-a-z0-9]*[a-z0-9])?. - // Field name is intended to be consistent with CloudSQL. + // `[a-z]([-a-z0-9]*[a-z0-9])?`. + // Field name is intended to be consistent with Cloud SQL. string allocated_ip_range = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -835,7 +835,8 @@ message Instance { // Configuration for query insights. QueryInsightsInstanceConfig query_insights_config = 21; - // Read pool specific config. + // Read pool instance configuration. + // This is required if the value of instanceType is READ_POOL. ReadPoolConfig read_pool_config = 14; // Output only. The IP address for the Instance. diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto similarity index 99% rename from java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto rename to owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto index 5cb16a679810..8c47a29b6ff7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto +++ b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto @@ -1358,6 +1358,11 @@ message GenerateClientCertificateRequest { // Optional. The public key from the client. string public_key = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional hint to the endpoint to generate a client + // ceritificate that can be used by AlloyDB connectors to exchange additional + // metadata with the server after TLS handshake. + bool use_metadata_exchange = 6 [(google.api.field_behavior) = OPTIONAL]; } // Message returned by a GenerateClientCertificate operation. diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 98% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java index 6f57b510058f..4af0ffedbb66 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java +++ b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java @@ -43,6 +43,7 @@ public static void asyncGenerateClientCertificate() throws Exception { .setRequestId("requestId693933066") .setCertDuration(Duration.newBuilder().build()) .setPublicKey("publicKey1446899510") + .setUseMetadataExchange(true) .build(); ApiFuture future = alloyDBAdminClient.generateClientCertificateCallable().futureCall(request); diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 98% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java index fc3e3ebe58c0..f925a5014f6f 100644 --- a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java +++ b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java @@ -42,6 +42,7 @@ public static void syncGenerateClientCertificate() throws Exception { .setRequestId("requestId693933066") .setCertDuration(Duration.newBuilder().build()) .setPublicKey("publicKey1446899510") + .setUseMetadataExchange(true) .build(); GenerateClientCertificateResponse response = alloyDBAdminClient.generateClientCertificate(request); diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java index e648ff619596..ed9526c7e106 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java +++ b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java @@ -34,6 +34,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.alloydb.v1alpha.stub.AlloyDBAdminStubSettings; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java index 98c25f9487ae..b8cb1fe0bde7 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java @@ -86,6 +86,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/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java index efb59a833775..7af695f62343 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java @@ -36,6 +36,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.RequestParamsBuilder; diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java b/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java rename to owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..5452bcddc571 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java @@ -0,0 +1,2995 @@ +package com.google.cloud.alloydb.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1alpha/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1alpha.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPromoteClusterMethod() { + io.grpc.MethodDescriptor getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestoreClusterMethod() { + io.grpc.MethodDescriptor getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { + io.grpc.MethodDescriptor getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInjectFaultMethod() { + io.grpc.MethodDescriptor getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartInstanceMethod() { + io.grpc.MethodDescriptor getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListBackupsMethod() { + io.grpc.MethodDescriptor getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetBackupMethod() { + io.grpc.MethodDescriptor getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateBackupMethod() { + io.grpc.MethodDescriptor getCreateBackupMethod; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateBackupMethod() { + io.grpc.MethodDescriptor getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteBackupMethod() { + io.grpc.MethodDescriptor getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUsersMethod() { + io.grpc.MethodDescriptor getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1alpha.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUserMethod() { + io.grpc.MethodDescriptor getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUserMethod() { + io.grpc.MethodDescriptor getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUserMethod() { + io.grpc.MethodDescriptor getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUserMethod() { + io.grpc.MethodDescriptor getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AlloyDBAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static abstract class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListClustersResponse listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Cluster getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Instance getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Backup getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListUsersResponse listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture promoteCluster( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restoreCluster( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture failoverInstance( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture injectFault( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restartInstance( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUsers( + com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUser( + com.google.cloud.alloydb.v1alpha.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUser( + com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUser( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.cloud.alloydb.v1alpha.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.cloud.alloydb.v1alpha.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.cloud.alloydb.v1alpha.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.cloud.alloydb.v1alpha.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.alloydb.v1alpha.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault((com.google.cloud.alloydb.v1alpha.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups((com.google.cloud.alloydb.v1alpha.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup((com.google.cloud.alloydb.v1alpha.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup((com.google.cloud.alloydb.v1alpha.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers((com.google.cloud.alloydb.v1alpha.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser((com.google.cloud.alloydb.v1alpha.GetUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser((com.google.cloud.alloydb.v1alpha.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser((com.google.cloud.alloydb.v1alpha.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser((com.google.cloud.alloydb.v1alpha.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListClustersRequest, + com.google.cloud.alloydb.v1alpha.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetClusterRequest, + com.google.cloud.alloydb.v1alpha.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListInstancesRequest, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetInstanceRequest, + com.google.cloud.alloydb.v1alpha.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, + com.google.longrunning.Operation>( + service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.InjectFaultRequest, + com.google.longrunning.Operation>( + service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListBackupsRequest, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetBackupRequest, + com.google.cloud.alloydb.v1alpha.Backup>( + service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1alpha.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListUsersRequest, + com.google.cloud.alloydb.v1alpha.ListUsersResponse>( + service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetUserRequest, + com.google.cloud.alloydb.v1alpha.User>( + service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateUserRequest, + com.google.cloud.alloydb.v1alpha.User>( + service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateUserRequest, + com.google.cloud.alloydb.v1alpha.User>( + service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteUserRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private static abstract class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java index 59a8539fa4a3..a2c9fe246ecb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message describing the user-specified automated backup policy.
  *
@@ -30,60 +13,56 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutomatedBackupPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class,
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder
-      extends
+  public interface WeeklyScheduleOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -94,10 +73,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesList();
+    java.util.List 
+        getStartTimesList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,8 +88,6 @@ public interface WeeklyScheduleOrBuilder
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -124,8 +100,6 @@ public interface WeeklyScheduleOrBuilder
      */
     int getStartTimesCount();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -136,10 +110,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesOrBuilderList();
+    java.util.List 
+        getStartTimesOrBuilderList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -150,11 +123,10 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -163,13 +135,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -178,13 +147,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -193,14 +159,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -209,13 +172,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List getDaysOfWeekValueList(); + java.util.List + getDaysOfWeekValueList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -224,15 +185,12 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** - * - * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -245,16 +203,15 @@ public interface WeeklyScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WeeklySchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -262,32 +219,28 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class,
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -303,8 +256,6 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -316,13 +267,11 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -338,8 +287,6 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -355,8 +302,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -368,18 +313,16 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
-
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
-
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.type.DayOfWeek>
-        daysOfWeek_converter_ =
+        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -388,8 +331,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -398,7 +339,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -407,8 +347,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -417,7 +355,6 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ @java.lang.Override @@ -425,8 +362,6 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -435,7 +370,6 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -444,8 +378,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -454,16 +386,14 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return daysOfWeek_; } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -472,7 +402,6 @@ public java.util.List getDaysOfWeekValueList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -480,11 +409,9 @@ public java.util.List getDaysOfWeekValueList() { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } - private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -496,7 +423,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -518,20 +446,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -541,15 +469,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other = - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList().equals(other.getStartTimesList())) return false; + if (!getStartTimesList() + .equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -576,95 +504,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -674,8 +596,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -688,35 +608,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class,
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder
-                    .class);
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -734,22 +652,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule build() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result =
-            buildPartial();
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -758,18 +673,14 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule bui
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result =
-            new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -786,8 +697,7 @@ private void buildPartialRepeatedFields(
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -795,54 +705,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) other);
+        if (other instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) {
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other
-            == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -861,10 +763,9 @@ public Builder mergeFrom(
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getStartTimesFieldBuilder()
-                      : null;
+              startTimesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getStartTimesFieldBuilder() : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -906,44 +807,42 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.type.TimeOfDay m =
-                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-                  if (startTimesBuilder_ == null) {
-                    ensureStartTimesIsMutable();
-                    startTimes_.add(m);
-                  } else {
-                    startTimesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              case 16:
-                {
+              case 10: {
+                com.google.type.TimeOfDay m =
+                    input.readMessage(
+                        com.google.type.TimeOfDay.parser(),
+                        extensionRegistry);
+                if (startTimesBuilder_ == null) {
+                  ensureStartTimesIsMutable();
+                  startTimes_.add(m);
+                } else {
+                  startTimesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              case 16: {
+                int tmpRaw = input.readEnum();
+                ensureDaysOfWeekIsMutable();
+                daysOfWeek_.add(tmpRaw);
+                break;
+              } // case 16
+              case 18: {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while(input.getBytesUntilLimit() > 0) {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                  break;
-                } // case 16
-              case 18:
-                {
-                  int length = input.readRawVarint32();
-                  int oldLimit = input.pushLimit(length);
-                  while (input.getBytesUntilLimit() > 0) {
-                    int tmpRaw = input.readEnum();
-                    ensureDaysOfWeekIsMutable();
-                    daysOfWeek_.add(tmpRaw);
-                  }
-                  input.popLimit(oldLimit);
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                }
+                input.popLimit(oldLimit);
+                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) {
@@ -953,28 +852,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List startTimes_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
-          startTimesBuilder_;
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
 
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -993,8 +885,6 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1013,8 +903,6 @@ public int getStartTimesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1033,8 +921,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1045,7 +931,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1059,8 +946,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1071,7 +956,8 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -1082,8 +968,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1108,8 +992,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1120,7 +1002,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1134,8 +1017,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1146,7 +1027,8 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1157,8 +1039,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1169,7 +1049,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1180,8 +1061,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1196,7 +1075,8 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1204,8 +1084,6 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1227,8 +1105,6 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1250,8 +1126,6 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1262,12 +1136,11 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
+          int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1278,16 +1151,14 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+          int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);
-        } else {
+          return startTimes_.get(index);  } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1298,8 +1169,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List
-          getStartTimesOrBuilderList() {
+      public java.util.List 
+           getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1307,8 +1178,6 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1320,12 +1189,10 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder()
-            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder().addBuilder(
+            com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1336,13 +1203,12 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
-        return getStartTimesFieldBuilder()
-            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
+          int index) {
+        return getStartTimesFieldBuilder().addBuilder(
+            index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1353,29 +1219,27 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List getStartTimesBuilderList() {
+      public java.util.List 
+           getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.type.TimeOfDay,
-                  com.google.type.TimeOfDay.Builder,
-                  com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
-
+      private java.util.List daysOfWeek_ =
+        java.util.Collections.emptyList();
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1383,8 +1247,6 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1393,7 +1255,6 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1401,8 +1262,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1411,15 +1270,12 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1428,7 +1284,6 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1436,8 +1291,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1446,12 +1299,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1461,8 +1314,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1471,7 +1322,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1485,8 +1335,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1495,7 +1343,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1509,8 +1356,6 @@ public Builder addAllDaysOfWeek( return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1519,7 +1364,6 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1529,8 +1373,6 @@ public Builder clearDaysOfWeek() { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1539,15 +1381,13 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1556,7 +1396,6 @@ public java.util.List getDaysOfWeekValueList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1564,8 +1403,6 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1574,20 +1411,18 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue(int index, int value) { + public Builder setDaysOfWeekValue( + int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1596,7 +1431,6 @@ public Builder setDaysOfWeekValue(int index, int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1607,8 +1441,6 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1617,11 +1449,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue( + java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1629,7 +1461,6 @@ public Builder addAllDaysOfWeekValue(java.lang.Iterable value onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1642,45 +1473,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1692,44 +1519,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TimeBasedRetentionOrBuilder - extends + public interface TimeBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
@@ -1739,8 +1557,6 @@ public interface TimeBasedRetentionOrBuilder com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** - * - * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1748,51 +1564,46 @@ public interface TimeBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TimeBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private TimeBasedRetention() {}
+    private TimeBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class,
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder
-                  .class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
-     *
-     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1800,25 +1611,18 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
      * The retention period.
      * 
@@ -1827,13 +1631,10 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1845,7 +1646,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1859,7 +1661,8 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1869,18 +1672,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)) { + if (!(obj instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other = - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod() + .equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1902,101 +1704,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2006,8 +1797,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -2015,35 +1804,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class,
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder
-                    .class);
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -2057,22 +1844,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result =
-            buildPartial();
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2080,23 +1864,19 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
-          buildPartial() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result =
-            new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ =
-              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ = retentionPeriodBuilder_ == null
+              ? retentionPeriod_
+              : retentionPeriodBuilder_.build();
         }
       }
 
@@ -2104,54 +1884,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) other);
+        if (other instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) {
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other
-            == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -2181,20 +1953,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getRetentionPeriodFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2204,52 +1975,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          retentionPeriodBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
       /**
-       *
-       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
        * The retention period.
        * 
@@ -2270,15 +2027,14 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod( + com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2289,8 +2045,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The retention period.
        * 
@@ -2299,9 +2053,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && retentionPeriod_ != null - && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + retentionPeriod_ != null && + retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2314,8 +2068,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2333,8 +2085,6 @@ public Builder clearRetentionPeriod() { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2347,8 +2097,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** - * - * *
        * The retention period.
        * 
@@ -2359,14 +2107,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } } /** - * - * *
        * The retention period.
        * 
@@ -2374,22 +2119,18 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), getParentForChildren(), isClean()); + retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), + getParentForChildren(), + isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2402,45 +2143,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2452,33 +2189,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QuantityBasedRetentionOrBuilder - extends + public interface QuantityBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ int getCount(); } /** - * - * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2486,51 +2217,46 @@ public interface QuantityBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedRetention() {}
+    private QuantityBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class,
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder
-                  .class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
-     *
-     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2539,7 +2265,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2551,7 +2276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2565,7 +2291,8 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2575,17 +2302,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other = - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2604,101 +2329,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2708,45 +2422,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
      * 
* - * Protobuf type {@code - * google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention} + * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .Builder.class); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.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(); @@ -2756,22 +2465,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention build() { - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = - buildPartial(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2779,19 +2485,14 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedReten } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - buildPartial() { - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = - new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; @@ -2802,56 +2503,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - other); + if (other instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) { + return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other) { - if (other - == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other) { + if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this; if (other.getCount() != 0) { setCount(other.getCount()); } @@ -2881,19 +2572,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - count_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + count_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2903,19 +2592,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int count_; + private int count_ ; /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2923,14 +2608,11 @@ public int getCount() { return count_; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @param value The count to set. * @return This builder for chaining. */ @@ -2942,14 +2624,11 @@ public Builder setCount(int value) { return this; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -2958,7 +2637,6 @@ public Builder clearCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2971,46 +2649,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy - .QuantityBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3022,26 +2695,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int scheduleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schedule_; - public enum ScheduleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; - private ScheduleCase(int value) { this.value = value; } @@ -3057,38 +2726,32 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: - return WEEKLY_SCHEDULE; - case 0: - return SCHEDULE_NOT_SET; - default: - return null; + case 2: return WEEKLY_SCHEDULE; + case 0: return SCHEDULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ScheduleCase getScheduleCase() { - return ScheduleCase.forNumber(scheduleCase_); + public ScheduleCase + getScheduleCase() { + return ScheduleCase.forNumber( + scheduleCase_); } private int retentionCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object retention_; - public enum RetentionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; - private RetentionCase(int value) { this.value = value; } @@ -3104,37 +2767,30 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: - return TIME_BASED_RETENTION; - case 5: - return QUANTITY_BASED_RETENTION; - case 0: - return RETENTION_NOT_SET; - default: - return null; + case 4: return TIME_BASED_RETENTION; + case 5: return QUANTITY_BASED_RETENTION; + case 0: return RETENTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RetentionCase getRetentionCase() { - return RetentionCase.forNumber(retentionCase_); + public RetentionCase + getRetentionCase() { + return RetentionCase.forNumber( + retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3142,57 +2798,42 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -3200,60 +2841,42 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -3261,62 +2884,44 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -3324,15 +2929,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -3343,8 +2945,6 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3355,7 +2955,6 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -3363,8 +2962,6 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3375,18 +2972,13 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3400,16 +2992,12 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : backupWindow_;
+    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_;
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3417,10 +3005,7 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3428,8 +3013,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3437,21 +3020,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3459,24 +3035,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3485,7 +3054,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
    * 
* * string location = 6; - * * @return The location. */ @java.lang.Override @@ -3494,15 +3062,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3511,15 +3078,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; - * * @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 { @@ -3528,34 +3096,32 @@ public com.google.protobuf.ByteString getLocationBytes() { } 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.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3563,21 +3129,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3589,8 +3154,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3598,19 +3161,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3618,11 +3179,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3630,7 +3191,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3642,33 +3202,32 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage(2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage(4, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_); + output.writeMessage(5, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3682,45 +3241,41 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3730,32 +3285,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other = - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow().equals(other.getBackupWindow())) return false; + if (!getBackupWindow() + .equals(other.getBackupWindow())) 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 (!getLocation().equals(other.getLocation())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule() + .equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3763,10 +3323,12 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention() + .equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention() + .equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3784,7 +3346,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3826,104 +3389,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3933,52 +3490,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class,
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4013,9 +3573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -4034,11 +3594,8 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result =
-          new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4052,12 +3609,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ =
-            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
+        result.backupWindow_ = backupWindowBuilder_ == null
+            ? backupWindow_
+            : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -4072,15 +3631,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 &&
+          weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 &&
+          timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 &&
+          quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -4089,39 +3651,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.AutomatedBackup
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4129,8 +3690,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -4145,34 +3705,30 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE:
-          {
-            mergeWeeklySchedule(other.getWeeklySchedule());
-            break;
-          }
-        case SCHEDULE_NOT_SET:
-          {
-            break;
-          }
+        case WEEKLY_SCHEDULE: {
+          mergeWeeklySchedule(other.getWeeklySchedule());
+          break;
+        }
+        case SCHEDULE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION:
-          {
-            mergeTimeBasedRetention(other.getTimeBasedRetention());
-            break;
-          }
-        case QUANTITY_BASED_RETENTION:
-          {
-            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-            break;
-          }
-        case RETENTION_NOT_SET:
-          {
-            break;
-          }
+        case TIME_BASED_RETENTION: {
+          mergeTimeBasedRetention(other.getTimeBasedRetention());
+          break;
+        }
+        case QUANTITY_BASED_RETENTION: {
+          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+          break;
+        }
+        case RETENTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4200,70 +3756,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
-                scheduleCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getWeeklyScheduleFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              scheduleCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBackupWindowFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTimeBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4273,12 +3825,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-
-    public ScheduleCase getScheduleCase() {
-      return ScheduleCase.forNumber(scheduleCase_);
+    public ScheduleCase
+        getScheduleCase() {
+      return ScheduleCase.forNumber(
+          scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -4290,9 +3842,10 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-
-    public RetentionCase getRetentionCase() {
-      return RetentionCase.forNumber(retentionCase_);
+    public RetentionCase
+        getRetentionCase() {
+      return RetentionCase.forNumber(
+          retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -4305,20 +3858,13 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule,
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder,
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
-        weeklyScheduleBuilder_;
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
     /**
-     *
-     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -4326,46 +3872,35 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - getWeeklySchedule() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4379,18 +3914,14 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { if (weeklyScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -4401,28 +3932,18 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder mergeWeeklySchedule( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 - && schedule_ - != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) - schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 2 && + schedule_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -4438,14 +3959,11 @@ public Builder mergeWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -4464,68 +3982,49 @@ public Builder clearWeeklySchedule() { return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder - getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + schedule_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } - weeklyScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4537,21 +4036,13 @@ public Builder clearWeeklySchedule() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> - timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4559,49 +4050,35 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4615,19 +4092,14 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4638,29 +4110,18 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder mergeTimeBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 - && retention_ - != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 4 && + retention_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4676,15 +4137,11 @@ public Builder mergeTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4703,74 +4160,50 @@ public Builder clearTimeBasedRetention() { return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder - getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } - timeBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - retention_, + timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4781,21 +4214,13 @@ public Builder clearTimeBasedRetention() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> - quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4803,49 +4228,35 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4859,19 +4270,14 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4882,31 +4288,18 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder mergeQuantityBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 - && retention_ - != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .newBuilder( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy - .QuantityBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 5 && + retention_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4922,15 +4315,11 @@ public Builder mergeQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4949,76 +4338,50 @@ public Builder clearQuantityBasedRetention() { return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder - getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } - quantityBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - .Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy - .QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - retention_, + quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_, getParentForChildren(), isClean()); retention_ = null; @@ -5028,17 +4391,14 @@ public Builder clearQuantityBasedRetention() { return quantityBasedRetentionBuilder_; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -5046,15 +4406,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -5062,15 +4419,12 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -5082,15 +4436,12 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -5102,13 +4453,8 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - backupWindowBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5119,15 +4465,12 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5138,21 +4481,16 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5178,8 +4516,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5191,7 +4527,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -5202,8 +4539,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5217,9 +4552,9 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && backupWindow_ != null
-            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          backupWindow_ != null &&
+          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -5232,8 +4567,6 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5256,8 +4589,6 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5275,8 +4606,6 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5292,14 +4621,11 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : backupWindow_;
+        return backupWindow_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5312,17 +4638,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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> 
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(), getParentForChildren(), isClean());
+        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(),
+                getParentForChildren(),
+                isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -5330,13 +4653,8 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig,
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>
-        encryptionConfigBuilder_;
+        com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5344,18 +4662,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5363,24 +4676,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5388,9 +4694,7 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -5406,8 +4710,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5415,9 +4717,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -5431,8 +4731,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5440,16 +4738,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5462,8 +4757,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5471,9 +4764,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5486,8 +4777,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5495,9 +4784,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -5505,8 +4792,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5514,23 +4799,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5538,22 +4817,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5561,8 +4835,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo private java.lang.Object location_ = ""; /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5571,13 +4843,13 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * 
* * string location = 6; - * * @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; @@ -5586,8 +4858,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5596,14 +4866,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; - * * @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 { @@ -5611,8 +4882,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5621,22 +4890,18 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 6; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5645,7 +4910,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 6; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -5655,8 +4919,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5665,14 +4927,12 @@ public Builder clearLocation() {
      * 
* * string location = 6; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -5680,19 +4940,21 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -5701,13 +4963,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5715,21 +4974,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5741,8 +4999,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5750,19 +5006,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5770,81 +5024,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5854,12 +5106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(); } @@ -5868,27 +5120,27 @@ public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5903,4 +5155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java index aef55c9de645..db3fc7ef98d7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java @@ -1,182 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface AutomatedBackupPolicyOrBuilder - extends +public interface AutomatedBackupPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -187,13 +120,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -204,13 +134,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -225,8 +152,6 @@ public interface AutomatedBackupPolicyOrBuilder
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -234,16 +159,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -251,16 +171,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -268,15 +183,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -285,13 +196,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -300,14 +208,12 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -316,31 +222,30 @@ public interface AutomatedBackupPolicyOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -348,20 +253,19 @@ public interface AutomatedBackupPolicyOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java index d19740b09f03..29326231e93c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Backup() { name_ = ""; displayName_ = ""; @@ -52,51 +34,48 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Backup.class, - com.google.cloud.alloydb.v1alpha.Backup.Builder.class); + com.google.cloud.alloydb.v1alpha.Backup.class, com.google.cloud.alloydb.v1alpha.Backup.Builder.class); } /** - * - * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The backup is ready.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The backup is creating.
      * 
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(2), /** - * - * *
      * The backup failed.
      * 
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The backup is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The backup is ready.
      * 
@@ -168,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The backup is creating.
      * 
@@ -178,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 2; /** - * - * *
      * The backup failed.
      * 
@@ -188,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The backup is being deleted.
      * 
@@ -198,6 +159,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -222,53 +184,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return CREATING; - case 3: - return FAILED; - case 4: - return DELETING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return CREATING; + case 3: return FAILED; + case 4: return DELETING; + 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.cloud.alloydb.v1alpha.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; @@ -286,18 +246,15 @@ private State(int value) { } /** - * - * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Backup.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Backup Type is unknown.
      * 
@@ -306,8 +263,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -317,8 +272,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ON_DEMAND(1),
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -328,8 +281,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATED(2),
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -342,8 +293,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Backup Type is unknown.
      * 
@@ -352,8 +301,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -363,8 +310,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -374,8 +319,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -385,6 +328,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONTINUOUS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -409,51 +353,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return ON_DEMAND;
-        case 2:
-          return AUTOMATED;
-        case 3:
-          return CONTINUOUS;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return ON_DEMAND;
+        case 2: return AUTOMATED;
+        case 3: return CONTINUOUS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.v1alpha.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -470,14 +413,11 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder
-      extends
+  public interface QuantityBasedExpiryOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -485,28 +425,22 @@ public interface QuantityBasedExpiryOrBuilder
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ int getRetentionCount(); /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** - * - * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -524,44 +458,41 @@ public interface QuantityBasedExpiryOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedExpiry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedExpiry() {}
+    private QuantityBasedExpiry() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class,
-              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -569,7 +500,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -580,15 +510,12 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -597,7 +524,6 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,7 +535,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -626,10 +553,12 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -639,16 +568,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.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other = - (com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() != other.getRetentionCount()) return false; - if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; + if (getRetentionCount() + != other.getRetentionCount()) return false; + if (getTotalRetentionCount() + != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -670,94 +600,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -767,8 +692,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -786,33 +709,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class,
-                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -823,14 +746,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry
-          getDefaultInstanceForType() {
+      public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultInstanceForType() {
         return com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance();
       }
 
@@ -845,17 +767,13 @@ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result =
-            new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.retentionCount_ = retentionCount_;
@@ -869,41 +787,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -911,9 +826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other) {
-        if (other
-            == com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -946,25 +859,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  retentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 16:
-                {
-                  totalRetentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                retentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 16: {
+                totalRetentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -974,13 +884,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int retentionCount_;
+      private int retentionCount_ ;
       /**
-       *
-       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -988,7 +895,6 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -996,8 +902,6 @@ public int getRetentionCount() { return retentionCount_; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1005,7 +909,6 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -1017,8 +920,6 @@ public Builder setRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1026,7 +927,6 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -1036,17 +936,14 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_; + private int totalRetentionCount_ ; /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -1054,15 +951,12 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -1074,15 +968,12 @@ public Builder setTotalRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -1091,7 +982,6 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1104,13 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) - private static final com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(); } @@ -1119,28 +1008,27 @@ public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,15 +1043,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1177,7 +1063,6 @@ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultIns
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1186,15 +1071,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1208,15 +1092,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1225,18 +1110,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1245,29 +1126,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; } } /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1276,19 +1157,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -1297,30 +1174,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1331,15 +1208,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1347,15 +1220,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1363,14 +1232,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1380,15 +1246,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1396,15 +1258,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1412,14 +1270,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1429,15 +1284,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1445,15 +1296,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -1461,14 +1308,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1476,34 +1320,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1511,21 +1353,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1537,8 +1378,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1546,19 +1385,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1566,11 +1403,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @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(); } @@ -1580,90 +1417,64 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Backup.State getState() { - com.google.cloud.alloydb.v1alpha.Backup.State result = - com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.State getState() { + com.google.cloud.alloydb.v1alpha.Backup.State result = com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { - com.google.cloud.alloydb.v1alpha.Backup.Type result = - com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { + com.google.cloud.alloydb.v1alpha.Backup.Type result = com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ @java.lang.Override @@ -1672,29 +1483,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; } } /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @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 { @@ -1703,19 +1514,15 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; - @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ @java.lang.Override @@ -1724,30 +1531,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1756,21 +1563,15 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ @java.lang.Override @@ -1779,32 +1580,30 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1815,8 +1614,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1825,7 +1622,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1836,8 +1632,6 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1845,10 +1639,7 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1856,8 +1647,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1865,21 +1654,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1887,30 +1669,21 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1918,55 +1691,38 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ @java.lang.Override @@ -1975,29 +1731,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @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 { @@ -2006,35 +1762,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2044,21 +1797,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2072,8 +1824,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2083,19 +1833,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2105,11 +1853,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2119,14 +1867,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2137,17 +1882,13 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -2155,17 +1896,13 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ @java.lang.Override @@ -2173,16 +1910,13 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -2192,18 +1926,13 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiryQuantity_; /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -2211,58 +1940,41 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 21; private boolean satisfiesPzs_ = false; /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 21; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -2273,48 +1985,34 @@ public boolean getSatisfiesPzs() { public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = - com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2326,7 +2024,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2342,8 +2041,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (state_ != com.google.cloud.alloydb.v1alpha.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2371,8 +2074,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2388,9 +2095,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (satisfiesPzs_ != false) { output.writeBool(21, satisfiesPzs_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2412,26 +2117,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1alpha.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1alpha.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2440,49 +2149,56 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getExpiryQuantity()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(21, satisfiesPzs_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2492,55 +2208,74 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.Backup other = (com.google.cloud.alloydb.v1alpha.Backup) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getClusterUid().equals(other.getClusterUid())) return false; - if (!getClusterName().equals(other.getClusterName())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getClusterUid() + .equals(other.getClusterUid())) return false; + if (!getClusterName() + .equals(other.getClusterName())) return false; + if (getReconciling() + != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; - } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; + } + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime().equals(other.getExpiryTime())) return false; + if (!getExpiryTime() + .equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity() + .equals(other.getExpiryQuantity())) return false; } - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2586,7 +2321,8 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2602,7 +2338,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2612,7 +2349,8 @@ public int hashCode() { hash = (53 * hash) + getExpiryQuantity().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); hash = (37 * hash) + DATABASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + databaseVersion_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2620,160 +2358,158 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Backup parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup) com.google.cloud.alloydb.v1alpha.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Backup.class, - com.google.cloud.alloydb.v1alpha.Backup.Builder.class); + com.google.cloud.alloydb.v1alpha.Backup.class, com.google.cloud.alloydb.v1alpha.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -2832,9 +2568,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; } @java.lang.Override @@ -2853,11 +2589,8 @@ public com.google.cloud.alloydb.v1alpha.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup buildPartial() { - com.google.cloud.alloydb.v1alpha.Backup result = - new com.google.cloud.alloydb.v1alpha.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Backup result = new com.google.cloud.alloydb.v1alpha.Backup(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2874,13 +2607,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null + ? deleteTime_ + : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2905,12 +2644,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2923,11 +2664,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null + ? expiryTime_ + : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = - expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = expiryQuantityBuilder_ == null + ? expiryQuantity_ + : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.satisfiesPzs_ = satisfiesPzs_; @@ -2941,39 +2685,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup)other); } else { super.mergeFrom(other); return this; @@ -3006,7 +2749,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -3043,7 +2787,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -3086,158 +2831,144 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: - { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: - { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: - { - input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: - { - input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 168: - { - satisfiesPzs_ = input.readBool(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 176: - { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00200000; - break; - } // case 176 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: { + input.readMessage( + getExpiryTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: { + input.readMessage( + getExpiryQuantityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 168: { + satisfiesPzs_ = input.readBool(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00200000; + break; + } // case 176 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3247,13 +2978,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3267,13 +2995,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -3282,8 +3010,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3297,14 +3023,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3312,8 +3039,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3327,22 +3052,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3356,7 +3077,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3366,8 +3086,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3381,14 +3099,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3398,20 +3114,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3420,21 +3134,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3442,35 +3155,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3480,21 +3186,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3504,21 +3206,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3527,22 +3227,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3550,37 +3249,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3590,22 +3282,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3615,58 +3303,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -3682,17 +3351,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3703,21 +3369,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3730,15 +3392,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3751,15 +3409,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3767,48 +3421,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -3816,58 +3458,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3883,17 +3506,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3904,21 +3524,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3931,15 +3547,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3952,15 +3564,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3968,48 +3576,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -4017,58 +3613,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -4084,17 +3661,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -4105,21 +3679,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -4132,15 +3702,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4153,15 +3719,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -4169,66 +3731,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4237,13 +3789,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4251,21 +3800,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4277,8 +3825,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4286,19 +3832,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4306,108 +3850,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4418,35 +3949,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.State getState() { - com.google.cloud.alloydb.v1alpha.Backup.State result = - com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Backup.State result = com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4460,16 +3980,11 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4481,29 +3996,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4514,31 +4022,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { - com.google.cloud.alloydb.v1alpha.Backup.Type result = - com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1alpha.Backup.Type result = com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.Type.UNRECOGNIZED : result; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @param value The type to set. * @return This builder for chaining. */ @@ -4551,15 +4052,12 @@ public Builder setType(com.google.cloud.alloydb.v1alpha.Backup.Type value) { onChanged(); return this; } - /** - * - * + /** *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @return This builder for chaining. */ public Builder clearType() { @@ -4571,20 +4069,18 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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; @@ -4593,21 +4089,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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 { @@ -4615,35 +4110,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4653,21 +4141,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4677,21 +4161,19 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4700,22 +4182,21 @@ public java.lang.String getClusterUid() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4723,37 +4204,30 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4763,22 +4237,18 @@ public Builder clearClusterUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4788,23 +4258,19 @@ public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterName_ = ""; /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4813,24 +4279,21 @@ public java.lang.String getClusterName() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4838,41 +4301,30 @@ public com.google.protobuf.ByteString getClusterNameBytes() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4882,24 +4334,18 @@ public Builder clearClusterName() { return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4907,10 +4353,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4919,7 +4363,6 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4927,8 +4370,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4937,7 +4378,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4949,8 +4389,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4959,7 +4397,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4971,13 +4408,8 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4985,18 +4417,13 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5004,24 +4431,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5029,9 +4449,7 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -5047,8 +4465,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5056,9 +4472,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -5072,8 +4486,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5081,16 +4493,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5103,8 +4512,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5112,9 +4519,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -5127,8 +4532,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5136,9 +4539,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -5146,8 +4547,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5155,23 +4554,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5179,22 +4572,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5202,58 +4590,39 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -5269,15 +4638,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -5291,22 +4656,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -5319,15 +4679,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -5340,15 +4696,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -5356,48 +4708,36 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -5405,20 +4745,18 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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; @@ -5427,21 +4765,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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 { @@ -5449,35 +4786,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -5487,21 +4817,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -5509,8 +4835,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -5519,12 +4845,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -5533,13 +4858,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5549,21 +4871,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5577,8 +4898,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5588,19 +4907,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5610,25 +4927,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5637,22 +4952,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5661,20 +4977,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5683,22 +4996,21 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_;
+    private long sizeBytes_ ;
     /**
-     *
-     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -5706,14 +5018,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -5725,14 +5034,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5744,64 +5050,45 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expiryTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5817,19 +5104,16 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5840,23 +5124,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) - && expiryTime_ != null - && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) && + expiryTime_ != null && + expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5869,17 +5149,13 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5892,17 +5168,13 @@ public Builder clearExpiryTime() { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5910,52 +5182,40 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), getParentForChildren(), isClean()); + expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), + getParentForChildren(), + isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5963,67 +5223,47 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> - expiryQuantityBuilder_; + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpiryQuantity( - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { + public Builder setExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6037,17 +5277,13 @@ public Builder setExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -6061,26 +5297,19 @@ public Builder setExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeExpiryQuantity( - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && expiryQuantity_ != null - && expiryQuantity_ - != com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry - .getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + expiryQuantity_ != null && + expiryQuantity_ != com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -6093,17 +5322,13 @@ public Builder mergeExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -6116,87 +5341,66 @@ public Builder clearExpiryQuantity() { return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder - getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), getParentForChildren(), isClean()); + expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), + getParentForChildren(), + isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -6204,14 +5408,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -6223,14 +5424,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -6242,37 +5440,26 @@ public Builder clearSatisfiesPzs() { private int databaseVersion_ = 0; /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6283,41 +5470,28 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = - com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); - return result == null - ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6331,18 +5505,13 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6351,9 +5520,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6363,12 +5532,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Backup) private static final com.google.cloud.alloydb.v1alpha.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Backup(); } @@ -6377,27 +5546,27 @@ public static com.google.cloud.alloydb.v1alpha.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; @@ -6412,4 +5581,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java index c130951879a2..2e27f1b09d52 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -39,13 +21,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -59,180 +38,135 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface BackupOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,161 +206,123 @@ public interface BackupOrBuilder * map<string, string> labels = 6; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1alpha.Backup.State getState(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; - * * @return The type. */ com.google.cloud.alloydb.v1alpha.Backup.Type getType(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ java.lang.String getClusterUid(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString getClusterUidBytes(); + com.google.protobuf.ByteString + getClusterUidBytes(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ java.lang.String getClusterName(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - com.google.protobuf.ByteString getClusterNameBytes(); + com.google.protobuf.ByteString + getClusterNameBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -436,14 +331,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -451,16 +343,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -468,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -485,81 +367,58 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -570,8 +429,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -580,13 +437,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -595,10 +454,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -608,13 +466,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -623,154 +479,114 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 21; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java index 8a4e1c3111ff..f430abbac8e3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BackupSource} */ -public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BackupSource) BackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -44,32 +26,28 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BackupSource.class, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.BackupSource.class, com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -102,15 +78,16 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -119,21 +96,15 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ @java.lang.Override @@ -142,32 +113,30 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.BackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BackupSource other = - (com.google.cloud.alloydb.v1alpha.BackupSource) obj; + com.google.cloud.alloydb.v1alpha.BackupSource other = (com.google.cloud.alloydb.v1alpha.BackupSource) obj; - if (!getBackupUid().equals(other.getBackupUid())) return false; - if (!getBackupName().equals(other.getBackupName())) return false; + if (!getBackupUid() + .equals(other.getBackupUid())) return false; + if (!getBackupName() + .equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BackupSource) com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BackupSource.class, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.BackupSource.class, com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.cloud.alloydb.v1alpha.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource buildPartial() { - com.google.cloud.alloydb.v1alpha.BackupSource result = - new com.google.cloud.alloydb.v1alpha.BackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.BackupSource result = new com.google.cloud.alloydb.v1alpha.BackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BackupSource result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BackupSource)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backupUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -551,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -566,8 +522,6 @@ public java.lang.String getBackupUid() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -575,14 +529,15 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -590,8 +545,6 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -599,22 +552,18 @@ public com.google.protobuf.ByteString getBackupUidBytes() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -622,7 +571,6 @@ public Builder setBackupUid(java.lang.String value) {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -632,8 +580,6 @@ public Builder clearBackupUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -641,14 +587,12 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -658,23 +602,19 @@ public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupName_ = ""; /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -683,24 +623,21 @@ public java.lang.String getBackupName() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -708,41 +645,30 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearBackupName() { @@ -752,33 +678,27 @@ public Builder clearBackupName() { return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BackupSource) private static final com.google.cloud.alloydb.v1alpha.BackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BackupSource(); } @@ -802,27 +722,27 @@ public static com.google.cloud.alloydb.v1alpha.BackupSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java similarity index 57% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java index 7bb13f4e6727..0c57eb4c18bf 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface BackupSourceOrBuilder - extends +public interface BackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -33,13 +15,10 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ java.lang.String getBackupUid(); /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -47,39 +26,30 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString getBackupUidBytes(); + com.google.protobuf.ByteString + getBackupUidBytes(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ java.lang.String getBackupName(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - com.google.protobuf.ByteString getBackupNameBytes(); + com.google.protobuf.ByteString + getBackupNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java index c3cb8e4b5fe8..046a04cbc338 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -41,16 +24,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstanceStatus extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -59,28 +41,25 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class,
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -89,10 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -101,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -112,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PENDING_CREATE(1),
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -122,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * The instance is being created.
      * 
@@ -132,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -142,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -153,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(5),
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -167,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -177,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -188,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -198,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -208,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -218,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -229,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 5;
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -240,6 +192,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -264,59 +217,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PENDING_CREATE;
-        case 2:
-          return READY;
-        case 3:
-          return CREATING;
-        case 4:
-          return DELETING;
-        case 5:
-          return FAILED;
-        case 6:
-          return ROLLED_BACK;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PENDING_CREATE;
+        case 2: return READY;
+        case 3: return CREATING;
+        case 4: return DELETING;
+        case 5: return FAILED;
+        case 6: return ROLLED_BACK;
+        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.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.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;
@@ -336,8 +283,6 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -350,16 +295,12 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -372,32 +313,23 @@ public int getStateValue() {
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ @java.lang.Override @@ -406,30 +338,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -440,15 +372,12 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ @java.lang.Override @@ -456,15 +385,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ @java.lang.Override @@ -472,8 +398,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -490,29 +414,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override
-  public int getTypeValue() {
+  @java.lang.Override public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
-  @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1alpha.Instance.InstanceType result =
-        com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
-    return result == null
-        ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED
-        : result;
+  @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
+    return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,18 +440,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (type_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -550,21 +463,20 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
+    if (type_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -574,19 +486,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.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other =
-        (com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg()
+        .equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -616,104 +529,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus prototype) {
+  public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -734,32 +641,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class,
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -776,9 +684,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -797,11 +705,8 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus result =
-          new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -815,7 +720,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceS
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null
+            ? error_
+            : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -826,39 +733,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceS
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -866,8 +772,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -908,37 +813,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                errorMsg_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              errorMsg_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getErrorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -948,13 +850,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -967,16 +866,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -989,7 +884,6 @@ public int getStateValue() {
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1000,8 +894,6 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1014,20 +906,14 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1040,12 +926,10 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State value) { + public Builder setState(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State value) { if (value == null) { throw new NullPointerException(); } @@ -1055,8 +939,6 @@ public Builder setState( return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1069,7 +951,6 @@ public Builder setState(
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1081,21 +962,19 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -1104,22 +983,21 @@ public java.lang.String getErrorMsg() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1127,37 +1005,30 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1167,22 +1038,18 @@ public Builder clearErrorMsg() { return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1192,33 +1059,26 @@ public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1229,8 +1089,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1252,8 +1110,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1261,7 +1117,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1272,8 +1129,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1283,9 +1138,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && error_ != null
-            && error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          error_ != null &&
+          error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1298,8 +1153,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1318,8 +1171,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1333,8 +1184,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1346,12 +1195,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1360,14 +1208,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1376,16 +1224,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override
-    public int getTypeValue() {
+    @java.lang.Override public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1397,20 +1242,15 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1alpha.Instance.InstanceType result =
-          com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
-      return result == null
-          ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED
-          : result;
+      com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
+      return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result;
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1425,7 +1265,6 @@ public Builder setType(com.google.cloud.alloydb.v1alpha.Instance.InstanceType va
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1434,9 +1273,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1446,12 +1285,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus();
   }
@@ -1460,27 +1299,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCreateInstanceStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCreateInstanceStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1495,4 +1334,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
similarity index 81%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
index 70fc7a9b0ab9..92770eaf95bf 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
-public interface BatchCreateInstanceStatusOrBuilder
-    extends
+public interface BatchCreateInstanceStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -38,13 +20,10 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -57,67 +36,53 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString getErrorMsgBytes(); + com.google.protobuf.ByteString + getErrorMsgBytes(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -129,13 +94,11 @@ public interface BatchCreateInstanceStatusOrBuilder
 
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType();
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
similarity index 62%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
index 94aff9b605d5..5ad7bd482378 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
- *
- *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -28,60 +11,57 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstancesMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class,
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -90,15 +70,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { return instanceTargets_; } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -107,15 +85,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -124,7 +99,6 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -132,8 +106,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -142,53 +114,41 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; - private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -198,27 +158,23 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -228,18 +184,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -249,26 +200,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + public /* nullable */ +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -278,18 +223,14 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -297,7 +238,6 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceSta } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,12 +249,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 { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetInstanceStatuses(), + InstanceStatusesDefaultEntryHolder.defaultEntry, + 2); getUnknownFields().writeTo(output); } @@ -332,18 +277,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - entry : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - instanceStatuses__ = - InstanceStatusesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry entry + : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry + instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -353,16 +295,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.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other = - (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList() + .equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals( + other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,104 +331,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -493,70 +430,73 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class,
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance();
     }
 
@@ -571,17 +511,13 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result =
-          new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result) {
+    private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         instanceTargets_.makeImmutable();
@@ -597,39 +533,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -637,9 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other) {
-      if (other
-          == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -650,7 +583,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMe
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(
+          other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -678,35 +612,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureInstanceTargetsIsMutable();
-                instanceTargets_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String,
-                        com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus>
-                    instanceStatuses__ =
-                        input.readMessage(
-                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableInstanceStatuses()
-                    .getMutableMap()
-                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureInstanceTargetsIsMutable();
+              instanceTargets_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              instanceStatuses__ = input.readMessage(
+                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableInstanceStatuses().getMutableMap().put(
+                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -716,12 +642,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -729,8 +653,6 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -739,16 +661,14 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -757,15 +677,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
      * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -774,7 +691,6 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -782,8 +698,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -792,16 +706,14 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -810,15 +722,13 @@ public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTargets( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -826,8 +736,6 @@ public Builder setInstanceTargets(int index, java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -836,14 +744,12 @@ public Builder setInstanceTargets(int index, java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargets( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -851,8 +757,6 @@ public Builder addInstanceTargets(java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -861,20 +765,19 @@ public Builder addInstanceTargets(java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets(java.lang.Iterable values) { + public Builder addAllInstanceTargets( + java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -883,19 +786,16 @@ public Builder addAllInstanceTargets(java.lang.Iterable values
      * 
* * repeated string instance_targets = 1; - * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + instanceTargets_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -904,14 +804,12 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; - * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargetsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -921,11 +819,8 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -933,14 +828,11 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } return instanceStatuses_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + private com.google.protobuf.MapField internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = - com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -949,13 +841,10 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { onChanged(); return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -965,28 +854,23 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -996,19 +880,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1018,26 +896,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + public /* nullable */ +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1047,32 +919,26 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap().clear(); + internalGetMutableInstanceStatuses().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1082,28 +948,25 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ - public Builder removeInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableInstanceStatuses().getMutableMap().remove(key); + public Builder removeInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableInstanceStatuses().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + public java.util.Map getMutableInstanceStatuses() { bitField0_ |= 0x00000002; return internalGetMutableInstanceStatuses().getMutableMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1113,25 +976,19 @@ public Builder removeInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putInstanceStatuses( - java.lang.String key, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableInstanceStatuses().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableInstanceStatuses().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1141,20 +998,18 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putAllInstanceStatuses( - java.util.Map - values) { - internalGetMutableInstanceStatuses().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableInstanceStatuses().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } - @java.lang.Override - 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,13 +1019,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(); } @@ -1179,27 +1033,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1214,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java index 4f674743229b..1e9f01145934 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesMetadataOrBuilder - extends +public interface BatchCreateInstancesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -34,13 +16,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - java.util.List getInstanceTargetsList(); + java.util.List + getInstanceTargetsList(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -49,13 +29,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -64,14 +41,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -80,15 +54,13 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString + getInstanceTargetsBytes(int index); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -98,14 +70,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ int getInstanceStatusesCount(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -115,18 +83,17 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + */ + boolean containsInstanceStatuses( + java.lang.String key); + /** + * Use {@link #getInstanceStatusesMap()} instead. */ - boolean containsInstanceStatuses(java.lang.String key); - /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -136,15 +103,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -154,18 +117,14 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ /* nullable */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue); +com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -175,9 +134,7 @@ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOr
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java index 481dda21adee..9643cc231962 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -44,40 +26,33 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 @@ -86,31 +61,29 @@ 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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,16 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.CreateInstanceRequests requests_; /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ @java.lang.Override @@ -138,49 +106,33 @@ public boolean hasRequests() { return requests_ != null; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests() { - return requests_ == null - ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null - ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,7 +150,6 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -207,15 +158,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,15 +183,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,7 +201,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +236,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -298,20 +250,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.cloud.alloydb.v1alpha.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other = - (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests().equals(other.getRequests())) return false; + if (!getRequests() + .equals(other.getRequests())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,136 +291,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +431,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance(); } @@ -504,23 +452,21 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result = - new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null + ? requests_ + : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -531,39 +477,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -571,9 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other) { - if (other - == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -613,31 +556,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,27 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.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,23 +612,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -700,39 +633,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -742,23 +664,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -768,58 +684,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> - requestsBuilder_; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> requestsBuilder_; /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null - ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; } else { return requestsBuilder_.getMessage(); } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -835,15 +732,11 @@ public Builder setRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceReques return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder builderForValue) { @@ -857,22 +750,17 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requests_ != null - && requests_ - != com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requests_ != null && + requests_ != com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -885,15 +773,11 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequ return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -906,15 +790,11 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -922,48 +802,36 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder getReques return getRequestsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null - ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder>( - getRequests(), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder>( + getRequests(), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; @@ -971,8 +839,6 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -990,13 +856,13 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1005,8 +871,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1024,14 +888,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1039,8 +904,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1058,22 +921,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1091,7 +950,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1101,8 +959,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1120,23 +976,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1146,13 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(); } @@ -1161,27 +1014,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1196,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java index c1a1ef79a539..cfe46ddc93cc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesRequestOrBuilder - extends +public interface BatchCreateInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ boolean hasRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,13 +72,10 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,8 +93,8 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java index 59423fbc153a..1be491632f15 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * Created instances.
    * 
@@ -80,8 +58,6 @@ public java.util.List getInstancesLis return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -89,13 +65,11 @@ public java.util.List getInstancesLis * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -107,8 +81,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Created instances.
    * 
@@ -120,8 +92,6 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Created instances.
    * 
@@ -129,12 +99,12 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -160,7 +131,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -170,15 +142,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.cloud.alloydb.v1alpha.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other = - (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,136 +172,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,14 +312,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance(); } @@ -367,18 +333,14 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result = - new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -390,8 +352,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { int from_bitField0_ = bitField0_; } @@ -399,39 +360,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -439,9 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other) { - if (other - == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -460,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRe 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_); } @@ -495,26 +452,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,28 +480,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * Created instances.
      * 
@@ -560,8 +509,6 @@ public java.util.List getInstancesLis } } /** - * - * *
      * Created instances.
      * 
@@ -576,8 +523,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Created instances.
      * 
@@ -592,15 +537,14 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,8 +558,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance return this; } /** - * - * *
      * Created instances.
      * 
@@ -634,8 +576,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -656,15 +596,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,15 +617,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -697,8 +635,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder bu return this; } /** - * - * *
      * Created instances.
      * 
@@ -717,8 +653,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -729,7 +663,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); @@ -737,8 +672,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -756,8 +689,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Created instances.
      * 
@@ -775,44 +706,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -820,8 +746,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( } } /** - * - * *
      * Created instances.
      * 
@@ -829,55 +753,49 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -887,13 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(); } @@ -902,27 +819,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +854,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java index ef8509e7f1fc..e2ccf9573564 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesResponseOrBuilder - extends +public interface BatchCreateInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * Created instances.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1alpha.Instance getInstances(int index); /** - * - * *
    * Created instances.
    * 
@@ -54,24 +33,21 @@ public interface BatchCreateInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java index 740394b81efa..e95e79a34860 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -52,51 +34,48 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.Cluster.class,
-            com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1alpha.Cluster.class, com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The cluster is active and running.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -129,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STOPPED(2),
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -140,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     EMPTY(3),
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -150,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(4), /** - * - * *
      * The cluster is being deleted.
      * 
@@ -160,8 +129,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(5), /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -170,8 +137,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -181,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(7),
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -193,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     MAINTENANCE(8),
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -206,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -216,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The cluster is active and running.
      * 
@@ -226,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -240,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STOPPED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -251,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EMPTY_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -261,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 4; /** - * - * *
      * The cluster is being deleted.
      * 
@@ -271,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 5; /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -281,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -292,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -304,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -314,6 +255,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,63 +280,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return EMPTY; - case 4: - return CREATING; - case 5: - return DELETING; - case 6: - return FAILED; - case 7: - return BOOTSTRAPPING; - case 8: - return MAINTENANCE; - case 9: - return PROMOTING; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return EMPTY; + case 4: return CREATING; + case 5: return DELETING; + case 6: return FAILED; + case 7: return BOOTSTRAPPING; + case 8: return MAINTENANCE; + case 9: return PROMOTING; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - 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.cloud.alloydb.v1alpha.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -412,18 +347,15 @@ private State(int value) { } /** - * - * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Cluster.ClusterType} */ - public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the cluster is unknown.
      * 
@@ -432,8 +364,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -442,8 +372,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -456,8 +384,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -466,8 +392,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -476,8 +400,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -487,6 +409,7 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -511,49 +434,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return CLUSTER_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return CLUSTER_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return SECONDARY;
+        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<
+        ClusterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ClusterType findValueByNumber(int number) {
+              return ClusterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterType findValueByNumber(int number) {
-            return ClusterType.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.cloud.alloydb.v1alpha.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -570,14 +493,11 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder
-      extends
+  public interface NetworkConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -587,16 +507,11 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ java.lang.String getNetwork(); /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -606,17 +521,13 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -628,13 +539,10 @@ public interface NetworkConfigOrBuilder
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -646,30 +554,27 @@ public interface NetworkConfigOrBuilder
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString + getAllocatedIpRangeBytes(); } /** - * - * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -677,32 +582,28 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -712,10 +613,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ @java.lang.Override @@ -724,15 +622,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -742,18 +639,17 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -762,12 +658,9 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -779,7 +672,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ @java.lang.Override @@ -788,15 +680,14 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -808,15 +699,16 @@ public java.lang.String getAllocatedIpRange() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -825,7 +717,6 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -837,7 +728,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -867,16 +759,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.cloud.alloydb.v1alpha.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other = - (com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) obj; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getAllocatedIpRange() + .equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -898,94 +791,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -995,41 +883,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.NetworkConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1040,9 +926,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -1061,11 +947,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig result = - new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1084,41 +967,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1126,8 +1006,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1164,25 +1043,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1192,13 +1068,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object network_ = ""; /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1208,16 +1081,14 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1226,8 +1097,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1237,17 +1106,16 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1255,8 +1123,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1266,25 +1132,19 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1294,10 +1154,7 @@ public Builder setNetwork(java.lang.String value) {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1307,8 +1164,6 @@ public Builder clearNetwork() { return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1318,17 +1173,13 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1338,8 +1189,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object allocatedIpRange_ = ""; /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1351,13 +1200,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1366,8 +1215,6 @@ public java.lang.String getAllocatedIpRange() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1379,14 +1226,15 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1394,8 +1242,6 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1407,22 +1253,18 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1434,7 +1276,6 @@ public Builder setAllocatedIpRange(java.lang.String value) {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1444,8 +1285,6 @@ public Builder clearAllocatedIpRange() { return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1457,21 +1296,18 @@ public Builder clearAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1484,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(); } @@ -1498,28 +1334,27 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1534,43 +1369,36 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SecondaryConfigOrBuilder - extends + public interface SecondaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString + getPrimaryClusterNameBytes(); } /** - * - * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1578,55 +1406,49 @@ public interface SecondaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecondaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class,
-              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
-     *
-     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ @java.lang.Override @@ -1635,30 +1457,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1667,7 +1489,6 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,7 +1500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1703,15 +1525,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.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other = - (com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName() + .equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1731,94 +1553,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1828,8 +1645,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1837,33 +1652,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class,
-                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1873,9 +1688,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1894,11 +1709,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig result =
-            new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1914,41 +1726,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryCon
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1956,8 +1765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1989,19 +1797,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  primaryClusterName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                primaryClusterName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2011,26 +1817,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
-       *
-       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -2039,22 +1842,21 @@ public java.lang.String getPrimaryClusterName() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -2062,37 +1864,30 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -2102,29 +1897,24 @@ public Builder clearPrimaryClusterName() { return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2137,12 +1927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(); } @@ -2151,28 +1941,27 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2187,79 +1976,59 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PrimaryConfigOrBuilder - extends + public interface PrimaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - java.util.List getSecondaryClusterNamesList(); + java.util.List + getSecondaryClusterNamesList(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index); } /** - * - * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2268,92 +2037,76 @@ public interface PrimaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PrimaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PrimaryConfig() {
-      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class,
-              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2361,26 +2114,21 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2392,10 +2140,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2422,16 +2170,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.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other = - (com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) - return false; + if (!getSecondaryClusterNamesList() + .equals(other.getSecondaryClusterNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2453,94 +2200,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2550,8 +2292,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2560,45 +2300,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class,
-                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2617,11 +2358,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig result =
-            new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2638,41 +2376,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfi
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2680,8 +2415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2718,20 +2452,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureSecondaryClusterNamesIsMutable();
-                  secondaryClusterNames_.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();
+                ensureSecondaryClusterNamesIsMutable();
+                secondaryClusterNames_.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) {
@@ -2741,66 +2473,49 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ =
-              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2808,43 +2523,33 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecondaryClusterNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2852,24 +2557,18 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2877,67 +2576,53 @@ public Builder addSecondaryClusterNames(java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames( + java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + secondaryClusterNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2945,7 +2630,6 @@ public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString valu onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2958,12 +2642,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(); } @@ -2972,28 +2656,27 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3008,22 +2691,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -3039,38 +2719,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: - return BACKUP_SOURCE; - case 16: - return MIGRATION_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 15: return BACKUP_SOURCE; + case 16: return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -3078,56 +2750,42 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -3135,51 +2793,39 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; + return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; } return com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; + return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; } return com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3190,7 +2836,6 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -3199,15 +2844,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3218,15 +2862,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -3235,18 +2880,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -3255,29 +2896,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; } } /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -3286,19 +2927,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -3307,30 +2944,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3341,15 +2978,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3357,15 +2990,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3373,14 +3002,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3390,15 +3016,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3406,15 +3028,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -3422,14 +3040,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3439,15 +3054,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3455,15 +3066,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -3471,14 +3078,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3486,34 +3090,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3521,21 +3123,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3547,8 +3148,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3556,19 +3155,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3576,11 +3173,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3590,47 +3187,32 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { - com.google.cloud.alloydb.v1alpha.Cluster.State result = - com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { + com.google.cloud.alloydb.v1alpha.Cluster.State result = com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3638,19 +3220,13 @@ public com.google.cloud.alloydb.v1alpha.Cluster.State getState() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3658,26 +3234,17 @@ public int getClusterTypeValue() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3685,19 +3252,13 @@ public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3705,26 +3266,18 @@ public int getDatabaseVersionValue() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = - com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig networkConfig_; /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3732,38 +3285,25 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder - getNetworkConfigOrBuilder() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { + return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3772,30 +3312,25 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig()
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3804,21 +3339,19 @@ public java.lang.String getNetwork() {
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -3827,18 +3360,14 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ETAG_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ @java.lang.Override @@ -3847,29 +3376,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @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 { @@ -3878,35 +3407,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3916,21 +3442,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3944,8 +3469,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3955,19 +3478,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3977,11 +3498,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3991,8 +3512,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -4002,7 +3521,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4013,17 +3531,12 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1alpha.UserPassword initialUser_; /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ @java.lang.Override @@ -4031,49 +3544,34 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automatedBackupPolicy_; /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4085,7 +3583,6 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -4093,8 +3590,6 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4106,18 +3601,13 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4131,56 +3621,41 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup
    * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder
-      getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null
-        ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()
-        : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_;
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -4188,18 +3663,13 @@ public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4208,10 +3678,7 @@ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -4219,8 +3686,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4229,21 +3694,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4252,30 +3710,21 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -4283,55 +3732,37 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuousBackupConfig_; /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -4339,56 +3770,37 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuousBackupInfo_; /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -4396,54 +3808,37 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondaryConfig_; /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -4451,25 +3846,18 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -4477,26 +3865,18 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConf * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primaryConfig_; /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -4504,54 +3884,37 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder - getPrimaryConfigOrBuilder() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { + return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 30; private boolean satisfiesPzs_ = false; /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 30; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -4560,7 +3923,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4572,7 +3934,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4591,14 +3954,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1alpha.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -4607,8 +3972,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -4639,9 +4008,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED - .getNumber()) { + if (clusterType_ != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4675,31 +4042,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1alpha.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4707,69 +4077,75 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); } if (sourceCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.alloydb.v1alpha.MigrationSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.alloydb.v1alpha.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); + if (clusterType_ != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getNetworkConfig()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(30, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4779,84 +4155,108 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.Cluster other = (com.google.cloud.alloydb.v1alpha.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; - } - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; + } + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser().equals(other.getInitialUser())) return false; + if (!getInitialUser() + .equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy() + .equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig() + .equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo() + .equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig() + .equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig() + .equals(other.getPrimaryConfig())) return false; } - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource().equals(other.getMigrationSource())) return false; + if (!getMigrationSource() + .equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4913,7 +4313,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4951,7 +4352,8 @@ public int hashCode() { hash = (53 * hash) + getPrimaryConfig().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); switch (sourceCase_) { case 15: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -4969,104 +4371,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -5075,56 +4472,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster)
       com.google.cloud.alloydb.v1alpha.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.class,
-              com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.class, com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.Cluster.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5218,9 +4618,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -5239,11 +4639,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Cluster buildPartial() {
-      com.google.cloud.alloydb.v1alpha.Cluster result =
-          new com.google.cloud.alloydb.v1alpha.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.Cluster result = new com.google.cloud.alloydb.v1alpha.Cluster(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5261,13 +4658,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -5283,8 +4686,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ =
-            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
+        result.networkConfig_ = networkConfigBuilder_ == null
+            ? networkConfig_
+            : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -5300,45 +4704,49 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ =
-            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
+        result.initialUser_ = initialUserBuilder_ == null
+            ? initialUser_
+            : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ =
-            automatedBackupPolicyBuilder_ == null
-                ? automatedBackupPolicy_
-                : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
+            ? automatedBackupPolicy_
+            : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null
+            ? sslConfig_
+            : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ =
-            continuousBackupConfigBuilder_ == null
-                ? continuousBackupConfig_
-                : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
+            ? continuousBackupConfig_
+            : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ =
-            continuousBackupInfoBuilder_ == null
-                ? continuousBackupInfo_
-                : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
+            ? continuousBackupInfo_
+            : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ =
-            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ = secondaryConfigBuilder_ == null
+            ? secondaryConfig_
+            : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ =
-            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
+        result.primaryConfig_ = primaryConfigBuilder_ == null
+            ? primaryConfig_
+            : primaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x04000000) != 0)) {
         result.satisfiesPzs_ = satisfiesPzs_;
@@ -5348,10 +4756,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 &&
+          migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -5360,39 +4770,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.Cluster result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5425,7 +4834,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -5449,7 +4859,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -5485,20 +4896,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
         setSatisfiesPzs(other.getSatisfiesPzs());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case MIGRATION_SOURCE:
-          {
-            mergeMigrationSource(other.getMigrationSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case MIGRATION_SOURCE: {
+          mergeMigrationSource(other.getMigrationSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5526,191 +4934,185 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 64
-            case 72:
-              {
-                databaseVersion_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 72
-            case 82:
-              {
-                network_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 82
-            case 90:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00004000;
-                break;
-              } // case 90
-            case 98:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 98
-            case 104:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 104
-            case 114:
-              {
-                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(
-                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 162
-            case 178:
-              {
-                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x01000000;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x02000000;
-                break;
-              } // case 186
-            case 192:
-              {
-                clusterType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 192
-            case 218:
-              {
-                input.readMessage(
-                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00800000;
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 234
-            case 240:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x04000000;
-                break;
-              } // case 240
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 64
+            case 72: {
+              databaseVersion_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 72
+            case 82: {
+              network_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 82
+            case 90: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00004000;
+              break;
+            } // case 90
+            case 98: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 98
+            case 104: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 104
+            case 114: {
+              input.readMessage(
+                  getInitialUserFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getMigrationSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getSslConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 162
+            case 178: {
+              input.readMessage(
+                  getSecondaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x01000000;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getPrimaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x02000000;
+              break;
+            } // case 186
+            case 192: {
+              clusterType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 192
+            case 218: {
+              input.readMessage(
+                  getContinuousBackupConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getContinuousBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00800000;
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 234
+            case 240: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x04000000;
+              break;
+            } // case 240
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5720,12 +5122,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() {
@@ -5738,21 +5140,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.BackupSource,
-            com.google.cloud.alloydb.v1alpha.BackupSource.Builder,
-            com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5760,16 +5154,11 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override @@ -5787,15 +5176,11 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5811,15 +5196,11 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource val return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource( com.google.cloud.alloydb.v1alpha.BackupSource.Builder builderForValue) { @@ -5833,25 +5214,18 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 - && source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1alpha.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 15 && + source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -5867,15 +5241,11 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource v return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5894,29 +5264,21 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5930,30 +5292,21 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder, - com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder, - com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.BackupSource) source_, getParentForChildren(), isClean()); @@ -5965,21 +5318,13 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, - com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, - com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> - migrationSourceBuilder_; + com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> migrationSourceBuilder_; /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5987,16 +5332,11 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override @@ -6014,15 +5354,11 @@ public com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource() { } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -6038,15 +5374,11 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSour return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource( com.google.cloud.alloydb.v1alpha.MigrationSource.Builder builderForValue) { @@ -6060,25 +5392,18 @@ public Builder setMigrationSource( return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 - && source_ != com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder( - (com.google.cloud.alloydb.v1alpha.MigrationSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 16 && + source_ != com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder((com.google.cloud.alloydb.v1alpha.MigrationSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -6094,15 +5419,11 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSo return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -6121,29 +5442,21 @@ public Builder clearMigrationSource() { return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -6157,30 +5470,21 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, - com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, - com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, - com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, - com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.MigrationSource) source_, getParentForChildren(), isClean()); @@ -6193,8 +5497,6 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6205,13 +5507,13 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou
      * 
* * 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; @@ -6220,8 +5522,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6232,14 +5532,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -6247,8 +5548,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6259,22 +5558,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6285,7 +5580,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -6295,8 +5589,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6307,14 +5599,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -6324,20 +5614,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -6345,22 +5633,21 @@ public java.lang.String getDisplayName() { return (java.lang.String) ref; } } - /** - * - * + /** *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -6368,35 +5655,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6406,21 +5686,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -6430,21 +5706,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6453,22 +5727,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6476,37 +5749,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -6516,22 +5782,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -6541,58 +5803,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -6608,17 +5851,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -6629,21 +5869,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -6656,15 +5892,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6677,15 +5909,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -6693,48 +5921,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -6742,58 +5958,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -6809,17 +6006,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -6830,21 +6024,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6857,15 +6047,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6878,15 +6064,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6894,48 +6076,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -6943,58 +6113,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -7010,17 +6161,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -7031,21 +6179,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -7058,15 +6202,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -7079,15 +6219,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -7095,66 +6231,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7163,13 +6289,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7177,21 +6300,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7203,8 +6325,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7212,19 +6332,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7232,108 +6350,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000100; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7344,35 +6449,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { - com.google.cloud.alloydb.v1alpha.Cluster.State result = - com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Cluster.State result = com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -7386,16 +6480,11 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -7407,8 +6496,6 @@ public Builder clearState() { private int clusterType_ = 0; /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7416,19 +6503,13 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7436,10 +6517,7 @@ public int getClusterTypeValue() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -7450,8 +6528,6 @@ public Builder setClusterTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7459,23 +6535,15 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7483,10 +6551,7 @@ public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The clusterType to set. * @return This builder for chaining. */ @@ -7500,8 +6565,6 @@ public Builder setClusterType(com.google.cloud.alloydb.v1alpha.Cluster.ClusterTy return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7509,10 +6572,7 @@ public Builder setClusterType(com.google.cloud.alloydb.v1alpha.Cluster.ClusterTy
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearClusterType() { @@ -7524,8 +6584,6 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7533,19 +6591,13 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7553,10 +6605,7 @@ public int getDatabaseVersionValue() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -7567,8 +6616,6 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7576,23 +6623,15 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = - com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); - return result == null - ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7600,10 +6639,7 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -7617,8 +6653,6 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7626,10 +6660,7 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -7641,40 +6672,27 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -7690,9 +6708,7 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.Network return this; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder builderForValue) { @@ -7706,17 +6722,13 @@ public Builder setNetworkConfig( return this; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeNetworkConfig( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { + public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && networkConfig_ != null - && networkConfig_ - != com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + networkConfig_ != null && + networkConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -7729,9 +6741,7 @@ public Builder mergeNetworkConfig( return this; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -7744,48 +6754,36 @@ public Builder clearNetworkConfig() { return this; } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder - getNetworkConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { bitField0_ |= 0x00001000; onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder - getNetworkConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } } /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), getParentForChildren(), isClean()); + networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), + getParentForChildren(), + isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -7793,8 +6791,6 @@ public Builder clearNetworkConfig() { private java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7803,19 +6799,16 @@ public Builder clearNetworkConfig() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -7824,8 +6817,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7834,20 +6825,18 @@ public java.lang.String getNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -7855,8 +6844,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7865,28 +6852,21 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7895,24 +6875,18 @@ public Builder setNetwork(java.lang.String value) {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNetwork() { + @java.lang.Deprecated public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7921,20 +6895,15 @@ public Builder clearNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -7944,20 +6913,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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; @@ -7966,21 +6933,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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 { @@ -7988,35 +6954,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -8026,21 +6985,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -8048,8 +7003,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -8058,12 +7013,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -8072,13 +7026,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8088,21 +7039,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8116,8 +7066,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8127,19 +7075,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8149,25 +7095,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8176,22 +7120,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8200,20 +7145,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8222,16 +7164,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_;
+    private boolean reconciling_ ;
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8241,7 +7183,6 @@ public Builder putAllAnnotations(java.util.Map
      *
      * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-     *
      * @return The reconciling.
      */
     @java.lang.Override
@@ -8249,8 +7190,6 @@ public boolean getReconciling() {
       return reconciling_;
     }
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8260,7 +7199,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -8272,8 +7210,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8283,7 +7219,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -8295,61 +7230,42 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1alpha.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, - com.google.cloud.alloydb.v1alpha.UserPassword.Builder, - com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> - initialUserBuilder_; + com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> initialUserBuilder_; /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ public com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null - ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword value) { if (initialUserBuilder_ == null) { @@ -8365,16 +7281,12 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword valu return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser( com.google.cloud.alloydb.v1alpha.UserPassword.Builder builderForValue) { @@ -8388,22 +7300,18 @@ public Builder setInitialUser( return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && initialUser_ != null - && initialUser_ != com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + initialUser_ != null && + initialUser_ != com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -8416,16 +7324,12 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword va return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -8438,16 +7342,12 @@ public Builder clearInitialUser() { return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -8455,50 +7355,38 @@ public com.google.cloud.alloydb.v1alpha.UserPassword.Builder getInitialUserBuild return getInitialUserFieldBuilder().getBuilder(); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null - ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? + com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, - com.google.cloud.alloydb.v1alpha.UserPassword.Builder, - com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, - com.google.cloud.alloydb.v1alpha.UserPassword.Builder, - com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder>( - getInitialUser(), getParentForChildren(), isClean()); + initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder>( + getInitialUser(), + getParentForChildren(), + isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -8506,13 +7394,8 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu private com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> - automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8523,17 +7406,13 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8544,23 +7423,17 @@ public boolean hasAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8571,11 +7444,9 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ - public Builder setAutomatedBackupPolicy( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { + public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { if (automatedBackupPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8589,8 +7460,6 @@ public Builder setAutomatedBackupPolicy( return this; } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8601,8 +7470,7 @@ public Builder setAutomatedBackupPolicy(
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ public Builder setAutomatedBackupPolicy( com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder builderForValue) { @@ -8616,8 +7484,6 @@ public Builder setAutomatedBackupPolicy( return this; } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8628,16 +7494,13 @@ public Builder setAutomatedBackupPolicy(
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ - public Builder mergeAutomatedBackupPolicy( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { + public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { if (automatedBackupPolicyBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) - && automatedBackupPolicy_ != null - && automatedBackupPolicy_ - != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) && + automatedBackupPolicy_ != null && + automatedBackupPolicy_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) { getAutomatedBackupPolicyBuilder().mergeFrom(value); } else { automatedBackupPolicy_ = value; @@ -8650,8 +7513,6 @@ public Builder mergeAutomatedBackupPolicy( return this; } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8662,8 +7523,7 @@ public Builder mergeAutomatedBackupPolicy(
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ public Builder clearAutomatedBackupPolicy() { bitField0_ = (bitField0_ & ~0x00040000); @@ -8676,8 +7536,6 @@ public Builder clearAutomatedBackupPolicy() { return this; } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8688,18 +7546,14 @@ public Builder clearAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder - getAutomatedBackupPolicyBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() { bitField0_ |= 0x00040000; onChanged(); return getAutomatedBackupPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8710,22 +7564,17 @@ public Builder clearAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder - getAutomatedBackupPolicyOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() { if (automatedBackupPolicyBuilder_ != null) { return automatedBackupPolicyBuilder_.getMessageOrBuilder(); } else { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8736,21 +7585,17 @@ public Builder clearAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> getAutomatedBackupPolicyFieldBuilder() { if (automatedBackupPolicyBuilder_ == null) { - automatedBackupPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder>( - getAutomatedBackupPolicy(), getParentForChildren(), isClean()); + automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder>( + getAutomatedBackupPolicy(), + getParentForChildren(), + isClean()); automatedBackupPolicy_ = null; } return automatedBackupPolicyBuilder_; @@ -8758,61 +7603,45 @@ public Builder clearAutomatedBackupPolicy() { private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { + @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8826,16 +7655,13 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig( + @java.lang.Deprecated public Builder setSslConfig( com.google.cloud.alloydb.v1alpha.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); @@ -8847,20 +7673,17 @@ public Builder setSslConfig( return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { + @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -8873,16 +7696,13 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearSslConfig() { + @java.lang.Deprecated public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -8893,42 +7713,33 @@ public Builder clearSslConfig() { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -8936,17 +7747,14 @@ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -8954,13 +7762,8 @@ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8969,18 +7772,13 @@ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8989,24 +7787,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9015,9 +7806,7 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -9033,8 +7822,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9043,9 +7830,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -9059,8 +7844,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9069,16 +7852,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -9091,8 +7871,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9101,9 +7879,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -9116,8 +7892,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9126,9 +7900,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -9136,8 +7908,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9146,23 +7916,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9171,22 +7935,17 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -9194,58 +7953,39 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -9261,15 +8001,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -9283,22 +8019,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -9311,15 +8042,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -9332,15 +8059,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -9348,48 +8071,36 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -9397,61 +8108,41 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> - continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setContinuousBackupConfig( - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9465,15 +8156,11 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder builderForValue) { @@ -9487,23 +8174,17 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeContinuousBackupConfig( - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) - && continuousBackupConfig_ != null - && continuousBackupConfig_ - != com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) && + continuousBackupConfig_ != null && + continuousBackupConfig_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -9516,15 +8197,11 @@ public Builder mergeContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -9537,66 +8214,48 @@ public Builder clearContinuousBackupConfig() { return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder - getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), getParentForChildren(), isClean()); + continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), + getParentForChildren(), + isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -9604,61 +8263,41 @@ public Builder clearContinuousBackupConfig() { private com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> - continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setContinuousBackupInfo( - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { + public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9672,15 +8311,11 @@ public Builder setContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder builderForValue) { @@ -9694,23 +8329,17 @@ public Builder setContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeContinuousBackupInfo( - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) - && continuousBackupInfo_ != null - && continuousBackupInfo_ - != com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) && + continuousBackupInfo_ != null && + continuousBackupInfo_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -9723,15 +8352,11 @@ public Builder mergeContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -9744,66 +8369,48 @@ public Builder clearContinuousBackupInfo() { return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder - getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), getParentForChildren(), isClean()); + continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), + getParentForChildren(), + isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -9811,55 +8418,41 @@ public Builder clearContinuousBackupInfo() { private com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> - secondaryConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder setSecondaryConfig( - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { + public Builder setSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9873,8 +8466,6 @@ public Builder setSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9893,21 +8484,17 @@ public Builder setSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder mergeSecondaryConfig( - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { + public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) - && secondaryConfig_ != null - && secondaryConfig_ - != com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) && + secondaryConfig_ != null && + secondaryConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -9920,8 +8507,6 @@ public Builder mergeSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9939,42 +8524,33 @@ public Builder clearSecondaryConfig() { return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder - getSecondaryConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder() { bitField0_ |= 0x01000000; onChanged(); return getSecondaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9982,17 +8558,14 @@ public Builder clearSecondaryConfig() { * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), getParentForChildren(), isClean()); + secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), + getParentForChildren(), + isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -10000,58 +8573,39 @@ public Builder clearSecondaryConfig() { private com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> - primaryConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -10067,15 +8621,11 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.Primary return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder builderForValue) { @@ -10089,23 +8639,17 @@ public Builder setPrimaryConfig( return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergePrimaryConfig( - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { + public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) - && primaryConfig_ != null - && primaryConfig_ - != com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) && + primaryConfig_ != null && + primaryConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -10118,15 +8662,11 @@ public Builder mergePrimaryConfig( return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -10139,81 +8679,60 @@ public Builder clearPrimaryConfig() { return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder - getPrimaryConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; onChanged(); return getPrimaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder - getPrimaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), getParentForChildren(), isClean()); + primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), + getParentForChildren(), + isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -10221,14 +8740,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -10240,14 +8756,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -10256,9 +8769,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10268,12 +8781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster) private static final com.google.cloud.alloydb.v1alpha.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster(); } @@ -10282,27 +8795,27 @@ public static com.google.cloud.alloydb.v1alpha.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10317,4 +8830,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java index 3ba02e0205e7..5c89c56cc9e7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java @@ -1,113 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -118,13 +72,10 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -135,180 +86,135 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -317,31 +223,30 @@ public interface ClusterOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -349,53 +254,40 @@ public interface ClusterOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1alpha.Cluster.State getState(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -403,16 +295,11 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -420,17 +307,12 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -438,16 +320,11 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -455,40 +332,27 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion(); /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig(); /** - * - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -497,19 +361,13 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated - java.lang.String getNetwork(); + @java.lang.Deprecated java.lang.String getNetwork(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -518,45 +376,35 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNetworkBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -567,8 +415,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -577,13 +423,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -592,10 +440,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -605,13 +452,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -620,11 +465,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -634,58 +478,41 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -697,13 +524,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -715,13 +539,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -734,54 +555,40 @@ java.lang.String getAnnotationsOrDefault(
    *
    * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
    */
-  com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder
-      getAutomatedBackupPolicyOrBuilder();
+  com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - boolean hasSslConfig(); + @java.lang.Deprecated boolean hasSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1alpha/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); + @java.lang.Deprecated com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -790,16 +597,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -808,16 +610,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -826,163 +623,110 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -992,55 +736,38 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 30; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java index 2a4dcdd02f3a..0c9f2a58134c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1alpha.ClusterView}
  */
-public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -52,8 +32,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   CLUSTER_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -67,8 +45,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -77,8 +53,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -89,8 +63,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -101,6 +73,7 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -125,49 +98,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0:
-        return CLUSTER_VIEW_UNSPECIFIED;
-      case 1:
-        return CLUSTER_VIEW_BASIC;
-      case 2:
-        return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default:
-        return null;
+      case 0: return CLUSTER_VIEW_UNSPECIFIED;
+      case 1: return CLUSTER_VIEW_BASIC;
+      case 2: return CLUSTER_VIEW_CONTINUOUS_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 ClusterView findValueByNumber(int number) {
-          return ClusterView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ClusterView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ClusterView findValueByNumber(int number) {
+            return ClusterView.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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;
@@ -183,3 +156,4 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.ClusterView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
similarity index 70%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
index 2112e855be77..c6911d33f832 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
- *
- *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ConnectionInfo}
  */
-public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConnectionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ConnectionInfo)
     ConnectionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
-    pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    pemCertificateChain_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     instanceUid_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ConnectionInfo.class,
-            com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -105,15 +82,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 { @@ -122,12 +100,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -135,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -144,15 +118,14 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -160,15 +133,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -177,106 +151,79 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { return pemCertificateChain_; } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - public int getPemCertificateChainCount() { + @java.lang.Deprecated public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int INSTANCE_UID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ @java.lang.Override @@ -285,29 +232,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -316,7 +263,6 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,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_); } @@ -375,18 +322,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.cloud.alloydb.v1alpha.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ConnectionInfo other = - (com.google.cloud.alloydb.v1alpha.ConnectionInfo) obj; + com.google.cloud.alloydb.v1alpha.ConnectionInfo other = (com.google.cloud.alloydb.v1alpha.ConnectionInfo) obj; - if (!getName().equals(other.getName())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; - if (!getInstanceUid().equals(other.getInstanceUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (!getPemCertificateChainList() + .equals(other.getPemCertificateChainList())) return false; + if (!getInstanceUid() + .equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,104 +363,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -518,47 +463,49 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ConnectionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ConnectionInfo)
       com.google.cloud.alloydb.v1alpha.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ConnectionInfo.class,
-              com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ConnectionInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
       ipAddress_ = "";
-      pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      pemCertificateChain_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       instanceUid_ = "";
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,11 +524,8 @@ public com.google.cloud.alloydb.v1alpha.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ConnectionInfo result =
-          new com.google.cloud.alloydb.v1alpha.ConnectionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.ConnectionInfo result = new com.google.cloud.alloydb.v1alpha.ConnectionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -607,39 +551,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ConnectionInfo resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ConnectionInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ConnectionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -647,8 +590,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ConnectionInfo other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -700,38 +642,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePemCertificateChainIsMutable();
-                pemCertificateChain_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                instanceUid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensurePemCertificateChainIsMutable();
+              pemCertificateChain_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              instanceUid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -741,13 +678,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -755,13 +689,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; @@ -770,8 +704,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -779,14 +711,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 { @@ -794,8 +727,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -803,22 +734,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -826,7 +753,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -836,8 +762,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -845,14 +769,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -862,8 +784,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -871,13 +791,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -886,8 +806,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -895,14 +813,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -910,8 +829,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -919,22 +836,18 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -942,7 +855,6 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -952,8 +864,6 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -961,14 +871,12 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -978,7 +886,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -986,111 +893,82 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - public int getPemCertificateChainCount() { + @java.lang.Deprecated public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCertificateChain(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCertificateChain( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000004; @@ -1098,27 +976,20 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addPemCertificateChain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder addPemCertificateChain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000004; @@ -1126,76 +997,59 @@ public Builder addPemCertificateChain(java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllPemCertificateChain(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllPemCertificateChain( + java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pemCertificateChain_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPemCertificateChain() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + @java.lang.Deprecated public Builder clearPemCertificateChain() { + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder addPemCertificateChainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -1206,20 +1060,18 @@ public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) private java.lang.Object instanceUid_ = ""; /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -1228,21 +1080,20 @@ public java.lang.String getInstanceUid() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -1250,35 +1101,28 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -1288,30 +1132,26 @@ public Builder clearInstanceUid() { return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1321,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ConnectionInfo) private static final com.google.cloud.alloydb.v1alpha.ConnectionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ConnectionInfo(); } @@ -1335,27 +1175,27 @@ public static com.google.cloud.alloydb.v1alpha.ConnectionInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1370,4 +1210,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java index 16a8d2c2475e..641e7de26199 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ConnectionInfoOrBuilder - extends +public interface ConnectionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -33,13 +15,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -47,14 +26,12 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -62,13 +39,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -76,108 +50,81 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - java.util.List getPemCertificateChainList(); + @java.lang.Deprecated java.util.List + getPemCertificateChainList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - int getPemCertificateChainCount(); + @java.lang.Deprecated int getPemCertificateChainCount(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - java.lang.String getPemCertificateChain(int index); + @java.lang.Deprecated java.lang.String getPemCertificateChain(int index); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPemCertificateChainBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getPemCertificateChainBytes(int index); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString getInstanceUidBytes(); + com.google.protobuf.ByteString + getInstanceUidBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java index e6b276d08110..31ac019b966b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ContinuousBackupConfig() {}
+  private ContinuousBackupConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class,
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -98,8 +74,6 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -107,7 +81,6 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -118,8 +91,6 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -128,7 +99,6 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -136,8 +106,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -146,18 +114,13 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -169,13 +132,10 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null
-        ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()
-        : encryptionConfig_;
+    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -207,13 +168,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -223,22 +187,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.cloud.alloydb.v1alpha.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other =
-        (com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled() != other.getEnabled()) return false;
+      if (getEnabled()
+          != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays()
+        != other.getRecoveryWindowDays()) 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;
@@ -253,7 +219,8 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -267,104 +234,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig prototype) {
+  public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -372,32 +333,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class,
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -434,11 +396,8 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig result =
-          new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -454,8 +413,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupConf
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -464,39 +424,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupConf
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -541,32 +499,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 26:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                recoveryWindowDays_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 26: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              recoveryWindowDays_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -576,19 +531,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -596,14 +547,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -611,14 +559,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -630,14 +575,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -647,10 +589,8 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_; + private int recoveryWindowDays_ ; /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -658,7 +598,6 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -666,8 +605,6 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -675,7 +612,6 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; - * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -687,8 +623,6 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -696,7 +630,6 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; - * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -708,13 +641,8 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, - com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -723,15 +651,12 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -740,21 +665,16 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -778,8 +698,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -801,8 +719,6 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -814,10 +730,9 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && encryptionConfig_ != null
-            && encryptionConfig_
-                != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          encryptionConfig_ != null &&
+          encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -830,8 +745,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -852,8 +765,6 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -869,8 +780,6 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -880,19 +789,15 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      *
      * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
      */
-    public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder
-        getEncryptionConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null
-            ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()
-            : encryptionConfig_;
+        return encryptionConfig_ == null ?
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -903,24 +808,21 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig,
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>
+        com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> 
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1alpha.EncryptionConfig,
-                com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
-                com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(), getParentForChildren(), isClean());
+        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(),
+                getParentForChildren(),
+                isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -930,12 +832,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig();
   }
@@ -944,27 +846,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ContinuousBackupConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ContinuousBackupConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -979,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
index e8b1c5af1a34..8ce1f78f3346 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
-public interface ContinuousBackupConfigOrBuilder
-    extends
+public interface ContinuousBackupConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -58,14 +34,11 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -74,13 +47,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -89,13 +59,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
similarity index 63%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
index a647710942c9..1ddbc385d8dd 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
- *
- *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -28,55 +11,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class,
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_;
   /**
-   *
-   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -84,57 +60,40 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -142,16 +101,12 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ @java.lang.Override @@ -159,15 +114,12 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -175,13 +127,10 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List schedule_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> - schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -190,17 +139,12 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ @java.lang.Override @@ -209,17 +153,12 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ @java.lang.Override @@ -227,17 +166,12 @@ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -246,35 +180,26 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return schedule_; } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -282,23 +207,17 @@ public java.util.List getScheduleValueList() { public int getScheduleValue(int index) { return schedule_.get(index); } - private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -306,46 +225,32 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -385,26 +291,28 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -414,26 +322,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.cloud.alloydb.v1alpha.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other = - (com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime().equals(other.getEnabledTime())) return false; + if (!getEnabledTime() + .equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime() + .equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -468,104 +378,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -573,32 +477,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class,
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -624,9 +529,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -645,18 +550,14 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result =
-          new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -667,18 +568,19 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ =
-            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
+        result.enabledTime_ = enabledTimeBuilder_ == null
+            ? enabledTime_
+            : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ =
-            earliestRestorableTimeBuilder_ == null
-                ? earliestRestorableTime_
-                : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
+            ? earliestRestorableTime_
+            : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -686,39 +588,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,8 +627,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -773,51 +673,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
+            case 10: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEnabledTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              int tmpRaw = input.readEnum();
+              ensureScheduleIsMutable();
+              schedule_.add(tmpRaw);
+              break;
+            } // case 24
+            case 26: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-                break;
-              } // case 24
-            case 26:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureScheduleIsMutable();
-                  schedule_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -827,66 +726,46 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.EncryptionInfo,
-            com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder,
-            com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>
-        encryptionInfoBuilder_;
+        com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -902,16 +781,12 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -925,23 +800,18 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -954,16 +824,12 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -976,16 +842,12 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -993,50 +855,38 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -1044,61 +894,42 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - enabledTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -1114,18 +945,15 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -1136,22 +964,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && enabledTime_ != null - && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + enabledTime_ != null && + enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -1164,16 +988,12 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1186,16 +1006,12 @@ public Builder clearEnabledTime() { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1203,57 +1019,45 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), getParentForChildren(), isClean()); + enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), + getParentForChildren(), + isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = java.util.Collections.emptyList(); - + private java.util.List schedule_ = + java.util.Collections.emptyList(); private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1261,17 +1065,12 @@ private void ensureScheduleIsMutable() { } } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1279,34 +1078,24 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1314,22 +1103,18 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(int index, com.google.type.DayOfWeek value) { + public Builder setSchedule( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1339,17 +1124,12 @@ public Builder setSchedule(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The schedule to add. * @return This builder for chaining. */ @@ -1363,21 +1143,17 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule(java.lang.Iterable values) { + public Builder addAllSchedule( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1386,17 +1162,12 @@ public Builder addAllSchedule(java.lang.Iterable * Output only. Days of the week on which a continuous backup is taken. Output * only field. Ignored if passed into the request. *
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1406,34 +1177,25 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1441,39 +1203,30 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue(int index, int value) { + public Builder setScheduleValue( + int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1484,21 +1237,17 @@ public Builder addScheduleValue(int value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue(java.lang.Iterable values) { + public Builder addAllScheduleValue( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1509,61 +1258,42 @@ public Builder addAllScheduleValue(java.lang.Iterable values) private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1579,16 +1309,12 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1602,22 +1328,18 @@ public Builder setEarliestRestorableTime( return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && earliestRestorableTime_ != null - && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + earliestRestorableTime_ != null && + earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1630,16 +1352,12 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1652,16 +1370,12 @@ public Builder clearEarliestRestorableTime() { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1669,57 +1383,45 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), getParentForChildren(), isClean()); + earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), + getParentForChildren(), + isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1729,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(); } @@ -1743,27 +1445,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1778,4 +1480,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java index 2aeb9b646427..c692caffab6a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java @@ -1,232 +1,153 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ContinuousBackupInfoOrBuilder - extends +public interface ContinuousBackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ java.util.List getScheduleList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ int getScheduleCount(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List getScheduleValueList(); + java.util.List + getScheduleValueList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java index 61667c38a5e4..c63c59e19981 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContinuousBackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -76,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ @java.lang.Override @@ -85,15 +62,14 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -101,15 +77,16 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -120,15 +97,11 @@ public com.google.protobuf.ByteString getClusterBytes() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -136,15 +109,11 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ @java.lang.Override @@ -152,14 +121,11 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -167,7 +133,6 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -199,7 +165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1alpha.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other = - (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) obj; - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime().equals(other.getPointInTime())) return false; + if (!getPointInTime() + .equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,136 +213,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupSource) com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -410,11 +373,8 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource result = - new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -425,8 +385,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupSour result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = - pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); + result.pointInTime_ = pointInTimeBuilder_ == null + ? pointInTime_ + : pointInTimeBuilder_.build(); } } @@ -434,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupSour public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource)other); } else { super.mergeFrom(other); return this; @@ -474,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -510,25 +469,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPointInTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -552,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -567,8 +522,6 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -576,14 +529,15 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -591,8 +545,6 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -600,22 +552,18 @@ public com.google.protobuf.ByteString getClusterBytes() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -623,7 +571,6 @@ public Builder setCluster(java.lang.String value) {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCluster() { @@ -633,8 +580,6 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -642,14 +587,12 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -659,55 +602,39 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - pointInTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -723,16 +650,14 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -743,20 +668,17 @@ public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && pointInTime_ != null - && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + pointInTime_ != null && + pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -769,14 +691,11 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -789,14 +708,11 @@ public Builder clearPointInTime() { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -804,53 +720,43 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), getParentForChildren(), isClean()); + pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), + getParentForChildren(), + isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(); } @@ -874,27 +780,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java index 47fe865ee464..ab0ec39cc8cf 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ContinuousBackupSourceOrBuilder - extends +public interface ContinuousBackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -33,13 +15,10 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ java.lang.String getCluster(); /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -47,46 +26,35 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - com.google.protobuf.ByteString getClusterBytes(); + com.google.protobuf.ByteString + getClusterBytes(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java index 6953150b54bd..6a4a10e00d2a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest) CreateBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBackupRequest.newBuilder() to construct. private CreateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBackupRequest() { parent_ = ""; backupId_ = ""; @@ -45,40 +27,33 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -140,29 +109,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -173,16 +142,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Backup backup_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -190,16 +154,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -207,15 +166,11 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { @@ -223,12 +178,9 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -246,7 +198,6 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -255,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -281,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -300,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -317,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -361,13 +309,15 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -377,22 +327,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.cloud.alloydb.v1alpha.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateBackupRequest other = - (com.google.cloud.alloydb.v1alpha.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateBackupRequest other = (com.google.cloud.alloydb.v1alpha.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -415,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest) com.google.cloud.alloydb.v1alpha.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -568,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override @@ -589,11 +540,8 @@ public com.google.cloud.alloydb.v1alpha.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateBackupRequest result = - new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateBackupRequest result = new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -607,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateBackupRequest result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -621,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateBackupRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -661,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -710,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -756,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.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; @@ -785,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -809,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -851,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -877,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -899,21 +816,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -921,35 +837,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -959,21 +868,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -983,58 +888,39 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { @@ -1050,17 +936,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1071,21 +954,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builder return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1098,15 +977,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1119,15 +994,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1135,48 +1006,36 @@ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1184,8 +1043,6 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1203,13 +1060,13 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1218,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1237,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1252,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1271,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1304,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1314,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1333,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1348,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1366,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1386,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1403,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1415,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateBackupRequest) private static final com.google.cloud.alloydb.v1alpha.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(); } @@ -1429,27 +1265,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest getDefaultIns 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; @@ -1464,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java index fb3685ab63f7..7e675d6b8c79 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java @@ -1,126 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1alpha.Backup getBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -138,13 +92,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -162,21 +113,18 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java index 0c1f7caf4bee..507dcdefa0eb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -45,41 +27,34 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -142,29 +111,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -175,16 +144,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -192,49 +156,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -252,7 +200,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -261,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -287,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -306,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -315,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -324,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -368,13 +312,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -384,22 +330,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.cloud.alloydb.v1alpha.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateClusterRequest other = - (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateClusterRequest other = (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateClusterRequest) com.google.cloud.alloydb.v1alpha.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -576,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override @@ -597,11 +543,8 @@ public com.google.cloud.alloydb.v1alpha.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateClusterRequest result = - new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateClusterRequest result = new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -615,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateClusterRequest result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -629,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -669,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -718,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -794,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -819,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -863,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -890,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -912,21 +824,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -934,35 +845,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -972,21 +876,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -996,58 +896,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -1063,17 +944,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1084,21 +962,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder build return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1111,15 +985,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1132,15 +1002,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1148,48 +1014,36 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1197,8 +1051,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1216,13 +1068,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1231,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1250,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1265,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1284,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1327,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1346,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1361,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1372,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1380,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1389,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1401,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1410,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1419,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateClusterRequest) private static final com.google.cloud.alloydb.v1alpha.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(); } @@ -1445,27 +1276,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1480,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java index 40706ab05fd9..1ce7118643f1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateClusterRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java index 4c1a827e77a1..d40face69a78 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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,41 +27,34 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -142,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -175,16 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -192,49 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -252,7 +200,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -261,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -287,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -306,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -315,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -324,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -368,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -384,22 +330,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.cloud.alloydb.v1alpha.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other = (com.google.cloud.alloydb.v1alpha.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest) com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -576,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -597,11 +543,8 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest result = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -615,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -629,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -669,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -718,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -794,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -819,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -863,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -890,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -912,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -934,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -972,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -996,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -1063,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1084,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder bui return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1111,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1132,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1148,48 +1014,36 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1197,8 +1051,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1216,13 +1068,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1231,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1250,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1265,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1284,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1327,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1346,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1361,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1372,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1380,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1389,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1401,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1410,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1419,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(); } @@ -1445,27 +1276,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getDefaultI 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; @@ -1480,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java index c266ab4f2202..991b613e514b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java index 19969d68074b..00305dfb6505 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java @@ -1,159 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequests extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - createInstanceRequests_; + private java.util.List createInstanceRequests_; /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests( - int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index) { return createInstanceRequests_.get(index); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -179,9 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, createInstanceRequests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,16 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other = - (com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other = (com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) - return false; + if (!getCreateInstanceRequestsList() + .equals(other.getCreateInstanceRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,136 +177,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateInstanceRequests} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateInstanceRequests) com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -367,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -388,18 +338,14 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result = - new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -419,39 +365,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequests)other); } else { super.mergeFrom(other); return this; @@ -459,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -479,10 +423,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCreateInstanceRequestsFieldBuilder() - : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCreateInstanceRequestsFieldBuilder() : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -514,27 +457,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -544,41 +485,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - createInstanceRequests_ = java.util.Collections.emptyList(); - + private java.util.List createInstanceRequests_ = + java.util.Collections.emptyList(); private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = - new java.util.ArrayList( - createInstanceRequests_); + createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> - createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -586,16 +515,12 @@ private void ensureCreateInstanceRequestsIsMutable() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -605,19 +530,14 @@ public int getCreateInstanceRequestsCount() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests( - int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { return createInstanceRequests_.get(index); } else { @@ -625,16 +545,12 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceR } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { @@ -651,16 +567,12 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -674,19 +586,14 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addCreateInstanceRequests( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -700,16 +607,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { @@ -726,16 +629,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -749,16 +648,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -772,23 +667,19 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllCreateInstanceRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -796,16 +687,12 @@ public Builder addAllCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -818,16 +705,12 @@ public Builder clearCreateInstanceRequests() { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -840,55 +723,42 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder - getCreateInstanceRequestsBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( + int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); - } else { + return createInstanceRequests_.get(index); } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -896,68 +766,48 @@ public Builder removeCreateInstanceRequests(int index) { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder(int index) { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( + int index) { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -966,9 +816,9 @@ public Builder removeCreateInstanceRequests(int index) { } return createInstanceRequestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1alpha.CreateInstanceRequests DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(); } @@ -992,27 +842,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..21523b6d21a5 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface CreateInstanceRequestsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getCreateInstanceRequestsCount(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java index 5aaeecaecd6c..31e5f39ff4db 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -/** Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} */ -public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} + */ +public final class CreateSecondaryClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -37,41 +23,34 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -80,32 +59,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -114,18 +91,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -134,29 +107,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -167,16 +140,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -184,49 +152,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -244,7 +196,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -253,15 +204,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -279,15 +229,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -298,8 +249,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -307,7 +256,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -316,7 +264,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -360,13 +308,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -376,22 +326,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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other = - (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,135 +368,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance(); } @@ -582,17 +535,13 @@ public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result = - new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -601,7 +550,9 @@ private void buildPartial0( result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -615,39 +566,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -655,9 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other) { - if (other - == com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -705,43 +653,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -751,28 +695,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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,24 +720,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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,41 +742,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -850,24 +775,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -877,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -899,21 +816,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -921,35 +837,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -959,21 +868,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -983,58 +888,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -1050,17 +936,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1071,21 +954,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder build return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1098,15 +977,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1119,15 +994,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1135,48 +1006,36 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1184,8 +1043,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1203,13 +1060,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1218,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1237,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1252,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1271,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1304,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1314,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1333,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1348,10 +1193,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1359,7 +1202,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1367,8 +1209,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1376,7 +1216,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1388,8 +1227,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1397,7 +1234,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1406,9 +1242,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1418,43 +1254,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) - private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1466,8 +1300,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java index e196ab372a8b..5657e068c685 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateSecondaryClusterRequestOrBuilder - extends +public interface CreateSecondaryClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java index 24790f5227a6..14e0e319f990 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSecondaryInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -46,41 +27,34 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -143,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -176,16 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -193,49 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -253,7 +200,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -262,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -288,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -307,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -316,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -325,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -369,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,22 +330,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.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) 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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -577,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance(); } @@ -599,17 +543,13 @@ public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -618,7 +558,9 @@ private void buildPartial0( result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -632,50 +574,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other) { - if (other - == com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other) { + if (other == com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -723,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -769,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -799,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -824,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -868,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -895,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -917,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -939,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -977,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1001,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -1068,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1089,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder bui return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1116,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1137,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1153,48 +1014,36 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1202,8 +1051,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1221,13 +1068,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1236,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1255,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1270,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1289,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1322,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1332,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1351,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1366,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1377,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1385,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1394,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1406,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1415,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1424,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1436,43 +1262,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) - private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1484,8 +1308,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java index 89759e52597b..4e5028f79f8d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateSecondaryInstanceRequestOrBuilder - extends +public interface CreateSecondaryInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java index cb3fc65b3681..caa484fd965d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateUserRequest} */ -public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateUserRequest) CreateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -45,40 +27,33 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, - com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int USER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ @java.lang.Override @@ -140,29 +109,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -173,15 +142,11 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.User user_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ @java.lang.Override @@ -189,15 +154,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ @java.lang.Override @@ -205,14 +166,11 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { @@ -220,12 +178,9 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -243,7 +198,6 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -252,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -278,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -297,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -314,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,13 +309,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -374,22 +327,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.cloud.alloydb.v1alpha.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateUserRequest other = - (com.google.cloud.alloydb.v1alpha.CreateUserRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateUserRequest other = (com.google.cloud.alloydb.v1alpha.CreateUserRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getUserId().equals(other.getUserId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getUserId() + .equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; + if (!getUser() + .equals(other.getUser())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateUserRequest) com.google.cloud.alloydb.v1alpha.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, - com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override @@ -586,11 +540,8 @@ public com.google.cloud.alloydb.v1alpha.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateUserRequest result = - new com.google.cloud.alloydb.v1alpha.CreateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.CreateUserRequest result = new com.google.cloud.alloydb.v1alpha.CreateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -604,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateUserRequest re result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -618,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateUserRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -848,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -896,21 +816,20 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -918,35 +837,28 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -956,21 +868,17 @@ public Builder clearUserId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -980,35 +888,24 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1alpha.User getUser() { @@ -1019,14 +916,11 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { @@ -1042,16 +936,14 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1062,20 +954,17 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForV return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1088,14 +977,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1108,14 +994,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1123,44 +1006,36 @@ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1168,8 +1043,6 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1187,13 +1060,13 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1202,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1221,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1236,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1255,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1288,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1298,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1332,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1350,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1370,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1387,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateUserRequest) private static final com.google.cloud.alloydb.v1alpha.CreateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateUserRequest(); } @@ -1413,27 +1265,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java index a5df6112849f..a53e7fbae814 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateUserRequestOrBuilder - extends +public interface CreateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ com.google.cloud.alloydb.v1alpha.User getUser(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -135,13 +92,10 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -159,21 +113,18 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java index e0e25b7c9957..b0716294270b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.DatabaseVersion} */ -public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * This is an unknown database version.
    * 
@@ -39,8 +21,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_VERSION_UNSPECIFIED(0), /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -50,8 +30,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated POSTGRES_13(1), /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -60,8 +38,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ POSTGRES_14(2), /** - * - * *
    * The database version is Postgres 15.
    * 
@@ -73,8 +49,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * This is an unknown database version.
    * 
@@ -83,8 +57,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -93,8 +65,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -103,8 +73,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_14_VALUE = 2; /** - * - * *
    * The database version is Postgres 15.
    * 
@@ -113,6 +81,7 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_15_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: - return DATABASE_VERSION_UNSPECIFIED; - case 1: - return POSTGRES_13; - case 2: - return POSTGRES_14; - case 3: - return POSTGRES_15; - default: - return null; + case 0: return DATABASE_VERSION_UNSPECIFIED; + case 1: return POSTGRES_13; + case 2: return POSTGRES_14; + case 3: return POSTGRES_15; + 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 DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseVersion> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -197,3 +165,4 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.DatabaseVersion) } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java index 2eae003040a5..66c55fce910a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -199,15 +168,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -216,12 +182,9 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -229,7 +192,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -238,15 +200,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; } } /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -254,15 +215,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -271,7 +233,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -312,7 +274,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -325,18 +288,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.cloud.alloydb.v1alpha.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other = - (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other = (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -353,7 +319,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -362,135 +329,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest) com.google.cloud.alloydb.v1alpha.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -503,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -524,11 +487,8 @@ public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest result = - new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest result = new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -639,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.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; @@ -709,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -734,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string 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() { @@ -778,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -805,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -824,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -839,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -873,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -892,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -925,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -935,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -954,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -969,17 +883,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -987,15 +898,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1007,15 +915,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1027,8 +932,6 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1036,13 +939,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,8 +954,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1060,14 +961,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1075,8 +977,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1084,22 +984,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1107,7 +1003,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1117,8 +1012,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1126,23 +1019,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(); } @@ -1166,27 +1057,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest getDefaultIns 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; @@ -1201,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java index ab86ae068539..dfe0434fe1ab 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteBackupRequestOrBuilder - extends +public interface DeleteBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,28 +68,23 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -127,13 +92,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -141,8 +103,8 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java index 745b149afc13..d0d2911f8d07 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -273,14 +235,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -289,7 +248,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -336,10 +295,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,19 +310,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.cloud.alloydb.v1alpha.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other = - (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other = (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,145 +345,142 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.DeleteClusterRequest) com.google.cloud.alloydb.v1alpha.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -553,11 +515,8 @@ public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest result = - new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest result = new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -585,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -625,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -674,43 +631,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,28 +671,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.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; @@ -750,24 +696,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -775,41 +718,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -819,24 +751,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -846,8 +772,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -865,13 +789,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -880,8 +804,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -899,14 +821,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -914,8 +837,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -933,22 +854,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -966,7 +883,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -976,8 +892,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -995,14 +909,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1012,8 +924,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1021,13 +931,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1036,8 +946,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1045,14 +953,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1060,8 +969,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1069,22 +976,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1092,7 +995,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1102,8 +1004,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1111,14 +1011,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1126,17 +1024,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1144,15 +1039,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1164,15 +1056,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1182,16 +1071,13 @@ public Builder clearValidateOnly() { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1199,14 +1085,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -1218,14 +1101,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -1234,9 +1114,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(); } @@ -1260,27 +1140,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1295,4 +1175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java index 5ff82d896a42..099d37712afa 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteClusterRequestOrBuilder - extends +public interface DeleteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,34 +92,28 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java index a1a0c8789733..fded1925cb82 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1alpha.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,143 +321,139 @@ 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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest) com.google.cloud.alloydb.v1alpha.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -504,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -525,11 +487,8 @@ public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -554,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteInstanceReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -640,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -710,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -735,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -779,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -806,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -825,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -840,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -874,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -893,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -936,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -955,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -972,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -981,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -996,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1005,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1020,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1029,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1052,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1062,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1071,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1086,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1104,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1124,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1141,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(); } @@ -1167,27 +1057,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest getDefaultI 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; @@ -1202,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java index 61969929a8dd..68f7fd2c7068 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteInstanceRequestOrBuilder - extends +public interface DeleteInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -113,13 +81,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -127,21 +92,18 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java index 3fb79c299cea..30a7bad81c5f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteUserRequest} */ -public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.DeleteUserRequest) DeleteUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1alpha.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteUserRequest other = - (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1alpha.DeleteUserRequest other = (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,142 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.DeleteUserRequest) com.google.cloud.alloydb.v1alpha.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.DeleteUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override @@ -458,11 +424,8 @@ public com.google.cloud.alloydb.v1alpha.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteUserRequest result = - new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.DeleteUserRequest result = new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -484,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteUserRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteUserRequest)other); } else { super.mergeFrom(other); return this; @@ -524,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -565,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.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; @@ -629,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -654,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string 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() { @@ -698,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -725,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -744,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -759,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -778,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -793,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -812,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -845,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -855,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -874,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -889,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -907,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -927,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -944,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteUserRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(); } @@ -970,27 +879,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java index 8bf19858d1dd..37d41775b763 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteUserRequestOrBuilder - extends +public interface DeleteUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java index 630f7b6e79f7..22f15ae7be80 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig)
     EncryptionConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EncryptionConfig.newBuilder() to construct.
   private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EncryptionConfig() {
     kmsKeyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.class,
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.class, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
-   *
-   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ @java.lang.Override @@ -86,15 +63,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -102,15 +78,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; - * * @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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.EncryptionConfig other = - (com.google.cloud.alloydb.v1alpha.EncryptionConfig) obj; + com.google.cloud.alloydb.v1alpha.EncryptionConfig other = (com.google.cloud.alloydb.v1alpha.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; } @@ -183,103 +160,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -287,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig)
       com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.EncryptionConfig.class,
-              com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.EncryptionConfig.class, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.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();
@@ -322,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +316,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1alpha.EncryptionConfig result =
-          new com.google.cloud.alloydb.v1alpha.EncryptionConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.EncryptionConfig result = new com.google.cloud.alloydb.v1alpha.EncryptionConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +333,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.EncryptionConfig res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.EncryptionConfig other) {
-      if (other == com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) return this;
       if (!other.getKmsKeyName().isEmpty()) {
         kmsKeyName_ = other.kmsKeyName_;
         bitField0_ |= 0x00000001;
@@ -436,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                kmsKeyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              kmsKeyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -458,13 +424,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -472,13 +435,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; - * * @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; @@ -487,8 +450,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -496,14 +457,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @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 { @@ -511,8 +473,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -520,22 +480,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 1; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -543,7 +499,6 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 1; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -553,8 +508,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -562,23 +515,21 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.EncryptionConfig) private static final com.google.cloud.alloydb.v1alpha.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.EncryptionConfig(); } @@ -602,27 +553,27 @@ public static com.google.cloud.alloydb.v1alpha.EncryptionConfig getDefaultInstan 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; @@ -637,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java similarity index 57% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java index 9cc9fa287155..213ad1ea57fe 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java index e7edda29a2f6..33ec87d28e98 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java @@ -1,81 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); } /** - * - * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.EncryptionInfo.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -84,8 +63,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 will be populated. This is the default state.
@@ -95,8 +72,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.
      * KMS key versions will be populated.
@@ -109,8 +84,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -119,8 +92,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 will be populated. This is the default state.
@@ -130,8 +101,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.
      * KMS key versions will be populated.
@@ -141,6 +110,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(
@@ -165,49 +135,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<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.v1alpha.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;
@@ -227,95 +197,65 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { return kmsKeyVersions_; } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -323,26 +263,21 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,9 +289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -371,9 +306,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -391,16 +326,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.cloud.alloydb.v1alpha.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.EncryptionInfo other = - (com.google.cloud.alloydb.v1alpha.EncryptionInfo) obj; + com.google.cloud.alloydb.v1alpha.EncryptionInfo other = (com.google.cloud.alloydb.v1alpha.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList() + .equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,149 +358,146 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo) com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override @@ -584,11 +516,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo result = - new com.google.cloud.alloydb.v1alpha.EncryptionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.EncryptionInfo result = new com.google.cloud.alloydb.v1alpha.EncryptionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -608,39 +537,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.EncryptionInfo resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionInfo) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionInfo)other); } else { super.mergeFrom(other); return this; @@ -648,8 +576,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.EncryptionInfo other) { - if (other == com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -689,26 +616,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + 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) { @@ -718,38 +642,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -760,37 +672,24 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -804,16 +703,11 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -825,7 +719,6 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -833,52 +726,38 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -886,43 +765,33 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -930,24 +799,18 @@ public Builder setKmsKeyVersions(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -955,67 +818,53 @@ public Builder addKmsKeyVersions(java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions(java.lang.Iterable values) { + public Builder addAllKmsKeyVersions( + java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -1023,9 +872,9 @@ public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1035,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.EncryptionInfo) private static final com.google.cloud.alloydb.v1alpha.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.EncryptionInfo(); } @@ -1049,27 +898,27 @@ public static com.google.cloud.alloydb.v1alpha.EncryptionInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1084,4 +933,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..4aacf1d2458e --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface EncryptionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType(); + + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return A list containing the kmsKeyVersions. + */ + java.util.List + getKmsKeyVersionsList(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java index 409cde6be3c3..d09ac349512e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FailoverInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1alpha.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,143 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.FailoverInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) com.google.cloud.alloydb.v1alpha.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -459,11 +424,8 @@ public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -525,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -566,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -600,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -630,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -655,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -699,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -726,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -745,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -760,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -779,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -794,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -813,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -846,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -856,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -875,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -890,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -908,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -928,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -945,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -957,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(); } @@ -971,27 +879,27 @@ public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java index b0313bc0dba5..cf68426e9b67 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface FailoverInstanceRequestOrBuilder - extends +public interface FailoverInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java index 0a52fd008d3f..128a9ca0480e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateClientCertificateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -48,41 +29,34 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class,
-            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +65,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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -157,15 +125,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,15 +150,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -200,55 +168,49 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int PEM_CSR_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pemCsr_ = ""; /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getPemCsr() { + @java.lang.Deprecated public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; } } /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCsrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -259,8 +221,6 @@ public com.google.protobuf.ByteString getPemCsrBytes() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -269,9 +229,7 @@ public com.google.protobuf.ByteString getPemCsrBytes() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ @java.lang.Override @@ -279,8 +237,6 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -289,20 +245,14 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -311,29 +261,22 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ @java.lang.Override @@ -342,29 +285,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -375,8 +318,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; private boolean useMetadataExchange_ = false; /** - * - * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -384,7 +325,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() {
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ @java.lang.Override @@ -393,7 +333,6 @@ public boolean getUseMetadataExchange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -443,13 +383,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pemCsr_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } if (useMetadataExchange_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useMetadataExchange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, useMetadataExchange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -459,23 +401,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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other = - (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getPemCsr().equals(other.getPemCsr())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getPemCsr() + .equals(other.getPemCsr())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration().equals(other.getCertDuration())) return false; + if (!getCertDuration() + .equals(other.getCertDuration())) return false; } - if (!getPublicKey().equals(other.getPublicKey())) return false; - if (getUseMetadataExchange() != other.getUseMetadataExchange()) return false; + if (!getPublicKey() + .equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() + != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -500,112 +447,106 @@ public int hashCode() { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseMetadataExchange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - 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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest 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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -613,33 +554,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class,
-              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.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();
@@ -658,14 +599,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -680,17 +620,13 @@ public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest build()
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result =
-          new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result) {
+    private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -702,8 +638,9 @@ private void buildPartial0(
         result.pemCsr_ = pemCsr_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.certDuration_ =
-            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
+        result.certDuration_ = certDurationBuilder_ == null
+            ? certDuration_
+            : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.publicKey_ = publicKey_;
@@ -717,50 +654,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other) {
-      if (other
-          == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other) {
+      if (other == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -813,49 +746,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                pemCsr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                publicKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                useMetadataExchange_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              pemCsr_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCertDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              publicKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              useMetadataExchange_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -865,28 +793,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -895,24 +818,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -920,41 +840,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -964,24 +873,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -991,8 +894,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1010,13 +911,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1025,8 +926,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1044,14 +943,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1059,8 +959,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1078,22 +976,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1111,7 +1005,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1121,8 +1014,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1140,14 +1031,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1157,23 +1046,20 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object pemCsr_ = ""; /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated - public java.lang.String getPemCsr() { + @java.lang.Deprecated public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; @@ -1182,24 +1068,22 @@ public java.lang.String getPemCsr() { } } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCsrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -1207,68 +1091,54 @@ public com.google.protobuf.ByteString getPemCsrBytes() { } } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @param value The pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCsr(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCsr( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pemCsr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPemCsr() { + @java.lang.Deprecated public Builder clearPemCsr() { pemCsr_ = getDefaultInstance().getPemCsr(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCsrBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pemCsr_ = value; bitField0_ |= 0x00000004; @@ -1278,13 +1148,8 @@ public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - certDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1293,17 +1158,13 @@ public Builder setPemCsrBytes(com.google.protobuf.ByteString value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1312,23 +1173,17 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1337,8 +1192,7 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1354,8 +1208,6 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1364,10 +1216,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1378,8 +1230,6 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1388,14 +1238,13 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && certDuration_ != null - && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + certDuration_ != null && + certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1408,8 +1257,6 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1418,8 +1265,7 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1432,8 +1278,6 @@ public Builder clearCertDuration() { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1442,8 +1286,7 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000008; @@ -1451,8 +1294,6 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1461,21 +1302,17 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1484,21 +1321,17 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getCertDuration(), getParentForChildren(), isClean()); + certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getCertDuration(), + getParentForChildren(), + isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1506,20 +1339,18 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1528,21 +1359,20 @@ public java.lang.String getPublicKey() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1550,35 +1380,28 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1588,21 +1411,17 @@ public Builder clearPublicKey() { return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000010; @@ -1610,10 +1429,8 @@ public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { return this; } - private boolean useMetadataExchange_; + private boolean useMetadataExchange_ ; /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1621,7 +1438,6 @@ public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ @java.lang.Override @@ -1629,8 +1445,6 @@ public boolean getUseMetadataExchange() { return useMetadataExchange_; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1638,7 +1452,6 @@ public boolean getUseMetadataExchange() {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The useMetadataExchange to set. * @return This builder for chaining. */ @@ -1650,8 +1463,6 @@ public Builder setUseMetadataExchange(boolean value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1659,7 +1470,6 @@ public Builder setUseMetadataExchange(boolean value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearUseMetadataExchange() { @@ -1668,9 +1478,9 @@ public Builder clearUseMetadataExchange() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1680,43 +1490,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1728,8 +1536,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java index a1108ae9b9a7..e37170e6a9fa 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GenerateClientCertificateRequestOrBuilder - extends +public interface GenerateClientCertificateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,45 +68,36 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated - java.lang.String getPemCsr(); + @java.lang.Deprecated java.lang.String getPemCsr(); /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPemCsrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getPemCsrBytes(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -145,15 +106,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -162,15 +119,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -179,39 +132,31 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ java.lang.String getPublicKey(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString getPublicKeyBytes(); + com.google.protobuf.ByteString + getPublicKeyBytes(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -219,7 +164,6 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ boolean getUseMetadataExchange(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java index f6bf2f36464f..0174ba4f0dcd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java @@ -1,83 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateClientCertificateResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateClientCertificateResponse() { pemCertificate_ = ""; - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -117,53 +94,41 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { return pemCertificateChain_; } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -171,36 +136,29 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ @java.lang.Override @@ -209,29 +167,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -240,7 +198,6 @@ public com.google.protobuf.ByteString getCaCertBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pemCertificate_); } @@ -293,17 +251,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other = - (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) obj; - if (!getPemCertificate().equals(other.getPemCertificate())) return false; - if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; - if (!getCaCert().equals(other.getCaCert())) return false; + if (!getPemCertificate() + .equals(other.getPemCertificate())) return false; + if (!getPemCertificateChainList() + .equals(other.getPemCertificateChainList())) return false; + if (!getCaCert() + .equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,159 +289,151 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - 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.cloud.alloydb.v1alpha.GenerateClientCertificateResponse 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.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; pemCertificate_ = ""; - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance(); } @java.lang.Override @@ -495,17 +447,13 @@ public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse build( @java.lang.Override public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result = - new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pemCertificate_ = pemCertificate_; @@ -523,51 +471,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other) { - if (other - == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other) { + if (other == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance()) return this; if (!other.getPemCertificate().isEmpty()) { pemCertificate_ = other.pemCertificate_; bitField0_ |= 0x00000001; @@ -614,32 +557,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - pemCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: - { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + pemCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,25 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object pemCertificate_ = ""; /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -676,21 +612,20 @@ public java.lang.String getPemCertificate() { } } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -698,35 +633,28 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pemCertificate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -736,21 +664,17 @@ public Builder clearPemCertificate() { return this; } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000001; @@ -760,7 +684,6 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -768,49 +691,38 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -818,41 +730,33 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateChain( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000002; @@ -860,23 +764,18 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000002; @@ -884,64 +783,53 @@ public Builder addPemCertificateChain(java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain(java.lang.Iterable values) { + public Builder addAllPemCertificateChain( + java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pemCertificateChain_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -952,20 +840,18 @@ public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) private java.lang.Object caCert_ = ""; /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -974,21 +860,20 @@ public java.lang.String getCaCert() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -996,35 +881,28 @@ public com.google.protobuf.ByteString getCaCertBytes() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCert( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -1034,30 +912,26 @@ public Builder clearCaCert() { return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCertBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1067,43 +941,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1115,8 +987,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java index a5af059f09d7..7a105d98b1e8 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java @@ -1,134 +1,94 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GenerateClientCertificateResponseOrBuilder - extends +public interface GenerateClientCertificateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString getPemCertificateBytes(); + com.google.protobuf.ByteString + getPemCertificateBytes(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - java.util.List getPemCertificateChainList(); + java.util.List + getPemCertificateChainList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString + getPemCertificateChainBytes(int index); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ java.lang.String getCaCert(); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - com.google.protobuf.ByteString getCaCertBytes(); + com.google.protobuf.ByteString + getCaCertBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java similarity index 61% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java index 0012326890e7..c4e965576412 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java @@ -1,82 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest) GetBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, - com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 1 [(.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 @@ -85,31 +60,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. Name of the resource
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -118,7 +91,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -154,15 +127,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.cloud.alloydb.v1alpha.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetBackupRequest other = - (com.google.cloud.alloydb.v1alpha.GetBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.GetBackupRequest other = (com.google.cloud.alloydb.v1alpha.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; } @@ -182,135 +155,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest) com.google.cloud.alloydb.v1alpha.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, - com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -320,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override @@ -341,11 +310,8 @@ public com.google.cloud.alloydb.v1alpha.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetBackupRequest result = - new com.google.cloud.alloydb.v1alpha.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GetBackupRequest result = new com.google.cloud.alloydb.v1alpha.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +327,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetBackupRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -401,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,27 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.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; @@ -485,23 +442,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.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,39 +463,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -551,32 +494,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetBackupRequest) private static final com.google.cloud.alloydb.v1alpha.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetBackupRequest(); } @@ -600,27 +537,27 @@ public static com.google.cloud.alloydb.v1alpha.GetBackupRequest getDefaultInstan 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; @@ -635,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..ef59bc0d19aa --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the resource
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the resource
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java similarity index 61% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java index 5322b276a923..3258ccfa2042 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, - com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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,46 +96,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ClusterView getView() { - com.google.cloud.alloydb.v1alpha.ClusterView result = - com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterView getView() { + com.google.cloud.alloydb.v1alpha.ClusterView result = com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,12 +133,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 (view_ - != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -194,9 +153,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -206,15 +165,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.cloud.alloydb.v1alpha.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetClusterRequest other = - (com.google.cloud.alloydb.v1alpha.GetClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.GetClusterRequest other = (com.google.cloud.alloydb.v1alpha.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -237,135 +196,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetClusterRequest) com.google.cloud.alloydb.v1alpha.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, - com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override @@ -397,11 +352,8 @@ public com.google.cloud.alloydb.v1alpha.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetClusterRequest result = - new com.google.cloud.alloydb.v1alpha.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GetClusterRequest result = new com.google.cloud.alloydb.v1alpha.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -420,39 +372,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetClusterRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -460,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -496,25 +446,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,28 +471,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.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; @@ -554,24 +496,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -579,41 +518,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -623,24 +551,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -650,35 +572,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -689,37 +600,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterView getView() { - com.google.cloud.alloydb.v1alpha.ClusterView result = - com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1alpha.ClusterView result = com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.ClusterView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -733,17 +633,12 @@ public Builder setView(com.google.cloud.alloydb.v1alpha.ClusterView value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -752,9 +647,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +659,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetClusterRequest) private static final com.google.cloud.alloydb.v1alpha.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetClusterRequest(); } @@ -778,27 +673,27 @@ public static com.google.cloud.alloydb.v1alpha.GetClusterRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,4 +708,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java new file mode 100644 index 000000000000..01a6c8c41da3 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java @@ -0,0 +1,52 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.alloydb.v1alpha.ClusterView getView(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java index 1c217798a87b..77eb3e1ccf4c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectionInfoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -196,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other = - (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +239,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetConnectionInfoRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -430,11 +395,8 @@ public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest result = - new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -453,39 +415,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetConnectionInfoReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest)other); } else { super.mergeFrom(other); return this; @@ -493,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -531,25 +491,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +516,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.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; @@ -589,24 +541,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -614,41 +563,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -658,24 +596,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -685,8 +617,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -704,13 +634,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -719,8 +649,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -738,14 +666,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -753,8 +682,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -772,22 +699,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -805,7 +728,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -815,8 +737,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -834,23 +754,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(); } @@ -874,27 +792,27 @@ public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java index 64f3d7eae50c..694083de2563 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GetConnectionInfoRequestOrBuilder - extends +public interface GetConnectionInfoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,8 +68,8 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java similarity index 64% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java index 396e7f15b1cb..b6ca47aa344c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,40 +96,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InstanceView getView() { - com.google.cloud.alloydb.v1alpha.InstanceView result = - com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceView getView() { + com.google.cloud.alloydb.v1alpha.InstanceView result = com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,12 +131,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 (view_ - != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -188,9 +151,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.GetInstanceRequest other = (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -231,135 +194,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest) com.google.cloud.alloydb.v1alpha.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -370,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override @@ -391,11 +350,8 @@ public com.google.cloud.alloydb.v1alpha.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GetInstanceRequest result = new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -414,39 +370,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetInstanceRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -454,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,25 +444,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -518,28 +469,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -548,24 +494,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -573,41 +516,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -617,24 +549,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -644,29 +570,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -677,31 +596,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceView getView() { - com.google.cloud.alloydb.v1alpha.InstanceView result = - com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1alpha.InstanceView result = com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.InstanceView.UNRECOGNIZED : result; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -715,14 +627,11 @@ public Builder setView(com.google.cloud.alloydb.v1alpha.InstanceView value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -731,9 +640,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -743,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(); } @@ -757,27 +666,27 @@ public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest getDefaultInst 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; @@ -792,4 +701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java similarity index 53% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java index d44370c5a283..34c3bd039de1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java @@ -1,80 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GetInstanceRequestOrBuilder - extends +public interface GetInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; - * * @return The view. */ com.google.cloud.alloydb.v1alpha.InstanceView getView(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java index 37d40b99db02..7a6b7042a3e9 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetUserRequest} */ -public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetUserRequest) GetUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetUserRequest.class, - com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetUserRequest.class, com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetUserRequest other = - (com.google.cloud.alloydb.v1alpha.GetUserRequest) obj; + com.google.cloud.alloydb.v1alpha.GetUserRequest other = (com.google.cloud.alloydb.v1alpha.GetUserRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetUserRequest) com.google.cloud.alloydb.v1alpha.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetUserRequest.class, - com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetUserRequest.class, com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.alloydb.v1alpha.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetUserRequest result = - new com.google.cloud.alloydb.v1alpha.GetUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.GetUserRequest result = new com.google.cloud.alloydb.v1alpha.GetUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetUserRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetUserRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetUserRequest) private static final com.google.cloud.alloydb.v1alpha.GetUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetUserRequest(); } @@ -607,27 +544,27 @@ public static com.google.cloud.alloydb.v1alpha.GetUserRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..d1d94f07a5fa --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetUserRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java index f5a19d8ea692..29ddc98c68b4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.InjectFaultRequest} */ -public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InjectFaultRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.InjectFaultRequest) InjectFaultRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -45,28 +27,25 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); } /** - * - * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -74,10 +53,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType}
    */
-  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The fault type is unknown.
      * 
@@ -86,8 +64,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ FAULT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Stop the VM
      * 
@@ -99,8 +75,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The fault type is unknown.
      * 
@@ -109,8 +83,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Stop the VM
      * 
@@ -119,6 +91,7 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOP_VM_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,49 +116,48 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: - return FAULT_TYPE_UNSPECIFIED; - case 1: - return STOP_VM; - default: - return null; + case 0: return FAULT_TYPE_UNSPECIFIED; + case 1: return STOP_VM; + 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 FaultType findValueByNumber(int number) { - return FaultType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + FaultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1alpha.InjectFaultRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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,60 +177,39 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -267,32 +218,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -301,12 +250,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -324,7 +270,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -333,15 +278,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -359,15 +303,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -378,8 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -387,7 +330,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -396,7 +338,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,10 +349,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (faultType_ - != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (faultType_ != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -432,10 +372,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ - != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); + if (faultType_ != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -444,7 +383,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -454,18 +394,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.cloud.alloydb.v1alpha.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.InjectFaultRequest other = - (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1alpha.InjectFaultRequest other = (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -484,142 +426,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.InjectFaultRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.InjectFaultRequest) com.google.cloud.alloydb.v1alpha.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.InjectFaultRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override @@ -653,11 +592,8 @@ public com.google.cloud.alloydb.v1alpha.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest result = - new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.InjectFaultRequest result = new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -682,39 +618,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.InjectFaultRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.InjectFaultRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.InjectFaultRequest)other); } else { super.mergeFrom(other); return this; @@ -722,8 +657,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.InjectFaultRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance()) return this; if (other.faultType_ != 0) { setFaultTypeValue(other.getFaultTypeValue()); } @@ -766,37 +700,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -806,38 +735,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int faultType_ = 0; /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -848,42 +765,28 @@ public Builder setFaultTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The faultType to set. * @return This builder for chaining. */ - public Builder setFaultType( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType value) { + public Builder setFaultType(com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType value) { if (value == null) { throw new NullPointerException(); } @@ -893,16 +796,11 @@ public Builder setFaultType( return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFaultType() { @@ -914,23 +812,19 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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; @@ -939,24 +833,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -964,41 +855,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1008,24 +888,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1035,8 +909,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1054,13 +926,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1069,8 +941,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1088,14 +958,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1103,8 +974,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1122,22 +991,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1155,7 +1020,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1165,8 +1029,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1184,14 +1046,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1199,10 +1059,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1210,7 +1068,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1218,8 +1075,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1227,7 +1082,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,8 +1093,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1248,7 +1100,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1257,9 +1108,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.InjectFaultRequest) private static final com.google.cloud.alloydb.v1alpha.InjectFaultRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(); } @@ -1283,27 +1134,27 @@ public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java index 3a15e5e5394d..a23d2903d873 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java @@ -1,91 +1,54 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface InjectFaultRequestOrBuilder - extends +public interface InjectFaultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -103,13 +66,10 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -127,14 +87,12 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -142,7 +100,6 @@ public interface InjectFaultRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java index 6235f3269740..d0571a71234e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -53,18 +35,20 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_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();
@@ -73,33 +57,28 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.Instance.class,
-            com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
+            com.google.cloud.alloydb.v1alpha.Instance.class, com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -108,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance is active and running.
      * 
@@ -118,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -128,8 +103,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPED(2), /** - * - * *
      * The instance is being created.
      * 
@@ -138,8 +111,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ MAINTENANCE(5), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -171,8 +138,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(6),
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -184,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(8),
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -197,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -207,8 +168,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance is active and running.
      * 
@@ -217,8 +176,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -227,8 +184,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -237,8 +192,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -247,8 +200,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -257,8 +208,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAINTENANCE_VALUE = 5; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -270,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 6;
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -283,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -293,6 +238,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -317,61 +263,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return CREATING; - case 4: - return DELETING; - case 5: - return MAINTENANCE; - case 6: - return FAILED; - case 8: - return BOOTSTRAPPING; - case 9: - return PROMOTING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return CREATING; + case 4: return DELETING; + case 5: return MAINTENANCE; + case 6: return FAILED; + case 8: return BOOTSTRAPPING; + case 9: return PROMOTING; + 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.cloud.alloydb.v1alpha.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; @@ -389,18 +329,15 @@ private State(int value) { } /** - * - * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.InstanceType} */ - public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unknown.
      * 
@@ -409,8 +346,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -419,8 +354,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -433,8 +366,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_POOL(2),
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -447,8 +378,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unknown.
      * 
@@ -457,8 +386,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -467,8 +394,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -481,8 +406,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_POOL_VALUE = 2;
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -492,6 +415,7 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -516,51 +440,50 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0:
-          return INSTANCE_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return READ_POOL;
-        case 3:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return INSTANCE_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return READ_POOL;
+        case 3: return SECONDARY;
+        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<
+        InstanceType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public InstanceType findValueByNumber(int number) {
+              return InstanceType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceType findValueByNumber(int number) {
-            return InstanceType.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.cloud.alloydb.v1alpha.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -578,8 +501,6 @@ private InstanceType(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -591,10 +512,9 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.AvailabilityType}
    */
-  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown Availability type.
      * 
@@ -603,8 +523,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Zonal available instance.
      * 
@@ -613,8 +531,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ ZONAL(1), /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -626,8 +542,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * This is an unknown Availability type.
      * 
@@ -636,8 +550,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Zonal available instance.
      * 
@@ -646,8 +558,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ZONAL_VALUE = 1; /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -656,6 +566,7 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int REGIONAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,42 +591,39 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: - return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: - return ZONAL; - case 2: - return REGIONAL; - default: - return null; + case 0: return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: return ZONAL; + case 2: return REGIONAL; + 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< + AvailabilityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AvailabilityType findValueByNumber(int number) { + return AvailabilityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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.cloud.alloydb.v1alpha.Instance.getDescriptor().getEnumTypes().get(2); } @@ -724,7 +632,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AvailabilityType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -741,77 +650,67 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder - extends + public interface MachineConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ int getCpuCount(); } /** - * - * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.MachineConfig} */ - public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MachineConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MachineConfig() {} + private MachineConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -820,7 +719,6 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -832,7 +730,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -846,7 +745,8 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -856,15 +756,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.cloud.alloydb.v1alpha.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other = - (com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other = (com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) obj; - if (getCpuCount() != other.getCpuCount()) return false; + if (getCpuCount() + != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -884,94 +784,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -981,41 +876,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.MachineConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.MachineConfig) com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1025,9 +918,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -1046,11 +939,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig result = - new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig result = new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1066,41 +956,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.MachineConf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.MachineConfig)other); } else { super.mergeFrom(other); return this; @@ -1108,8 +995,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1139,19 +1025,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1161,19 +1045,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuCount_; + private int cpuCount_ ; /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -1181,14 +1061,11 @@ public int getCpuCount() { return cpuCount_; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1200,14 +1077,11 @@ public Builder setCpuCount(int value) { return this; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1216,7 +1090,6 @@ public Builder clearCpuCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1229,12 +1102,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1alpha.Instance.MachineConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(); } @@ -1243,28 +1116,27 @@ public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1279,91 +1151,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NodeOrBuilder - extends + public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.Node) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ java.lang.String getIp(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ - com.google.protobuf.ByteString getIpBytes(); + com.google.protobuf.ByteString + getIpBytes(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1372,13 +1227,10 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The state. */ java.lang.String getState(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1387,14 +1239,12 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); } /** - * - * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1403,16 +1253,15 @@ public interface NodeOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.Node}
    */
-  public static final class Node extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Node extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.Node)
       NodeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1422,38 +1271,33 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Instance.Node.class,
-              com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Instance.Node.class, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -1462,29 +1306,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1493,18 +1337,14 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -1513,29 +1353,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1544,18 +1384,14 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int IP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ @java.lang.Override @@ -1564,29 +1400,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -1595,12 +1431,9 @@ public com.google.protobuf.ByteString getIpBytes() { } public static final int STATE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1609,7 +1442,6 @@ public com.google.protobuf.ByteString getIpBytes() {
      * 
* * string state = 4; - * * @return The state. */ @java.lang.Override @@ -1618,15 +1450,14 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1635,15 +1466,16 @@ public java.lang.String getState() {
      * 
* * string state = 4; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -1652,7 +1484,6 @@ public com.google.protobuf.ByteString getStateBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1664,7 +1495,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1706,18 +1538,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.cloud.alloydb.v1alpha.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.Node other = - (com.google.cloud.alloydb.v1alpha.Instance.Node) obj; + com.google.cloud.alloydb.v1alpha.Instance.Node other = (com.google.cloud.alloydb.v1alpha.Instance.Node) obj; - if (!getZoneId().equals(other.getZoneId())) return false; - if (!getId().equals(other.getId())) return false; - if (!getIp().equals(other.getIp())) return false; - if (!getState().equals(other.getState())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getIp() + .equals(other.getIp())) return false; + if (!getState() + .equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1742,94 +1577,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1839,8 +1670,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1849,33 +1678,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.Node}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.Node)
         com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Instance.Node.class,
-                com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Instance.Node.class, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Instance.Node.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1888,9 +1717,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1909,11 +1738,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Instance.Node result =
-            new com.google.cloud.alloydb.v1alpha.Instance.Node(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1alpha.Instance.Node result = new com.google.cloud.alloydb.v1alpha.Instance.Node(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1938,41 +1764,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.Node result
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1alpha.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.Node) other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.Node)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1980,8 +1803,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.Node other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) return this;
         if (!other.getZoneId().isEmpty()) {
           zoneId_ = other.zoneId_;
           bitField0_ |= 0x00000001;
@@ -2028,37 +1850,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  zoneId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  id_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  ip_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  state_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                zoneId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                ip_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                state_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2068,25 +1885,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
-       *
-       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -2095,21 +1909,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -2117,35 +1930,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -2155,21 +1961,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -2179,20 +1981,18 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2201,21 +2001,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -2223,35 +2022,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -2261,21 +2053,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2285,20 +2073,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object ip_ = ""; /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2307,21 +2093,20 @@ public java.lang.String getIp() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The bytes for ip. */ - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -2329,35 +2114,28 @@ public com.google.protobuf.ByteString getIpBytes() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return This builder for chaining. */ public Builder clearIp() { @@ -2367,21 +2145,17 @@ public Builder clearIp() { return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2391,8 +2165,6 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object state_ = ""; /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2401,13 +2173,13 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) {
        * 
* * string state = 4; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2416,8 +2188,6 @@ public java.lang.String getState() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2426,14 +2196,15 @@ public java.lang.String getState() {
        * 
* * string state = 4; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -2441,8 +2212,6 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2451,22 +2220,18 @@ public com.google.protobuf.ByteString getStateBytes() {
        * 
* * string state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setState( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2475,7 +2240,6 @@ public Builder setState(java.lang.String value) {
        * 
* * string state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2485,8 +2249,6 @@ public Builder clearState() { return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2495,21 +2257,18 @@ public Builder clearState() {
        * 
* * string state = 4; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2522,12 +2281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.Node) private static final com.google.cloud.alloydb.v1alpha.Instance.Node DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.Node(); } @@ -2536,28 +2295,27 @@ public static com.google.cloud.alloydb.v1alpha.Instance.Node getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2572,84 +2330,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QueryInsightsInstanceConfigOrBuilder - extends + public interface QueryInsightsInstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ int getQueryStringLength(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2657,13 +2398,10 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2671,67 +2409,59 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** - * - * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryInsightsInstanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueryInsightsInstanceConfig() {} + private QueryInsightsInstanceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2739,15 +2469,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -2758,15 +2485,12 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2774,15 +2498,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -2793,15 +2514,12 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -2812,8 +2530,6 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2821,7 +2537,6 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2829,8 +2544,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2838,7 +2551,6 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2847,7 +2559,6 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2859,7 +2570,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2882,16 +2594,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2901,26 +2617,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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other = - (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() + != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() + != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() != other.getQueryStringLength()) return false; + if (getQueryStringLength() + != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() + != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2935,11 +2654,13 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2953,95 +2674,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - 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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3051,43 +2766,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder - .class); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.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(); @@ -3100,22 +2811,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig build() { - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = - buildPartial(); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3124,17 +2832,13 @@ public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig bui @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = - new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -3159,54 +2863,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) other); + if (other instanceof com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) { + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other) { - if (other - == com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other) { + if (other == com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -3245,37 +2941,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: - { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -3285,20 +2976,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean recordApplicationTags_; + private boolean recordApplicationTags_ ; /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -3306,15 +2993,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -3322,15 +3006,12 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3342,15 +3023,12 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3360,17 +3038,14 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_; + private boolean recordClientAddress_ ; /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3378,15 +3053,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -3394,15 +3066,12 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3414,15 +3083,12 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3432,17 +3098,14 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_; + private int queryStringLength_ ; /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -3450,15 +3113,12 @@ public int getQueryStringLength() { return queryStringLength_; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3470,15 +3130,12 @@ public Builder setQueryStringLength(int value) { return this; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3488,10 +3145,8 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_; + private int queryPlansPerMinute_ ; /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3499,7 +3154,6 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3507,8 +3161,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3516,7 +3168,6 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3524,8 +3175,6 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3533,7 +3182,6 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3545,8 +3193,6 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3554,7 +3200,6 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3563,7 +3208,6 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3576,45 +3220,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3626,83 +3266,73 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadPoolConfigOrBuilder - extends + public interface ReadPoolConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ int getNodeCount(); } /** - * - * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadPoolConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadPoolConfig() {} + private ReadPoolConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -3711,7 +3341,6 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3723,7 +3352,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3737,7 +3367,8 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3747,15 +3378,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.cloud.alloydb.v1alpha.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other = - (com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) obj; - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3775,94 +3406,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3872,41 +3498,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3916,9 +3540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3937,11 +3561,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig result = - new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3957,41 +3578,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolCon public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig)other); } else { super.mergeFrom(other); return this; @@ -3999,8 +3617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -4030,19 +3647,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4052,19 +3667,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -4072,14 +3683,11 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -4091,14 +3699,11 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -4107,7 +3712,6 @@ public Builder clearNodeCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4120,12 +3724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(); } @@ -4134,28 +3738,27 @@ public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4170,95 +3773,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdatePolicyOrBuilder - extends + public interface UpdatePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode(); } /** - * - * *
    * Policy to be used while updating the instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy} */ - public static final class UpdatePolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdatePolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) UpdatePolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicy.newBuilder() to construct. private UpdatePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePolicy() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePolicy(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); } /** - * - * *
      * Specifies the available modes of update.
      * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Mode is unknown.
        * 
@@ -4267,8 +3857,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * Least disruptive way to apply the update.
        * 
@@ -4277,8 +3865,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -4291,8 +3877,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Mode is unknown.
        * 
@@ -4301,8 +3885,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Least disruptive way to apply the update.
        * 
@@ -4311,8 +3893,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -4322,6 +3902,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int FORCE_APPLY_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4346,51 +3927,49 @@ public static Mode valueOf(int value) {
        */
       public static Mode forNumber(int value) {
         switch (value) {
-          case 0:
-            return MODE_UNSPECIFIED;
-          case 1:
-            return DEFAULT;
-          case 2:
-            return FORCE_APPLY;
-          default:
-            return null;
+          case 0: return MODE_UNSPECIFIED;
+          case 1: return DEFAULT;
+          case 2: return FORCE_APPLY;
+          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<
+          Mode> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Mode findValueByNumber(int number) {
+                return Mode.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.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.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Mode[] VALUES = values();
 
-      public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Mode 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;
@@ -4410,42 +3989,30 @@ private Mode(int value) {
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_ = 0;
     /**
-     *
-     *
      * 
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4457,10 +4024,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (mode_ - != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mode_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } getUnknownFields().writeTo(output); @@ -4472,10 +4038,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ - != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); + if (mode_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4485,13 +4050,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.cloud.alloydb.v1alpha.Instance.UpdatePolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other = - (com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) obj; + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other = (com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4513,94 +4077,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4610,41 +4169,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Policy to be used while updating the instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4654,9 +4211,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override @@ -4675,11 +4232,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy result = - new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy result = new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -4695,41 +4249,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolic public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.UpdatePolicy) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy)other); } else { super.mergeFrom(other); return this; @@ -4737,8 +4288,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -4768,19 +4318,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4790,34 +4338,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int mode_ = 0; /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -4828,33 +4368,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -4868,14 +4399,11 @@ public Builder setMode(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mo return this; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -4884,7 +4412,6 @@ public Builder clearMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4897,12 +4424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) private static final com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(); } @@ -4911,28 +4438,27 @@ public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4947,122 +4473,99 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClientConnectionConfigOrBuilder - extends + public interface ClientConnectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ boolean getRequireConnectors(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); } /** - * - * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClientConnectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClientConnectionConfig() {} + private ClientConnectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -5073,16 +4576,11 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -5090,44 +4588,30 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5139,7 +4623,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -5156,10 +4641,12 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5169,18 +4656,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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other = - (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() != other.getRequireConnectors()) return false; + if (getRequireConnectors() + != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5194,7 +4682,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -5205,95 +4694,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - 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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig 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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5303,42 +4786,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.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(); @@ -5353,16 +4833,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance(); } @java.lang.Override @@ -5376,23 +4854,21 @@ public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig build() @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result = - new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null + ? sslConfig_ + : sslConfigBuilder_.build(); } } @@ -5400,53 +4876,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other) { - if (other - == com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other) { + if (other == com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance()) return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -5479,25 +4948,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSslConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5507,20 +4975,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean requireConnectors_; + private boolean requireConnectors_ ; /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -5528,15 +4992,12 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -5548,15 +5009,12 @@ public Builder setRequireConnectors(boolean value) { return this; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -5568,58 +5026,39 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -5635,15 +5074,11 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSslConfig( com.google.cloud.alloydb.v1alpha.SslConfig.Builder builderForValue) { @@ -5657,21 +5092,17 @@ public Builder setSslConfig( return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -5684,15 +5115,11 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5705,15 +5132,11 @@ public Builder clearSslConfig() { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -5721,53 +5144,40 @@ public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder, - com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5780,44 +5190,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5829,19 +5236,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5855,7 +5259,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -5864,15 +5267,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5886,15 +5288,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -5903,18 +5306,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -5923,29 +5322,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; } } /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -5954,19 +5353,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -5975,30 +5370,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6009,15 +5404,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -6025,15 +5416,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -6041,14 +5428,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -6058,15 +5442,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6074,15 +5454,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -6090,14 +5466,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6107,15 +5480,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -6123,15 +5492,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -6139,14 +5504,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -6154,34 +5516,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6189,21 +5549,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6215,8 +5574,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6224,19 +5581,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6244,11 +5599,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -6258,95 +5613,64 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.State getState() { - com.google.cloud.alloydb.v1alpha.Instance.State result = - com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.State getState() { + com.google.cloud.alloydb.v1alpha.Instance.State result = com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = - com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1alpha.Instance.MachineConfig machineConfig_; /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -6354,26 +5678,19 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -6382,18 +5699,13 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig(
    * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder
-      getMachineConfigOrBuilder() {
-    return machineConfig_ == null
-        ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()
-        : machineConfig_;
+  public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
+    return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -6404,16 +5716,12 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -6424,25 +5732,17 @@ public int getAvailabilityTypeValue() {
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -6453,7 +5753,6 @@ public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilit
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ @java.lang.Override @@ -6462,15 +5761,14 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -6481,15 +5779,16 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -6498,36 +5797,32 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; - private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6548,21 +5843,20 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsDatabaseFlags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6587,8 +5881,6 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6609,19 +5901,17 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6642,11 +5932,11 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6656,17 +5946,12 @@ public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1alpha.Instance.Node writableNode_;
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ @java.lang.Override @@ -6674,144 +5959,105 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private java.util.List nodes_; /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; - private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - queryInsightsConfig_; + private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -6819,55 +6065,37 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - getQueryInsightsConfig() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig readPoolConfig_; /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -6875,25 +6103,18 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } /** - * - * *
    * Read pool specific config.
    * 
@@ -6901,27 +6122,20 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfi * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder - getReadPoolConfigOrBuilder() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } public static final int IP_ADDRESS_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -6930,30 +6144,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -6964,8 +6178,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -6975,7 +6187,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -6984,18 +6195,14 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ @java.lang.Override @@ -7004,29 +6211,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @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 { @@ -7035,35 +6242,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7073,21 +6277,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7101,8 +6304,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7112,19 +6313,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7134,11 +6333,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -7148,8 +6347,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int UPDATE_POLICY_FIELD_NUMBER = 22;
   private com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy updatePolicy_;
   /**
-   *
-   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7158,7 +6355,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; - * * @return Whether the updatePolicy field is set. */ @java.lang.Override @@ -7166,8 +6362,6 @@ public boolean hasUpdatePolicy() { return updatePolicy_ != null; } /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7176,18 +6370,13 @@ public boolean hasUpdatePolicy() {
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy() { - return updatePolicy_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() - : updatePolicy_; + return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; } /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7198,26 +6387,18 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy()
    * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder
-      getUpdatePolicyOrBuilder() {
-    return updatePolicy_ == null
-        ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()
-        : updatePolicy_;
+  public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
+    return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
   }
 
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -7225,55 +6406,37 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - getClientConnectionConfig() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig() { + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 24; private boolean satisfiesPzs_ = false; /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 24; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -7282,7 +6445,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7294,7 +6456,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -7313,29 +6476,33 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1alpha.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { + if (instanceType_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { + if (availabilityType_ != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDatabaseFlags(), + DatabaseFlagsDefaultEntryHolder.defaultEntry, + 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -7348,8 +6515,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -7387,94 +6558,103 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1alpha.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); + if (instanceType_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); + if (availabilityType_ != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry : - internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry databaseFlags__ = - DatabaseFlagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry + : internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry + databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getQueryInsightsConfig()); } if (updatePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getUpdatePolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getUpdatePolicy()); } if (clientConnectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getClientConnectionConfig()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(24, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(24, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7484,65 +6664,85 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Instance)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance other = - (com.google.cloud.alloydb.v1alpha.Instance) obj; + com.google.cloud.alloydb.v1alpha.Instance other = (com.google.cloud.alloydb.v1alpha.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig().equals(other.getMachineConfig())) return false; + if (!getMachineConfig() + .equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone().equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; + if (!getGceZone() + .equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals( + other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode().equals(other.getWritableNode())) return false; + if (!getWritableNode() + .equals(other.getWritableNode())) return false; } - if (!getNodesList().equals(other.getNodesList())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig() + .equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getReadPoolConfig() + .equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasUpdatePolicy() != other.hasUpdatePolicy()) return false; if (hasUpdatePolicy()) { - if (!getUpdatePolicy().equals(other.getUpdatePolicy())) return false; + if (!getUpdatePolicy() + .equals(other.getUpdatePolicy())) return false; } if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig() + .equals(other.getClientConnectionConfig())) return false; } - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7611,7 +6811,8 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -7627,110 +6828,106 @@ public int hashCode() { hash = (53 * hash) + getClientConnectionConfig().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1alpha.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -7738,17 +6935,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance)
       com.google.cloud.alloydb.v1alpha.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_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();
@@ -7757,12 +6955,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 18:
           return internalGetAnnotations();
         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();
@@ -7771,27 +6970,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Instance.class,
-              com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Instance.class, com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.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();
@@ -7866,9 +7066,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -7887,12 +7087,9 @@ public com.google.cloud.alloydb.v1alpha.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Instance buildPartial() {
-      com.google.cloud.alloydb.v1alpha.Instance result =
-          new com.google.cloud.alloydb.v1alpha.Instance(this);
+      com.google.cloud.alloydb.v1alpha.Instance result = new com.google.cloud.alloydb.v1alpha.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -7921,13 +7118,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7940,8 +7143,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ =
-            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
+        result.machineConfig_ = machineConfigBuilder_ == null
+            ? machineConfig_
+            : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -7954,18 +7158,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ =
-            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
+        result.writableNode_ = writableNodeBuilder_ == null
+            ? writableNode_
+            : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ =
-            queryInsightsConfigBuilder_ == null
-                ? queryInsightsConfig_
-                : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
+            ? queryInsightsConfig_
+            : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ =
-            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ = readPoolConfigBuilder_ == null
+            ? readPoolConfig_
+            : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -7981,14 +7186,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.updatePolicy_ =
-            updatePolicyBuilder_ == null ? updatePolicy_ : updatePolicyBuilder_.build();
+        result.updatePolicy_ = updatePolicyBuilder_ == null
+            ? updatePolicy_
+            : updatePolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.clientConnectionConfig_ =
-            clientConnectionConfigBuilder_ == null
-                ? clientConnectionConfig_
-                : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
+            ? clientConnectionConfig_
+            : clientConnectionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
         result.satisfiesPzs_ = satisfiesPzs_;
@@ -7999,39 +7204,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8064,7 +7268,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -8083,7 +7288,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(
+          other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -8106,10 +7312,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodesFieldBuilder()
-                    : null;
+            nodesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodesFieldBuilder() : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -8134,7 +7339,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasUpdatePolicy()) {
         mergeUpdatePolicy(other.getUpdatePolicy());
@@ -8171,184 +7377,170 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 72:
-              {
-                instanceType_ = input.readEnum();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 88:
-              {
-                availabilityType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            case 98:
-              {
-                gceZone_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 98
-            case 106:
-              {
-                com.google.protobuf.MapEntry databaseFlags__ =
-                    input.readMessage(
-                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableDatabaseFlags()
-                    .getMutableMap()
-                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 114
-            case 122:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 122
-            case 128:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 128
-            case 138:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 138
-            case 146:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 154
-            case 162:
-              {
-                com.google.cloud.alloydb.v1alpha.Instance.Node m =
-                    input.readMessage(
-                        com.google.cloud.alloydb.v1alpha.Instance.Node.parser(), extensionRegistry);
-                if (nodesBuilder_ == null) {
-                  ensureNodesIsMutable();
-                  nodes_.add(m);
-                } else {
-                  nodesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(
-                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(getUpdatePolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(
-                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 186
-            case 192:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x00800000;
-                break;
-              } // case 192
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 72: {
+              instanceType_ = input.readEnum();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getMachineConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 88: {
+              availabilityType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            case 98: {
+              gceZone_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 98
+            case 106: {
+              com.google.protobuf.MapEntry
+              databaseFlags__ = input.readMessage(
+                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableDatabaseFlags().getMutableMap().put(
+                  databaseFlags__.getKey(), databaseFlags__.getValue());
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getReadPoolConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 114
+            case 122: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 122
+            case 128: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 128
+            case 138: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 138
+            case 146: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getWritableNodeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 154
+            case 162: {
+              com.google.cloud.alloydb.v1alpha.Instance.Node m =
+                  input.readMessage(
+                      com.google.cloud.alloydb.v1alpha.Instance.Node.parser(),
+                      extensionRegistry);
+              if (nodesBuilder_ == null) {
+                ensureNodesIsMutable();
+                nodes_.add(m);
+              } else {
+                nodesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getQueryInsightsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getUpdatePolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getClientConnectionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 186
+            case 192: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x00800000;
+              break;
+            } // case 192
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8358,13 +7550,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8378,13 +7567,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -8393,8 +7582,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8408,14 +7595,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -8423,8 +7611,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8438,22 +7624,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8467,7 +7649,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -8476,9 +7657,7 @@ public Builder clearName() { onChanged(); return this; } - /** - * - * + /** *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8492,14 +7671,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -8509,20 +7686,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -8531,21 +7706,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -8553,35 +7727,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -8591,21 +7758,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -8615,21 +7778,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -8638,22 +7799,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -8661,37 +7821,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -8701,22 +7854,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -8726,58 +7875,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -8793,17 +7923,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -8814,21 +7941,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -8841,15 +7964,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8862,15 +7981,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -8878,48 +7993,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -8927,58 +8030,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8994,17 +8078,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -9015,21 +8096,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -9042,15 +8119,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -9063,15 +8136,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -9079,48 +8148,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -9128,58 +8185,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -9195,17 +8233,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -9216,21 +8251,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -9243,15 +8274,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -9264,15 +8291,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -9280,66 +8303,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -9348,13 +8361,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9362,21 +8372,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9388,8 +8397,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9397,19 +8404,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9417,108 +8422,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -9529,35 +8521,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.State getState() { - com.google.cloud.alloydb.v1alpha.Instance.State result = - com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Instance.State result = com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -9571,16 +8552,11 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Instance.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -9592,33 +8568,22 @@ public Builder clearState() { private int instanceType_ = 0; /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -9629,37 +8594,24 @@ public Builder setInstanceTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = - com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The instanceType to set. * @return This builder for chaining. */ @@ -9673,16 +8625,11 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1alpha.Instance.Instanc return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -9694,49 +8641,36 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1alpha.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> - machineConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> machineConfigBuilder_; /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9758,8 +8692,6 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1alpha.Instance.Machin
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9779,8 +8711,6 @@ public Builder setMachineConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9788,13 +8718,11 @@ public Builder setMachineConfig(
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public Builder mergeMachineConfig(
-        com.google.cloud.alloydb.v1alpha.Instance.MachineConfig value) {
+    public Builder mergeMachineConfig(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0)
-            && machineConfig_ != null
-            && machineConfig_
-                != com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0) &&
+          machineConfig_ != null &&
+          machineConfig_ != com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -9807,8 +8735,6 @@ public Builder mergeMachineConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9827,8 +8753,6 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9836,15 +8760,12 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder
-        getMachineConfigBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder getMachineConfigBuilder() {
       bitField0_ |= 0x00000200;
       onChanged();
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9852,19 +8773,15 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder
-        getMachineConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null
-            ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()
-            : machineConfig_;
+        return machineConfig_ == null ?
+            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9873,17 +8790,14 @@ public Builder clearMachineConfig() {
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig,
-            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder,
-            com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>
+        com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> 
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1alpha.Instance.MachineConfig,
-                com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder,
-                com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(), getParentForChildren(), isClean());
+        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(),
+                getParentForChildren(),
+                isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -9891,8 +8805,6 @@ public Builder clearMachineConfig() {
 
     private int availabilityType_ = 0;
     /**
-     *
-     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9903,16 +8815,12 @@ public Builder clearMachineConfig() {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9923,7 +8831,6 @@ public int getAvailabilityTypeValue() {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -9934,8 +8841,6 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9946,20 +8851,14 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED : result; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9970,12 +8869,10 @@ public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilit
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType( - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType value) { + public Builder setAvailabilityType(com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -9985,8 +8882,6 @@ public Builder setAvailabilityType( return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9997,7 +8892,6 @@ public Builder setAvailabilityType(
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -10009,8 +8903,6 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10021,13 +8913,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; - * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -10036,8 +8928,6 @@ public java.lang.String getGceZone() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10048,14 +8938,15 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -10063,8 +8954,6 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10075,22 +8964,18 @@ public com.google.protobuf.ByteString getGceZoneBytes() {
      * 
* * string gce_zone = 12; - * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10101,7 +8986,6 @@ public Builder setGceZone(java.lang.String value) {
      * 
* * string gce_zone = 12; - * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -10111,8 +8995,6 @@ public Builder clearGceZone() { return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10123,14 +9005,12 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; - * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -10138,8 +9018,8 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -10148,12 +9028,11 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { } return databaseFlags_; } - private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = - com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = com.google.protobuf.MapField.newMapField( + DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -10162,13 +9041,10 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { onChanged(); return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10189,21 +9065,20 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /** Use {@link #getDatabaseFlagsMap()} instead. */
+    /**
+     * Use {@link #getDatabaseFlagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10228,8 +9103,6 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10250,19 +9123,17 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10283,25 +9154,23 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap().clear();
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10321,22 +9190,23 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
+    public Builder removeDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableDatabaseFlags() {
+    public java.util.Map
+        getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10356,20 +9226,17 @@ public java.util.Map getMutableDatabaseFlags
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
+    public Builder putDatabaseFlags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10389,69 +9256,52 @@ public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
+    public Builder putAllDatabaseFlags(
+        java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1alpha.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.Node,
-            com.google.cloud.alloydb.v1alpha.Instance.Node.Builder,
-            com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>
-        writableNodeBuilder_;
+        com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> writableNodeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ public com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -10467,16 +9317,12 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node va return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode( com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -10490,23 +9336,18 @@ public Builder setWritableNode( return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && writableNode_ != null - && writableNode_ - != com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + writableNode_ != null && + writableNode_ != com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -10519,16 +9360,12 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -10541,16 +9378,12 @@ public Builder clearWritableNode() { return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -10558,82 +9391,62 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getWritableNodeBui return getWritableNodeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, - com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, - com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( - getWritableNode(), getParentForChildren(), isClean()); + writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( + getWritableNode(), + getParentForChildren(), + isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, - com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> - nodesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> nodesBuilder_; /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -10643,16 +9456,12 @@ public java.util.List getNodesLi } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -10662,16 +9471,12 @@ public int getNodesCount() { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -10681,18 +9486,15 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { + public Builder setNodes( + int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10706,16 +9508,12 @@ public Builder setNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Nod return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNodes( int index, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -10729,16 +9527,12 @@ public Builder setNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { @@ -10754,18 +9548,15 @@ public Builder addNodes(com.google.cloud.alloydb.v1alpha.Instance.Node value) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { + public Builder addNodes( + int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10779,16 +9570,12 @@ public Builder addNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Nod return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes( com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -10802,16 +9589,12 @@ public Builder addNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes( int index, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -10825,22 +9608,19 @@ public Builder addNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -10848,16 +9628,12 @@ public Builder addAllNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -10870,16 +9646,12 @@ public Builder clearNodes() { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -10892,53 +9664,42 @@ public Builder removeNodes(int index) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getNodesBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getNodesBuilder( + int index) { return getNodesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { + return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -10946,131 +9707,94 @@ public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder(int index) { - return getNodesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder( + int index) { + return getNodesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, - com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, - com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( - nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( + nodes_, + ((bitField0_ & 0x00004000) != 0), + getParentForChildren(), + isClean()); nodes_ = null; } return nodesBuilder_; } - private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - queryInsightsConfig_; + private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> - queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - .getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11084,19 +9808,14 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { if (queryInsightsConfigBuilder_ == null) { queryInsightsConfig_ = builderForValue.build(); } else { @@ -11107,24 +9826,17 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder mergeQueryInsightsConfig( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && queryInsightsConfig_ != null - && queryInsightsConfig_ - != com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + queryInsightsConfig_ != null && + queryInsightsConfig_ != com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -11137,15 +9849,11 @@ public Builder mergeQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -11158,67 +9866,48 @@ public Builder clearQueryInsightsConfig() { return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder - getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig - .getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), getParentForChildren(), isClean()); + queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), + getParentForChildren(), + isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -11226,55 +9915,41 @@ public Builder clearQueryInsightsConfig() { private com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> - readPoolConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder setReadPoolConfig( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { + public Builder setReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11288,8 +9963,6 @@ public Builder setReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
@@ -11308,21 +9981,17 @@ public Builder setReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder mergeReadPoolConfig( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { + public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && readPoolConfig_ != null - && readPoolConfig_ - != com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + readPoolConfig_ != null && + readPoolConfig_ != com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) { getReadPoolConfigBuilder().mergeFrom(value); } else { readPoolConfig_ = value; @@ -11335,8 +10004,6 @@ public Builder mergeReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
@@ -11354,42 +10021,33 @@ public Builder clearReadPoolConfig() { return this; } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder - getReadPoolConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder() { bitField0_ |= 0x00010000; onChanged(); return getReadPoolConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder - getReadPoolConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { if (readPoolConfigBuilder_ != null) { return readPoolConfigBuilder_.getMessageOrBuilder(); } else { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } } /** - * - * *
      * Read pool specific config.
      * 
@@ -11397,17 +10055,14 @@ public Builder clearReadPoolConfig() { * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> getReadPoolConfigFieldBuilder() { if (readPoolConfigBuilder_ == null) { - readPoolConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder>( - getReadPoolConfig(), getParentForChildren(), isClean()); + readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder>( + getReadPoolConfig(), + getParentForChildren(), + isClean()); readPoolConfig_ = null; } return readPoolConfigBuilder_; @@ -11415,21 +10070,19 @@ public Builder clearReadPoolConfig() { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -11438,22 +10091,21 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -11461,37 +10113,30 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -11501,22 +10146,18 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -11524,10 +10165,8 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11537,7 +10176,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -11545,8 +10183,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11556,7 +10192,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -11568,8 +10203,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11579,7 +10212,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -11591,20 +10223,18 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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; @@ -11613,21 +10243,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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 { @@ -11635,35 +10264,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -11673,21 +10295,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -11695,8 +10313,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -11705,12 +10323,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -11719,13 +10336,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11735,21 +10349,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11763,8 +10376,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11774,19 +10385,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11796,25 +10405,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11823,22 +10430,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11847,20 +10455,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11869,21 +10474,18 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy updatePolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>
-        updatePolicyBuilder_;
+        com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder> updatePolicyBuilder_;
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11892,15 +10494,12 @@ public Builder putAllAnnotations(java.util.Map
      *
      * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
-     *
      * @return Whether the updatePolicy field is set.
      */
     public boolean hasUpdatePolicy() {
       return ((bitField0_ & 0x00200000) != 0);
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11909,21 +10508,16 @@ public boolean hasUpdatePolicy() {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy() { if (updatePolicyBuilder_ == null) { - return updatePolicy_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() - : updatePolicy_; + return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; } else { return updatePolicyBuilder_.getMessage(); } } /** - * - * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11947,8 +10541,6 @@ public Builder setUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.UpdateP
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11970,8 +10562,6 @@ public Builder setUpdatePolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11983,10 +10573,9 @@ public Builder setUpdatePolicy(
      */
     public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy value) {
       if (updatePolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00200000) != 0)
-            && updatePolicy_ != null
-            && updatePolicy_
-                != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00200000) != 0) &&
+          updatePolicy_ != null &&
+          updatePolicy_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) {
           getUpdatePolicyBuilder().mergeFrom(value);
         } else {
           updatePolicy_ = value;
@@ -11999,8 +10588,6 @@ public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.Updat
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12021,8 +10608,6 @@ public Builder clearUpdatePolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12038,8 +10623,6 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder getUpdateP
       return getUpdatePolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12049,19 +10632,15 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder getUpdateP
      *
      * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder
-        getUpdatePolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
       if (updatePolicyBuilder_ != null) {
         return updatePolicyBuilder_.getMessageOrBuilder();
       } else {
-        return updatePolicy_ == null
-            ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()
-            : updatePolicy_;
+        return updatePolicy_ == null ?
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12072,81 +10651,56 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder getUpdateP
      * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>
+        com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder> 
         getUpdatePolicyFieldBuilder() {
       if (updatePolicyBuilder_ == null) {
-        updatePolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
-                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
-                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>(
-                getUpdatePolicy(), getParentForChildren(), isClean());
+        updatePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>(
+                getUpdatePolicy(),
+                getParentForChildren(),
+                isClean());
         updatePolicy_ = null;
       }
       return updatePolicyBuilder_;
     }
 
-    private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig
-        clientConnectionConfig_;
+    private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig,
-            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder,
-            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>
-        clientConnectionConfigBuilder_;
+        com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - getClientConnectionConfig() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setClientConnectionConfig( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12160,15 +10714,11 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -12182,24 +10732,17 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeClientConnectionConfig( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) - && clientConnectionConfig_ != null - && clientConnectionConfig_ - != com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) && + clientConnectionConfig_ != null && + clientConnectionConfig_ != com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -12212,15 +10755,11 @@ public Builder mergeClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -12233,81 +10772,60 @@ public Builder clearClientConnectionConfig() { return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder - getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), getParentForChildren(), isClean()); + clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), + getParentForChildren(), + isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -12315,14 +10833,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -12334,14 +10849,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -12350,9 +10862,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12362,12 +10874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance) private static final com.google.cloud.alloydb.v1alpha.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance(); } @@ -12376,27 +10888,27 @@ public static com.google.cloud.alloydb.v1alpha.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; @@ -12411,4 +10923,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java index ddf64aaf66ed..e978218c81d6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -39,13 +21,10 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -59,180 +38,135 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface InstanceOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,108 +206,79 @@ public interface InstanceOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1alpha.Instance.State getState(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -385,8 +289,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -397,13 +299,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -414,14 +313,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -432,13 +328,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ java.lang.String getGceZone(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -449,14 +342,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString getGceZoneBytes(); + com.google.protobuf.ByteString + getGceZoneBytes(); /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -478,8 +369,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getDatabaseFlagsCount();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -499,13 +388,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(java.lang.String key);
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  boolean containsDatabaseFlags(
+      java.lang.String key);
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getDatabaseFlags();
+  java.util.Map
+  getDatabaseFlags();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -525,10 +416,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map getDatabaseFlagsMap();
+  java.util.Map
+  getDatabaseFlagsMap();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -549,13 +439,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-  java.lang.String getDatabaseFlagsOrDefault(
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -575,188 +463,134 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getNodesList(); + java.util.List + getNodesList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getNodesCount(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getNodesOrBuilderList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( + int index); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig(); /** - * - * *
    * Read pool specific config.
    * 
@@ -766,35 +600,28 @@ java.lang.String getDatabaseFlagsOrDefault( com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -804,39 +631,31 @@ java.lang.String getDatabaseFlagsOrDefault(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -847,8 +666,6 @@ java.lang.String getDatabaseFlagsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -857,13 +674,15 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -872,10 +691,9 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -885,13 +703,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -900,11 +716,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -913,13 +728,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; - * * @return Whether the updatePolicy field is set. */ boolean hasUpdatePolicy(); /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -928,13 +740,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy(); /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -947,56 +756,38 @@ java.lang.String getAnnotationsOrDefault(
   com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); /** - * - * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 24; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java index 182163036890..5f738ac1ab81 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1alpha.InstanceView}
  */
-public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -52,8 +32,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   INSTANCE_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -66,8 +44,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -76,8 +52,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -88,8 +62,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -99,6 +71,7 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,49 +96,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0:
-        return INSTANCE_VIEW_UNSPECIFIED;
-      case 1:
-        return INSTANCE_VIEW_BASIC;
-      case 2:
-        return INSTANCE_VIEW_FULL;
-      default:
-        return null;
+      case 0: return INSTANCE_VIEW_UNSPECIFIED;
+      case 1: return INSTANCE_VIEW_BASIC;
+      case 2: return INSTANCE_VIEW_FULL;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public InstanceView findValueByNumber(int number) {
-          return InstanceView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      InstanceView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public InstanceView findValueByNumber(int number) {
+            return InstanceView.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView 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;
@@ -181,3 +154,4 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.InstanceView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
similarity index 68%
rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
index e3c0b92b52ae..258bfe97ebf0 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
+++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
- *
- *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Filtering results
    * 
* * 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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1alpha.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListBackupsRequest other = - (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListBackupsRequest other = (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,135 +356,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest) com.google.cloud.alloydb.v1alpha.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1alpha.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListBackupsRequest result = - new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ListBackupsRequest result = new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListBackupsRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -679,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.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; @@ -754,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -778,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string 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() { @@ -820,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -844,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -862,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -882,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -902,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -924,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -946,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -984,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1008,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering results
      * 
* * 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; @@ -1030,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering results
      * 
* * 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 { @@ -1052,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1090,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1114,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1136,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1158,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1196,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1229,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListBackupsRequest) private static final com.google.cloud.alloydb.v1alpha.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(); } @@ -1243,27 +1115,27 @@ public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest getDefaultInst 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; @@ -1278,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java similarity index 59% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java index cf587e128f24..46c6bbcc6dfa 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java index 91d2e96c1c4d..4cc967e9da40 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of Backup
    * 
@@ -82,8 +61,6 @@ public java.util.List getBackupsList() return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -91,13 +68,11 @@ public java.util.List getBackupsList() * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -109,8 +84,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of Backup
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of Backup
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1alpha.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListBackupsResponse other = - (com.google.cloud.alloydb.v1alpha.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1alpha.ListBackupsResponse other = (com.google.cloud.alloydb.v1alpha.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse) com.google.cloud.alloydb.v1alpha.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1alpha.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListBackupsResponse result = - new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(this); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse result = new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListBackupsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance()) return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsResponse ot 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_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Backup.parser(), extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Backup.parser(), + extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,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.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> - backupsBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupsBuilder_; /** - * - * *
      * The list of Backup
      * 
@@ -735,8 +675,6 @@ public java.util.List getBackupsList() } } /** - * - * *
      * The list of Backup
      * 
@@ -751,8 +689,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of Backup
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { } } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder setBackups(int index, com.google.cloud.alloydb.v1alpha.Backup value) { + public Builder setBackups( + int index, com.google.cloud.alloydb.v1alpha.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setBackups(int index, com.google.cloud.alloydb.v1alpha.Backup val return this; } /** - * - * *
      * The list of Backup
      * 
@@ -809,8 +742,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -831,15 +762,14 @@ public Builder addBackups(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder addBackups(int index, com.google.cloud.alloydb.v1alpha.Backup value) { + public Builder addBackups( + int index, com.google.cloud.alloydb.v1alpha.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addBackups(int index, com.google.cloud.alloydb.v1alpha.Backup val return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder addBackups(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder addBackups( + com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addBackups(com.google.cloud.alloydb.v1alpha.Backup.Builder builde return this; } /** - * - * *
      * The list of Backup
      * 
@@ -892,8 +819,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -904,7 +829,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); @@ -912,8 +838,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -931,8 +855,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of Backup
      * 
@@ -950,44 +872,39 @@ public Builder removeBackups(int index) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupsBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupsBuilder( + int index) { return getBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( + int index) { if (backupsBuilder_ == null) { - return backups_.get(index); - } else { + return backups_.get(index); } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int } } /** - * - * *
      * The list of Backup
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); + return getBackupsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder(int index) { - return getBackupsFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder( + int index) { + return getBackupsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public java.util.List getBackupsBuilderList() { + public java.util.List + getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + backups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); backups_ = null; } return backupsBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getBackup private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListBackupsResponse) private static final com.google.cloud.alloydb.v1alpha.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse getDefaultIns 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; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java index 77ea4f21b996..23d6ea3f2f1f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - java.util.List getBackupsList(); + java.util.List + getBackupsList(); /** - * - * *
    * The list of Backup
    * 
@@ -44,8 +25,6 @@ public interface ListBackupsResponseOrBuilder */ com.google.cloud.alloydb.v1alpha.Backup getBackups(int index); /** - * - * *
    * The list of Backup
    * 
@@ -54,100 +33,82 @@ public interface ListBackupsResponseOrBuilder */ int getBackupsCount(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - java.util.List + java.util.List getBackupsOrBuilderList(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java index e0b0473c95d0..4acb53d2c6df 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,32 +28,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, - com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -146,18 +116,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,29 +132,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +163,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -217,29 +179,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -248,18 +210,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -268,29 +226,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -299,7 +257,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -340,7 +298,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_); @@ -359,19 +318,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.cloud.alloydb.v1alpha.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListClustersRequest other = - (com.google.cloud.alloydb.v1alpha.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListClustersRequest other = (com.google.cloud.alloydb.v1alpha.ListClustersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,135 +362,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListClustersRequest) com.google.cloud.alloydb.v1alpha.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, - com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override @@ -562,11 +521,8 @@ public com.google.cloud.alloydb.v1alpha.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListClustersRequest result = - new com.google.cloud.alloydb.v1alpha.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ListClustersRequest result = new com.google.cloud.alloydb.v1alpha.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -594,39 +550,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListClustersRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -634,8 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -685,43 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,13 +679,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -745,16 +690,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.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; @@ -763,8 +706,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -772,17 +713,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -790,8 +730,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -799,25 +737,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -825,10 +757,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/-
      * 
* - * - * string 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() { @@ -838,8 +767,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -847,17 +774,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -865,17 +788,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -883,15 +803,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -903,15 +820,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -923,20 +837,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -945,21 +857,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -967,35 +878,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1005,21 +909,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1029,20 +929,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,21 +949,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1073,35 +970,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1111,21 +1001,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1135,20 +1021,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1157,21 +1041,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1179,35 +1062,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1217,30 +1093,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1250,12 +1122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListClustersRequest) private static final com.google.cloud.alloydb.v1alpha.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListClustersRequest(); } @@ -1264,27 +1136,27 @@ public static com.google.cloud.alloydb.v1alpha.ListClustersRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1299,4 +1171,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java index d1e21c4bc047..849cd987ce08 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -33,16 +15,11 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -50,100 +27,80 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java index 635635f2a149..7a3fab731ee4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, - com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of Cluster
    * 
@@ -82,8 +61,6 @@ public java.util.List getClustersList( return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -91,13 +68,11 @@ public java.util.List getClustersList( * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -109,8 +84,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of Cluster
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of Cluster
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1alpha.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListClustersResponse other = - (com.google.cloud.alloydb.v1alpha.ListClustersResponse) obj; + com.google.cloud.alloydb.v1alpha.ListClustersResponse other = (com.google.cloud.alloydb.v1alpha.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,136 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.ListClustersResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListClustersResponse) com.google.cloud.alloydb.v1alpha.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, - com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override @@ -510,18 +466,14 @@ public com.google.cloud.alloydb.v1alpha.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListClustersResponse result = - new com.google.cloud.alloydb.v1alpha.ListClustersResponse(this); + com.google.cloud.alloydb.v1alpha.ListClustersResponse result = new com.google.cloud.alloydb.v1alpha.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -548,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListClustersResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -588,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -608,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersResponse o clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -658,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> - clustersBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of Cluster
      * 
@@ -736,8 +675,6 @@ public java.util.List getClustersList( } } /** - * - * *
      * The list of Cluster
      * 
@@ -752,8 +689,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of Cluster
      * 
@@ -768,15 +703,14 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster value) { + public Builder setClusters( + int index, com.google.cloud.alloydb.v1alpha.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,8 +724,6 @@ public Builder setClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster v return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -810,8 +742,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -832,15 +762,14 @@ public Builder addClusters(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster value) { + public Builder addClusters( + int index, com.google.cloud.alloydb.v1alpha.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -854,15 +783,14 @@ public Builder addClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster v return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder addClusters(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -873,8 +801,6 @@ public Builder addClusters(com.google.cloud.alloydb.v1alpha.Cluster.Builder buil return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -893,8 +819,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -905,7 +829,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -913,8 +838,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -932,8 +855,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -951,44 +872,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClustersBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -996,8 +912,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(in } } /** - * - * *
      * The list of Cluster
      * 
@@ -1005,48 +919,42 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(in * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public java.util.List - getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1054,20 +962,18 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder(int i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1076,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1098,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1136,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1160,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1168,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1212,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1250,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1272,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1331,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1343,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListClustersResponse) private static final com.google.cloud.alloydb.v1alpha.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListClustersResponse(); } @@ -1357,27 +1224,27 @@ public static com.google.cloud.alloydb.v1alpha.ListClustersResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1392,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java index a707c608a391..7182e5c7ac59 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - java.util.List getClustersList(); + java.util.List + getClustersList(); /** - * - * *
    * The list of Cluster
    * 
@@ -44,8 +25,6 @@ public interface ListClustersResponseOrBuilder */ com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index); /** - * - * *
    * The list of Cluster
    * 
@@ -54,100 +33,82 @@ public interface ListClustersResponseOrBuilder */ int getClustersCount(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java index 05f09feecaf6..d8285b522eb0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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,32 +28,28 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -150,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +167,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -221,29 +183,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -252,18 +214,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -272,29 +230,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -303,7 +261,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,7 +302,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_); @@ -363,19 +322,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.cloud.alloydb.v1alpha.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListInstancesRequest other = - (com.google.cloud.alloydb.v1alpha.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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListInstancesRequest other = (com.google.cloud.alloydb.v1alpha.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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,136 +366,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest) com.google.cloud.alloydb.v1alpha.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -546,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override @@ -567,11 +525,8 @@ public com.google.cloud.alloydb.v1alpha.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListInstancesRequest result = - new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ListInstancesRequest result = new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -599,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListInstancesRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -639,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -690,43 +643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -736,13 +683,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -752,16 +696,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -770,8 +712,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -781,17 +721,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -799,8 +738,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -810,25 +747,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -838,10 +769,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -851,8 +779,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -862,17 +788,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -880,17 +802,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -898,15 +817,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -918,15 +834,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -938,20 +851,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -960,21 +871,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -982,35 +892,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1020,21 +923,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1044,20 +943,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1066,21 +963,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1088,35 +984,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1126,21 +1015,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1150,20 +1035,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1172,21 +1055,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1194,35 +1076,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1232,30 +1107,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListInstancesRequest) private static final com.google.cloud.alloydb.v1alpha.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(); } @@ -1279,27 +1150,27 @@ public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest getDefaultIn 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; @@ -1314,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java index 30d19852ee3f..0ee66e9492a4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -35,16 +17,11 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -54,100 +31,80 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java index 17ed930aaf1e..2b7869c933bc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of Instance
    * 
@@ -82,8 +61,6 @@ public java.util.List getInstancesLis return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -91,13 +68,11 @@ public java.util.List getInstancesLis * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -109,8 +84,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of Instance
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of Instance
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1alpha.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListInstancesResponse other = - (com.google.cloud.alloydb.v1alpha.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1alpha.ListInstancesResponse other = (com.google.cloud.alloydb.v1alpha.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,136 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse) com.google.cloud.alloydb.v1alpha.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -484,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override @@ -510,18 +466,14 @@ public com.google.cloud.alloydb.v1alpha.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListInstancesResponse result = - new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(this); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse result = new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -548,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListInstancesRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -588,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -608,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesResponse 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_); } @@ -658,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of Instance
      * 
@@ -736,8 +675,6 @@ public java.util.List getInstancesLis } } /** - * - * *
      * The list of Instance
      * 
@@ -752,8 +689,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of Instance
      * 
@@ -768,15 +703,14 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { } } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,8 +724,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance return this; } /** - * - * *
      * The list of Instance
      * 
@@ -810,8 +742,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -832,15 +762,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -854,15 +783,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -873,8 +801,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder bu return this; } /** - * - * *
      * The list of Instance
      * 
@@ -893,8 +819,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -905,7 +829,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); @@ -913,8 +838,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -932,8 +855,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of Instance
      * 
@@ -951,44 +872,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -996,8 +912,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( } } /** - * - * *
      * The list of Instance
      * 
@@ -1005,48 +919,42 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1054,20 +962,18 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1076,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1098,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1136,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1160,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1168,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1212,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1250,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1272,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1331,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1343,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListInstancesResponse) private static final com.google.cloud.alloydb.v1alpha.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(); } @@ -1357,27 +1224,27 @@ public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse getDefaultI 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; @@ -1392,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java index f8432aa0012a..970d5b981b11 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of Instance
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1alpha.Instance getInstances(int index); /** - * - * *
    * The list of Instance
    * 
@@ -54,100 +33,82 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java index 6d788173b439..014e79dd82cc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +26,28 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -81,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -112,18 +85,17 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -151,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -171,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -250,17 +216,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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other = - (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,138 +252,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.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(); @@ -427,16 +388,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); } @java.lang.Override @@ -450,17 +409,13 @@ public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest build( @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result = - new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -477,51 +432,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other) { - if (other - == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other) { + if (other == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -561,31 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -595,13 +541,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -612,16 +555,14 @@ public Builder mergeFrom(
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -630,8 +571,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -642,17 +581,16 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -660,8 +598,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -672,25 +608,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -701,10 +631,7 @@ public Builder setParent(java.lang.String value) {
      * flags.
      * 
* - * - * string 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() { @@ -714,8 +641,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -726,17 +651,13 @@ public Builder clearParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -744,17 +665,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -762,15 +680,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -782,15 +697,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -802,20 +714,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -824,21 +734,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -846,35 +755,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -884,30 +786,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -917,43 +815,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -965,8 +861,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java index 73a9c6ae1809..bbf42cbff296 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListSupportedDatabaseFlagsRequestOrBuilder - extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -36,16 +18,11 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -56,50 +33,40 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java similarity index 61% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java index 884461a5b380..8edb38a78329 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,123 +26,94 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - supportedDatabaseFlags_; + private java.util.List supportedDatabaseFlags_; /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags( - int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { return supportedDatabaseFlags_.get(index); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -170,29 +122,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,7 +153,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +164,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -230,9 +182,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, supportedDatabaseFlags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -245,17 +196,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other = - (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList() + .equals(other.getSupportedDatabaseFlagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,138 +230,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.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(); @@ -427,16 +371,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); } @java.lang.Override @@ -450,18 +392,14 @@ public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse build @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result = - new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -473,8 +411,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -485,51 +422,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other) { - if (other - == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other) { + if (other == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -548,10 +480,9 @@ public Builder mergeFrom( supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSupportedDatabaseFlagsFieldBuilder() - : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSupportedDatabaseFlagsFieldBuilder() : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -588,33 +519,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -624,40 +552,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - supportedDatabaseFlags_ = java.util.Collections.emptyList(); - + private java.util.List supportedDatabaseFlags_ = + java.util.Collections.emptyList(); private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = - new java.util.ArrayList( - supportedDatabaseFlags_); + supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> - supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -665,15 +581,11 @@ private void ensureSupportedDatabaseFlagsIsMutable() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -683,18 +595,13 @@ public int getSupportedDatabaseFlagsCount() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags( - int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { return supportedDatabaseFlags_.get(index); } else { @@ -702,15 +609,11 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDataba } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { @@ -727,15 +630,11 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -749,18 +648,13 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public Builder addSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -774,15 +668,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { @@ -799,15 +689,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -821,15 +707,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -843,22 +725,18 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addAllSupportedDatabaseFlags( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -866,15 +744,11 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -887,15 +761,11 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -908,52 +778,39 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder - getSupportedDatabaseFlagsBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( + int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); - } else { + return supportedDatabaseFlags_.get(index); } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -961,65 +818,45 @@ public Builder removeSupportedDatabaseFlags(int index) { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder(int index) { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( + int index) { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1031,20 +868,18 @@ public Builder removeSupportedDatabaseFlags(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1053,21 +888,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1075,35 +909,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1113,30 +940,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1146,43 +969,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1194,8 +1015,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 50% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java index b13fcd201364..fc6467c85e47 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,114 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListSupportedDatabaseFlagsResponseOrBuilder - extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List + java.util.List getSupportedDatabaseFlagsList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ int getSupportedDatabaseFlagsCount(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java index 9a7d2e83b150..5d12f46c816a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersRequest} */ -public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListUsersRequest) ListUsersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, - com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1alpha.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListUsersRequest other = - (com.google.cloud.alloydb.v1alpha.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListUsersRequest other = (com.google.cloud.alloydb.v1alpha.ListUsersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,135 +356,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListUsersRequest) com.google.cloud.alloydb.v1alpha.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, - com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListUsersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1alpha.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListUsersRequest result = - new com.google.cloud.alloydb.v1alpha.ListUsersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.ListUsersRequest result = new com.google.cloud.alloydb.v1alpha.ListUsersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListUsersRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -679,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.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; @@ -754,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -778,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string 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() { @@ -820,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -844,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -862,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -882,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -902,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -924,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -946,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -984,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1008,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1030,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1052,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1090,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1114,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1136,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1158,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1196,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1229,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListUsersRequest) private static final com.google.cloud.alloydb.v1alpha.ListUsersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListUsersRequest(); } @@ -1243,27 +1115,27 @@ public static com.google.cloud.alloydb.v1alpha.ListUsersRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java index f071ca7f557c..cdb91a0c8a2a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListUsersRequestOrBuilder - extends +public interface ListUsersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java index cdaadca052f1..142d5e062661 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersResponse} */ -public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListUsersResponse) ListUsersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, - com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List users_; /** - * - * *
    * The list of User
    * 
@@ -82,8 +61,6 @@ public java.util.List getUsersList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -91,13 +68,11 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -109,8 +84,6 @@ public int getUsersCount() { return users_.size(); } /** - * - * *
    * The list of User
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { return users_.get(index); } /** - * - * *
    * The list of User
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( + int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1alpha.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListUsersResponse other = - (com.google.cloud.alloydb.v1alpha.ListUsersResponse) obj; + com.google.cloud.alloydb.v1alpha.ListUsersResponse other = (com.google.cloud.alloydb.v1alpha.ListUsersResponse) obj; - if (!getUsersList().equals(other.getUsersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUsersList() + .equals(other.getUsersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListUsersResponse) com.google.cloud.alloydb.v1alpha.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, - com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListUsersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1alpha.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListUsersResponse result = - new com.google.cloud.alloydb.v1alpha.ListUsersResponse(this); + com.google.cloud.alloydb.v1alpha.ListUsersResponse result = new com.google.cloud.alloydb.v1alpha.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1alpha.ListUsersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListUsersResponse result) { if (usersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListUsersResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance()) return this; if (usersBuilder_ == null) { if (!other.users_.isEmpty()) { if (users_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersResponse othe usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUsersFieldBuilder() - : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUsersFieldBuilder() : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1alpha.User m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.User.parser(), extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1alpha.User m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.User.parser(), + extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> - usersBuilder_; + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> usersBuilder_; /** - * - * *
      * The list of User
      * 
@@ -735,8 +675,6 @@ public java.util.List getUsersList() { } } /** - * - * *
      * The list of User
      * 
@@ -751,8 +689,6 @@ public int getUsersCount() { } } /** - * - * *
      * The list of User
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder setUsers(int index, com.google.cloud.alloydb.v1alpha.User value) { + public Builder setUsers( + int index, com.google.cloud.alloydb.v1alpha.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setUsers(int index, com.google.cloud.alloydb.v1alpha.User value) return this; } /** - * - * *
      * The list of User
      * 
@@ -809,8 +742,6 @@ public Builder setUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -831,15 +762,14 @@ public Builder addUsers(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder addUsers(int index, com.google.cloud.alloydb.v1alpha.User value) { + public Builder addUsers( + int index, com.google.cloud.alloydb.v1alpha.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addUsers(int index, com.google.cloud.alloydb.v1alpha.User value) return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder addUsers(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder addUsers( + com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addUsers(com.google.cloud.alloydb.v1alpha.User.Builder builderFor return this; } /** - * - * *
      * The list of User
      * 
@@ -892,8 +819,6 @@ public Builder addUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -904,7 +829,8 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -912,8 +838,6 @@ public Builder addAllUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -931,8 +855,6 @@ public Builder clearUsers() { return this; } /** - * - * *
      * The list of User
      * 
@@ -950,44 +872,39 @@ public Builder removeUsers(int index) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.User.Builder getUsersBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.User.Builder getUsersBuilder( + int index) { return getUsersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( + int index) { if (usersBuilder_ == null) { - return users_.get(index); - } else { + return users_.get(index); } else { return usersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int inde } } /** - * - * *
      * The list of User
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int inde * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder() { - return getUsersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); + return getUsersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder(int index) { - return getUsersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder( + int index) { + return getUsersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public java.util.List getUsersBuilderList() { + public java.util.List + getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + users_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); users_ = null; } return usersBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getUsersBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListUsersResponse) private static final com.google.cloud.alloydb.v1alpha.ListUsersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListUsersResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1alpha.ListUsersResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java index 1ef9cfc50948..777c7e3a07fb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListUsersResponseOrBuilder - extends +public interface ListUsersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - java.util.List getUsersList(); + java.util.List + getUsersList(); /** - * - * *
    * The list of User
    * 
@@ -44,8 +25,6 @@ public interface ListUsersResponseOrBuilder */ com.google.cloud.alloydb.v1alpha.User getUsers(int index); /** - * - * *
    * The list of User
    * 
@@ -54,99 +33,82 @@ public interface ListUsersResponseOrBuilder */ int getUsersCount(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - java.util.List getUsersOrBuilderList(); + java.util.List + getUsersOrBuilderList(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index); + com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java index 48b03a329957..0bb92ef40ad7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.MigrationSource}
  */
-public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.MigrationSource)
     MigrationSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -46,38 +28,34 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.MigrationSource.class,
-            com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1alpha.MigrationSource.class, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Migration source is unknown.
      * 
@@ -86,8 +64,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -99,8 +75,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Migration source is unknown.
      * 
@@ -109,8 +83,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -119,6 +91,7 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int DMS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,12 +116,9 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: - return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: - return DMS; - default: - return null; + case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: return DMS; + default: return null; } } @@ -156,28 +126,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MigrationSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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.cloud.alloydb.v1alpha.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -186,7 +156,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MigrationSourceType 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; @@ -204,19 +175,15 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ @java.lang.Override @@ -225,30 +192,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -257,19 +224,15 @@ public com.google.protobuf.ByteString getHostPortBytes() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ @java.lang.Override @@ -278,30 +241,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -312,46 +275,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,17 +310,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { + if (sourceType_ != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -391,11 +336,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + if (sourceType_ != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,16 +348,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.cloud.alloydb.v1alpha.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.MigrationSource other = - (com.google.cloud.alloydb.v1alpha.MigrationSource) obj; + com.google.cloud.alloydb.v1alpha.MigrationSource other = (com.google.cloud.alloydb.v1alpha.MigrationSource) obj; - if (!getHostPort().equals(other.getHostPort())) return false; - if (!getReferenceId().equals(other.getReferenceId())) return false; + if (!getHostPort() + .equals(other.getHostPort())) return false; + if (!getReferenceId() + .equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -438,104 +382,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -543,32 +482,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.MigrationSource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.MigrationSource)
       com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.MigrationSource.class,
-              com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1alpha.MigrationSource.class, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -601,11 +541,8 @@ public com.google.cloud.alloydb.v1alpha.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1alpha.MigrationSource result =
-          new com.google.cloud.alloydb.v1alpha.MigrationSource(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.MigrationSource result = new com.google.cloud.alloydb.v1alpha.MigrationSource(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -627,39 +564,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.MigrationSource resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.MigrationSource) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.MigrationSource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -667,8 +603,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.MigrationSource other) {
-      if (other == com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) return this;
       if (!other.getHostPort().isEmpty()) {
         hostPort_ = other.hostPort_;
         bitField0_ |= 0x00000001;
@@ -708,31 +643,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                hostPort_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                referenceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              hostPort_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              referenceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -742,26 +673,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
-     *
-     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -770,22 +698,21 @@ public java.lang.String getHostPort() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -793,37 +720,30 @@ public com.google.protobuf.ByteString getHostPortBytes() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPort( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -833,22 +753,18 @@ public Builder clearHostPort() { return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPortBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -858,21 +774,19 @@ public Builder setHostPortBytes(com.google.protobuf.ByteString value) { private java.lang.Object referenceId_ = ""; /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -881,22 +795,21 @@ public java.lang.String getReferenceId() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -904,37 +817,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -944,22 +850,18 @@ public Builder clearReferenceId() { return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -969,33 +871,22 @@ public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1006,43 +897,28 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber( - sourceType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType( - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType value) { + public Builder setSourceType(com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1052,16 +928,11 @@ public Builder setSourceType( return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1070,9 +941,9 @@ public Builder clearSourceType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.MigrationSource) private static final com.google.cloud.alloydb.v1alpha.MigrationSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.MigrationSource(); } @@ -1096,27 +967,27 @@ public static com.google.cloud.alloydb.v1alpha.MigrationSource getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java index ec33f4b0a263..5c4e7523c69b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java @@ -1,107 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface MigrationSourceOrBuilder - extends +public interface MigrationSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.MigrationSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ java.lang.String getHostPort(); /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString getHostPortBytes(); + com.google.protobuf.ByteString + getHostPortBytes(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ java.lang.String getReferenceId(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString getReferenceIdBytes(); + com.google.protobuf.ByteString + getReferenceIdBytes(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java index b0340273b89a..030bcc19c55e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,38 +28,33 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.OperationMetadata.class, - com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1alpha.OperationMetadata.class, com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object requestSpecific_; - public enum RequestSpecificCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; - private RequestSpecificCase(int value) { this.value = value; } @@ -93,36 +70,29 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: - return BATCH_CREATE_INSTANCES_METADATA; - case 0: - return REQUESTSPECIFIC_NOT_SET; - default: - return null; + case 8: return BATCH_CREATE_INSTANCES_METADATA; + case 0: return REQUESTSPECIFIC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -130,42 +100,31 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -173,15 +132,11 @@ public boolean hasBatchCreateInstancesMetadata() { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -189,15 +144,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -205,14 +156,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -222,15 +170,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,15 +182,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -254,14 +194,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -269,18 +206,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -289,29 +222,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -320,18 +253,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -340,29 +269,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -371,18 +300,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -391,29 +316,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -424,8 +349,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -435,7 +358,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -444,18 +366,14 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -464,29 +382,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -495,7 +413,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,7 +424,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -530,8 +448,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage(8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -543,10 +460,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -558,15 +477,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -576,32 +495,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.OperationMetadata other = - (com.google.cloud.alloydb.v1alpha.OperationMetadata) obj; + com.google.cloud.alloydb.v1alpha.OperationMetadata other = (com.google.cloud.alloydb.v1alpha.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) - return false; + if (!getBatchCreateInstancesMetadata() + .equals(other.getBatchCreateInstancesMetadata())) return false; break; case 0: default: @@ -632,7 +557,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -649,135 +575,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.OperationMetadata) com.google.cloud.alloydb.v1alpha.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.OperationMetadata.class, - com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1alpha.OperationMetadata.class, com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -806,9 +728,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override @@ -827,11 +749,8 @@ public com.google.cloud.alloydb.v1alpha.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1alpha.OperationMetadata result = - new com.google.cloud.alloydb.v1alpha.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.OperationMetadata result = new com.google.cloud.alloydb.v1alpha.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -840,10 +759,14 @@ public com.google.cloud.alloydb.v1alpha.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -865,7 +788,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.OperationMetadata re private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && + batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -874,39 +798,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.OperationMetada public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.OperationMetadata) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -914,8 +837,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.OperationMetadata other) { - if (other == com.google.cloud.alloydb.v1alpha.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -946,15 +868,13 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.OperationMetadata othe onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: - { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: - { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -982,62 +902,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), + extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1047,12 +963,12 @@ public Builder mergeFrom( } // finally return this; } - private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -1065,21 +981,13 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> - batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -1087,21 +995,15 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; @@ -1115,18 +1017,13 @@ public boolean hasBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1140,15 +1037,11 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1162,29 +1055,18 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 - && requestSpecific_ - != com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata - .getDefaultInstance()) { - requestSpecific_ = - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder( - (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) - requestSpecific_) - .mergeFrom(value) - .buildPartial(); + if (requestSpecificCase_ == 8 && + requestSpecific_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance()) { + requestSpecific_ = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_) + .mergeFrom(value).buildPartial(); } else { requestSpecific_ = value; } @@ -1200,15 +1082,11 @@ public Builder mergeBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1227,34 +1105,24 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder - getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1265,31 +1133,21 @@ public Builder clearBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1302,58 +1160,39 @@ public Builder clearBatchCreateInstancesMetadata() { 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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1369,17 +1208,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1390,21 +1226,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1417,15 +1249,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1438,15 +1266,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1454,48 +1278,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1503,35 +1315,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1542,14 +1343,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1565,16 +1363,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1585,20 +1381,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1611,14 +1404,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1631,14 +1421,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1646,44 +1433,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1691,20 +1470,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1713,21 +1490,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1735,35 +1511,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1773,21 +1542,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1797,20 +1562,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1819,21 +1582,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1841,35 +1603,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1879,21 +1634,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1903,20 +1654,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1925,21 +1674,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1947,35 +1695,28 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1985,21 +1726,17 @@ public Builder clearStatusMessage() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -2007,10 +1744,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2020,7 +1755,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -2028,8 +1762,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2039,7 +1771,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -2051,8 +1782,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2062,7 +1791,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -2074,20 +1802,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -2096,21 +1822,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -2118,35 +1843,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -2156,30 +1874,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2189,12 +1903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.OperationMetadata) private static final com.google.cloud.alloydb.v1alpha.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.OperationMetadata(); } @@ -2203,27 +1917,27 @@ public static com.google.cloud.alloydb.v1alpha.OperationMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2238,4 +1952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java index 1d958d893b2e..9c6da1f96dc4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java @@ -1,224 +1,154 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -228,35 +158,29 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); com.google.cloud.alloydb.v1alpha.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java index 541c150dcf43..b18943d0ca84 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PromoteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.PromoteClusterRequest) PromoteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1alpha.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other = - (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other = (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,143 +321,139 @@ 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.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.PromoteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.PromoteClusterRequest) com.google.cloud.alloydb.v1alpha.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -525,11 +487,8 @@ public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest result = - new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest result = new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -554,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.PromoteClusterReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -640,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.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; @@ -710,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -735,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string 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() { @@ -779,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -806,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -825,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -840,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -874,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -893,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -936,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -955,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -972,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -981,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -996,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1005,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1020,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1029,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1052,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1062,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1071,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1086,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1104,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1124,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1141,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1alpha.PromoteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(); } @@ -1167,27 +1057,27 @@ public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1202,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java index ecb288bc558e..9875f4c51ea1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface PromoteClusterRequestOrBuilder - extends +public interface PromoteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,21 +92,18 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java new file mode 100644 index 000000000000..46e50354d36f --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java @@ -0,0 +1,776 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_cloud_alloydb_v1alpha_UserPassword_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_User_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/cloud/alloydb/v1alpha/resources" + + ".proto\022\034google.cloud.alloydb.v1alpha\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032\036google/protobuf/durati" + + "on.proto\032\037google/protobuf/timestamp.prot" + + "o\032\036google/protobuf/wrappers.proto\032\033googl" + + "e/type/dayofweek.proto\032\033google/type/time" + + "ofday.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(" + + "\t\022\020\n\010password\030\002 \001(\t\"\353\001\n\017MigrationSource\022" + + "\027\n\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id" + + "\030\002 \001(\tB\004\342A\001\003\022\\\n\013source_type\030\003 \001(\0162A.goog" + + "le.cloud.alloydb.v1alpha.MigrationSource" + + ".MigrationSourceTypeB\004\342A\001\003\"E\n\023MigrationS" + + "ourceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n" + + "\014kms_key_name\030\001 \001(\t\"\215\002\n\016EncryptionInfo\022P" + + "\n\017encryption_type\030\001 \001(\01621.google.cloud.a" + + "lloydb.v1alpha.EncryptionInfo.TypeB\004\342A\001\003" + + "\022K\n\020kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(clo" + + "udkms.googleapis.com/CryptoKeyVersion\"\\\n" + + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" + + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" + + "NCRYPTION\020\002\"\212\003\n\tSslConfig\022G\n\010ssl_mode\030\001 " + + "\001(\0162/.google.cloud.alloydb.v1alpha.SslCo" + + "nfig.SslModeB\004\342A\001\001\022I\n\tca_source\030\002 \001(\01620." + + "google.cloud.alloydb.v1alpha.SslConfig.C" + + "aSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UN" + + "SPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020S" + + "SL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY" + + "_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRY" + + "PTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031" + + "\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_M" + + "ANAGED\020\001\"\377\006\n\025AutomatedBackupPolicy\022]\n\017we" + + "ekly_schedule\030\002 \001(\0132B.google.cloud.alloy" + + "db.v1alpha.AutomatedBackupPolicy.WeeklyS" + + "cheduleH\000\022f\n\024time_based_retention\030\004 \001(\0132" + + "F.google.cloud.alloydb.v1alpha.Automated" + + "BackupPolicy.TimeBasedRetentionH\001\022n\n\030qua" + + "ntity_based_retention\030\005 \001(\0132J.google.clo" + + "ud.alloydb.v1alpha.AutomatedBackupPolicy" + + ".QuantityBasedRetentionH\001\022\024\n\007enabled\030\001 \001" + + "(\010H\002\210\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google." + + "protobuf.Duration\022O\n\021encryption_config\030\010" + + " \001(\0132..google.cloud.alloydb.v1alpha.Encr" + + "yptionConfigB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022O\n\006" + + "labels\030\007 \003(\0132?.google.cloud.alloydb.v1al" + + "pha.AutomatedBackupPolicy.LabelsEntry\032k\n" + + "\016WeeklySchedule\022+\n\013start_times\030\001 \003(\0132\026.g" + + "oogle.type.TimeOfDay\022,\n\014days_of_week\030\002 \003" + + "(\0162\026.google.type.DayOfWeek\032I\n\022TimeBasedR" + + "etention\0223\n\020retention_period\030\001 \001(\0132\031.goo" + + "gle.protobuf.Duration\032\'\n\026QuantityBasedRe" + + "tention\022\r\n\005count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010schedul" + + "eB\013\n\tretentionB\n\n\010_enabled\"\243\001\n\026Continuou" + + "sBackupConfig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024r" + + "ecovery_window_days\030\004 \001(\005\022I\n\021encryption_" + + "config\030\003 \001(\0132..google.cloud.alloydb.v1al" + + "pha.EncryptionConfigB\n\n\010_enabled\"\217\002\n\024Con" + + "tinuousBackupInfo\022K\n\017encryption_info\030\001 \001" + + "(\0132,.google.cloud.alloydb.v1alpha.Encryp" + + "tionInfoB\004\342A\001\003\0226\n\014enabled_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\022.\n\010schedu" + + "le\030\003 \003(\0162\026.google.type.DayOfWeekB\004\342A\001\003\022B" + + "\n\030earliest_restorable_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\"e\n\014BackupSour" + + "ce\022\030\n\nbackup_uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_n" + + "ame\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.c" + + "om/Backup\"h\n\026ContinuousBackupSource\022\025\n\007c" + + "luster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\002\"\256\022\n\007" + + "Cluster\022I\n\rbackup_source\030\017 \001(\0132*.google." + + "cloud.alloydb.v1alpha.BackupSourceB\004\342A\001\003" + + "H\000\022O\n\020migration_source\030\020 \001(\0132-.google.cl" + + "oud.alloydb.v1alpha.MigrationSourceB\004\342A\001" + + "\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030" + + "\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels\030" + + "\007 \003(\01321.google.cloud.alloydb.v1alpha.Clu" + + "ster.LabelsEntry\022@\n\005state\030\010 \001(\0162+.google" + + ".cloud.alloydb.v1alpha.Cluster.StateB\004\342A" + + "\001\003\022M\n\014cluster_type\030\030 \001(\01621.google.cloud." + + "alloydb.v1alpha.Cluster.ClusterTypeB\004\342A\001" + + "\003\022M\n\020database_version\030\t \001(\0162-.google.clo" + + "ud.alloydb.v1alpha.DatabaseVersionB\004\342A\001\001" + + "\022Q\n\016network_config\030\035 \001(\01323.google.cloud." + + "alloydb.v1alpha.Cluster.NetworkConfigB\004\342" + + "A\001\001\022:\n\007network\030\n \001(\tB)\030\001\342A\001\002\372A \n\036compute" + + ".googleapis.com/Network\022\014\n\004etag\030\013 \001(\t\022K\n" + + "\013annotations\030\014 \003(\01326.google.cloud.alloyd" + + "b.v1alpha.Cluster.AnnotationsEntry\022\031\n\013re" + + "conciling\030\r \001(\010B\004\342A\001\003\022F\n\014initial_user\030\016 " + + "\001(\0132*.google.cloud.alloydb.v1alpha.UserP" + + "asswordB\004\342A\001\004\022T\n\027automated_backup_policy" + + "\030\021 \001(\01323.google.cloud.alloydb.v1alpha.Au" + + "tomatedBackupPolicy\022?\n\nssl_config\030\022 \001(\0132" + + "\'.google.cloud.alloydb.v1alpha.SslConfig" + + "B\002\030\001\022O\n\021encryption_config\030\023 \001(\0132..google" + + ".cloud.alloydb.v1alpha.EncryptionConfigB" + + "\004\342A\001\001\022K\n\017encryption_info\030\024 \001(\0132,.google." + + "cloud.alloydb.v1alpha.EncryptionInfoB\004\342A" + + "\001\003\022\\\n\030continuous_backup_config\030\033 \001(\01324.g" + + "oogle.cloud.alloydb.v1alpha.ContinuousBa" + + "ckupConfigB\004\342A\001\001\022X\n\026continuous_backup_in" + + "fo\030\034 \001(\01322.google.cloud.alloydb.v1alpha." + + "ContinuousBackupInfoB\004\342A\001\003\022O\n\020secondary_" + + "config\030\026 \001(\01325.google.cloud.alloydb.v1al" + + "pha.Cluster.SecondaryConfig\022Q\n\016primary_c" + + "onfig\030\027 \001(\01323.google.cloud.alloydb.v1alp" + + "ha.Cluster.PrimaryConfigB\004\342A\001\003\022\025\n\rsatisf" + + "ies_pzs\030\036 \001(\010\032k\n\rNetworkConfig\0228\n\007networ" + + "k\030\001 \001(\tB\'\342A\001\002\372A \n\036compute.googleapis.com" + + "/Network\022 \n\022allocated_ip_range\030\002 \001(\tB\004\342A" + + "\001\001\032/\n\017SecondaryConfig\022\034\n\024primary_cluster" + + "_name\030\001 \001(\t\0326\n\rPrimaryConfig\022%\n\027secondar" + + "y_cluster_names\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020An" + + "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CR" + + "EATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBO" + + "OTSTRAPPING\020\007\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOT" + + "ING\020\t\"G\n\013ClusterType\022\034\n\030CLUSTER_TYPE_UNS" + + "PECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b" + + "\352A_\n\036alloydb.googleapis.com/Cluster\022:pro" + + "jects/{project}/locations/{location}/clu" + + "sters/{cluster}R\001\001B\010\n\006source\"\323\024\n\010Instanc" + + "e\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 " + + "\001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\022B\n\006labels\030\007 " + + "\003(\01322.google.cloud.alloydb.v1alpha.Insta" + + "nce.LabelsEntry\022A\n\005state\030\010 \001(\0162,.google." + + "cloud.alloydb.v1alpha.Instance.StateB\004\342A" + + "\001\003\022P\n\rinstance_type\030\t \001(\01623.google.cloud" + + ".alloydb.v1alpha.Instance.InstanceTypeB\004" + + "\342A\001\002\022L\n\016machine_config\030\n \001(\01324.google.cl" + + "oud.alloydb.v1alpha.Instance.MachineConf" + + "ig\022R\n\021availability_type\030\013 \001(\01627.google.c" + + "loud.alloydb.v1alpha.Instance.Availabili" + + "tyType\022\020\n\010gce_zone\030\014 \001(\t\022Q\n\016database_fla" + + "gs\030\r \003(\01329.google.cloud.alloydb.v1alpha." + + "Instance.DatabaseFlagsEntry\022H\n\rwritable_" + + "node\030\023 \001(\0132+.google.cloud.alloydb.v1alph" + + "a.Instance.NodeB\004\342A\001\003\022@\n\005nodes\030\024 \003(\0132+.g" + + "oogle.cloud.alloydb.v1alpha.Instance.Nod" + + "eB\004\342A\001\003\022a\n\025query_insights_config\030\025 \001(\0132B" + + ".google.cloud.alloydb.v1alpha.Instance.Q" + + "ueryInsightsInstanceConfig\022O\n\020read_pool_" + + "config\030\016 \001(\01325.google.cloud.alloydb.v1al" + + "pha.Instance.ReadPoolConfig\022\030\n\nip_addres" + + "s\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\020 \001(\010B\004\342A\001\003" + + "\022\014\n\004etag\030\021 \001(\t\022L\n\013annotations\030\022 \003(\01327.go" + + "ogle.cloud.alloydb.v1alpha.Instance.Anno" + + "tationsEntry\022J\n\rupdate_policy\030\026 \001(\01323.go" + + "ogle.cloud.alloydb.v1alpha.Instance.Upda" + + "tePolicy\022e\n\030client_connection_config\030\027 \001" + + "(\0132=.google.cloud.alloydb.v1alpha.Instan" + + "ce.ClientConnectionConfigB\004\342A\001\001\022\025\n\rsatis" + + "fies_pzs\030\030 \001(\010\032\"\n\rMachineConfig\022\021\n\tcpu_c" + + "ount\030\001 \001(\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002i" + + "d\030\002 \001(\t\022\n\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033Q" + + "ueryInsightsInstanceConfig\022$\n\027record_app" + + "lication_tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_clien" + + "t_address\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_len" + + "gth\030\004 \001(\r\022#\n\026query_plans_per_minute\030\005 \001(" + + "\rH\002\210\001\001B\032\n\030_record_application_tagsB\030\n\026_r" + + "ecord_client_addressB\031\n\027_query_plans_per" + + "_minute\032$\n\016ReadPoolConfig\022\022\n\nnode_count\030" + + "\001 \001(\005\032\222\001\n\014UpdatePolicy\022F\n\004mode\030\001 \001(\01628.g" + + "oogle.cloud.alloydb.v1alpha.Instance.Upd" + + "atePolicy.Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFI" + + "ED\020\000\022\013\n\007DEFAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032}\n\026Cl" + + "ientConnectionConfig\022 \n\022require_connecto" + + "rs\030\001 \001(\010B\004\342A\001\001\022A\n\nssl_config\030\002 \001(\0132\'.goo" + + "gle.cloud.alloydb.v1alpha.SslConfigB\004\342A\001" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013" + + "\n\007STOPPED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022" + + "\017\n\013MAINTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRA" + + "PPING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035" + + "\n\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY" + + "\020\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Avai" + + "labilityType\022!\n\035AVAILABILITY_TYPE_UNSPEC" + + "IFIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037a" + + "lloydb.googleapis.com/Instance\022Oprojects" + + "/{project}/locations/{location}/clusters" + + "/{cluster}/instances/{instance}R\001\001\"\211\002\n\016C" + + "onnectionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_addres" + + "s\030\002 \001(\tB\004\342A\001\003\022%\n\025pem_certificate_chain\030\003" + + " \003(\tB\006\030\001\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003" + + ":\213\001\352A\207\001\n%alloydb.googleapis.com/Connecti" + + "onInfo\022^projects/{project}/locations/{lo" + + "cation}/clusters/{cluster}/instances/{in" + + "stance}/connectionInfo\"\366\013\n\006Backup\022\022\n\004nam" + + "e\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003u" + + "id\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update_" + + "time\030\005 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013delete_time\030\017 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\01320.go" + + "ogle.cloud.alloydb.v1alpha.Backup.Labels" + + "Entry\022?\n\005state\030\007 \001(\0162*.google.cloud.allo" + + "ydb.v1alpha.Backup.StateB\004\342A\001\003\0227\n\004type\030\010" + + " \001(\0162).google.cloud.alloydb.v1alpha.Back" + + "up.Type\022\023\n\013description\030\t \001(\t\022\031\n\013cluster_" + + "uid\030\022 \001(\tB\004\342A\001\003\022=\n\014cluster_name\030\n \001(\tB\'\342" + + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\031" + + "\n\013reconciling\030\013 \001(\010B\004\342A\001\003\022O\n\021encryption_" + + "config\030\014 \001(\0132..google.cloud.alloydb.v1al" + + "pha.EncryptionConfigB\004\342A\001\001\022K\n\017encryption" + + "_info\030\r \001(\0132,.google.cloud.alloydb.v1alp" + + "ha.EncryptionInfoB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022J\n" + + "\013annotations\030\020 \003(\01325.google.cloud.alloyd" + + "b.v1alpha.Backup.AnnotationsEntry\022\030\n\nsiz" + + "e_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030\023 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022W\n\017ex" + + "piry_quantity\030\024 \001(\01328.google.cloud.alloy" + + "db.v1alpha.Backup.QuantityBasedExpiryB\004\342" + + "A\001\003\022\025\n\rsatisfies_pzs\030\025 \001(\010\022M\n\020database_v" + + "ersion\030\026 \001(\0162-.google.cloud.alloydb.v1al" + + "pha.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBas" + + "edExpiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022" + + "#\n\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAIL" + + "ED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016" + + "\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis." + + "com/Backup\0228projects/{project}/locations" + + "/{location}/backups/{backup}R\001\001\"\334\006\n\025Supp" + + "ortedDatabaseFlag\022e\n\023string_restrictions" + + "\030\007 \001(\0132F.google.cloud.alloydb.v1alpha.Su" + + "pportedDatabaseFlag.StringRestrictionsH\000" + + "\022g\n\024integer_restrictions\030\010 \001(\0132G.google." + + "cloud.alloydb.v1alpha.SupportedDatabaseF" + + "lag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022" + + "\021\n\tflag_name\030\002 \001(\t\022Q\n\nvalue_type\030\003 \001(\0162=" + + ".google.cloud.alloydb.v1alpha.SupportedD" + + "atabaseFlag.ValueType\022\037\n\027accepts_multipl" + + "e_values\030\004 \001(\010\022L\n\025supported_db_versions\030" + + "\005 \003(\0162-.google.cloud.alloydb.v1alpha.Dat" + + "abaseVersion\022\033\n\023requires_db_restart\030\006 \001(" + + "\010\032,\n\022StringRestrictions\022\026\n\016allowed_value" + + "s\030\001 \003(\t\032u\n\023IntegerRestrictions\022.\n\tmin_va" + + "lue\030\001 \001(\0132\033.google.protobuf.Int64Value\022." + + "\n\tmax_value\030\002 \001(\0132\033.google.protobuf.Int6" + + "4Value\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPEC" + + "IFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOA" + + "T\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloydb.googleapis.c" + + "om/SupportedDatabaseFlag\0224projects/{proj" + + "ect}/locations/{location}/flags/{flag}B\016" + + "\n\014restrictions\"\327\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\022\026\n\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_" + + "roles\030\004 \003(\tB\004\342A\001\001\022D\n\tuser_type\030\005 \001(\0162+.g" + + "oogle.cloud.alloydb.v1alpha.User.UserTyp" + + "eB\004\342A\001\001\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECI" + + "FIED\020\000\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_" + + "IAM_USER\020\002:l\352Ai\n\033alloydb.googleapis.com/" + + "User\022Gprojects/{project}/locations/{loca" + + "tion}/clusters/{cluster}/users/{user}R\001\001" + + "*^\n\014InstanceView\022\035\n\031INSTANCE_VIEW_UNSPEC" + + "IFIED\020\000\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INST" + + "ANCE_VIEW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUST" + + "ER_VIEW_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BA" + + "SIC\020\001\022\"\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020" + + "\002*j\n\017DatabaseVersion\022 \n\034DATABASE_VERSION" + + "_UNSPECIFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013P" + + "OSTGRES_14\020\002\022\017\n\013POSTGRES_15\020\003B\313\003\n com.go" + + "ogle.cloud.alloydb.v1alphaB\016ResourcesPro" + + "toP\001Z:cloud.google.com/go/alloydb/apiv1a" + + "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud." + + "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V" + + "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha" + + "\352A\246\001\n(cloudkms.googleapis.com/CryptoKeyV" + + "ersion\022zprojects/{project}/locations/{lo" + + "cation}/keyRings/{key_ring}/cryptoKeys/{" + + "crypto_key}/cryptoKeyVersions/{crypto_ke" + + "y_version}\352AN\n\036compute.googleapis.com/Ne" + + "twork\022,projects/{project}/global/network" + + "s/{network}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor, + new java.lang.String[] { "User", "Password", }); + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor, + new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor, + new java.lang.String[] { "SslMode", "CaSource", }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { "StartTimes", "DaysOfWeek", }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { "Count", }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor, + new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor, + new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor, + new java.lang.String[] { "BackupUid", "BackupName", }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor, + new java.lang.String[] { "Cluster", "PointInTime", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor, + new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "SatisfiesPzs", "Source", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { "Network", "AllocatedIpRange", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { "PrimaryClusterName", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { "SecondaryClusterNames", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "UpdatePolicy", "ClientConnectionConfig", "SatisfiesPzs", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor, + new java.lang.String[] { "CpuCount", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor, + new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { "NodeCount", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor, + new java.lang.String[] { "Mode", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { "RequireConnectors", "SslConfig", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor, + new java.lang.String[] { "Name", "IpAddress", "PemCertificateChain", "InstanceUid", }); + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "SatisfiesPzs", "DatabaseVersion", }); + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { "AllowedValues", }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { "MinValue", "MaxValue", }); + internal_static_google_cloud_alloydb_v1alpha_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_User_descriptor, + new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java index 04447d4ec1b6..fef2e23777cd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -/** Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} + */ +public final class RestartInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.RestartInstanceRequest) RestartInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -36,41 +22,34 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 @@ -79,32 +58,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -113,12 +90,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -136,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -145,15 +118,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -171,15 +143,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -190,15 +163,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -207,7 +177,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,7 +215,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } 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 +226,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other = (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,135 +255,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1alpha.RestartInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.RestartInstanceRequest) com.google.cloud.alloydb.v1alpha.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -443,11 +416,8 @@ public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest result = new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -469,39 +439,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestartInstanceReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -509,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -550,31 +518,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -584,28 +548,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -614,24 +573,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -639,41 +595,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -683,24 +628,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -710,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -729,13 +666,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -744,8 +681,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -763,14 +698,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -778,8 +714,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -797,22 +731,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -830,7 +760,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -840,8 +769,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +786,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -874,17 +799,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -892,15 +814,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -912,15 +831,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -929,9 +845,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.RestartInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(); } @@ -955,27 +871,27 @@ public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java index 0bba45e5e5f3..2898ccdac6d3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface RestartInstanceRequestOrBuilder - extends +public interface RestartInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java index a6359f5f4ee5..97e03e0a1980 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreClusterRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -46,39 +28,34 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto
-        .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class,
-            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -94,36 +71,30 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return BACKUP_SOURCE;
-        case 8:
-          return CONTINUOUS_BACKUP_SOURCE;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 4: return BACKUP_SOURCE;
+        case 8: return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -131,26 +102,21 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } /** - * - * *
    * Backup source.
    * 
@@ -160,22 +126,19 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -183,27 +146,22 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance(); } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -212,30 +170,23 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBack
    * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder
-      getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-      return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_;
+       return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -244,32 +195,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -278,18 +227,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -298,29 +243,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -331,16 +276,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -348,49 +288,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -408,7 +332,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -417,15 +340,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -443,15 +365,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -462,8 +385,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -471,7 +392,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -480,7 +400,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -492,7 +411,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -530,23 +450,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -556,29 +476,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.cloud.alloydb.v1alpha.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other = - (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other = (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource() + .equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -605,7 +531,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -624,104 +551,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -729,32 +650,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.RestoreClusterRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.RestoreClusterRequest)
       com.google.cloud.alloydb.v1alpha.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class,
-              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -780,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto
-          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -801,11 +723,8 @@ public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result =
-          new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result = new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -820,7 +739,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestoreClusterReques
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null
+            ? cluster_
+            : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -833,10 +754,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestoreClusterReques
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 &&
+          continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -845,39 +768,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.RestoreClusterR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -885,8 +807,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -909,20 +830,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case CONTINUOUS_BACKUP_SOURCE:
-          {
-            mergeContinuousBackupSource(other.getContinuousBackupSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case CONTINUOUS_BACKUP_SOURCE: {
+          mergeContinuousBackupSource(other.getContinuousBackupSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -950,56 +868,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 48:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 48
-            case 66:
-              {
-                input.readMessage(
-                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getClusterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 48: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 48
+            case 66: {
+              input.readMessage(
+                  getContinuousBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1009,12 +924,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() {
@@ -1027,19 +942,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.BackupSource,
-            com.google.cloud.alloydb.v1alpha.BackupSource.Builder,
-            com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -1047,14 +956,11 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override @@ -1072,8 +978,6 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { } } /** - * - * *
      * Backup source.
      * 
@@ -1094,8 +998,6 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource val return this; } /** - * - * *
      * Backup source.
      * 
@@ -1114,8 +1016,6 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Backup source.
      * 
@@ -1124,13 +1024,10 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 - && source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1alpha.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 4 && + source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1146,8 +1043,6 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource v return this; } /** - * - * *
      * Backup source.
      * 
@@ -1171,8 +1066,6 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Backup source.
      * 
@@ -1183,8 +1076,6 @@ public com.google.cloud.alloydb.v1alpha.BackupSource.Builder getBackupSourceBuil return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Backup source.
      * 
@@ -1203,8 +1094,6 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } } /** - * - * *
      * Backup source.
      * 
@@ -1212,19 +1101,14 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder, - com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, - com.google.cloud.alloydb.v1alpha.BackupSource.Builder, - com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.BackupSource) source_, getParentForChildren(), isClean()); @@ -1236,21 +1120,14 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> - continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1258,16 +1135,12 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; * @return The continuousBackupSource. */ @java.lang.Override @@ -1285,18 +1158,14 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBack } } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ - public Builder setContinuousBackupSource( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { + public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1310,15 +1179,12 @@ public Builder setContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ public Builder setContinuousBackupSource( com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder builderForValue) { @@ -1332,27 +1198,19 @@ public Builder setContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ - public Builder mergeContinuousBackupSource( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { + public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { - if (sourceCase_ == 8 - && source_ - != com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder( - (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 8 && + source_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1368,15 +1226,12 @@ public Builder mergeContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ public Builder clearContinuousBackupSource() { if (continuousBackupSourceBuilder_ == null) { @@ -1395,34 +1250,26 @@ public Builder clearContinuousBackupSource() { return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder - getContinuousBackupSourceBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() { return getContinuousBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder - getContinuousBackupSourceOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() { if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) { return continuousBackupSourceBuilder_.getMessageOrBuilder(); } else { @@ -1433,30 +1280,22 @@ public Builder clearContinuousBackupSource() { } } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> getContinuousBackupSourceFieldBuilder() { if (continuousBackupSourceBuilder_ == null) { if (!(sourceCase_ == 8)) { source_ = com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance(); } - continuousBackupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder>( + continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_, getParentForChildren(), isClean()); @@ -1469,23 +1308,19 @@ public Builder clearContinuousBackupSource() { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -1494,24 +1329,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1519,41 +1351,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -1563,24 +1384,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1590,20 +1405,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1612,21 +1425,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1634,35 +1446,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1672,21 +1477,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1696,58 +1497,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -1763,17 +1545,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1784,21 +1563,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder build return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1811,15 +1586,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1832,15 +1603,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1848,48 +1615,36 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1897,8 +1652,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1916,13 +1669,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1931,8 +1684,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1950,14 +1701,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1965,8 +1717,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1984,22 +1734,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -2017,7 +1763,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -2027,8 +1772,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -2046,14 +1789,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -2061,10 +1802,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2072,7 +1811,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -2080,8 +1818,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2089,7 +1825,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -2101,8 +1836,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2110,7 +1843,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -2119,9 +1851,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2131,12 +1863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1alpha.RestoreClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(); } @@ -2145,27 +1877,27 @@ public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2180,4 +1912,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java index c7bbf32125f4..0f04bc3875d4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface RestoreClusterRequestOrBuilder - extends +public interface RestoreClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; - * * @return The backupSource. */ com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource(); /** - * - * *
    * Backup source.
    * 
@@ -59,34 +35,26 @@ public interface RestoreClusterRequestOrBuilder com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -94,109 +62,78 @@ public interface RestoreClusterRequestOrBuilder
    *
    * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8;
    */
-  com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder
-      getContinuousBackupSourceOrBuilder();
+  com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -214,13 +151,10 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,14 +172,12 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -253,7 +185,6 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java new file mode 100644 index 000000000000..a7d3b4f06a59 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java @@ -0,0 +1,921 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public final class ServiceProto { + private ServiceProto() {} + 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_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_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/cloud/alloydb/v1alpha/service.p" + + "roto\022\034google.cloud.alloydb.v1alpha\032\034goog" + + "le/api/annotations.proto\032\027google/api/cli" + + "ent.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032,google/cl" + + "oud/alloydb/v1alpha/resources.proto\032#goo" + + "gle/longrunning/operations.proto\032\036google" + + "/protobuf/duration.proto\032\033google/protobu" + + "f/empty.proto\032 google/protobuf/field_mas" + + "k.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\"\251\001\n\023ListCluste" + + "rsRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036allo" + + "ydb.googleapis.com/Cluster\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filte" + + "r\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}\n" + + "\024ListClustersResponse\0227\n\010clusters\030\001 \003(\0132" + + "%.google.cloud.alloydb.v1alpha.Cluster\022\027" + + "\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003" + + " \003(\t\"\211\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\t" + + "B\'\342A\001\002\372A \n\036alloydb.googleapis.com/Cluste" + + "r\022=\n\004view\030\002 \001(\0162).google.cloud.alloydb.v" + + "1alpha.ClusterViewB\004\342A\001\001\"\347\001\n\035CreateSecon" + + "daryClusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002" + + "\372A \022\036alloydb.googleapis.com/Cluster\022\030\n\nc" + + "luster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%" + + ".google.cloud.alloydb.v1alpha.ClusterB\004\342" + + "A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + + "e_only\030\006 \001(\010B\004\342A\001\001\"\336\001\n\024CreateClusterRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.go" + + "ogleapis.com/Cluster\022\030\n\ncluster_id\030\002 \001(\t" + + "B\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%.google.cloud.a" + + "lloydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342" + + "A\001\001\"\337\001\n\024UpdateClusterRequest\0225\n\013update_m" + + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + + "A\001\001\022<\n\007cluster\030\002 \001(\0132%.google.cloud.allo" + + "ydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + + "\001\"\210\003\n\025RestoreClusterRequest\022C\n\rbackup_so" + + "urce\030\004 \001(\0132*.google.cloud.alloydb.v1alph" + + "a.BackupSourceH\000\022X\n\030continuous_backup_so" + + "urce\030\010 \001(\01324.google.cloud.alloydb.v1alph" + + "a.ContinuousBackupSourceH\000\0227\n\006parent\030\001 \001" + + "(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.com/Clus" + + "ter\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster" + + "\030\003 \001(\0132%.google.cloud.alloydb.v1alpha.Cl" + + "usterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n" + + "\rvalidate_only\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n" + + "\024ListInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342" + + "A\001\002\372A!\022\037alloydb.googleapis.com/Instance\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003" + + " \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" + + " \001(\tB\004\342A\001\001\"\200\001\n\025ListInstancesResponse\0229\n\t" + + "instances\030\001 \003(\0132&.google.cloud.alloydb.v" + + "1alpha.Instance\022\027\n\017next_page_token\030\002 \001(\t" + + "\022\023\n\013unreachable\030\003 \003(\t\"\206\001\n\022GetInstanceReq" + + "uest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.goo" + + "gleapis.com/Instance\0228\n\004view\030\002 \001(\0162*.goo" + + "gle.cloud.alloydb.v1alpha.InstanceView\"\343" + + "\001\n\025CreateInstanceRequest\0228\n\006parent\030\001 \001(\t" + + "B(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instan" + + "ce\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instanc" + + "e\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.I" + + "nstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\354\001\n\036CreateS" + + "econdaryInstanceRequest\0228\n\006parent\030\001 \001(\tB" + + "(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instanc" + + "e\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instance" + + "\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.In" + + "stanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"u\n\026CreateIns" + + "tanceRequests\022[\n\030create_instance_request" + + "s\030\001 \003(\01323.google.cloud.alloydb.v1alpha.C" + + "reateInstanceRequestB\004\342A\001\002\"\277\001\n\033BatchCrea" + + "teInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002" + + "\372A!\022\037alloydb.googleapis.com/Instance\022L\n\010" + + "requests\030\002 \001(\01324.google.cloud.alloydb.v1" + + "alpha.CreateInstanceRequestsB\004\342A\001\002\022\030\n\nre" + + "quest_id\030\003 \001(\tB\004\342A\001\001\"Y\n\034BatchCreateInsta" + + "ncesResponse\0229\n\tinstances\030\001 \003(\0132&.google" + + ".cloud.alloydb.v1alpha.Instance\"\227\002\n\034Batc" + + "hCreateInstancesMetadata\022\030\n\020instance_tar" + + "gets\030\001 \003(\t\022k\n\021instance_statuses\030\002 \003(\0132P." + + "google.cloud.alloydb.v1alpha.BatchCreate" + + "InstancesMetadata.InstanceStatusesEntry\032" + + "p\n\025InstanceStatusesEntry\022\013\n\003key\030\001 \001(\t\022F\n" + + "\005value\030\002 \001(\01327.google.cloud.alloydb.v1al" + + "pha.BatchCreateInstanceStatus:\0028\001\"\332\002\n\031Ba" + + "tchCreateInstanceStatus\022L\n\005state\030\001 \001(\0162=" + + ".google.cloud.alloydb.v1alpha.BatchCreat" + + "eInstanceStatus.State\022\021\n\terror_msg\030\002 \001(\t" + + "\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\022A\n\004t" + + "ype\030\003 \001(\01623.google.cloud.alloydb.v1alpha" + + ".Instance.InstanceType\"v\n\005State\022\025\n\021STATE" + + "_UNSPECIFIED\020\000\022\022\n\016PENDING_CREATE\020\001\022\t\n\005RE" + + "ADY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006FAI" + + "LED\020\005\022\017\n\013ROLLED_BACK\020\006\"\342\001\n\025UpdateInstanc" + + "eRequest\0225\n\013update_mask\030\001 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\001\022>\n\010instance\030\002 \001(" + + "\0132&.google.cloud.alloydb.v1alpha.Instanc" + + "eB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030" + + "\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceRequest\0226\n" + + "\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022" + + "\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest\0226\n\004" + + "name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis." + + "com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\217\002\n\022InjectFa" + + "ultRequest\022T\n\nfault_type\030\001 \001(\0162:.google." + + "cloud.alloydb.v1alpha.InjectFaultRequest" + + ".FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n" + + "\037alloydb.googleapis.com/Instance\022\030\n\nrequ" + + "est_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(" + + "\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPE" + + "CIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstanc" + + "eRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb" + + ".googleapis.com/Instance\022\030\n\nrequest_id\030\002" + + " \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"" + + "\225\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&" + + "\342A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\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\022\020\n\010order_by\030\005 \001(\t\"z\n\023ListB" + + "ackupsResponse\0225\n\007backups\030\001 \003(\0132$.google" + + ".cloud.alloydb.v1alpha.Backup\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020G" + + "etBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035" + + "alloydb.googleapis.com/Backup\"\331\001\n\023Create" + + "BackupRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035" + + "alloydb.googleapis.com/Backup\022\027\n\tbackup_" + + "id\030\002 \001(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\0132$.google." + + "cloud.alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nre" + + "quest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 " + + "\001(\010B\004\342A\001\001\"\334\001\n\023UpdateBackupRequest\0225\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\004\342A\001\001\022:\n\006backup\030\002 \001(\0132$.google.cloud." + + "alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342" + + "A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023Del" + + "eteBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n" + + "\035alloydb.googleapis.com/Backup\022\030\n\nreques" + + "t_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B" + + "\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001\n!ListSuppor" + + "tedDatabaseFlagsRequest\022E\n\006parent\030\001 \001(\tB" + + "5\342A\001\002\372A.\022,alloydb.googleapis.com/Support" + + "edDatabaseFlag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"\224\001\n\"ListSupportedDatabaseF" + + "lagsResponse\022U\n\030supported_database_flags" + + "\030\001 \003(\01323.google.cloud.alloydb.v1alpha.Su" + + "pportedDatabaseFlag\022\027\n\017next_page_token\030\002" + + " \001(\t\"\205\002\n GenerateClientCertificateReques" + + "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + + "leapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(\tB\004" + + "\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001\0226\n\rcert_du" + + "ration\030\004 \001(\0132\031.google.protobuf.DurationB" + + "\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_m" + + "etadata_exchange\030\006 \001(\010B\004\342A\001\001\"~\n!Generate" + + "ClientCertificateResponse\022\035\n\017pem_certifi" + + "cate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certificate_chai" + + "n\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"n\n\030" + + "GetConnectionInfoRequest\0228\n\006parent\030\001 \001(\t" + + "B(\342A\001\002\372A!\n\037alloydb.googleapis.com/Instan" + + "ce\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\210\003\n\021Operati" + + "onMetadata\022k\n\037batch_create_instances_met" + + "adata\030\010 \001(\0132:.google.cloud.alloydb.v1alp" + + "ha.BatchCreateInstancesMetadataB\004\342A\001\003H\000\022" + + "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + + "(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_m" + + "essage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancella" + + "tion\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342" + + "A\001\003B\022\n\020request_specific\"\251\001\n\020ListUsersReq" + + "uest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.g" + + "oogleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342" + + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030" + + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"t\n\021L" + + "istUsersResponse\0221\n\005users\030\001 \003(\0132\".google" + + ".cloud.alloydb.v1alpha.User\022\027\n\017next_page" + + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016Get" + + "UserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033allo" + + "ydb.googleapis.com/User\"\317\001\n\021CreateUserRe" + + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb." + + "googleapis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A" + + "\001\002\0226\n\004user\030\003 \001(\0132\".google.cloud.alloydb." + + "v1alpha.UserB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004" + + "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\021Up" + + "dateUserRequest\0225\n\013update_mask\030\001 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\004\342A\001\001\0226\n\004user\030\002" + + " \001(\0132\".google.cloud.alloydb.v1alpha.User" + + "B\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvali" + + "date_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005" + + " \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222\n\004name\030" + + "\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapis.com/U" + + "ser\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + + "e_only\030\003 \001(\010B\004\342A\001\0012\3614\n\014AlloyDBAdmin\022\271\001\n\014" + + "ListClusters\0221.google.cloud.alloydb.v1al" + + "pha.ListClustersRequest\0322.google.cloud.a" + + "lloydb.v1alpha.ListClustersResponse\"B\332A\006" + + "parent\202\323\344\223\0023\0221/v1alpha/{parent=projects/" + + "*/locations/*}/clusters\022\246\001\n\nGetCluster\022/" + + ".google.cloud.alloydb.v1alpha.GetCluster" + + "Request\032%.google.cloud.alloydb.v1alpha.C" + + "luster\"@\332A\004name\202\323\344\223\0023\0221/v1alpha/{name=pr" + + "ojects/*/locations/*/clusters/*}\022\341\001\n\rCre" + + "ateCluster\0222.google.cloud.alloydb.v1alph" + + "a.CreateClusterRequest\032\035.google.longrunn" + + "ing.Operation\"}\312A\034\n\007Cluster\022\021OperationMe" + + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002<" + + "\"1/v1alpha/{parent=projects/*/locations/" + + "*}/clusters:\007cluster\022\343\001\n\rUpdateCluster\0222" + + ".google.cloud.alloydb.v1alpha.UpdateClus" + + "terRequest\032\035.google.longrunning.Operatio" + + "n\"\177\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clu" + + "ster,update_mask\202\323\344\223\002D29/v1alpha/{cluste" + + "r.name=projects/*/locations/*/clusters/*" + + "}:\007cluster\022\321\001\n\rDeleteCluster\0222.google.cl" + + "oud.alloydb.v1alpha.DeleteClusterRequest" + + "\032\035.google.longrunning.Operation\"m\312A*\n\025go" + + "ogle.protobuf.Empty\022\021OperationMetadata\332A" + + "\004name\202\323\344\223\0023*1/v1alpha/{name=projects/*/l" + + "ocations/*/clusters/*}\022\320\001\n\016PromoteCluste" + + "r\0223.google.cloud.alloydb.v1alpha.Promote" + + "ClusterRequest\032\035.google.longrunning.Oper" + + "ation\"j\312A\034\n\007Cluster\022\021OperationMetadata\332A" + + "\004name\202\323\344\223\002>\"9/v1alpha/{name=projects/*/l" + + "ocations/*/clusters/*}:promote:\001*\022\311\001\n\016Re" + + "storeCluster\0223.google.cloud.alloydb.v1al" + + "pha.RestoreClusterRequest\032\035.google.longr" + + "unning.Operation\"c\312A\034\n\007Cluster\022\021Operatio" + + "nMetadata\202\323\344\223\002>\"9/v1alpha/{parent=projec" + + "ts/*/locations/*}/clusters:restore:\001*\022\204\002" + + "\n\026CreateSecondaryCluster\022;.google.cloud." + + "alloydb.v1alpha.CreateSecondaryClusterRe" + + "quest\032\035.google.longrunning.Operation\"\215\001\312" + + "A\034\n\007Cluster\022\021OperationMetadata\332A\031parent," + + "cluster,cluster_id\202\323\344\223\002L\"A/v1alpha/{pare" + + "nt=projects/*/locations/*}/clusters:crea" + + "tesecondary:\007cluster\022\310\001\n\rListInstances\0222" + + ".google.cloud.alloydb.v1alpha.ListInstan" + + "cesRequest\0323.google.cloud.alloydb.v1alph" + + "a.ListInstancesResponse\"N\332A\006parent\202\323\344\223\002?" + + "\022=/v1alpha/{parent=projects/*/locations/" + + "*/clusters/*}/instances\022\265\001\n\013GetInstance\022" + + "0.google.cloud.alloydb.v1alpha.GetInstan" + + "ceRequest\032&.google.cloud.alloydb.v1alpha" + + ".Instance\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name" + + "=projects/*/locations/*/clusters/*/insta" + + "nces/*}\022\364\001\n\016CreateInstance\0223.google.clou" + + "d.alloydb.v1alpha.CreateInstanceRequest\032" + + "\035.google.longrunning.Operation\"\215\001\312A\035\n\010In" + + "stance\022\021OperationMetadata\332A\033parent,insta" + + "nce,instance_id\202\323\344\223\002I\"=/v1alpha/{parent=" + + "projects/*/locations/*/clusters/*}/insta" + + "nces:\010instance\022\226\002\n\027CreateSecondaryInstan" + + "ce\022<.google.cloud.alloydb.v1alpha.Create" + + "SecondaryInstanceRequest\032\035.google.longru" + + "nning.Operation\"\235\001\312A\035\n\010Instance\022\021Operati" + + "onMetadata\332A\033parent,instance,instance_id" + + "\202\323\344\223\002Y\"M/v1alpha/{parent=projects/*/loca" + + "tions/*/clusters/*}/instances:createseco" + + "ndary:\010instance\022\202\002\n\024BatchCreateInstances" + + "\0229.google.cloud.alloydb.v1alpha.BatchCre" + + "ateInstancesRequest\032\035.google.longrunning" + + ".Operation\"\217\001\312A1\n\034BatchCreateInstancesRe" + + "sponse\022\021OperationMetadata\202\323\344\223\002U\"I/v1alph" + + "a/{parent=projects/*/locations/*/cluster" + + "s/*}/instances:batchCreate:\010requests\022\366\001\n" + + "\016UpdateInstance\0223.google.cloud.alloydb.v" + + "1alpha.UpdateInstanceRequest\032\035.google.lo" + + "ngrunning.Operation\"\217\001\312A\035\n\010Instance\022\021Ope" + + "rationMetadata\332A\024instance,update_mask\202\323\344" + + "\223\002R2F/v1alpha/{instance.name=projects/*/" + + "locations/*/clusters/*/instances/*}:\010ins" + + "tance\022\337\001\n\016DeleteInstance\0223.google.cloud." + + "alloydb.v1alpha.DeleteInstanceRequest\032\035." + + "google.longrunning.Operation\"y\312A*\n\025googl" + + "e.protobuf.Empty\022\021OperationMetadata\332A\004na" + + "me\202\323\344\223\002?*=/v1alpha/{name=projects/*/loca" + + "tions/*/clusters/*/instances/*}\022\342\001\n\020Fail" + + "overInstance\0225.google.cloud.alloydb.v1al" + + "pha.FailoverInstanceRequest\032\035.google.lon" + + "grunning.Operation\"x\312A\035\n\010Instance\022\021Opera" + + "tionMetadata\332A\004name\202\323\344\223\002K\"F/v1alpha/{nam" + + "e=projects/*/locations/*/clusters/*/inst" + + "ances/*}:failover:\001*\022\347\001\n\013InjectFault\0220.g" + + "oogle.cloud.alloydb.v1alpha.InjectFaultR" + + "equest\032\035.google.longrunning.Operation\"\206\001" + + "\312A\035\n\010Instance\022\021OperationMetadata\332A\017fault" + + "_type,name\202\323\344\223\002N\"I/v1alpha/{name=project" + + "s/*/locations/*/clusters/*/instances/*}:" + + "injectFault:\001*\022\337\001\n\017RestartInstance\0224.goo" + + "gle.cloud.alloydb.v1alpha.RestartInstanc" + + "eRequest\032\035.google.longrunning.Operation\"" + + "w\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" + + "\202\323\344\223\002J\"E/v1alpha/{name=projects/*/locati" + + "ons/*/clusters/*/instances/*}:restart:\001*" + + "\022\265\001\n\013ListBackups\0220.google.cloud.alloydb." + + "v1alpha.ListBackupsRequest\0321.google.clou" + + "d.alloydb.v1alpha.ListBackupsResponse\"A\332" + + "A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=project" + + "s/*/locations/*}/backups\022\242\001\n\tGetBackup\022." + + ".google.cloud.alloydb.v1alpha.GetBackupR" + + "equest\032$.google.cloud.alloydb.v1alpha.Ba" + + "ckup\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=proj" + + "ects/*/locations/*/backups/*}\022\332\001\n\014Create" + + "Backup\0221.google.cloud.alloydb.v1alpha.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"x\312A\033\n\006Backup\022\021OperationMetadata" + + "\332A\027parent,backup,backup_id\202\323\344\223\002:\"0/v1alp" + + "ha/{parent=projects/*/locations/*}/backu" + + "ps:\006backup\022\334\001\n\014UpdateBackup\0221.google.clo" + + "ud.alloydb.v1alpha.UpdateBackupRequest\032\035" + + ".google.longrunning.Operation\"z\312A\033\n\006Back" + + "up\022\021OperationMetadata\332A\022backup,update_ma" + + "sk\202\323\344\223\002A27/v1alpha/{backup.name=projects" + + "/*/locations/*/backups/*}:\006backup\022\316\001\n\014De" + + "leteBackup\0221.google.cloud.alloydb.v1alph" + + "a.DeleteBackupRequest\032\035.google.longrunni" + + "ng.Operation\"l\312A*\n\025google.protobuf.Empty" + + "\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1alp" + + "ha/{name=projects/*/locations/*/backups/" + + "*}\022\361\001\n\032ListSupportedDatabaseFlags\022?.goog" + + "le.cloud.alloydb.v1alpha.ListSupportedDa" + + "tabaseFlagsRequest\032@.google.cloud.alloyd" + + "b.v1alpha.ListSupportedDatabaseFlagsResp" + + "onse\"P\332A\006parent\202\323\344\223\002A\022?/v1alpha/{parent=" + + "projects/*/locations/*}/supportedDatabas" + + "eFlags\022\377\001\n\031GenerateClientCertificate\022>.g" + + "oogle.cloud.alloydb.v1alpha.GenerateClie" + + "ntCertificateRequest\032?.google.cloud.allo" + + "ydb.v1alpha.GenerateClientCertificateRes" + + "ponse\"a\332A\006parent\202\323\344\223\002R\"M/v1alpha/{parent" + + "=projects/*/locations/*/clusters/*}:gene" + + "rateClientCertificate:\001*\022\332\001\n\021GetConnecti" + + "onInfo\0226.google.cloud.alloydb.v1alpha.Ge" + + "tConnectionInfoRequest\032,.google.cloud.al" + + "loydb.v1alpha.ConnectionInfo\"_\332A\006parent\202" + + "\323\344\223\002P\022N/v1alpha/{parent=projects/*/locat" + + "ions/*/clusters/*/instances/*}/connectio" + + "nInfo\022\270\001\n\tListUsers\022..google.cloud.alloy" + + "db.v1alpha.ListUsersRequest\032/.google.clo" + + "ud.alloydb.v1alpha.ListUsersResponse\"J\332A" + + "\006parent\202\323\344\223\002;\0229/v1alpha/{parent=projects" + + "/*/locations/*/clusters/*}/users\022\245\001\n\007Get" + + "User\022,.google.cloud.alloydb.v1alpha.GetU" + + "serRequest\032\".google.cloud.alloydb.v1alph" + + "a.User\"H\332A\004name\202\323\344\223\002;\0229/v1alpha/{name=pr" + + "ojects/*/locations/*/clusters/*/users/*}" + + "\022\300\001\n\nCreateUser\022/.google.cloud.alloydb.v" + + "1alpha.CreateUserRequest\032\".google.cloud." + + "alloydb.v1alpha.User\"]\332A\023parent,user,use" + + "r_id\202\323\344\223\002A\"9/v1alpha/{parent=projects/*/" + + "locations/*/clusters/*}/users:\004user\022\302\001\n\n" + + "UpdateUser\022/.google.cloud.alloydb.v1alph" + + "a.UpdateUserRequest\032\".google.cloud.alloy" + + "db.v1alpha.User\"_\332A\020user,update_mask\202\323\344\223" + + "\002F2>/v1alpha/{user.name=projects/*/locat" + + "ions/*/clusters/*/users/*}:\004user\022\237\001\n\nDel" + + "eteUser\022/.google.cloud.alloydb.v1alpha.D" + + "eleteUserRequest\032\026.google.protobuf.Empty" + + "\"H\332A\004name\202\323\344\223\002;*9/v1alpha/{name=projects" + + "/*/locations/*/clusters/*/users/*}\032J\312A\026a" + + "lloydb.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\316\001\n com.g" + + "oogle.cloud.alloydb.v1alphaB\014ServiceProt" + + "oP\001Z:cloud.google.com/go/alloydb/apiv1al" + + "pha/alloydbpb;alloydbpb\252\002\034Google.Cloud.A" + + "lloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V1" + + "alpha\352\002\037Google::Cloud::AlloyDB::V1alphab" + + "\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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor, + new java.lang.String[] { "Clusters", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", "Force", }); + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor, + new java.lang.String[] { "BackupSource", "ContinuousBackupSource", "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", "Source", }); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor, + new java.lang.String[] { "CreateInstanceRequests", }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", "RequestId", }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor, + new java.lang.String[] { "Instances", }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor, + new java.lang.String[] { "InstanceTargets", "InstanceStatuses", }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor, + new java.lang.String[] { "State", "ErrorMsg", "Error", "Type", }); + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor, + new java.lang.String[] { "FaultType", "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor, + new java.lang.String[] { "Backups", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", "Etag", }); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor, + new java.lang.String[] { "SupportedDatabaseFlags", "NextPageToken", }); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor, + new java.lang.String[] { "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", }); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor, + new java.lang.String[] { "PemCertificate", "PemCertificateChain", "CaCert", }); + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor, + new java.lang.String[] { "Parent", "RequestId", }); + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor, + new java.lang.String[] { "BatchCreateInstancesMetadata", "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", "RequestSpecific", }); + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor, + new java.lang.String[] { "Users", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor, + new java.lang.String[] { "Parent", "UserId", "User", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor, + new java.lang.String[] { "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java index 397b72fb9998..f48692d8a5c6 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * SSL configuration.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SslConfig} */ -public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SslConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SslConfig) SslConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -44,38 +26,34 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SslConfig.class, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.SslConfig.class, com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); } /** - * - * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.SslConfig.SslMode} */ - public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -84,8 +62,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ SSL_MODE_UNSPECIFIED(0), /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -95,8 +71,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated SSL_MODE_ALLOW(1), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -108,8 +82,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -121,8 +93,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -131,8 +101,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -144,8 +112,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -154,8 +120,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -164,8 +128,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -176,8 +138,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -188,8 +148,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -198,8 +156,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -208,6 +164,7 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTED_ONLY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,55 +189,52 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: - return SSL_MODE_UNSPECIFIED; - case 1: - return SSL_MODE_ALLOW; - case 2: - return SSL_MODE_REQUIRE; - case 3: - return SSL_MODE_VERIFY_CA; - case 4: - return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: - return ENCRYPTED_ONLY; - default: - return null; + case 0: return SSL_MODE_UNSPECIFIED; + case 1: return SSL_MODE_ALLOW; + case 2: return SSL_MODE_REQUIRE; + case 3: return SSL_MODE_VERIFY_CA; + case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: return ENCRYPTED_ONLY; + 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< + SslMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SslMode findValueByNumber(int number) { + return SslMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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.cloud.alloydb.v1alpha.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -298,18 +252,15 @@ private SslMode(int value) { } /** - * - * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.SslConfig.CaSource} */ - public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -319,8 +270,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -332,8 +281,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -343,8 +290,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -353,6 +298,7 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_SOURCE_MANAGED_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -377,47 +323,48 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: - return CA_SOURCE_UNSPECIFIED; - case 1: - return CA_SOURCE_MANAGED; - default: - return null; + case 0: return CA_SOURCE_UNSPECIFIED; + case 1: return CA_SOURCE_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< + CaSource> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CaSource findValueByNumber(int number) { + return CaSource.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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.cloud.alloydb.v1alpha.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -437,89 +384,58 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); + return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); + return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,13 +447,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (sslMode_ - != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (sslMode_ != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -549,13 +464,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ - != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); + if (sslMode_ != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); + if (caSource_ != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -565,13 +480,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.cloud.alloydb.v1alpha.SslConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SslConfig other = - (com.google.cloud.alloydb.v1alpha.SslConfig) obj; + com.google.cloud.alloydb.v1alpha.SslConfig other = (com.google.cloud.alloydb.v1alpha.SslConfig) obj; if (sslMode_ != other.sslMode_) return false; if (caSource_ != other.caSource_) return false; @@ -595,136 +509,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SslConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SslConfig) com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SslConfig.class, - com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.SslConfig.class, com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.SslConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override @@ -756,11 +666,8 @@ public com.google.cloud.alloydb.v1alpha.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.SslConfig result = - new com.google.cloud.alloydb.v1alpha.SslConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.SslConfig result = new com.google.cloud.alloydb.v1alpha.SslConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -779,39 +686,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SslConfig result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.SslConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.SslConfig)other); } else { super.mergeFrom(other); return this; @@ -852,25 +758,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -880,38 +783,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int sslMode_ = 0; /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -922,37 +813,24 @@ public Builder setSslModeValue(int value) { return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); + return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The sslMode to set. * @return This builder for chaining. */ @@ -966,16 +844,11 @@ public Builder setSslMode(com.google.cloud.alloydb.v1alpha.SslConfig.SslMode val return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSslMode() { @@ -987,35 +860,24 @@ public Builder clearSslMode() { private int caSource_ = 0; /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -1026,39 +888,26 @@ public Builder setCaSourceValue(int value) { return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); + return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The caSource to set. * @return This builder for chaining. */ @@ -1072,17 +921,12 @@ public Builder setCaSource(com.google.cloud.alloydb.v1alpha.SslConfig.CaSource v return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearCaSource() { @@ -1091,9 +935,9 @@ public Builder clearCaSource() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,12 +947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SslConfig) private static final com.google.cloud.alloydb.v1alpha.SslConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SslConfig(); } @@ -1117,27 +961,27 @@ public static com.google.cloud.alloydb.v1alpha.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,4 +996,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java new file mode 100644 index 000000000000..096522521e20 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface SslConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The sslMode. + */ + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode(); + + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The caSource. + */ + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java index 8df7a21fa408..dcbce3cda90d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SupportedDatabaseFlag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -50,28 +32,25 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class,
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown flag type.
      * 
@@ -92,8 +70,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ VALUE_TYPE_UNSPECIFIED(0), /** - * - * *
      * String type flag.
      * 
@@ -102,8 +78,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Integer type flag.
      * 
@@ -112,8 +86,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ INTEGER(2), /** - * - * *
      * Float type flag.
      * 
@@ -122,8 +94,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ FLOAT(3), /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -135,8 +105,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is an unknown flag type.
      * 
@@ -145,8 +113,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * String type flag.
      * 
@@ -155,8 +121,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Integer type flag.
      * 
@@ -165,8 +129,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTEGER_VALUE = 2; /** - * - * *
      * Float type flag.
      * 
@@ -175,8 +137,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLOAT_VALUE = 3; /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -185,6 +145,7 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -209,55 +170,51 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: - return VALUE_TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INTEGER; - case 3: - return FLOAT; - case 4: - return NONE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return VALUE_TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INTEGER; + case 3: return FLOAT; + case 4: return NONE; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ValueType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType 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; @@ -274,156 +231,132 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder - extends + public interface StringRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); } /** - * - * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringRestrictions() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder - .class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -431,24 +364,21 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -489,16 +420,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)) { + if (!(obj instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other = - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -519,101 +449,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -623,68 +542,62 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder - .class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -692,19 +605,14 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - buildPartial() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = - new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions buildPartial() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -716,54 +624,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) other); + if (other instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) { + return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other) { - if (other - == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other) { + if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -800,20 +700,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -823,12 +721,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -836,46 +732,38 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -883,39 +771,33 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -923,22 +805,18 @@ public Builder setAllowedValues(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -946,61 +824,53 @@ public Builder addAllowedValues(java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -1008,7 +878,6 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1021,45 +890,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1071,44 +936,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IntegerRestrictionsOrBuilder - extends + public interface IntegerRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1118,32 +974,24 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1153,59 +1001,52 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** - * - * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IntegerRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IntegerRestrictions() {} + private IntegerRestrictions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder - .class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1213,14 +1054,11 @@ public boolean hasMinValue() { return minValue_ != null; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ @java.lang.Override @@ -1228,8 +1066,6 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1244,14 +1080,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1259,14 +1092,11 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ @java.lang.Override @@ -1274,8 +1104,6 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1288,7 +1116,6 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1300,7 +1127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1317,10 +1145,12 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1330,22 +1160,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)) { + if (!(obj instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other = - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1371,101 +1201,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1475,43 +1294,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder - .class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1530,22 +1345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1553,25 +1365,24 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestriction } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - buildPartial() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = - new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null + ? minValue_ + : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null + ? maxValue_ + : maxValueBuilder_.build(); } } @@ -1579,54 +1390,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) other); + if (other instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other - == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1659,25 +1462,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMinValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMaxValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1687,52 +1491,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - minValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } else { return minValueBuilder_.getMessage(); } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1753,15 +1543,14 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1772,8 +1561,6 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1782,9 +1569,9 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && minValue_ != null - && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + minValue_ != null && + minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1797,8 +1584,6 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1816,8 +1601,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1830,8 +1613,6 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1842,14 +1623,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1857,17 +1635,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -1875,47 +1650,34 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - maxValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1936,15 +1698,14 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1955,8 +1716,6 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1965,9 +1724,9 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && maxValue_ != null - && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + maxValue_ != null && + maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1980,8 +1739,6 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1999,8 +1756,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2013,8 +1768,6 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2025,14 +1778,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2040,22 +1790,18 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2068,45 +1814,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2118,26 +1860,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int restrictionsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object restrictions_; - public enum RestrictionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; - private RestrictionsCase(int value) { this.value = value; } @@ -2153,38 +1891,30 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: - return STRING_RESTRICTIONS; - case 8: - return INTEGER_RESTRICTIONS; - case 0: - return RESTRICTIONS_NOT_SET; - default: - return null; + case 7: return STRING_RESTRICTIONS; + case 8: return INTEGER_RESTRICTIONS; + case 0: return RESTRICTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RestrictionsCase getRestrictionsCase() { - return RestrictionsCase.forNumber(restrictionsCase_); + public RestrictionsCase + getRestrictionsCase() { + return RestrictionsCase.forNumber( + restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2192,62 +1922,42 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -2255,57 +1965,39 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2313,7 +2005,6 @@ public boolean hasIntegerRestrictions() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2322,15 +2013,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2338,15 +2028,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 { @@ -2355,19 +2046,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ @java.lang.Override @@ -2376,30 +2063,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -2411,39 +2098,29 @@ public com.google.protobuf.ByteString getFlagNameBytes() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2452,51 +2129,36 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List supportedDbVersions_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion> - supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion> supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>() { - public com.google.cloud.alloydb.v1alpha.DatabaseVersion convert( - java.lang.Integer from) { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = - com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(from); - return result == null - ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED - : result; + public com.google.cloud.alloydb.v1alpha.DatabaseVersion convert(java.lang.Integer from) { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(from); + return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } }; /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ @java.lang.Override - public java.util.List - getSupportedDbVersionsList() { + public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2504,14 +2166,11 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2520,29 +2179,24 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(i return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2550,14 +2204,11 @@ public java.util.List getSupportedDbVersionsValueList() { public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } - private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2566,7 +2217,6 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -2575,7 +2225,6 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2587,7 +2236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2595,9 +2245,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { + if (valueType_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2614,16 +2262,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_); + output.writeMessage(7, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage( - 8, - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_); + output.writeMessage(8, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } getUnknownFields().writeTo(output); } @@ -2640,43 +2282,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); + if (valueType_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2686,27 +2322,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other = - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) obj; - if (!getName().equals(other.getName())) return false; - if (!getFlagName().equals(other.getFlagName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFlagName() + .equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() + != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() + != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions() + .equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions() + .equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2729,13 +2370,15 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2754,104 +2397,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2862,32 +2499,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class,
-              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2911,9 +2549,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2932,19 +2570,15 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result =
-          new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2974,10 +2608,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFla
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 &&
+          stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 &&
+          integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2986,39 +2622,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.SupportedDataba
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3026,8 +2661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -3058,20 +2692,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS:
-          {
-            mergeStringRestrictions(other.getStringRestrictions());
-            break;
-          }
-        case INTEGER_RESTRICTIONS:
-          {
-            mergeIntegerRestrictions(other.getIntegerRestrictions());
-            break;
-          }
-        case RESTRICTIONS_NOT_SET:
-          {
-            break;
-          }
+        case STRING_RESTRICTIONS: {
+          mergeStringRestrictions(other.getStringRestrictions());
+          break;
+        }
+        case INTEGER_RESTRICTIONS: {
+          mergeIntegerRestrictions(other.getIntegerRestrictions());
+          break;
+        }
+        case RESTRICTIONS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3099,76 +2730,68 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                flagName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 24:
-              {
-                valueType_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 24
-            case 32:
-              {
-                acceptsMultipleValues_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 32
-            case 40:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              flagName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 24: {
+              valueType_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 24
+            case 32: {
+              acceptsMultipleValues_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 32
+            case 40: {
+              int tmpRaw = input.readEnum();
+              ensureSupportedDbVersionsIsMutable();
+              supportedDbVersions_.add(tmpRaw);
+              break;
+            } // case 40
+            case 42: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-                break;
-              } // case 40
-            case 42:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureSupportedDbVersionsIsMutable();
-                  supportedDbVersions_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 42
-            case 48:
-              {
-                requiresDbRestart_ = input.readBool();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(
-                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 42
+            case 48: {
+              requiresDbRestart_ = input.readBool();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getStringRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getIntegerRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3178,12 +2801,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-
-    public RestrictionsCase getRestrictionsCase() {
-      return RestrictionsCase.forNumber(restrictionsCase_);
+    public RestrictionsCase
+        getRestrictionsCase() {
+      return RestrictionsCase.forNumber(
+          restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -3196,21 +2819,13 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions,
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder,
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
-        stringRestrictionsBuilder_;
+        com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
     /**
-     *
-     *
      * 
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -3218,49 +2833,35 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder setStringRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3274,19 +2875,14 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3297,29 +2893,18 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder mergeStringRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 - && restrictions_ - != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 7 && + restrictions_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3335,15 +2920,11 @@ public Builder mergeStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -3362,74 +2943,50 @@ public Builder clearStringRestrictions() { return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder - getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } - stringRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - restrictions_, + stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3440,21 +2997,13 @@ public Builder clearStringRestrictions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> - integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3462,49 +3011,35 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3518,19 +3053,14 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3541,29 +3071,18 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder mergeIntegerRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 - && restrictions_ - != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 8 && + restrictions_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3579,15 +3098,11 @@ public Builder mergeIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3606,75 +3121,50 @@ public Builder clearIntegerRestrictions() { return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder - getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } - integerRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag - .IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_, + integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3686,8 +3176,6 @@ public Builder clearIntegerRestrictions() { private java.lang.Object name_ = ""; /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3695,13 +3183,13 @@ public Builder clearIntegerRestrictions() {
      * 
* * 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; @@ -3710,8 +3198,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3719,14 +3205,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 { @@ -3734,8 +3221,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3743,22 +3228,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3766,7 +3247,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3776,8 +3256,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3785,14 +3263,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3802,21 +3278,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object flagName_ = ""; /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3825,22 +3299,21 @@ public java.lang.String getFlagName() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -3848,37 +3321,30 @@ public com.google.protobuf.ByteString getFlagNameBytes() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3888,22 +3354,18 @@ public Builder clearFlagName() { return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3914,16 +3376,13 @@ public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3935,25 +3394,19 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The valueType to set. * @return This builder for chaining. */ - public Builder setValueType( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value) { + public Builder setValueType(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value) { if (value == null) { throw new NullPointerException(); } @@ -3964,7 +3417,6 @@ public Builder setValueType( } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3974,17 +3426,14 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_; + private boolean acceptsMultipleValues_ ; /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3992,15 +3441,12 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -4012,15 +3458,12 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -4031,8 +3474,7 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -4040,48 +3482,34 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @return A list containing the supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsList() { + public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -4089,15 +3517,11 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(i return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -4113,15 +3537,11 @@ public Builder setSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4135,15 +3555,11 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1alpha.DatabaseV return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4157,15 +3573,11 @@ public Builder addAllSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -4175,30 +3587,23 @@ public Builder clearSupportedDbVersions() { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -4206,35 +3611,28 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue(int index, int value) { + public Builder setSupportedDbVersionsValue( + int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -4245,19 +3643,16 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * - * + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue( + java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -4266,10 +3661,8 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * Whether setting or updating this flag on an Instance requires a database * restart. If a flag that requires database restart is set, the backend @@ -4278,7 +3671,6 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -4286,8 +3678,6 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4296,7 +3686,6 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; - * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -4308,8 +3697,6 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4318,7 +3705,6 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; - * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -4327,9 +3713,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4339,12 +3725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(); } @@ -4353,27 +3739,27 @@ public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4388,4 +3774,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java index 24160539101d..0655608c349a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java @@ -1,116 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface SupportedDatabaseFlagOrBuilder - extends +public interface SupportedDatabaseFlagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -118,13 +69,10 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -132,131 +80,105 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ java.lang.String getFlagName(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - com.google.protobuf.ByteString getFlagNameBytes(); + com.google.protobuf.ByteString + getFlagNameBytes(); /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType(); /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(int index); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List getSupportedDbVersionsValueList(); + java.util.List + getSupportedDbVersionsValueList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -265,7 +187,6 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java index a1a22509603c..21bc62c4b605 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Backup backup_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -143,16 +108,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -160,15 +120,11 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { @@ -176,12 +132,9 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -199,7 +152,6 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -208,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -234,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -272,15 +221,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -289,7 +235,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -327,19 +273,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,25 +299,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.cloud.alloydb.v1alpha.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other = - (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other = (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getBackup() + .equals(other.getBackup())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -390,144 +344,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest) com.google.cloud.alloydb.v1alpha.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -549,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -570,11 +522,8 @@ public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result = - new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result = new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -582,10 +531,14 @@ public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -602,39 +555,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -642,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -687,43 +638,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,18 +682,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -753,17 +696,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -772,23 +711,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -797,8 +730,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -814,8 +746,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -824,10 +754,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -838,8 +768,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -848,14 +776,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -868,8 +795,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -878,8 +803,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -892,8 +816,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -902,8 +824,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -911,8 +832,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -921,21 +840,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -944,21 +859,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -966,58 +877,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { @@ -1033,17 +925,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1054,21 +943,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builder return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1081,15 +966,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1102,15 +983,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -1118,48 +995,36 @@ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, - com.google.cloud.alloydb.v1alpha.Backup.Builder, - com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1167,8 +1032,6 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1186,13 +1049,13 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1201,8 +1064,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1220,14 +1081,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1235,8 +1097,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1254,22 +1114,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1287,7 +1143,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1297,8 +1152,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1316,14 +1169,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1331,17 +1182,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1349,15 +1197,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1369,15 +1214,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1387,17 +1229,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1405,15 +1244,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1425,15 +1261,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1442,9 +1275,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1454,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(); } @@ -1468,27 +1301,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest getDefaultIns 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; @@ -1503,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java index 8e3ec62f5744..e67456bb02ef 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1alpha.Backup getBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,35 +112,29 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java index bb022cf3f06d..95a91e690f9a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UpdateClusterRequest) UpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -143,49 +108,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -203,7 +152,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -212,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -257,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -266,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -277,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -294,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -332,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,25 +300,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.cloud.alloydb.v1alpha.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other = - (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other = (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -395,145 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UpdateClusterRequest) com.google.cloud.alloydb.v1alpha.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -555,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -576,11 +523,8 @@ public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result = - new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result = new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,10 +532,14 @@ public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -608,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -648,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -693,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -759,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -778,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -803,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -820,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -830,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -844,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -854,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -874,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -884,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -898,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -908,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -917,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -927,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -950,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -972,58 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -1039,17 +926,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1060,21 +944,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder build return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1087,15 +967,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1108,15 +984,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -1124,48 +996,36 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, - com.google.cloud.alloydb.v1alpha.Cluster.Builder, - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1173,8 +1033,6 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1192,13 +1050,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1207,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1226,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1241,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1260,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1293,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1303,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1322,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1337,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1348,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1356,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1365,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1377,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1386,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1396,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1414,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1434,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1451,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(); } @@ -1477,27 +1305,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java index b873a9e224b2..1d25e49ea121 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateClusterRequestOrBuilder - extends +public interface UpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,14 +112,12 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -173,21 +125,17 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java index 8893c12206cd..69d9caa43f75 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -143,49 +108,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -203,7 +152,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -212,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -257,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -266,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -277,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -294,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -332,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,25 +300,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.cloud.alloydb.v1alpha.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other = - (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -395,145 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.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; } /** - * - * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest) com.google.cloud.alloydb.v1alpha.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -555,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -576,11 +523,8 @@ public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result = - new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,10 +532,14 @@ public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -608,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateInstanceReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -648,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -693,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -759,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -778,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -803,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -820,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -830,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -844,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -854,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -874,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -884,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -898,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -908,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -917,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -927,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -950,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -972,58 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -1039,17 +926,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1060,21 +944,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder bui return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1087,15 +967,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1108,15 +984,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -1124,48 +996,36 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, - com.google.cloud.alloydb.v1alpha.Instance.Builder, - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1173,8 +1033,6 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1192,13 +1050,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1207,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1226,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1241,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1260,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1293,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1303,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1322,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1337,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1348,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1356,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1365,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1377,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1386,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1396,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1414,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1434,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1451,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(); } @@ -1477,27 +1305,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest getDefaultI 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; @@ -1512,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java index 477925940d57..2de1f58fc191 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateInstanceRequestOrBuilder - extends +public interface UpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,14 +112,12 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -173,21 +125,17 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java index 740d1e60d4bc..80bbf2274580 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateUserRequest} */ -public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UpdateUserRequest) UpdateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.User user_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ @java.lang.Override @@ -142,15 +108,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ @java.lang.Override @@ -158,14 +120,11 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { @@ -173,12 +132,9 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,7 +152,6 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -269,14 +221,11 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -285,7 +234,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -323,19 +272,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -345,25 +298,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.cloud.alloydb.v1alpha.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateUserRequest other = - (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateUserRequest other = (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getUser() + .equals(other.getUser())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -386,144 +343,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UpdateUserRequest) com.google.cloud.alloydb.v1alpha.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.UpdateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto - .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override @@ -566,11 +521,8 @@ public com.google.cloud.alloydb.v1alpha.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateUserRequest result = - new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.UpdateUserRequest result = new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -578,10 +530,14 @@ public com.google.cloud.alloydb.v1alpha.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -598,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateUserRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -638,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -683,43 +637,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,18 +681,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -749,17 +695,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -768,23 +710,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -793,8 +729,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -810,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -820,10 +753,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -834,8 +767,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -844,14 +775,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,8 +794,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -874,8 +802,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -888,8 +815,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -898,8 +823,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -907,8 +831,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -917,21 +839,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -940,21 +858,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -962,35 +876,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1alpha.User getUser() { @@ -1001,14 +904,11 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { @@ -1024,16 +924,14 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1044,20 +942,17 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForV return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1070,14 +965,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1090,14 +982,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -1105,44 +994,36 @@ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, - com.google.cloud.alloydb.v1alpha.User.Builder, - com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1150,8 +1031,6 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1169,13 +1048,13 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1184,8 +1063,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1203,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1218,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1237,22 +1113,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1270,7 +1142,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1280,8 +1151,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1299,14 +1168,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1314,17 +1181,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1332,15 +1196,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1352,15 +1213,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1370,16 +1228,13 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1387,14 +1242,11 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1406,14 +1258,11 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1422,9 +1271,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1434,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateUserRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(); } @@ -1448,27 +1297,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1483,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java similarity index 81% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java index a38bf5d0ecb4..fcb24736331e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateUserRequestOrBuilder - extends +public interface UpdateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ com.google.cloud.alloydb.v1alpha.User getUser(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,34 +112,28 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java index 184951add8bd..3d5a7b900ff9 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java @@ -1,83 +1,62 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.User} */ -public final class User extends com.google.protobuf.GeneratedMessageV3 - implements +public final class User extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.User) UserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private User() { name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.User.class, - com.google.cloud.alloydb.v1alpha.User.Builder.class); + com.google.cloud.alloydb.v1alpha.User.class, com.google.cloud.alloydb.v1alpha.User.Builder.class); } /** - * - * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.User.UserType} */ - public enum UserType implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified user type.
      * 
@@ -86,8 +65,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ USER_TYPE_UNSPECIFIED(0), /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -97,8 +74,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALLOYDB_BUILT_IN(1),
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -110,8 +85,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified user type.
      * 
@@ -120,8 +93,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -131,8 +102,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -141,6 +110,7 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOYDB_IAM_USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +135,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: - return USER_TYPE_UNSPECIFIED; - case 1: - return ALLOYDB_BUILT_IN; - case 2: - return ALLOYDB_IAM_USER; - default: - return null; + case 0: return USER_TYPE_UNSPECIFIED; + case 1: return ALLOYDB_BUILT_IN; + case 2: return ALLOYDB_IAM_USER; + 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< + UserType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UserType findValueByNumber(int number) { + return UserType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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.cloud.alloydb.v1alpha.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -225,19 +195,15 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -246,30 +212,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; } } /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -278,18 +244,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -298,29 +260,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -329,50 +291,41 @@ public com.google.protobuf.ByteString getPasswordBytes() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { return databaseRoles_; } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -380,63 +333,47 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { - com.google.cloud.alloydb.v1alpha.User.UserType result = - com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); + @java.lang.Override public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { + com.google.cloud.alloydb.v1alpha.User.UserType result = com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1alpha.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -458,8 +396,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < databaseRoles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, databaseRoles_.getRaw(i)); } - if (userType_ - != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + if (userType_ != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, userType_); } getUnknownFields().writeTo(output); @@ -485,9 +422,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getDatabaseRolesList().size(); } - if (userType_ - != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); + if (userType_ != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -497,16 +434,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.cloud.alloydb.v1alpha.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.User other = (com.google.cloud.alloydb.v1alpha.User) obj; - if (!getName().equals(other.getName())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabaseRolesList() + .equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -534,150 +474,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.User parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.User parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1alpha.User parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1alpha.User parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1alpha.User 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.cloud.alloydb.v1alpha.User parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.User} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.User) com.google.cloud.alloydb.v1alpha.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.User.class, - com.google.cloud.alloydb.v1alpha.User.Builder.class); + com.google.cloud.alloydb.v1alpha.User.class, com.google.cloud.alloydb.v1alpha.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.User.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto - .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override @@ -696,11 +634,8 @@ public com.google.cloud.alloydb.v1alpha.User build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.User buildPartial() { - com.google.cloud.alloydb.v1alpha.User result = - new com.google.cloud.alloydb.v1alpha.User(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1alpha.User result = new com.google.cloud.alloydb.v1alpha.User(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -726,39 +661,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.User result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.User) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.User) other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.User)other); } else { super.mergeFrom(other); return this; @@ -816,38 +750,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: - { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -857,26 +786,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -885,22 +811,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -908,37 +833,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -948,22 +866,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -973,20 +887,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -995,21 +907,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1017,35 +928,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -1055,21 +959,17 @@ public Builder clearPassword() { return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -1079,7 +979,6 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -1087,46 +986,38 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1134,39 +1025,33 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1174,22 +1059,18 @@ public Builder setDatabaseRoles(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1197,61 +1078,53 @@ public Builder addDatabaseRoles(java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles(java.lang.Iterable values) { + public Builder addAllDatabaseRoles( + java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1262,33 +1135,22 @@ public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { private int userType_ = 0; /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1299,35 +1161,24 @@ public Builder setUserTypeValue(int value) { return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { - com.google.cloud.alloydb.v1alpha.User.UserType result = - com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1alpha.User.UserType result = com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1alpha.User.UserType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The userType to set. * @return This builder for chaining. */ @@ -1341,16 +1192,11 @@ public Builder setUserType(com.google.cloud.alloydb.v1alpha.User.UserType value) return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUserType() { @@ -1359,9 +1205,9 @@ public Builder clearUserType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1371,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.User) private static final com.google.cloud.alloydb.v1alpha.User DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.User(); } @@ -1385,27 +1231,27 @@ public static com.google.cloud.alloydb.v1alpha.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1420,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java index 85ca3a86f2d8..c3a33e4710c7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java @@ -1,160 +1,114 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface UserOrBuilder - extends +public interface UserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.User) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - java.util.List getDatabaseRolesList(); + java.util.List + getDatabaseRolesList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString + getDatabaseRolesBytes(int index); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ com.google.cloud.alloydb.v1alpha.User.UserType getUserType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java index d94bafddc552..472e426aea5f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** - * - * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.UserPassword}
  */
-public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserPassword extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UserPassword)
     UserPasswordOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -45,38 +27,33 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.UserPassword.class,
-            com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1alpha.UserPassword.class, com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
-   *
-   *
    * 
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getUserBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -209,16 +182,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.cloud.alloydb.v1alpha.UserPassword)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UserPassword other = - (com.google.cloud.alloydb.v1alpha.UserPassword) obj; + com.google.cloud.alloydb.v1alpha.UserPassword other = (com.google.cloud.alloydb.v1alpha.UserPassword) obj; - if (!getUser().equals(other.getUser())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUser() + .equals(other.getUser())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,104 +213,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -344,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.UserPassword}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UserPassword)
       com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.UserPassword.class,
-              com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1alpha.UserPassword.class, com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.UserPassword.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -401,11 +371,8 @@ public com.google.cloud.alloydb.v1alpha.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1alpha.UserPassword result =
-          new com.google.cloud.alloydb.v1alpha.UserPassword(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1alpha.UserPassword result = new com.google.cloud.alloydb.v1alpha.UserPassword(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -424,39 +391,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UserPassword result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.UserPassword) other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.UserPassword)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,25 +467,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                user_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                password_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              user_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              password_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -529,25 +492,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
-     *
-     *
      * 
      * The database username.
      * 
* * string user = 1; - * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -556,21 +516,20 @@ public java.lang.String getUser() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return The bytes for user. */ - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -578,35 +537,28 @@ public com.google.protobuf.ByteString getUserBytes() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return This builder for chaining. */ public Builder clearUser() { @@ -616,21 +568,17 @@ public Builder clearUser() { return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -640,20 +588,18 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -662,21 +608,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -684,35 +629,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -722,30 +660,26 @@ public Builder clearPassword() { return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UserPassword) private static final com.google.cloud.alloydb.v1alpha.UserPassword DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UserPassword(); } @@ -769,27 +703,27 @@ public static com.google.cloud.alloydb.v1alpha.UserPassword getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java similarity index 53% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java index 1524d633349f..0d95e6906e69 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface UserPasswordOrBuilder - extends +public interface UserPasswordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UserPassword) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ java.lang.String getUser(); /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ - com.google.protobuf.ByteString getUserBytes(); + com.google.protobuf.ByteString + getUserBytes(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto rename to owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java index 9b56899d9f78..7cd258e92c61 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java +++ b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java @@ -34,6 +34,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.alloydb.v1beta.stub.AlloyDBAdminStubSettings; diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java index 162ccc518448..3f94c2a71632 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java @@ -86,6 +86,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/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java index fe6c0757be14..3e00101d1a18 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java +++ b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java @@ -36,6 +36,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.RequestParamsBuilder; diff --git a/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java diff --git a/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java b/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java similarity index 100% rename from java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java rename to owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java diff --git a/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..3e91a7b57f2f --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java @@ -0,0 +1,2995 @@ +package com.google.cloud.alloydb.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1beta/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1beta.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1beta.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1beta.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPromoteClusterMethod() { + io.grpc.MethodDescriptor getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestoreClusterMethod() { + io.grpc.MethodDescriptor getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { + io.grpc.MethodDescriptor getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInjectFaultMethod() { + io.grpc.MethodDescriptor getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRestartInstanceMethod() { + io.grpc.MethodDescriptor getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListBackupsMethod() { + io.grpc.MethodDescriptor getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1beta.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetBackupMethod() { + io.grpc.MethodDescriptor getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateBackupMethod() { + io.grpc.MethodDescriptor getCreateBackupMethod; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateBackupMethod() { + io.grpc.MethodDescriptor getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteBackupMethod() { + io.grpc.MethodDescriptor getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1beta.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUsersMethod() { + io.grpc.MethodDescriptor getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1beta.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetUserMethod() { + io.grpc.MethodDescriptor getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1beta.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateUserMethod() { + io.grpc.MethodDescriptor getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateUserMethod() { + io.grpc.MethodDescriptor getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteUserMethod() { + io.grpc.MethodDescriptor getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static AlloyDBAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static abstract class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListClustersResponse listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Cluster getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Instance getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Backup getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListUsersResponse listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.cloud.alloydb.v1beta.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.cloud.alloydb.v1beta.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture promoteCluster( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restoreCluster( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture failoverInstance( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture injectFault( + com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture restartInstance( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listBackups( + com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getBackup( + com.google.cloud.alloydb.v1beta.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createBackup( + com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateBackup( + com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteBackup( + com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUsers( + com.google.cloud.alloydb.v1beta.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getUser( + com.google.cloud.alloydb.v1beta.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createUser( + com.google.cloud.alloydb.v1beta.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateUser( + com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.cloud.alloydb.v1beta.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.cloud.alloydb.v1beta.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.cloud.alloydb.v1beta.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.cloud.alloydb.v1beta.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.cloud.alloydb.v1beta.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster((com.google.cloud.alloydb.v1beta.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster((com.google.cloud.alloydb.v1beta.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.cloud.alloydb.v1beta.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.cloud.alloydb.v1beta.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.cloud.alloydb.v1beta.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault((com.google.cloud.alloydb.v1beta.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance((com.google.cloud.alloydb.v1beta.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups((com.google.cloud.alloydb.v1beta.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup((com.google.cloud.alloydb.v1beta.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup((com.google.cloud.alloydb.v1beta.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup((com.google.cloud.alloydb.v1beta.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup((com.google.cloud.alloydb.v1beta.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers((com.google.cloud.alloydb.v1beta.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser((com.google.cloud.alloydb.v1beta.GetUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser((com.google.cloud.alloydb.v1beta.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser((com.google.cloud.alloydb.v1beta.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser((com.google.cloud.alloydb.v1beta.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListClustersRequest, + com.google.cloud.alloydb.v1beta.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetClusterRequest, + com.google.cloud.alloydb.v1beta.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.PromoteClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.RestoreClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListInstancesRequest, + com.google.cloud.alloydb.v1beta.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetInstanceRequest, + com.google.cloud.alloydb.v1beta.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, + com.google.longrunning.Operation>( + service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.InjectFaultRequest, + com.google.longrunning.Operation>( + service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.RestartInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListBackupsRequest, + com.google.cloud.alloydb.v1beta.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetBackupRequest, + com.google.cloud.alloydb.v1beta.Backup>( + service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1beta.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListUsersRequest, + com.google.cloud.alloydb.v1beta.ListUsersResponse>( + service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetUserRequest, + com.google.cloud.alloydb.v1beta.User>( + service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateUserRequest, + com.google.cloud.alloydb.v1beta.User>( + service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateUserRequest, + com.google.cloud.alloydb.v1beta.User>( + service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteUserRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private static abstract class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java index 986d255aa9d3..36010edfd162 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message describing the user-specified automated backup policy.
  *
@@ -30,60 +13,56 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutomatedBackupPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class,
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder
-      extends
+  public interface WeeklyScheduleOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -94,10 +73,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesList();
+    java.util.List 
+        getStartTimesList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,8 +88,6 @@ public interface WeeklyScheduleOrBuilder
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -124,8 +100,6 @@ public interface WeeklyScheduleOrBuilder
      */
     int getStartTimesCount();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -136,10 +110,9 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List getStartTimesOrBuilderList();
+    java.util.List 
+        getStartTimesOrBuilderList();
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -150,11 +123,10 @@ public interface WeeklyScheduleOrBuilder
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index);
 
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -163,13 +135,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -178,13 +147,10 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -193,14 +159,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -209,13 +172,11 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List getDaysOfWeekValueList(); + java.util.List + getDaysOfWeekValueList(); /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -224,15 +185,12 @@ public interface WeeklyScheduleOrBuilder
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** - * - * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -245,16 +203,15 @@ public interface WeeklyScheduleOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class WeeklySchedule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -262,32 +219,28 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class,
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -303,8 +256,6 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -316,13 +267,11 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -338,8 +287,6 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -355,8 +302,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
-     *
-     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -368,18 +313,16 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+        int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
-
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
-
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.type.DayOfWeek>
-        daysOfWeek_converter_ =
+        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -388,8 +331,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
-     *
-     *
      * 
      * The days of the week to perform a backup.
      *
@@ -398,7 +339,6 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -407,8 +347,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -417,7 +355,6 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ @java.lang.Override @@ -425,8 +362,6 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -435,7 +370,6 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -444,8 +378,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -454,16 +386,14 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return daysOfWeek_; } /** - * - * *
      * The days of the week to perform a backup.
      *
@@ -472,7 +402,6 @@ public java.util.List getDaysOfWeekValueList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -480,11 +409,9 @@ public java.util.List getDaysOfWeekValueList() { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } - private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -496,7 +423,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -518,20 +446,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -541,15 +469,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other = - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList().equals(other.getStartTimesList())) return false; + if (!getStartTimesList() + .equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -576,95 +504,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -674,8 +596,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -688,34 +608,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class,
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -733,22 +652,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule build() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result =
-            buildPartial();
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -757,18 +673,14 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule buil
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result =
-            new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -785,8 +697,7 @@ private void buildPartialRepeatedFields(
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -794,53 +705,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other
-            == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -859,10 +763,9 @@ public Builder mergeFrom(
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getStartTimesFieldBuilder()
-                      : null;
+              startTimesBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getStartTimesFieldBuilder() : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -904,44 +807,42 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.type.TimeOfDay m =
-                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
-                  if (startTimesBuilder_ == null) {
-                    ensureStartTimesIsMutable();
-                    startTimes_.add(m);
-                  } else {
-                    startTimesBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              case 16:
-                {
+              case 10: {
+                com.google.type.TimeOfDay m =
+                    input.readMessage(
+                        com.google.type.TimeOfDay.parser(),
+                        extensionRegistry);
+                if (startTimesBuilder_ == null) {
+                  ensureStartTimesIsMutable();
+                  startTimes_.add(m);
+                } else {
+                  startTimesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              case 16: {
+                int tmpRaw = input.readEnum();
+                ensureDaysOfWeekIsMutable();
+                daysOfWeek_.add(tmpRaw);
+                break;
+              } // case 16
+              case 18: {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while(input.getBytesUntilLimit() > 0) {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                  break;
-                } // case 16
-              case 18:
-                {
-                  int length = input.readRawVarint32();
-                  int oldLimit = input.pushLimit(length);
-                  while (input.getBytesUntilLimit() > 0) {
-                    int tmpRaw = input.readEnum();
-                    ensureDaysOfWeekIsMutable();
-                    daysOfWeek_.add(tmpRaw);
-                  }
-                  input.popLimit(oldLimit);
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                }
+                input.popLimit(oldLimit);
+                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) {
@@ -951,28 +852,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List startTimes_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
-          startTimesBuilder_;
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
 
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -991,8 +885,6 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1011,8 +903,6 @@ public int getStartTimesCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1031,8 +921,6 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1043,7 +931,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1057,8 +946,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1069,7 +956,8 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -1080,8 +968,6 @@ public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1106,8 +992,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1118,7 +1002,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1132,8 +1017,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1144,7 +1027,8 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1155,8 +1039,6 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1167,7 +1049,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue)
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(
+          int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1178,8 +1061,6 @@ public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builde
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1194,7 +1075,8 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1202,8 +1084,6 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1225,8 +1105,6 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1248,8 +1126,6 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1260,12 +1136,11 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
+          int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1276,16 +1151,14 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
+          int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);
-        } else {
+          return startTimes_.get(index);  } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1296,8 +1169,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List
-          getStartTimesOrBuilderList() {
+      public java.util.List 
+           getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1305,8 +1178,6 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1318,12 +1189,10 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder()
-            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder().addBuilder(
+            com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1334,13 +1203,12 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
-        return getStartTimesFieldBuilder()
-            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
+          int index) {
+        return getStartTimesFieldBuilder().addBuilder(
+            index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1351,29 +1219,27 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List getStartTimesBuilderList() {
+      public java.util.List 
+           getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay,
-              com.google.type.TimeOfDay.Builder,
-              com.google.type.TimeOfDayOrBuilder>
+          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.type.TimeOfDay,
-                  com.google.type.TimeOfDay.Builder,
-                  com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
-
+      private java.util.List daysOfWeek_ =
+        java.util.Collections.emptyList();
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1381,8 +1247,6 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1391,7 +1255,6 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1399,8 +1262,6 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1409,15 +1270,12 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1426,7 +1284,6 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1434,8 +1291,6 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1444,12 +1299,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1459,8 +1314,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1469,7 +1322,6 @@ public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1483,8 +1335,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1493,7 +1343,6 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1507,8 +1356,6 @@ public Builder addAllDaysOfWeek( return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1517,7 +1364,6 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1527,8 +1373,6 @@ public Builder clearDaysOfWeek() { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1537,15 +1381,13 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List getDaysOfWeekValueList() { + public java.util.List + getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1554,7 +1396,6 @@ public java.util.List getDaysOfWeekValueList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1562,8 +1403,6 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1572,20 +1411,18 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue(int index, int value) { + public Builder setDaysOfWeekValue( + int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1594,7 +1431,6 @@ public Builder setDaysOfWeekValue(int index, int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1605,8 +1441,6 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** - * - * *
        * The days of the week to perform a backup.
        *
@@ -1615,11 +1449,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; - * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue( + java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1627,7 +1461,6 @@ public Builder addAllDaysOfWeekValue(java.lang.Iterable value onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1640,44 +1473,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1689,44 +1519,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface TimeBasedRetentionOrBuilder - extends + public interface TimeBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
      * The retention period.
      * 
@@ -1736,8 +1557,6 @@ public interface TimeBasedRetentionOrBuilder com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** - * - * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1745,51 +1564,46 @@ public interface TimeBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class TimeBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private TimeBasedRetention() {}
+    private TimeBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class,
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder
-                  .class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
-     *
-     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1797,25 +1611,18 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** - * - * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
      * The retention period.
      * 
@@ -1824,13 +1631,10 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1842,7 +1646,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1856,7 +1661,8 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1866,18 +1672,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)) { + if (!(obj instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other = - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod() + .equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1899,101 +1704,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2003,8 +1797,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -2012,35 +1804,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class,
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder
-                    .class);
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {}
+      // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -2054,22 +1844,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
-          getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
-            .getDefaultInstance();
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result =
-            buildPartial();
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2077,23 +1864,19 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
-          buildPartial() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result =
-            new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ =
-              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ = retentionPeriodBuilder_ == null
+              ? retentionPeriod_
+              : retentionPeriodBuilder_.build();
         }
       }
 
@@ -2101,54 +1884,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom(
-              (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) other);
+        if (other instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) {
+          return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other
-            == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -2178,20 +1953,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getRetentionPeriodFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2201,52 +1975,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Duration,
-              com.google.protobuf.Duration.Builder,
-              com.google.protobuf.DurationOrBuilder>
-          retentionPeriodBuilder_;
+          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
       /**
-       *
-       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
        * The retention period.
        * 
@@ -2267,15 +2027,14 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod( + com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2286,8 +2045,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo return this; } /** - * - * *
        * The retention period.
        * 
@@ -2296,9 +2053,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && retentionPeriod_ != null - && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + retentionPeriod_ != null && + retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2311,8 +2068,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2330,8 +2085,6 @@ public Builder clearRetentionPeriod() { return this; } /** - * - * *
        * The retention period.
        * 
@@ -2344,8 +2097,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** - * - * *
        * The retention period.
        * 
@@ -2356,14 +2107,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } } /** - * - * *
        * The retention period.
        * 
@@ -2371,22 +2119,18 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), getParentForChildren(), isClean()); + retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), + getParentForChildren(), + isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2399,45 +2143,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2449,33 +2189,27 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QuantityBasedRetentionOrBuilder - extends + public interface QuantityBasedRetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ int getCount(); } /** - * - * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2483,51 +2217,46 @@ public interface QuantityBasedRetentionOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedRetention extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedRetention() {}
+    private QuantityBasedRetention() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class,
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder
-                  .class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
-     *
-     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2536,7 +2265,6 @@ public int getCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2548,7 +2276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2562,7 +2291,8 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2572,17 +2302,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other = - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() != other.getCount()) return false; + if (getCount() + != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2601,101 +2329,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2705,45 +2422,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
      * 
* - * Protobuf type {@code - * google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention} + * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder - .class); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.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(); @@ -2753,22 +2465,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention build() { - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = - buildPartial(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2776,19 +2485,14 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetent } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - buildPartial() { - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = - new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; @@ -2799,55 +2503,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) { - return mergeFrom( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) other); + if (other instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) { + return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other) { - if (other - == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other) { + if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this; if (other.getCount() != 0) { setCount(other.getCount()); } @@ -2877,19 +2572,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - count_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + count_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2899,19 +2592,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int count_; + private int count_ ; /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return The count. */ @java.lang.Override @@ -2919,14 +2608,11 @@ public int getCount() { return count_; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @param value The count to set. * @return This builder for chaining. */ @@ -2938,14 +2624,11 @@ public Builder setCount(int value) { return this; } /** - * - * *
        * The number of backups to retain.
        * 
* * int32 count = 1; - * * @return This builder for chaining. */ public Builder clearCount() { @@ -2954,7 +2637,6 @@ public Builder clearCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2967,46 +2649,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy - .QuantityBasedRetention - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3018,26 +2695,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int scheduleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schedule_; - public enum ScheduleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; - private ScheduleCase(int value) { this.value = value; } @@ -3053,38 +2726,32 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: - return WEEKLY_SCHEDULE; - case 0: - return SCHEDULE_NOT_SET; - default: - return null; + case 2: return WEEKLY_SCHEDULE; + case 0: return SCHEDULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ScheduleCase getScheduleCase() { - return ScheduleCase.forNumber(scheduleCase_); + public ScheduleCase + getScheduleCase() { + return ScheduleCase.forNumber( + scheduleCase_); } private int retentionCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object retention_; - public enum RetentionCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; - private RetentionCase(int value) { this.value = value; } @@ -3100,37 +2767,30 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: - return TIME_BASED_RETENTION; - case 5: - return QUANTITY_BASED_RETENTION; - case 0: - return RETENTION_NOT_SET; - default: - return null; + case 4: return TIME_BASED_RETENTION; + case 5: return QUANTITY_BASED_RETENTION; + case 0: return RETENTION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RetentionCase getRetentionCase() { - return RetentionCase.forNumber(retentionCase_); + public RetentionCase + getRetentionCase() { + return RetentionCase.forNumber( + retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3138,57 +2798,42 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -3196,60 +2841,42 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -3257,62 +2884,44 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -3320,15 +2929,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -3339,8 +2945,6 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3351,7 +2955,6 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -3359,8 +2962,6 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3371,18 +2972,13 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -3396,16 +2992,12 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : backupWindow_;
+    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_;
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3413,10 +3005,7 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3424,8 +3013,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3433,21 +3020,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3455,24 +3035,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3481,7 +3054,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
    * 
* * string location = 6; - * * @return The location. */ @java.lang.Override @@ -3490,15 +3062,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3507,15 +3078,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; - * * @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 { @@ -3524,34 +3096,32 @@ public com.google.protobuf.ByteString getLocationBytes() { } 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.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3559,21 +3129,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3585,8 +3154,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3594,19 +3161,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3614,11 +3179,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3626,7 +3191,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3638,32 +3202,32 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage( - 2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage(2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage(4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_); + output.writeMessage(5, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3677,45 +3241,41 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3725,32 +3285,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.cloud.alloydb.v1beta.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other = - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow().equals(other.getBackupWindow())) return false; + if (!getBackupWindow() + .equals(other.getBackupWindow())) 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 (!getLocation().equals(other.getLocation())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule() + .equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3758,10 +3323,12 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention() + .equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention() + .equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3779,7 +3346,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3821,104 +3389,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3928,52 +3490,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class,
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4008,9 +3573,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -4029,11 +3594,8 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result =
-          new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4047,12 +3609,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ =
-            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
+        result.backupWindow_ = backupWindowBuilder_ == null
+            ? backupWindow_
+            : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -4067,15 +3631,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 &&
+          weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 &&
+          timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 &&
+          quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -4084,39 +3651,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.AutomatedBackupP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4124,8 +3690,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -4140,34 +3705,30 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy o
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE:
-          {
-            mergeWeeklySchedule(other.getWeeklySchedule());
-            break;
-          }
-        case SCHEDULE_NOT_SET:
-          {
-            break;
-          }
+        case WEEKLY_SCHEDULE: {
+          mergeWeeklySchedule(other.getWeeklySchedule());
+          break;
+        }
+        case SCHEDULE_NOT_SET: {
+          break;
+        }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION:
-          {
-            mergeTimeBasedRetention(other.getTimeBasedRetention());
-            break;
-          }
-        case QUANTITY_BASED_RETENTION:
-          {
-            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-            break;
-          }
-        case RETENTION_NOT_SET:
-          {
-            break;
-          }
+        case TIME_BASED_RETENTION: {
+          mergeTimeBasedRetention(other.getTimeBasedRetention());
+          break;
+        }
+        case QUANTITY_BASED_RETENTION: {
+          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+          break;
+        }
+        case RETENTION_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4195,70 +3756,66 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
-                scheduleCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(
-                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
-                retentionCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getWeeklyScheduleFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              scheduleCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBackupWindowFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTimeBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              retentionCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4268,12 +3825,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-
-    public ScheduleCase getScheduleCase() {
-      return ScheduleCase.forNumber(scheduleCase_);
+    public ScheduleCase
+        getScheduleCase() {
+      return ScheduleCase.forNumber(
+          scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -4285,9 +3842,10 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-
-    public RetentionCase getRetentionCase() {
-      return RetentionCase.forNumber(retentionCase_);
+    public RetentionCase
+        getRetentionCase() {
+      return RetentionCase.forNumber(
+          retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -4300,20 +3858,13 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule,
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder,
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
-        weeklyScheduleBuilder_;
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
     /**
-     *
-     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -4321,46 +3872,35 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - getWeeklySchedule() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4374,18 +3914,14 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { if (weeklyScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -4396,28 +3932,18 @@ public Builder setWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public Builder mergeWeeklySchedule( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 - && schedule_ - != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance()) { - schedule_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) - schedule_) - .mergeFrom(value) - .buildPartial(); + if (scheduleCase_ == 2 && + schedule_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { + schedule_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_) + .mergeFrom(value).buildPartial(); } else { schedule_ = value; } @@ -4433,14 +3959,11 @@ public Builder mergeWeeklySchedule( return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -4459,68 +3982,49 @@ public Builder clearWeeklySchedule() { return this; } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder - getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } } /** - * - * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule - .getDefaultInstance(); + schedule_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } - weeklyScheduleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4532,21 +4036,13 @@ public Builder clearWeeklySchedule() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> - timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4554,49 +4050,35 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - getTimeBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4610,19 +4092,14 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4633,29 +4110,18 @@ public Builder setTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public Builder mergeTimeBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 - && retention_ - != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 4 && + retention_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4671,15 +4137,11 @@ public Builder mergeTimeBasedRetention( return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4698,74 +4160,50 @@ public Builder clearTimeBasedRetention() { return this; } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder - getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Time-based Backup retention policy.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); } - timeBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - retention_, + timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4776,21 +4214,13 @@ public Builder clearTimeBasedRetention() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> - quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4798,49 +4228,35 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4854,19 +4270,14 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4877,30 +4288,18 @@ public Builder setQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public Builder mergeQuantityBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 - && retention_ - != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance()) { - retention_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .newBuilder( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_) - .mergeFrom(value) - .buildPartial(); + if (retentionCase_ == 5 && + retention_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { + retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_) + .mergeFrom(value).buildPartial(); } else { retention_ = value; } @@ -4916,15 +4315,11 @@ public Builder mergeQuantityBasedRetention( return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4943,76 +4338,50 @@ public Builder clearQuantityBasedRetention() { return this; } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder - getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } } /** - * - * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .getDefaultInstance(); + retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); } - quantityBasedRetentionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - .Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy - .QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - retention_, + quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_, getParentForChildren(), isClean()); retention_ = null; @@ -5022,17 +4391,14 @@ public Builder clearQuantityBasedRetention() { return quantityBasedRetentionBuilder_; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -5040,15 +4406,12 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -5056,15 +4419,12 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -5076,15 +4436,12 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -5096,13 +4453,8 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - backupWindowBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5113,15 +4465,12 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5132,21 +4481,16 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : backupWindow_; + return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** - * - * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5172,8 +4516,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5185,7 +4527,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -5196,8 +4539,6 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5211,9 +4552,9 @@ public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForVa
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && backupWindow_ != null
-            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          backupWindow_ != null &&
+          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -5226,8 +4567,6 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5250,8 +4589,6 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5269,8 +4606,6 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5286,14 +4621,11 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : backupWindow_;
+        return backupWindow_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
       }
     }
     /**
-     *
-     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -5306,17 +4638,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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> 
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(), getParentForChildren(), isClean());
+        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(),
+                getParentForChildren(),
+                isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -5324,13 +4653,8 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.EncryptionConfig,
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>
-        encryptionConfigBuilder_;
+        com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5338,18 +4662,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5357,24 +4676,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5382,9 +4694,7 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -5400,8 +4710,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5409,9 +4717,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -5425,8 +4731,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5434,16 +4738,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5456,8 +4757,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5465,9 +4764,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5480,8 +4777,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5489,9 +4784,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -5499,8 +4792,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5508,23 +4799,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -5532,22 +4817,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5555,8 +4835,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon private java.lang.Object location_ = ""; /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5565,13 +4843,13 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * 
* * string location = 6; - * * @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; @@ -5580,8 +4858,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5590,14 +4866,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; - * * @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 { @@ -5605,8 +4882,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5615,22 +4890,18 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 6; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5639,7 +4910,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 6; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -5649,8 +4919,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -5659,14 +4927,12 @@ public Builder clearLocation() {
      * 
* * string location = 6; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -5674,19 +4940,21 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -5695,13 +4963,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5709,21 +4974,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5735,8 +4999,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5744,19 +5006,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5764,81 +5024,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5848,12 +5106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(); } @@ -5862,27 +5120,27 @@ public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5897,4 +5155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java index 3f26666dc039..0ae6ca95d023 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java @@ -1,182 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface AutomatedBackupPolicyOrBuilder - extends +public interface AutomatedBackupPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; * @return The weeklySchedule. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** - * - * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder - getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** - * - * *
    * Time-based Backup retention policy.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder - getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention - getQuantityBasedRetention(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); /** - * - * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; - * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder - getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -187,13 +120,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -204,13 +134,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * .google.protobuf.Duration backup_window = 3; - * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** - * - * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -225,8 +152,6 @@ public interface AutomatedBackupPolicyOrBuilder
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -234,16 +159,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -251,16 +171,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -268,15 +183,11 @@ public interface AutomatedBackupPolicyOrBuilder
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -285,13 +196,10 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -300,14 +208,12 @@ public interface AutomatedBackupPolicyOrBuilder
    * 
* * string location = 6; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -316,31 +222,30 @@ public interface AutomatedBackupPolicyOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -348,20 +253,19 @@ public interface AutomatedBackupPolicyOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java index 0cc4460be61c..b02db1d6d380 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Backup() { name_ = ""; displayName_ = ""; @@ -52,51 +34,48 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Backup.class, - com.google.cloud.alloydb.v1beta.Backup.Builder.class); + com.google.cloud.alloydb.v1beta.Backup.class, com.google.cloud.alloydb.v1beta.Backup.Builder.class); } /** - * - * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The backup is ready.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The backup is creating.
      * 
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(2), /** - * - * *
      * The backup failed.
      * 
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The backup is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the backup is unknown.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The backup is ready.
      * 
@@ -168,8 +135,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The backup is creating.
      * 
@@ -178,8 +143,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 2; /** - * - * *
      * The backup failed.
      * 
@@ -188,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The backup is being deleted.
      * 
@@ -198,6 +159,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -222,53 +184,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return CREATING; - case 3: - return FAILED; - case 4: - return DELETING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return CREATING; + case 3: return FAILED; + case 4: return DELETING; + 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.cloud.alloydb.v1beta.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; @@ -286,18 +246,15 @@ private State(int value) { } /** - * - * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Backup.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Backup Type is unknown.
      * 
@@ -306,8 +263,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -317,8 +272,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     ON_DEMAND(1),
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -328,8 +281,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     AUTOMATED(2),
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -342,8 +293,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Backup Type is unknown.
      * 
@@ -352,8 +301,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -363,8 +310,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
-     *
-     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -374,8 +319,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
-     *
-     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -385,6 +328,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CONTINUOUS_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -409,51 +353,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return ON_DEMAND;
-        case 2:
-          return AUTOMATED;
-        case 3:
-          return CONTINUOUS;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return ON_DEMAND;
+        case 2: return AUTOMATED;
+        case 3: return CONTINUOUS;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.v1beta.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -470,14 +413,11 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder
-      extends
+  public interface QuantityBasedExpiryOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -485,28 +425,22 @@ public interface QuantityBasedExpiryOrBuilder
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ int getRetentionCount(); /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** - * - * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -524,44 +458,41 @@ public interface QuantityBasedExpiryOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class QuantityBasedExpiry extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private QuantityBasedExpiry() {}
+    private QuantityBasedExpiry() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class,
-              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -569,7 +500,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -580,15 +510,12 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** - * - * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -597,7 +524,6 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,7 +535,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -626,10 +553,12 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -639,16 +568,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.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other = - (com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() != other.getRetentionCount()) return false; - if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; + if (getRetentionCount() + != other.getRetentionCount()) return false; + if (getTotalRetentionCount() + != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -670,94 +600,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -767,8 +692,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -786,33 +709,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class,
-                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -823,14 +746,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry
-          getDefaultInstanceForType() {
+      public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInstanceForType() {
         return com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance();
       }
 
@@ -845,17 +767,13 @@ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result =
-            new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result) {
+      private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.retentionCount_ = retentionCount_;
@@ -869,41 +787,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -911,9 +826,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other) {
-        if (other
-            == com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -946,25 +859,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  retentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 16:
-                {
-                  totalRetentionCount_ = input.readInt32();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                retentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 16: {
+                totalRetentionCount_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -974,13 +884,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int retentionCount_;
+      private int retentionCount_ ;
       /**
-       *
-       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -988,7 +895,6 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retentionCount. */ @java.lang.Override @@ -996,8 +902,6 @@ public int getRetentionCount() { return retentionCount_; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1005,7 +909,6 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -1017,8 +920,6 @@ public Builder setRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -1026,7 +927,6 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -1036,17 +936,14 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_; + private int totalRetentionCount_ ; /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The totalRetentionCount. */ @java.lang.Override @@ -1054,15 +951,12 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -1074,15 +968,12 @@ public Builder setTotalRetentionCount(int value) { return this; } /** - * - * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -1091,7 +982,6 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1104,13 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) - private static final com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(); } @@ -1119,28 +1008,27 @@ public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,15 +1043,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1177,7 +1063,6 @@ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInst
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1186,15 +1071,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1208,15 +1092,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1225,18 +1110,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -1245,29 +1126,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; } } /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1276,19 +1157,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -1297,30 +1174,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -1331,15 +1208,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1347,15 +1220,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1363,14 +1232,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1380,15 +1246,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1396,15 +1258,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -1412,14 +1270,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1429,15 +1284,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1445,15 +1296,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -1461,14 +1308,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1476,34 +1320,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1511,21 +1353,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1537,8 +1378,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1546,19 +1385,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -1566,11 +1403,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @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(); } @@ -1580,90 +1417,64 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Backup.State getState() { - com.google.cloud.alloydb.v1beta.Backup.State result = - com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.State getState() { + com.google.cloud.alloydb.v1beta.Backup.State result = com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Backup.Type getType() { - com.google.cloud.alloydb.v1beta.Backup.Type result = - com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.Type getType() { + com.google.cloud.alloydb.v1beta.Backup.Type result = com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ @java.lang.Override @@ -1672,29 +1483,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; } } /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @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 { @@ -1703,19 +1514,15 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; - @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ @java.lang.Override @@ -1724,30 +1531,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1756,21 +1563,15 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ @java.lang.Override @@ -1779,32 +1580,30 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1815,8 +1614,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1825,7 +1622,6 @@ public com.google.protobuf.ByteString getClusterNameBytes() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1836,8 +1632,6 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1845,10 +1639,7 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1856,8 +1647,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1865,21 +1654,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1887,30 +1669,21 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1918,55 +1691,38 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ @java.lang.Override @@ -1975,29 +1731,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @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 { @@ -2006,35 +1762,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2044,21 +1797,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2072,8 +1824,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2083,19 +1833,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -2105,11 +1853,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -2119,14 +1867,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2137,17 +1882,13 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -2155,17 +1896,13 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ @java.lang.Override @@ -2173,16 +1910,13 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -2192,18 +1926,13 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiryQuantity_; /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -2211,92 +1940,64 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = - com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2308,7 +2009,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2324,8 +2026,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (state_ != com.google.cloud.alloydb.v1beta.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2353,8 +2059,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2367,9 +2077,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (expiryQuantity_ != null) { output.writeMessage(20, getExpiryQuantity()); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2391,26 +2099,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1beta.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1beta.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2419,46 +2131,52 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getExpiryQuantity()); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2468,53 +2186,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Backup other = (com.google.cloud.alloydb.v1beta.Backup) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getClusterUid().equals(other.getClusterUid())) return false; - if (!getClusterName().equals(other.getClusterName())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getClusterUid() + .equals(other.getClusterUid())) return false; + if (!getClusterName() + .equals(other.getClusterName())) return false; + if (getReconciling() + != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; - } - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; + } + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime().equals(other.getExpiryTime())) return false; + if (!getExpiryTime() + .equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity() + .equals(other.getExpiryQuantity())) return false; } if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -2561,7 +2297,8 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2577,7 +2314,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2593,160 +2331,158 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup) com.google.cloud.alloydb.v1beta.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Backup.class, - com.google.cloud.alloydb.v1beta.Backup.Builder.class); + com.google.cloud.alloydb.v1beta.Backup.class, com.google.cloud.alloydb.v1beta.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -2804,9 +2540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; } @java.lang.Override @@ -2825,11 +2561,8 @@ public com.google.cloud.alloydb.v1beta.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup buildPartial() { - com.google.cloud.alloydb.v1beta.Backup result = - new com.google.cloud.alloydb.v1beta.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Backup result = new com.google.cloud.alloydb.v1beta.Backup(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2846,13 +2579,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null + ? deleteTime_ + : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2877,12 +2616,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = - encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = encryptionConfigBuilder_ == null + ? encryptionConfig_ + : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2895,11 +2636,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null + ? expiryTime_ + : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = - expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = expiryQuantityBuilder_ == null + ? expiryQuantity_ + : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.databaseVersion_ = databaseVersion_; @@ -2910,39 +2654,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Backup) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Backup)other); } else { super.mergeFrom(other); return this; @@ -2975,7 +2718,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -3012,7 +2756,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -3052,152 +2797,139 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: - { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: - { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: - { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: - { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: - { - input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: - { - input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 176: - { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00100000; - break; - } // case 176 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: { + input.readMessage( + getExpiryTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: { + input.readMessage( + getExpiryQuantityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 176: { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00100000; + break; + } // case 176 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3207,13 +2939,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3227,13 +2956,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -3242,8 +2971,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3257,14 +2984,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3272,8 +3000,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3287,22 +3013,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3316,7 +3038,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3326,8 +3047,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3341,14 +3060,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3358,20 +3075,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3380,21 +3095,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3402,35 +3116,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3440,21 +3147,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3464,21 +3167,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3487,22 +3188,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3510,37 +3210,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -3550,22 +3243,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3575,58 +3264,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -3642,17 +3312,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3663,21 +3330,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3690,15 +3353,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3711,15 +3370,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3727,48 +3382,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -3776,58 +3419,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3843,17 +3467,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3864,21 +3485,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3891,15 +3508,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3912,15 +3525,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3928,48 +3537,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -3977,58 +3574,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -4044,17 +3622,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -4065,21 +3640,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -4092,15 +3663,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4113,15 +3680,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -4129,66 +3692,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4197,13 +3750,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4211,21 +3761,20 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4237,8 +3786,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4246,19 +3793,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -4266,108 +3811,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4378,35 +3910,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.State getState() { - com.google.cloud.alloydb.v1beta.Backup.State result = - com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Backup.State result = com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4420,16 +3941,11 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4441,29 +3957,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4474,31 +3983,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.Type getType() { - com.google.cloud.alloydb.v1beta.Backup.Type result = - com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1beta.Backup.Type result = com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.Type.UNRECOGNIZED : result; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @param value The type to set. * @return This builder for chaining. */ @@ -4512,14 +4014,11 @@ public Builder setType(com.google.cloud.alloydb.v1beta.Backup.Type value) { return this; } /** - * - * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @return This builder for chaining. */ public Builder clearType() { @@ -4531,20 +4030,18 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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; @@ -4553,21 +4050,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @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 { @@ -4575,35 +4071,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4613,21 +4102,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * User-provided description of the backup.
      * 
* * string description = 9; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4637,21 +4122,19 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4660,22 +4143,21 @@ public java.lang.String getClusterUid() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString getClusterUidBytes() { + public com.google.protobuf.ByteString + getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4683,37 +4165,30 @@ public com.google.protobuf.ByteString getClusterUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4723,22 +4198,18 @@ public Builder clearClusterUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4748,23 +4219,19 @@ public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterName_ = ""; /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4773,24 +4240,21 @@ public java.lang.String getClusterName() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString getClusterNameBytes() { + public com.google.protobuf.ByteString + getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4798,41 +4262,30 @@ public com.google.protobuf.ByteString getClusterNameBytes() { } } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4842,24 +4295,18 @@ public Builder clearClusterName() { return this; } /** - * - * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4867,10 +4314,8 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4879,7 +4324,6 @@ public Builder setClusterNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4887,8 +4331,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4897,7 +4339,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4909,8 +4350,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4919,7 +4358,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4931,13 +4369,8 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4945,18 +4378,13 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4964,24 +4392,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4989,9 +4410,7 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -5007,8 +4426,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5016,9 +4433,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -5032,8 +4447,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5041,16 +4454,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -5063,8 +4473,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5072,9 +4480,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -5087,8 +4493,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5096,9 +4500,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -5106,8 +4508,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5115,23 +4515,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -5139,22 +4533,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -5162,58 +4551,39 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -5229,15 +4599,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -5251,22 +4617,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -5279,15 +4640,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -5300,15 +4657,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -5316,48 +4669,36 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -5365,20 +4706,18 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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; @@ -5387,21 +4726,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @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 { @@ -5409,35 +4747,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -5447,21 +4778,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -5469,8 +4796,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -5479,12 +4806,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -5493,13 +4819,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5509,21 +4832,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5537,8 +4859,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5548,19 +4868,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5570,25 +4888,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5597,22 +4913,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5621,20 +4938,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -5643,22 +4957,21 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_;
+    private long sizeBytes_ ;
     /**
-     *
-     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -5666,14 +4979,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -5685,14 +4995,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5704,64 +5011,45 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expiryTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5777,19 +5065,16 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5800,23 +5085,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) - && expiryTime_ != null - && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) && + expiryTime_ != null && + expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5829,17 +5110,13 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5852,17 +5129,13 @@ public Builder clearExpiryTime() { return this; } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5870,52 +5143,40 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expiryTime_; + return expiryTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } } /** - * - * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), getParentForChildren(), isClean()); + expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), + getParentForChildren(), + isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5923,67 +5184,47 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> - expiryQuantityBuilder_; + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpiryQuantity( - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { + public Builder setExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5997,17 +5238,13 @@ public Builder setExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -6021,26 +5258,19 @@ public Builder setExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeExpiryQuantity( - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && expiryQuantity_ != null - && expiryQuantity_ - != com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry - .getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + expiryQuantity_ != null && + expiryQuantity_ != com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -6053,17 +5283,13 @@ public Builder mergeExpiryQuantity( return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -6076,72 +5302,54 @@ public Builder clearExpiryQuantity() { return this; } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder - getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder - getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null - ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() - : expiryQuantity_; + return expiryQuantity_ == null ? + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; } } /** - * - * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), getParentForChildren(), isClean()); + expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), + getParentForChildren(), + isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; @@ -6149,37 +5357,26 @@ public Builder clearExpiryQuantity() { private int databaseVersion_ = 0; /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6190,39 +5387,28 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = - com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6236,18 +5422,13 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio return this; } /** - * - * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6256,9 +5437,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6268,12 +5449,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Backup) private static final com.google.cloud.alloydb.v1beta.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Backup(); } @@ -6282,27 +5463,27 @@ public static com.google.cloud.alloydb.v1beta.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; @@ -6317,4 +5498,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java index d4d2f3bd8cbf..bff00e30a246 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -39,13 +21,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -59,180 +38,135 @@ public interface BackupOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface BackupOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,161 +206,123 @@ public interface BackupOrBuilder * map<string, string> labels = 6; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1beta.Backup.State getState(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; - * * @return The type. */ com.google.cloud.alloydb.v1beta.Backup.Type getType(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the backup.
    * 
* * string description = 9; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The clusterUid. */ java.lang.String getClusterUid(); /** - * - * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString getClusterUidBytes(); + com.google.protobuf.ByteString + getClusterUidBytes(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The clusterName. */ java.lang.String getClusterName(); /** - * - * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for clusterName. */ - com.google.protobuf.ByteString getClusterNameBytes(); + com.google.protobuf.ByteString + getClusterNameBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -436,14 +331,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -451,16 +343,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -468,16 +355,11 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -485,81 +367,58 @@ java.lang.String getLabelsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -570,8 +429,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -580,13 +437,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -595,10 +454,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -608,13 +466,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -623,141 +479,104 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** - * - * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expiryQuantity. */ com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity(); /** - * - * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java index db377c3742bc..dc7e7f643a72 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BackupSource} */ -public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BackupSource) BackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -44,32 +26,28 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BackupSource.class, - com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.BackupSource.class, com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -102,15 +78,16 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -119,21 +96,15 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ @java.lang.Override @@ -142,32 +113,30 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.BackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BackupSource other = - (com.google.cloud.alloydb.v1beta.BackupSource) obj; + com.google.cloud.alloydb.v1beta.BackupSource other = (com.google.cloud.alloydb.v1beta.BackupSource) obj; - if (!getBackupUid().equals(other.getBackupUid())) return false; - if (!getBackupName().equals(other.getBackupName())) return false; + if (!getBackupUid() + .equals(other.getBackupUid())) return false; + if (!getBackupName() + .equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BackupSource) com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BackupSource.class, - com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.BackupSource.class, com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.cloud.alloydb.v1beta.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource buildPartial() { - com.google.cloud.alloydb.v1beta.BackupSource result = - new com.google.cloud.alloydb.v1beta.BackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.BackupSource result = new com.google.cloud.alloydb.v1beta.BackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BackupSource result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BackupSource)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backupUid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -551,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -566,8 +522,6 @@ public java.lang.String getBackupUid() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -575,14 +529,15 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString getBackupUidBytes() { + public com.google.protobuf.ByteString + getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupUid_ = b; return b; } else { @@ -590,8 +545,6 @@ public com.google.protobuf.ByteString getBackupUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -599,22 +552,18 @@ public com.google.protobuf.ByteString getBackupUidBytes() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -622,7 +571,6 @@ public Builder setBackupUid(java.lang.String value) {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -632,8 +580,6 @@ public Builder clearBackupUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -641,14 +587,12 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -658,23 +602,19 @@ public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupName_ = ""; /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -683,24 +623,21 @@ public java.lang.String getBackupName() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - public com.google.protobuf.ByteString getBackupNameBytes() { + public com.google.protobuf.ByteString + getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupName_ = b; return b; } else { @@ -708,41 +645,30 @@ public com.google.protobuf.ByteString getBackupNameBytes() { } } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearBackupName() { @@ -752,33 +678,27 @@ public Builder clearBackupName() { return this; } /** - * - * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BackupSource) private static final com.google.cloud.alloydb.v1beta.BackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BackupSource(); } @@ -802,27 +722,27 @@ public static com.google.cloud.alloydb.v1beta.BackupSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java similarity index 57% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java index bafca8a0e189..727ebedc24df 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface BackupSourceOrBuilder - extends +public interface BackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -33,13 +15,10 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backupUid. */ java.lang.String getBackupUid(); /** - * - * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -47,39 +26,30 @@ public interface BackupSourceOrBuilder
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString getBackupUidBytes(); + com.google.protobuf.ByteString + getBackupUidBytes(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The backupName. */ java.lang.String getBackupName(); /** - * - * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for backupName. */ - com.google.protobuf.ByteString getBackupNameBytes(); + com.google.protobuf.ByteString + getBackupNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java index a2206d3c73f2..f733b6cefabb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -41,16 +24,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstanceStatus extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -59,28 +41,25 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class,
-            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -89,10 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -101,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -112,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PENDING_CREATE(1),
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -122,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * The instance is being created.
      * 
@@ -132,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -142,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -153,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(5),
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -167,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance is unknown.
      * 
@@ -177,8 +141,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -188,8 +150,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is active and running.
      * 
@@ -198,8 +158,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -208,8 +166,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -218,8 +174,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -229,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 5;
     /**
-     *
-     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -240,6 +192,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -264,59 +217,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return PENDING_CREATE;
-        case 2:
-          return READY;
-        case 3:
-          return CREATING;
-        case 4:
-          return DELETING;
-        case 5:
-          return FAILED;
-        case 6:
-          return ROLLED_BACK;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return PENDING_CREATE;
+        case 2: return READY;
+        case 3: return CREATING;
+        case 4: return DELETING;
+        case 5: return FAILED;
+        case 6: return ROLLED_BACK;
+        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.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.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;
@@ -336,8 +283,6 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -350,16 +295,12 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -372,32 +313,23 @@ public int getStateValue() {
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ @java.lang.Override @@ -406,30 +338,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -440,15 +372,12 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ @java.lang.Override @@ -456,15 +385,12 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ @java.lang.Override @@ -472,8 +398,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -490,29 +414,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override
-  public int getTypeValue() {
+  @java.lang.Override public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
-  @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1beta.Instance.InstanceType result =
-        com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
-    return result == null
-        ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED
-        : result;
+  @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
+    return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,18 +440,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (state_
-        != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (state_ != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (type_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -550,21 +463,20 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_
-        != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+    if (state_ != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_
-        != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
+    if (type_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -574,19 +486,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.cloud.alloydb.v1beta.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other =
-        (com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg()
+        .equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError().equals(other.getError())) return false;
+      if (!getError()
+          .equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -616,104 +529,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus prototype) {
+  public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -734,32 +641,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class,
-              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -776,9 +684,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -797,11 +705,8 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus result =
-          new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -815,7 +720,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstanceSt
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null
+            ? error_
+            : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -826,39 +733,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstanceSt
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -866,8 +772,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -908,37 +813,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                errorMsg_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              errorMsg_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getErrorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -948,13 +850,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -967,16 +866,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -989,7 +884,6 @@ public int getStateValue() {
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1000,8 +894,6 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1014,20 +906,14 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null - ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1040,7 +926,6 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState(
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1054,8 +939,6 @@ public Builder setState(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatu return this; } /** - * - * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -1068,7 +951,6 @@ public Builder setState(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatu
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1080,21 +962,19 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -1103,22 +983,21 @@ public java.lang.String getErrorMsg() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString getErrorMsgBytes() { + public com.google.protobuf.ByteString + getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1126,37 +1005,30 @@ public com.google.protobuf.ByteString getErrorMsgBytes() { } } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsg( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1166,22 +1038,18 @@ public Builder clearErrorMsg() { return this; } /** - * - * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; - * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1191,33 +1059,26 @@ public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -1228,8 +1089,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1251,8 +1110,6 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1260,7 +1117,8 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(
+        com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1271,8 +1129,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1282,9 +1138,9 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && error_ != null
-            && error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          error_ != null &&
+          error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1297,8 +1153,6 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1317,8 +1171,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1332,8 +1184,6 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1345,12 +1195,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ?
+            com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
-     *
-     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1359,14 +1208,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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> 
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.rpc.Status,
-                com.google.rpc.Status.Builder,
-                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
+        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                getError(),
+                getParentForChildren(),
+                isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1375,16 +1224,13 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override
-    public int getTypeValue() {
+    @java.lang.Override public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1396,20 +1242,15 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1beta.Instance.InstanceType result =
-          com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
-      return result == null
-          ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED
-          : result;
+      com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
+      return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result;
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1424,7 +1265,6 @@ public Builder setType(com.google.cloud.alloydb.v1beta.Instance.InstanceType val
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1433,9 +1273,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1445,12 +1285,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus();
   }
@@ -1459,27 +1299,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCreateInstanceStatus parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCreateInstanceStatus parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1494,4 +1334,6 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
similarity index 80%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
index bf73c8baf34a..d27c3feb907b 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
-public interface BatchCreateInstanceStatusOrBuilder
-    extends
+public interface BatchCreateInstanceStatusOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -38,13 +20,10 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -57,67 +36,53 @@ public interface BatchCreateInstanceStatusOrBuilder
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; - * * @return The state. */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** - * - * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; - * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString getErrorMsgBytes(); + com.google.protobuf.ByteString + getErrorMsgBytes(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -129,13 +94,11 @@ public interface BatchCreateInstanceStatusOrBuilder
 
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
-   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1beta.Instance.InstanceType getType();
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
similarity index 63%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
index 8efed805e02b..65d0c5d2de06 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
- *
- *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -28,60 +11,57 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class BatchCreateInstancesMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class,
-            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -90,15 +70,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { return instanceTargets_; } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -107,15 +85,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -124,7 +99,6 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -132,8 +106,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -142,53 +114,41 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; - private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -198,27 +158,23 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -228,18 +184,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -249,26 +200,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -278,16 +223,12 @@ public boolean containsInstanceStatuses(java.lang.String key) {
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -297,7 +238,6 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,12 +249,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 { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetInstanceStatuses(), + InstanceStatusesDefaultEntryHolder.defaultEntry, + 2); getUnknownFields().writeTo(output); } @@ -332,18 +277,15 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - entry : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - instanceStatuses__ = - InstanceStatusesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry entry + : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry + instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -353,16 +295,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.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other = - (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList() + .equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals( + other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,104 +331,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -493,70 +430,73 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class,
-              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata
-        getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance();
     }
 
@@ -571,17 +511,13 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result =
-          new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result) {
+    private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         instanceTargets_.makeImmutable();
@@ -597,39 +533,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -637,9 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other) {
-      if (other
-          == com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -650,7 +583,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMet
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(
+          other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -678,34 +612,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureInstanceTargetsIsMutable();
-                instanceTargets_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus>
-                    instanceStatuses__ =
-                        input.readMessage(
-                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableInstanceStatuses()
-                    .getMutableMap()
-                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureInstanceTargetsIsMutable();
+              instanceTargets_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              instanceStatuses__ = input.readMessage(
+                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableInstanceStatuses().getMutableMap().put(
+                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -715,12 +642,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -728,8 +653,6 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -738,16 +661,14 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList + getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -756,15 +677,12 @@ public com.google.protobuf.ProtocolStringList getInstanceTargetsList() {
      * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -773,7 +691,6 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -781,8 +698,6 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -791,16 +706,14 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -809,15 +722,13 @@ public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) {
      * 
* * repeated string instance_targets = 1; - * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceTargets( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -825,8 +736,6 @@ public Builder setInstanceTargets(int index, java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -835,14 +744,12 @@ public Builder setInstanceTargets(int index, java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargets( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -850,8 +757,6 @@ public Builder addInstanceTargets(java.lang.String value) { return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -860,20 +765,19 @@ public Builder addInstanceTargets(java.lang.String value) {
      * 
* * repeated string instance_targets = 1; - * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets(java.lang.Iterable values) { + public Builder addAllInstanceTargets( + java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -882,19 +786,16 @@ public Builder addAllInstanceTargets(java.lang.Iterable values
      * 
* * repeated string instance_targets = 1; - * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + instanceTargets_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -903,14 +804,12 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; - * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addInstanceTargetsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -920,11 +819,8 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - instanceStatuses_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instanceStatuses_; + private com.google.protobuf.MapField internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -932,14 +828,11 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { } return instanceStatuses_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + private com.google.protobuf.MapField internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = - com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -948,13 +841,10 @@ public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { onChanged(); return instanceStatuses_; } - public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -964,28 +854,23 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public boolean containsInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** Use {@link #getInstanceStatusesMap()} instead. */ + /** + * Use {@link #getInstanceStatusesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - getInstanceStatuses() { + public java.util.Map getInstanceStatuses() { return getInstanceStatusesMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -995,19 +880,13 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> - getInstanceStatusesMap() { + public java.util.Map getInstanceStatusesMap() { return internalGetInstanceStatuses().getMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1017,26 +896,20 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override - public /* nullable */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus - getInstanceStatusesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + public /* nullable */ +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1046,32 +919,26 @@ public boolean containsInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetInstanceStatuses().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap().clear(); + internalGetMutableInstanceStatuses().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1081,28 +948,25 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ - public Builder removeInstanceStatuses(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableInstanceStatuses().getMutableMap().remove(key); + public Builder removeInstanceStatuses( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableInstanceStatuses().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + public java.util.Map getMutableInstanceStatuses() { bitField0_ |= 0x00000002; return internalGetMutableInstanceStatuses().getMutableMap(); } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1112,25 +976,19 @@ public Builder removeInstanceStatuses(java.lang.String key) {
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putInstanceStatuses( - java.lang.String key, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableInstanceStatuses().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableInstanceStatuses().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -1140,20 +998,18 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ public Builder putAllInstanceStatuses( - java.util.Map - values) { - internalGetMutableInstanceStatuses().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableInstanceStatuses().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } - @java.lang.Override - 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,13 +1019,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) - private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(); } @@ -1178,27 +1033,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1068,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java index d11ba650ddb8..2bff567ece76 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesMetadataOrBuilder - extends +public interface BatchCreateInstancesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -34,13 +16,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return A list containing the instanceTargets. */ - java.util.List getInstanceTargetsList(); + java.util.List + getInstanceTargetsList(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -49,13 +29,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -64,14 +41,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** - * - * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -80,15 +54,13 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * 
* * repeated string instance_targets = 1; - * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString + getInstanceTargetsBytes(int index); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -98,14 +70,10 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ int getInstanceStatusesCount(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -115,18 +83,17 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + */ + boolean containsInstanceStatuses( + java.lang.String key); + /** + * Use {@link #getInstanceStatusesMap()} instead. */ - boolean containsInstanceStatuses(java.lang.String key); - /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -136,15 +103,11 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -154,18 +117,14 @@ public interface BatchCreateInstancesMetadataOrBuilder
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ /* nullable */ - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue); +com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue); /** - * - * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -175,9 +134,7 @@ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrD
    * For the format, see the comment on the Instance.name field.
    * 
* - * - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java index e3cf236be02f..bf0b6e69a517 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -44,40 +26,33 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 @@ -86,31 +61,29 @@ 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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,16 +94,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.CreateInstanceRequests requests_; /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ @java.lang.Override @@ -138,49 +106,33 @@ public boolean hasRequests() { return requests_ != null; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests() { - return requests_ == null - ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; } /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null - ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,7 +150,6 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -207,15 +158,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,15 +183,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,7 +201,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +236,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -298,20 +250,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.cloud.alloydb.v1beta.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other = - (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests().equals(other.getRequests())) return false; + if (!getRequests() + .equals(other.getRequests())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -337,136 +291,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override @@ -503,11 +452,8 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest result = - new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -518,7 +464,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null + ? requests_ + : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -529,39 +477,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -569,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -610,31 +556,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,27 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -673,23 +612,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -697,39 +633,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string 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() { @@ -739,23 +664,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -765,58 +684,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> - requestsBuilder_; + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> requestsBuilder_; /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null - ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; } else { return requestsBuilder_.getMessage(); } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -832,15 +732,11 @@ public Builder setRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequest return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequests( com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder builderForValue) { @@ -854,22 +750,17 @@ public Builder setRequests( return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requests_ != null - && requests_ - != com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requests_ != null && + requests_ != com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -882,15 +773,11 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1beta.CreateInstanceReque return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -903,15 +790,11 @@ public Builder clearRequests() { return this; } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -919,48 +802,36 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder getRequest return getRequestsFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null - ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() - : requests_; + return requests_ == null ? + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; } } /** - * - * *
      * Required. Resources being created.
      * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder>( - getRequests(), getParentForChildren(), isClean()); + requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder>( + getRequests(), + getParentForChildren(), + isClean()); requests_ = null; } return requestsBuilder_; @@ -968,8 +839,6 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -987,13 +856,13 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1002,8 +871,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1021,14 +888,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1036,8 +904,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1055,22 +921,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1088,7 +950,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1098,8 +959,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1117,23 +976,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1143,12 +1000,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(); } @@ -1157,27 +1014,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1192,4 +1049,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java index e48f2ce68351..463ebd4eb5f3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java @@ -1,101 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesRequestOrBuilder - extends +public interface BatchCreateInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource.
    * 
* - * - * string parent = 1 [(.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 parent resource.
    * 
* - * - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the requests field is set. */ boolean hasRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The requests. */ com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests(); /** - * - * *
    * Required. Resources being created.
    * 
* - * - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,13 +72,10 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -137,8 +93,8 @@ public interface BatchCreateInstancesRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java index 4432b78a2aa2..c7a7b779e45a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCreateInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * Created instances.
    * 
@@ -80,8 +58,6 @@ public java.util.List getInstancesList return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -89,13 +65,11 @@ public java.util.List getInstancesList * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * Created instances.
    * 
@@ -107,8 +81,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * Created instances.
    * 
@@ -120,8 +92,6 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * Created instances.
    * 
@@ -129,12 +99,12 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,7 +116,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -160,7 +131,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -170,15 +142,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.cloud.alloydb.v1beta.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other = - (com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,136 +172,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -345,14 +312,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance(); } @@ -367,18 +333,14 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result = - new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -390,8 +352,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { int from_bitField0_ = bitField0_; } @@ -399,39 +360,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -439,9 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other) { - if (other - == com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -460,10 +418,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRes 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_); } @@ -495,26 +452,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,28 +480,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * Created instances.
      * 
@@ -560,8 +509,6 @@ public java.util.List getInstancesList } } /** - * - * *
      * Created instances.
      * 
@@ -576,8 +523,6 @@ public int getInstancesCount() { } } /** - * - * *
      * Created instances.
      * 
@@ -592,15 +537,14 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,8 +558,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance return this; } /** - * - * *
      * Created instances.
      * 
@@ -634,8 +576,6 @@ public Builder setInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -656,15 +596,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,15 +617,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -697,8 +635,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder bui return this; } /** - * - * *
      * Created instances.
      * 
@@ -717,8 +653,6 @@ public Builder addInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -729,7 +663,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); @@ -737,8 +672,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * Created instances.
      * 
@@ -756,8 +689,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * Created instances.
      * 
@@ -775,44 +706,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -820,8 +746,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(i } } /** - * - * *
      * Created instances.
      * 
@@ -829,55 +753,49 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(i * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** - * - * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -887,13 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) - private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(); } @@ -902,27 +819,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +854,6 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java index f2444a317d96..d399c0985506 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesResponseOrBuilder - extends +public interface BatchCreateInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * Created instances.
    * 
@@ -44,8 +25,6 @@ public interface BatchCreateInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1beta.Instance getInstances(int index); /** - * - * *
    * Created instances.
    * 
@@ -54,24 +33,21 @@ public interface BatchCreateInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java index a0cbcd626810..078afa28382b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -52,51 +34,48 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.Cluster.class,
-            com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1beta.Cluster.class, com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -105,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The cluster is active and running.
      * 
@@ -115,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -129,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STOPPED(2),
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -140,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     EMPTY(3),
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -150,8 +121,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(4), /** - * - * *
      * The cluster is being deleted.
      * 
@@ -160,8 +129,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(5), /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -170,8 +137,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -181,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(7),
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -193,8 +156,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     MAINTENANCE(8),
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -206,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the cluster is unknown.
      * 
@@ -216,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The cluster is active and running.
      * 
@@ -226,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -240,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STOPPED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -251,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EMPTY_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster is being created.
      * 
@@ -261,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 4; /** - * - * *
      * The cluster is being deleted.
      * 
@@ -271,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 5; /** - * - * *
      * The creation of the cluster failed.
      * 
@@ -281,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -292,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
-     *
-     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -304,8 +247,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
-     *
-     *
      * 
      * The cluster is being promoted.
      * 
@@ -314,6 +255,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -338,63 +280,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return EMPTY; - case 4: - return CREATING; - case 5: - return DELETING; - case 6: - return FAILED; - case 7: - return BOOTSTRAPPING; - case 8: - return MAINTENANCE; - case 9: - return PROMOTING; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return EMPTY; + case 4: return CREATING; + case 5: return DELETING; + case 6: return FAILED; + case 7: return BOOTSTRAPPING; + case 8: return MAINTENANCE; + case 9: return PROMOTING; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - 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.cloud.alloydb.v1beta.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -412,18 +347,15 @@ private State(int value) { } /** - * - * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Cluster.ClusterType} */ - public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the cluster is unknown.
      * 
@@ -432,8 +364,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -442,8 +372,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -456,8 +384,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -466,8 +392,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Primary cluster that support read and write operations.
      * 
@@ -476,8 +400,6 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -487,6 +409,7 @@ public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -511,49 +434,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0:
-          return CLUSTER_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return CLUSTER_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return SECONDARY;
+        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<
+        ClusterType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public ClusterType findValueByNumber(int number) {
+              return ClusterType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterType findValueByNumber(int number) {
-            return ClusterType.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.cloud.alloydb.v1beta.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -570,14 +493,11 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder
-      extends
+  public interface NetworkConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -587,16 +507,11 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ java.lang.String getNetwork(); /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -606,17 +521,13 @@ public interface NetworkConfigOrBuilder
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -628,13 +539,10 @@ public interface NetworkConfigOrBuilder
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -646,30 +554,27 @@ public interface NetworkConfigOrBuilder
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString + getAllocatedIpRangeBytes(); } /** - * - * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -677,32 +582,28 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -712,10 +613,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ @java.lang.Override @@ -724,15 +622,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -742,18 +639,17 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -762,12 +658,9 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -779,7 +672,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ @java.lang.Override @@ -788,15 +680,14 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** - * - * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -808,15 +699,16 @@ public java.lang.String getAllocatedIpRange() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -825,7 +717,6 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -837,7 +728,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -867,16 +759,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.cloud.alloydb.v1beta.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other = - (com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) obj; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getAllocatedIpRange() + .equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -898,94 +791,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -995,41 +883,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.NetworkConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1040,9 +926,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -1061,11 +947,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig result = - new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1084,41 +967,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1126,8 +1006,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1164,25 +1043,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1192,13 +1068,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object network_ = ""; /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1208,16 +1081,14 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1226,8 +1097,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1237,17 +1106,16 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1255,8 +1123,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1266,25 +1132,19 @@ public com.google.protobuf.ByteString getNetworkBytes() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1294,10 +1154,7 @@ public Builder setNetwork(java.lang.String value) {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1307,8 +1164,6 @@ public Builder clearNetwork() { return this; } /** - * - * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1318,17 +1173,13 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1338,8 +1189,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object allocatedIpRange_ = ""; /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1351,13 +1200,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1366,8 +1215,6 @@ public java.lang.String getAllocatedIpRange() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1379,14 +1226,15 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString + getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1394,8 +1242,6 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { } } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1407,22 +1253,18 @@ public com.google.protobuf.ByteString getAllocatedIpRangeBytes() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRange( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1434,7 +1276,6 @@ public Builder setAllocatedIpRange(java.lang.String value) {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1444,8 +1285,6 @@ public Builder clearAllocatedIpRange() { return this; } /** - * - * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1457,21 +1296,18 @@ public Builder clearAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllocatedIpRangeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1484,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(); } @@ -1498,28 +1334,27 @@ public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1534,43 +1369,36 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SecondaryConfigOrBuilder - extends + public interface SecondaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString + getPrimaryClusterNameBytes(); } /** - * - * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1578,55 +1406,49 @@ public interface SecondaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SecondaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class,
-              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
-     *
-     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ @java.lang.Override @@ -1635,30 +1457,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** - * - * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1667,7 +1489,6 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,7 +1500,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1703,15 +1525,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.cloud.alloydb.v1beta.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other = - (com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName() + .equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1731,94 +1553,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1828,8 +1645,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1837,33 +1652,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.SecondaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class,
-                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1873,9 +1688,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1894,11 +1709,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig result =
-            new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1914,41 +1726,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConf
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1956,8 +1765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1989,19 +1797,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  primaryClusterName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                primaryClusterName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2011,26 +1817,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
-       *
-       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -2039,22 +1842,21 @@ public java.lang.String getPrimaryClusterName() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString + getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -2062,37 +1864,30 @@ public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { } } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -2102,29 +1897,24 @@ public Builder clearPrimaryClusterName() { return this; } /** - * - * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; - * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPrimaryClusterNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2137,12 +1927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(); } @@ -2151,28 +1941,27 @@ public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2187,79 +1976,59 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PrimaryConfigOrBuilder - extends + public interface PrimaryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - java.util.List getSecondaryClusterNamesList(); + java.util.List + getSecondaryClusterNamesList(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index); } /** - * - * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2268,92 +2037,76 @@ public interface PrimaryConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PrimaryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PrimaryConfig() {
-      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class,
-              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2361,26 +2114,21 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2392,10 +2140,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2422,16 +2170,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.cloud.alloydb.v1beta.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other = - (com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) - return false; + if (!getSecondaryClusterNamesList() + .equals(other.getSecondaryClusterNamesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2453,94 +2200,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2550,8 +2292,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2560,45 +2300,46 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.PrimaryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class,
-                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2617,11 +2358,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig result =
-            new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2638,41 +2376,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2680,8 +2415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2718,20 +2452,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureSecondaryClusterNamesIsMutable();
-                  secondaryClusterNames_.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();
+                ensureSecondaryClusterNamesIsMutable();
+                secondaryClusterNames_.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) {
@@ -2741,66 +2473,49 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ =
-              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList + getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2808,43 +2523,33 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString + getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSecondaryClusterNames( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2852,24 +2557,18 @@ public Builder setSecondaryClusterNames(int index, java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNames( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2877,67 +2576,53 @@ public Builder addSecondaryClusterNames(java.lang.String value) { return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames( + java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + secondaryClusterNames_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSecondaryClusterNamesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2945,7 +2630,6 @@ public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString valu onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2958,12 +2642,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(); } @@ -2972,28 +2656,27 @@ public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3008,22 +2691,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -3039,38 +2719,30 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: - return BACKUP_SOURCE; - case 16: - return MIGRATION_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 15: return BACKUP_SOURCE; + case 16: return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -3078,56 +2750,42 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -3135,51 +2793,39 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; + return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; } return com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; + return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; } return com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3190,7 +2836,6 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -3199,15 +2844,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -3218,15 +2862,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -3235,18 +2880,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -3255,29 +2896,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; } } /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -3286,19 +2927,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -3307,30 +2944,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -3341,15 +2978,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3357,15 +2990,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3373,14 +3002,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3390,15 +3016,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3406,15 +3028,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -3422,14 +3040,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3439,15 +3054,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3455,15 +3066,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -3471,14 +3078,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3486,34 +3090,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3521,21 +3123,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3547,8 +3148,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3556,19 +3155,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -3576,11 +3173,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3590,47 +3187,32 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.State getState() { - com.google.cloud.alloydb.v1beta.Cluster.State result = - com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.State getState() { + com.google.cloud.alloydb.v1beta.Cluster.State result = com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3638,19 +3220,13 @@ public com.google.cloud.alloydb.v1beta.Cluster.State getState() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3658,26 +3234,17 @@ public int getClusterTypeValue() {
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = - com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); + return result == null ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3685,19 +3252,13 @@ public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3705,26 +3266,18 @@ public int getDatabaseVersionValue() {
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = - com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig networkConfig_; /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3732,38 +3285,25 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder - getNetworkConfigOrBuilder() { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { + return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3772,30 +3312,25 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig()
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3804,21 +3339,19 @@ public java.lang.String getNetwork() {
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -3827,18 +3360,14 @@ public com.google.protobuf.ByteString getNetworkBytes() { } public static final int ETAG_FIELD_NUMBER = 11; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ @java.lang.Override @@ -3847,29 +3376,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @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 { @@ -3878,35 +3407,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3916,21 +3442,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3944,8 +3469,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3955,19 +3478,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3977,11 +3498,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3991,8 +3512,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -4002,7 +3521,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4013,17 +3531,12 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1beta.UserPassword initialUser_; /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ @java.lang.Override @@ -4031,49 +3544,34 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserPassword getInitialUser() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; } /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null - ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy automatedBackupPolicy_; /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4085,7 +3583,6 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -4093,8 +3590,6 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4106,18 +3601,13 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -4131,56 +3621,41 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP
    * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
-      getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null
-        ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()
-        : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_;
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -4188,18 +3663,13 @@ public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4208,10 +3678,7 @@ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -4219,8 +3686,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4229,21 +3694,14 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -4252,30 +3710,21 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -4283,55 +3732,37 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuousBackupConfig_; /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -4339,56 +3770,37 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuousBackupInfo_; /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -4396,54 +3808,37 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondaryConfig_; /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -4451,25 +3846,18 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -4477,26 +3865,18 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfi * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primaryConfig_; /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -4504,45 +3884,30 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder - getPrimaryConfigOrBuilder() { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { + return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4554,7 +3919,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4573,14 +3939,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1beta.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { + if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -4589,8 +3957,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -4621,9 +3993,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED - .getNumber()) { + if (clusterType_ != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4654,31 +4024,34 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1beta.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (databaseVersion_ - != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); + if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4686,66 +4059,71 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.cloud.alloydb.v1beta.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.cloud.alloydb.v1beta.BackupSource) source_); } if (sourceCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, (com.google.cloud.alloydb.v1beta.MigrationSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, (com.google.cloud.alloydb.v1beta.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ - != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); + if (clusterType_ != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getNetworkConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4755,83 +4133,106 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Cluster other = (com.google.cloud.alloydb.v1beta.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; - } - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getReconciling() != other.getReconciling()) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; + } + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getReconciling() + != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser().equals(other.getInitialUser())) return false; + if (!getInitialUser() + .equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy() + .equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig() + .equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo() + .equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig() + .equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig() + .equals(other.getPrimaryConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource().equals(other.getMigrationSource())) return false; + if (!getMigrationSource() + .equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4888,7 +4289,8 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4942,104 +4344,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -5048,56 +4445,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster)
       com.google.cloud.alloydb.v1beta.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.class,
-              com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.class, com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.Cluster.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5190,9 +4590,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -5211,11 +4611,8 @@ public com.google.cloud.alloydb.v1beta.Cluster build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Cluster buildPartial() {
-      com.google.cloud.alloydb.v1beta.Cluster result =
-          new com.google.cloud.alloydb.v1beta.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.Cluster result = new com.google.cloud.alloydb.v1beta.Cluster(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5233,13 +4630,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -5255,8 +4658,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ =
-            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
+        result.networkConfig_ = networkConfigBuilder_ == null
+            ? networkConfig_
+            : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -5272,55 +4676,61 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ =
-            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
+        result.initialUser_ = initialUserBuilder_ == null
+            ? initialUser_
+            : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ =
-            automatedBackupPolicyBuilder_ == null
-                ? automatedBackupPolicy_
-                : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
+            ? automatedBackupPolicy_
+            : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null
+            ? sslConfig_
+            : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ =
-            continuousBackupConfigBuilder_ == null
-                ? continuousBackupConfig_
-                : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
+            ? continuousBackupConfig_
+            : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ =
-            continuousBackupInfoBuilder_ == null
-                ? continuousBackupInfo_
-                : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
+            ? continuousBackupInfo_
+            : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ =
-            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ = secondaryConfigBuilder_ == null
+            ? secondaryConfig_
+            : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ =
-            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
+        result.primaryConfig_ = primaryConfigBuilder_ == null
+            ? primaryConfig_
+            : primaryConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 &&
+          migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -5329,39 +4739,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.Cluster result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5394,7 +4803,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -5418,7 +4828,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -5451,20 +4862,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
         mergePrimaryConfig(other.getPrimaryConfig());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case MIGRATION_SOURCE:
-          {
-            mergeMigrationSource(other.getMigrationSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case MIGRATION_SOURCE: {
+          mergeMigrationSource(other.getMigrationSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5492,185 +4900,180 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 64
-            case 72:
-              {
-                databaseVersion_ = input.readEnum();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 72
-            case 82:
-              {
-                network_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 82
-            case 90:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00004000;
-                break;
-              } // case 90
-            case 98:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 98
-            case 104:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 104
-            case 114:
-              {
-                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 15;
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 16;
-                break;
-              } // case 130
-            case 138:
-              {
-                input.readMessage(
-                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 162
-            case 178:
-              {
-                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x01000000;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x02000000;
-                break;
-              } // case 186
-            case 192:
-              {
-                clusterType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 192
-            case 218:
-              {
-                input.readMessage(
-                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 218
-            case 226:
-              {
-                input.readMessage(
-                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00800000;
-                break;
-              } // case 226
-            case 234:
-              {
-                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 234
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 64
+            case 72: {
+              databaseVersion_ = input.readEnum();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 72
+            case 82: {
+              network_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 82
+            case 90: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00004000;
+              break;
+            } // case 90
+            case 98: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 98
+            case 104: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 104
+            case 114: {
+              input.readMessage(
+                  getInitialUserFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 15;
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getMigrationSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 16;
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getSslConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 162
+            case 178: {
+              input.readMessage(
+                  getSecondaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x01000000;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getPrimaryConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x02000000;
+              break;
+            } // case 186
+            case 192: {
+              clusterType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 192
+            case 218: {
+              input.readMessage(
+                  getContinuousBackupConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 218
+            case 226: {
+              input.readMessage(
+                  getContinuousBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00800000;
+              break;
+            } // case 226
+            case 234: {
+              input.readMessage(
+                  getNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 234
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5680,12 +5083,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() {
@@ -5698,21 +5101,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.BackupSource,
-            com.google.cloud.alloydb.v1beta.BackupSource.Builder,
-            com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5720,16 +5115,11 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ @java.lang.Override @@ -5747,15 +5137,11 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5771,15 +5157,11 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource valu return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBackupSource( com.google.cloud.alloydb.v1beta.BackupSource.Builder builderForValue) { @@ -5793,25 +5175,18 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 - && source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1beta.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1beta.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 15 && + source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1beta.BackupSource.newBuilder((com.google.cloud.alloydb.v1beta.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -5827,15 +5202,11 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource va return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5854,29 +5225,21 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5890,30 +5253,21 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } } /** - * - * *
      * Output only. Cluster created from backup.
      * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, - com.google.cloud.alloydb.v1beta.BackupSource.Builder, - com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, - com.google.cloud.alloydb.v1beta.BackupSource.Builder, - com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.BackupSource) source_, getParentForChildren(), isClean()); @@ -5925,21 +5279,13 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, - com.google.cloud.alloydb.v1beta.MigrationSource.Builder, - com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> - migrationSourceBuilder_; + com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> migrationSourceBuilder_; /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5947,16 +5293,11 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ @java.lang.Override @@ -5974,15 +5315,11 @@ public com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource() { } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -5998,15 +5335,11 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSourc return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMigrationSource( com.google.cloud.alloydb.v1beta.MigrationSource.Builder builderForValue) { @@ -6020,25 +5353,18 @@ public Builder setMigrationSource( return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 - && source_ != com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder( - (com.google.cloud.alloydb.v1beta.MigrationSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 16 && + source_ != com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder((com.google.cloud.alloydb.v1beta.MigrationSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -6054,15 +5380,11 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSou return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -6081,29 +5403,21 @@ public Builder clearMigrationSource() { return this; } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -6117,30 +5431,21 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour } } /** - * - * *
      * Output only. Cluster created via DMS migration.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, - com.google.cloud.alloydb.v1beta.MigrationSource.Builder, - com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, - com.google.cloud.alloydb.v1beta.MigrationSource.Builder, - com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.MigrationSource) source_, getParentForChildren(), isClean()); @@ -6153,8 +5458,6 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6165,13 +5468,13 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour
      * 
* * 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; @@ -6180,8 +5483,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6192,14 +5493,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -6207,8 +5509,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6219,22 +5519,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6245,7 +5541,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -6254,9 +5549,7 @@ public Builder clearName() { onChanged(); return this; } - /** - * - * + /** *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -6267,14 +5560,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -6284,20 +5575,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -6306,21 +5595,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -6328,35 +5616,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6366,21 +5647,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -6390,21 +5667,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6413,22 +5688,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6436,37 +5710,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -6476,22 +5743,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -6501,58 +5764,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -6568,17 +5812,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -6589,21 +5830,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -6616,15 +5853,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -6637,15 +5870,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -6653,48 +5882,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -6702,58 +5919,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -6769,17 +5967,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -6790,21 +5985,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6817,15 +6008,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6838,15 +6025,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6854,48 +6037,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -6903,58 +6074,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -6970,17 +6122,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -6991,21 +6140,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -7018,15 +6163,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -7039,15 +6180,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -7055,66 +6192,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7123,13 +6250,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7137,21 +6261,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7163,8 +6286,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7172,19 +6293,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -7192,108 +6311,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000100; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7304,35 +6410,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.State getState() { - com.google.cloud.alloydb.v1beta.Cluster.State result = - com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Cluster.State result = com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -7346,16 +6441,11 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -7367,8 +6457,6 @@ public Builder clearState() { private int clusterType_ = 0; /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7376,19 +6464,13 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override - public int getClusterTypeValue() { + @java.lang.Override public int getClusterTypeValue() { return clusterType_; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7396,10 +6478,7 @@ public int getClusterTypeValue() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -7410,8 +6489,6 @@ public Builder setClusterTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7419,23 +6496,15 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = - com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); + return result == null ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7443,10 +6512,7 @@ public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The clusterType to set. * @return This builder for chaining. */ @@ -7460,8 +6526,6 @@ public Builder setClusterType(com.google.cloud.alloydb.v1beta.Cluster.ClusterTyp return this; } /** - * - * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -7469,10 +6533,7 @@ public Builder setClusterType(com.google.cloud.alloydb.v1beta.Cluster.ClusterTyp
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearClusterType() { @@ -7484,8 +6545,6 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7493,19 +6552,13 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override - public int getDatabaseVersionValue() { + @java.lang.Override public int getDatabaseVersionValue() { return databaseVersion_; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7513,10 +6566,7 @@ public int getDatabaseVersionValue() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -7527,8 +6577,6 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7536,21 +6584,15 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = - com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7558,10 +6600,7 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -7575,8 +6614,6 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio return this; } /** - * - * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -7584,10 +6621,7 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio
      * be used.
      * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -7599,40 +6633,27 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -7648,9 +6669,7 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkC return this; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder builderForValue) { @@ -7664,16 +6683,13 @@ public Builder setNetworkConfig( return this; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) - && networkConfig_ != null - && networkConfig_ - != com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) && + networkConfig_ != null && + networkConfig_ != com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -7686,9 +6702,7 @@ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.Networ return this; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -7701,9 +6715,7 @@ public Builder clearNetworkConfig() { return this; } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { bitField0_ |= 0x00001000; @@ -7711,37 +6723,28 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC return getNetworkConfigFieldBuilder().getBuilder(); } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder - getNetworkConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; } } /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), getParentForChildren(), isClean()); + networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), + getParentForChildren(), + isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -7749,8 +6752,6 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC private java.lang.Object network_ = ""; /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7759,19 +6760,16 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated - public java.lang.String getNetwork() { + @java.lang.Deprecated public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -7780,8 +6778,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7790,20 +6786,18 @@ public java.lang.String getNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNetworkBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -7811,8 +6805,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7821,28 +6813,21 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetwork(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetwork( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7851,24 +6836,18 @@ public Builder setNetwork(java.lang.String value) {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNetwork() { + @java.lang.Deprecated public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** - * - * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -7877,20 +6856,15 @@ public Builder clearNetwork() {
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -7900,20 +6874,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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; @@ -7922,21 +6894,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @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 { @@ -7944,35 +6915,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -7982,21 +6946,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -8004,8 +6964,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -8014,12 +6974,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -8028,13 +6987,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8044,21 +7000,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8072,8 +7027,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8083,19 +7036,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8105,25 +7056,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8132,22 +7081,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8156,20 +7106,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -8178,16 +7125,16 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_;
+    private boolean reconciling_ ;
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8197,7 +7144,6 @@ public Builder putAllAnnotations(java.util.Map
      *
      * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
-     *
      * @return The reconciling.
      */
     @java.lang.Override
@@ -8205,8 +7151,6 @@ public boolean getReconciling() {
       return reconciling_;
     }
     /**
-     *
-     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8216,7 +7160,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -8228,8 +7171,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -8239,7 +7180,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -8251,61 +7191,42 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1beta.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, - com.google.cloud.alloydb.v1beta.UserPassword.Builder, - com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> - initialUserBuilder_; + com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> initialUserBuilder_; /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ public com.google.cloud.alloydb.v1beta.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null - ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value) { if (initialUserBuilder_ == null) { @@ -8321,16 +7242,12 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder setInitialUser( com.google.cloud.alloydb.v1beta.UserPassword.Builder builderForValue) { @@ -8344,22 +7261,18 @@ public Builder setInitialUser( return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) - && initialUser_ != null - && initialUser_ != com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) && + initialUser_ != null && + initialUser_ != com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -8372,16 +7285,12 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1beta.UserPassword val return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -8394,16 +7303,12 @@ public Builder clearInitialUser() { return this; } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -8411,50 +7316,38 @@ public com.google.cloud.alloydb.v1beta.UserPassword.Builder getInitialUserBuilde return getInitialUserFieldBuilder().getBuilder(); } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null - ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() - : initialUser_; + return initialUser_ == null ? + com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; } } /** - * - * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, - com.google.cloud.alloydb.v1beta.UserPassword.Builder, - com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, - com.google.cloud.alloydb.v1beta.UserPassword.Builder, - com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder>( - getInitialUser(), getParentForChildren(), isClean()); + initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder>( + getInitialUser(), + getParentForChildren(), + isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -8462,13 +7355,8 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui private com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> - automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8480,15 +7368,12 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui
      * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8500,21 +7385,16 @@ public boolean hasAutomatedBackupPolicy() {
      * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null - ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() - : automatedBackupPolicy_; + return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** - * - * *
      * The automated backup policy for this cluster.
      *
@@ -8527,8 +7407,7 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder setAutomatedBackupPolicy(
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
+    public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8542,8 +7421,6 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8568,8 +7445,6 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8582,13 +7457,11 @@ public Builder setAutomatedBackupPolicy(
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder mergeAutomatedBackupPolicy(
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
+    public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00040000) != 0)
-            && automatedBackupPolicy_ != null
-            && automatedBackupPolicy_
-                != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00040000) != 0) &&
+          automatedBackupPolicy_ != null &&
+          automatedBackupPolicy_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) {
           getAutomatedBackupPolicyBuilder().mergeFrom(value);
         } else {
           automatedBackupPolicy_ = value;
@@ -8601,8 +7474,6 @@ public Builder mergeAutomatedBackupPolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8626,8 +7497,6 @@ public Builder clearAutomatedBackupPolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8640,15 +7509,12 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder
-        getAutomatedBackupPolicyBuilder() {
+    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() {
       bitField0_ |= 0x00040000;
       onChanged();
       return getAutomatedBackupPolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8661,19 +7527,15 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
-        getAutomatedBackupPolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
       if (automatedBackupPolicyBuilder_ != null) {
         return automatedBackupPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return automatedBackupPolicy_ == null
-            ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()
-            : automatedBackupPolicy_;
+        return automatedBackupPolicy_ == null ?
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -8687,17 +7549,14 @@ public Builder clearAutomatedBackupPolicy() {
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy,
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder,
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> 
         getAutomatedBackupPolicyFieldBuilder() {
       if (automatedBackupPolicyBuilder_ == null) {
-        automatedBackupPolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy,
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder,
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>(
-                getAutomatedBackupPolicy(), getParentForChildren(), isClean());
+        automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>(
+                getAutomatedBackupPolicy(),
+                getParentForChildren(),
+                isClean());
         automatedBackupPolicy_ = null;
       }
       return automatedBackupPolicyBuilder_;
@@ -8705,61 +7564,45 @@ public Builder clearAutomatedBackupPolicy() {
 
     private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.SslConfig,
-            com.google.cloud.alloydb.v1beta.SslConfig.Builder,
-            com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>
-        sslConfigBuilder_;
+        com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> sslConfigBuilder_;
     /**
-     *
-     *
      * 
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - public boolean hasSslConfig() { + @java.lang.Deprecated public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { + @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8773,16 +7616,14 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { + @java.lang.Deprecated public Builder setSslConfig( + com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -8793,20 +7634,17 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig.Builder bu return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { + @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -8819,16 +7657,13 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearSslConfig() { + @java.lang.Deprecated public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -8839,42 +7674,33 @@ public Builder clearSslConfig() { return this; } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -8882,17 +7708,14 @@ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder( * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, - com.google.cloud.alloydb.v1beta.SslConfig.Builder, - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> + com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, - com.google.cloud.alloydb.v1beta.SslConfig.Builder, - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -8900,13 +7723,8 @@ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder( private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8915,18 +7733,13 @@ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8935,24 +7748,17 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8961,9 +7767,7 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -8979,8 +7783,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -8989,9 +7791,7 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -9005,8 +7805,6 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9015,16 +7813,13 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -9037,8 +7832,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9047,9 +7840,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -9062,8 +7853,6 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9072,9 +7861,7 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -9082,8 +7869,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9092,23 +7877,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -9117,22 +7896,17 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -9140,58 +7914,39 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -9207,15 +7962,11 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -9229,22 +7980,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -9257,15 +8003,11 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -9278,15 +8020,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -9294,48 +8032,36 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -9343,61 +8069,41 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private com.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> - continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setContinuousBackupConfig( - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9411,15 +8117,11 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder builderForValue) { @@ -9433,23 +8135,17 @@ public Builder setContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeContinuousBackupConfig( - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) - && continuousBackupConfig_ != null - && continuousBackupConfig_ - != com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) && + continuousBackupConfig_ != null && + continuousBackupConfig_ != com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -9462,15 +8158,11 @@ public Builder mergeContinuousBackupConfig( return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -9483,66 +8175,48 @@ public Builder clearContinuousBackupConfig() { return this; } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder - getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() - : continuousBackupConfig_; + return continuousBackupConfig_ == null ? + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; } } /** - * - * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), getParentForChildren(), isClean()); + continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), + getParentForChildren(), + isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -9550,61 +8224,41 @@ public Builder clearContinuousBackupConfig() { private com.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> - continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setContinuousBackupInfo( - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { + public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9618,15 +8272,11 @@ public Builder setContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder builderForValue) { @@ -9640,23 +8290,17 @@ public Builder setContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeContinuousBackupInfo( - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) - && continuousBackupInfo_ != null - && continuousBackupInfo_ - != com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) && + continuousBackupInfo_ != null && + continuousBackupInfo_ != com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -9669,15 +8313,11 @@ public Builder mergeContinuousBackupInfo( return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -9690,66 +8330,48 @@ public Builder clearContinuousBackupInfo() { return this; } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder - getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder - getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null - ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() - : continuousBackupInfo_; + return continuousBackupInfo_ == null ? + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; } } /** - * - * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), getParentForChildren(), isClean()); + continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), + getParentForChildren(), + isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -9757,55 +8379,41 @@ public Builder clearContinuousBackupInfo() { private com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> - secondaryConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder setSecondaryConfig( - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { + public Builder setSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9819,8 +8427,6 @@ public Builder setSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9839,21 +8445,17 @@ public Builder setSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder mergeSecondaryConfig( - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { + public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) - && secondaryConfig_ != null - && secondaryConfig_ - != com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) && + secondaryConfig_ != null && + secondaryConfig_ != com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -9866,8 +8468,6 @@ public Builder mergeSecondaryConfig( return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9885,42 +8485,33 @@ public Builder clearSecondaryConfig() { return this; } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder - getSecondaryConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder() { bitField0_ |= 0x01000000; onChanged(); return getSecondaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder - getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() - : secondaryConfig_; + return secondaryConfig_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; } } /** - * - * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -9928,17 +8519,14 @@ public Builder clearSecondaryConfig() { * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), getParentForChildren(), isClean()); + secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), + getParentForChildren(), + isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -9946,58 +8534,39 @@ public Builder clearSecondaryConfig() { private com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> - primaryConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -10013,15 +8582,11 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryC return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder builderForValue) { @@ -10035,22 +8600,17 @@ public Builder setPrimaryConfig( return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) - && primaryConfig_ != null - && primaryConfig_ - != com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) && + primaryConfig_ != null && + primaryConfig_ != com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -10063,15 +8623,11 @@ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.Primar return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -10084,15 +8640,11 @@ public Builder clearPrimaryConfig() { return this; } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; @@ -10100,56 +8652,43 @@ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder getPrimaryC return getPrimaryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder - getPrimaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() - : primaryConfig_; + return primaryConfig_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; } } /** - * - * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), getParentForChildren(), isClean()); + primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), + getParentForChildren(), + isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10159,12 +8698,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster) private static final com.google.cloud.alloydb.v1beta.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster(); } @@ -10173,27 +8712,27 @@ public static com.google.cloud.alloydb.v1beta.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10208,4 +8747,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java index 7536b32ba8f4..e39325631542 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java @@ -1,113 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The backupSource. */ com.google.cloud.alloydb.v1beta.BackupSource getBackupSource(); /** - * - * *
    * Output only. Cluster created from backup.
    * 
* - * - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The migrationSource. */ com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource(); /** - * - * *
    * Output only. Cluster created via DMS migration.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -118,13 +72,10 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -135,180 +86,135 @@ public interface ClusterOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -317,31 +223,30 @@ public interface ClusterOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -349,53 +254,40 @@ public interface ClusterOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1beta.Cluster.State getState(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -403,16 +295,11 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** - * - * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -420,17 +307,12 @@ java.lang.String getLabelsOrDefault(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The clusterType. */ com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -438,16 +320,11 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** - * - * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -455,40 +332,27 @@ java.lang.String getLabelsOrDefault(
    * be used.
    * 
* - * - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The databaseVersion. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion(); /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; * @return The networkConfig. */ com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig(); /** - * - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -497,19 +361,13 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated - java.lang.String getNetwork(); + @java.lang.Deprecated java.lang.String getNetwork(); /** - * - * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -518,45 +376,35 @@ java.lang.String getLabelsOrDefault(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=546 + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNetworkBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -567,8 +415,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -577,13 +423,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -592,10 +440,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -605,13 +452,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -620,11 +465,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -634,58 +478,41 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; * @return The initialUser. */ com.google.cloud.alloydb.v1beta.UserPassword getInitialUser(); /** - * - * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -697,13 +524,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -715,13 +539,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; - * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** - * - * *
    * The automated backup policy for this cluster.
    *
@@ -734,54 +555,40 @@ java.lang.String getAnnotationsOrDefault(
    *
    * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
    */
-  com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
-      getAutomatedBackupPolicyOrBuilder();
+  com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated - boolean hasSslConfig(); + @java.lang.Deprecated boolean hasSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=581 + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); + @java.lang.Deprecated com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); /** - * - * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -790,16 +597,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -808,16 +610,11 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -826,163 +623,110 @@ java.lang.String getAnnotationsOrDefault(
    * protect the user data.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig(); /** - * - * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder - getContinuousBackupConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo(); /** - * - * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; - * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig(); /** - * - * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -992,43 +736,29 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The primaryConfig. */ com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig(); /** - * - * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java index 790e2d2e5e18..074617418679 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1beta.ClusterView}
  */
-public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -52,8 +32,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   CLUSTER_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -67,8 +45,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -77,8 +53,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -89,8 +63,6 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -101,6 +73,7 @@ public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -125,49 +98,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0:
-        return CLUSTER_VIEW_UNSPECIFIED;
-      case 1:
-        return CLUSTER_VIEW_BASIC;
-      case 2:
-        return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default:
-        return null;
+      case 0: return CLUSTER_VIEW_UNSPECIFIED;
+      case 1: return CLUSTER_VIEW_BASIC;
+      case 2: return CLUSTER_VIEW_CONTINUOUS_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 ClusterView findValueByNumber(int number) {
-          return ClusterView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      ClusterView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public ClusterView findValueByNumber(int number) {
+            return ClusterView.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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;
@@ -183,3 +156,4 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.ClusterView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
similarity index 69%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
index 5c3cebdc503a..b0c7f4648244 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
- *
- *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ConnectionInfo}
  */
-public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConnectionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ConnectionInfo)
     ConnectionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
-    pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    pemCertificateChain_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     instanceUid_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ConnectionInfo.class,
-            com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1beta.ConnectionInfo.class, com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -105,15 +82,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 { @@ -122,12 +100,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -135,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -144,15 +118,14 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -160,15 +133,16 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -177,106 +151,79 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { return pemCertificateChain_; } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - public int getPemCertificateChainCount() { + @java.lang.Deprecated public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int INSTANCE_UID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ @java.lang.Override @@ -285,29 +232,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -316,7 +263,6 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,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_); } @@ -375,18 +322,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.cloud.alloydb.v1beta.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ConnectionInfo other = - (com.google.cloud.alloydb.v1beta.ConnectionInfo) obj; + com.google.cloud.alloydb.v1beta.ConnectionInfo other = (com.google.cloud.alloydb.v1beta.ConnectionInfo) obj; - if (!getName().equals(other.getName())) return false; - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; - if (!getInstanceUid().equals(other.getInstanceUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (!getPemCertificateChainList() + .equals(other.getPemCertificateChainList())) return false; + if (!getInstanceUid() + .equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,104 +363,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -518,47 +463,49 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ConnectionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ConnectionInfo)
       com.google.cloud.alloydb.v1beta.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ConnectionInfo.class,
-              com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1beta.ConnectionInfo.class, com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ConnectionInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
       ipAddress_ = "";
-      pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      pemCertificateChain_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       instanceUid_ = "";
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -577,11 +524,8 @@ public com.google.cloud.alloydb.v1beta.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1beta.ConnectionInfo result =
-          new com.google.cloud.alloydb.v1beta.ConnectionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.ConnectionInfo result = new com.google.cloud.alloydb.v1beta.ConnectionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -607,39 +551,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ConnectionInfo result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ConnectionInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ConnectionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,38 +642,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePemCertificateChainIsMutable();
-                pemCertificateChain_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                instanceUid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensurePemCertificateChainIsMutable();
+              pemCertificateChain_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              instanceUid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -740,13 +678,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -754,13 +689,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; @@ -769,8 +704,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -778,14 +711,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 { @@ -793,8 +727,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -802,22 +734,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -825,7 +753,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -835,8 +762,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -844,14 +769,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -861,8 +784,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -870,13 +791,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -885,8 +806,6 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -894,14 +813,15 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -909,8 +829,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -918,22 +836,18 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -941,7 +855,6 @@ public Builder setIpAddress(java.lang.String value) {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -951,8 +864,6 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -960,14 +871,12 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -977,7 +886,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -985,111 +893,82 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - public int getPemCertificateChainCount() { + @java.lang.Deprecated public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCertificateChain(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCertificateChain( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000004; @@ -1097,27 +976,20 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addPemCertificateChain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder addPemCertificateChain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000004; @@ -1125,76 +997,59 @@ public Builder addPemCertificateChain(java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllPemCertificateChain(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllPemCertificateChain( + java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pemCertificateChain_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPemCertificateChain() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + @java.lang.Deprecated public Builder clearPemCertificateChain() { + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder addPemCertificateChainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -1205,20 +1060,18 @@ public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) private java.lang.Object instanceUid_ = ""; /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -1227,21 +1080,20 @@ public java.lang.String getInstanceUid() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString getInstanceUidBytes() { + public com.google.protobuf.ByteString + getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -1249,35 +1101,28 @@ public com.google.protobuf.ByteString getInstanceUidBytes() { } } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -1287,30 +1132,26 @@ public Builder clearInstanceUid() { return this; } /** - * - * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1320,12 +1161,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ConnectionInfo) private static final com.google.cloud.alloydb.v1beta.ConnectionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ConnectionInfo(); } @@ -1334,27 +1175,27 @@ public static com.google.cloud.alloydb.v1beta.ConnectionInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,4 +1210,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java index 79594782999e..2b3684b1ee9c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ConnectionInfoOrBuilder - extends +public interface ConnectionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -33,13 +15,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -47,14 +26,12 @@ public interface ConnectionInfoOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -62,13 +39,10 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -76,108 +50,81 @@ public interface ConnectionInfoOrBuilder
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated - java.util.List getPemCertificateChainList(); + @java.lang.Deprecated java.util.List + getPemCertificateChainList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated - int getPemCertificateChainCount(); + @java.lang.Deprecated int getPemCertificateChainCount(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated - java.lang.String getPemCertificateChain(int index); + @java.lang.Deprecated java.lang.String getPemCertificateChain(int index); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See - * google/cloud/alloydb/v1beta/resources.proto;l=912 + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. + * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPemCertificateChainBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getPemCertificateChainBytes(int index); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** - * - * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString getInstanceUidBytes(); + com.google.protobuf.ByteString + getInstanceUidBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java index b23270a352af..433ad536df31 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ContinuousBackupConfig() {}
+  private ContinuousBackupConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class,
-            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -80,14 +59,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -98,8 +74,6 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -107,7 +81,6 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -118,8 +91,6 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -128,7 +99,6 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -136,8 +106,6 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -146,18 +114,13 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -169,13 +132,10 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null
-        ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()
-        : encryptionConfig_;
+    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -187,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -207,13 +168,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -223,22 +187,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.cloud.alloydb.v1beta.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other =
-        (com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled() != other.getEnabled()) return false;
+      if (getEnabled()
+          != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays()
+        != other.getRecoveryWindowDays()) 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;
@@ -253,7 +219,8 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -267,104 +234,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig prototype) {
+  public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -372,32 +333,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class,
-              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +375,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -434,11 +396,8 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig result =
-          new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -454,8 +413,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupConfi
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -464,39 +424,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupConfi
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,8 +463,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -541,32 +499,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 26:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                recoveryWindowDays_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 26: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              recoveryWindowDays_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -576,19 +531,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -596,14 +547,11 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -611,14 +559,11 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ @@ -630,14 +575,11 @@ public Builder setEnabled(boolean value) { return this; } /** - * - * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -647,10 +589,8 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_; + private int recoveryWindowDays_ ; /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -658,7 +598,6 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ @java.lang.Override @@ -666,8 +605,6 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -675,7 +612,6 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; - * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -687,8 +623,6 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** - * - * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -696,7 +630,6 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; - * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -708,13 +641,8 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, - com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, - com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -723,15 +651,12 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -740,21 +665,16 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -778,8 +698,6 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -801,8 +719,6 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -814,10 +730,9 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && encryptionConfig_ != null
-            && encryptionConfig_
-                != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          encryptionConfig_ != null &&
+          encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -830,8 +745,6 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -852,8 +765,6 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -869,8 +780,6 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -880,19 +789,15 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      *
      * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
      */
-    public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder
-        getEncryptionConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null
-            ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()
-            : encryptionConfig_;
+        return encryptionConfig_ == null ?
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -903,24 +808,21 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.EncryptionConfig,
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
-            com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>
+        com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> 
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1beta.EncryptionConfig,
-                com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
-                com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(), getParentForChildren(), isClean());
+        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(),
+                getParentForChildren(),
+                isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -930,12 +832,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1beta.ContinuousBackupConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig();
   }
@@ -944,27 +846,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ContinuousBackupConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ContinuousBackupConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -979,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
index 3b59c94fc58d..9b34515dbaa1 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
-public interface ContinuousBackupConfigOrBuilder
-    extends
+public interface ContinuousBackupConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -58,14 +34,11 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * int32 recovery_window_days = 4; - * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -74,13 +47,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -89,13 +59,10 @@ public interface ContinuousBackupConfigOrBuilder
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; - * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
similarity index 63%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
index e2628d8a74af..9c5d524ae021 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
- *
- *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -28,55 +11,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContinuousBackupInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class,
-            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_;
   /**
-   *
-   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -84,57 +60,40 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -142,16 +101,12 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ @java.lang.Override @@ -159,15 +114,12 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -175,13 +127,10 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List schedule_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> - schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -190,17 +139,12 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ @java.lang.Override @@ -209,17 +153,12 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ @java.lang.Override @@ -227,17 +166,12 @@ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -246,35 +180,26 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return schedule_; } /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -282,23 +207,17 @@ public java.util.List getScheduleValueList() { public int getScheduleValue(int index) { return schedule_.get(index); } - private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -306,46 +225,32 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -385,26 +291,28 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -414,26 +322,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.cloud.alloydb.v1beta.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other = - (com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime().equals(other.getEnabledTime())) return false; + if (!getEnabledTime() + .equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime() + .equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -468,103 +378,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -572,32 +477,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class,
-              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -623,9 +529,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -644,18 +550,14 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result =
-          new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -666,18 +568,19 @@ private void buildPartialRepeatedFields(
     private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ =
-            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ = encryptionInfoBuilder_ == null
+            ? encryptionInfo_
+            : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ =
-            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
+        result.enabledTime_ = enabledTimeBuilder_ == null
+            ? enabledTime_
+            : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ =
-            earliestRestorableTimeBuilder_ == null
-                ? earliestRestorableTime_
-                : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
+            ? earliestRestorableTime_
+            : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -685,39 +588,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,8 +627,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -772,51 +673,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
+            case 10: {
+              input.readMessage(
+                  getEncryptionInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getEnabledTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              int tmpRaw = input.readEnum();
+              ensureScheduleIsMutable();
+              schedule_.add(tmpRaw);
+              break;
+            } // case 24
+            case 26: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-                break;
-              } // case 24
-            case 26:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureScheduleIsMutable();
-                  schedule_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -826,66 +726,46 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.EncryptionInfo,
-            com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder,
-            com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>
-        encryptionInfoBuilder_;
+        com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -901,16 +781,12 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -924,23 +800,18 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -953,16 +824,12 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -975,16 +842,12 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -992,50 +855,38 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, - com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -1043,61 +894,42 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - enabledTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -1113,18 +945,15 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -1135,22 +964,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && enabledTime_ != null - && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + enabledTime_ != null && + enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -1163,16 +988,12 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1185,16 +1006,12 @@ public Builder clearEnabledTime() { return this; } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1202,57 +1019,45 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : enabledTime_; + return enabledTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } } /** - * - * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), getParentForChildren(), isClean()); + enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), + getParentForChildren(), + isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = java.util.Collections.emptyList(); - + private java.util.List schedule_ = + java.util.Collections.emptyList(); private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1260,17 +1065,12 @@ private void ensureScheduleIsMutable() { } } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1278,34 +1078,24 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1313,22 +1103,18 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(int index, com.google.type.DayOfWeek value) { + public Builder setSchedule( + int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1338,17 +1124,12 @@ public Builder setSchedule(int index, com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The schedule to add. * @return This builder for chaining. */ @@ -1362,21 +1143,17 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule(java.lang.Iterable values) { + public Builder addAllSchedule( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1385,17 +1162,12 @@ public Builder addAllSchedule(java.lang.Iterable * Output only. Days of the week on which a continuous backup is taken. Output * only field. Ignored if passed into the request. *
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1405,34 +1177,25 @@ public Builder clearSchedule() { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List getScheduleValueList() { + public java.util.List + getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1440,39 +1203,30 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue(int index, int value) { + public Builder setScheduleValue( + int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1483,21 +1237,17 @@ public Builder addScheduleValue(int value) { return this; } /** - * - * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue(java.lang.Iterable values) { + public Builder addAllScheduleValue( + java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1508,61 +1258,42 @@ public Builder addAllScheduleValue(java.lang.Iterable values) private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1578,16 +1309,12 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1601,22 +1328,18 @@ public Builder setEarliestRestorableTime( return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && earliestRestorableTime_ != null - && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + earliestRestorableTime_ != null && + earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1629,16 +1352,12 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1651,16 +1370,12 @@ public Builder clearEarliestRestorableTime() { return this; } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1668,57 +1383,45 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : earliestRestorableTime_; + return earliestRestorableTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; } } /** - * - * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), getParentForChildren(), isClean()); + earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), + getParentForChildren(), + isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1beta.ContinuousBackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(); } @@ -1742,27 +1445,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1777,4 +1480,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java index f3fe409127f4..4e05f4d722d2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java @@ -1,232 +1,153 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ContinuousBackupInfoOrBuilder - extends +public interface ContinuousBackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** - * - * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the schedule. */ java.util.List getScheduleList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of schedule. */ int getScheduleCount(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List getScheduleValueList(); + java.util.List + getScheduleValueList(); /** - * - * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** - * - * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java index 9f959b3d3271..64b3e6ae5eff 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java @@ -1,74 +1,52 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContinuousBackupSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -76,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ @java.lang.Override @@ -85,15 +62,14 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -101,15 +77,16 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -120,15 +97,11 @@ public com.google.protobuf.ByteString getClusterBytes() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -136,15 +109,11 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ @java.lang.Override @@ -152,14 +121,11 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -167,7 +133,6 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -199,7 +165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1beta.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ContinuousBackupSource other = - (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1beta.ContinuousBackupSource other = (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) obj; - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime().equals(other.getPointInTime())) return false; + if (!getPointInTime() + .equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,136 +213,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupSource) com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -389,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -410,11 +373,8 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1beta.ContinuousBackupSource result = - new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ContinuousBackupSource result = new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -425,8 +385,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupSourc result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = - pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); + result.pointInTime_ = pointInTimeBuilder_ == null + ? pointInTime_ + : pointInTimeBuilder_.build(); } } @@ -434,39 +395,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupSourc public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupSource) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupSource)other); } else { super.mergeFrom(other); return this; @@ -474,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -510,25 +469,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getPointInTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -552,13 +507,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -567,8 +522,6 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -576,14 +529,15 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -591,8 +545,6 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -600,22 +552,18 @@ public com.google.protobuf.ByteString getClusterBytes() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -623,7 +571,6 @@ public Builder setCluster(java.lang.String value) {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearCluster() { @@ -633,8 +580,6 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -642,14 +587,12 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -659,55 +602,39 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - pointInTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -723,16 +650,14 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -743,20 +668,17 @@ public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && pointInTime_ != null - && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + pointInTime_ != null && + pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -769,14 +691,11 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -789,14 +708,11 @@ public Builder clearPointInTime() { return this; } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -804,53 +720,43 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : pointInTime_; + return pointInTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } } /** - * - * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), getParentForChildren(), isClean()); + pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), + getParentForChildren(), + isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +766,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1beta.ContinuousBackupSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(); } @@ -874,27 +780,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java index bd5f13d7b5aa..184223f001fd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ContinuousBackupSourceOrBuilder - extends +public interface ContinuousBackupSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -33,13 +15,10 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The cluster. */ java.lang.String getCluster(); /** - * - * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -47,46 +26,35 @@ public interface ContinuousBackupSourceOrBuilder
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for cluster. */ - com.google.protobuf.ByteString getClusterBytes(); + com.google.protobuf.ByteString + getClusterBytes(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** - * - * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java index 06b1f802af20..fcbb92ce76c4 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest) CreateBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateBackupRequest.newBuilder() to construct. private CreateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateBackupRequest() { parent_ = ""; backupId_ = ""; @@ -45,40 +27,33 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, - com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -140,29 +109,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -173,15 +142,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Backup backup_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -189,15 +154,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -205,14 +166,11 @@ public com.google.cloud.alloydb.v1beta.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { @@ -220,12 +178,9 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -243,7 +198,6 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -252,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -278,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -297,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -314,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,13 +309,15 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -374,22 +327,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.cloud.alloydb.v1beta.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateBackupRequest other = - (com.google.cloud.alloydb.v1beta.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1beta.CreateBackupRequest other = (com.google.cloud.alloydb.v1beta.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest) com.google.cloud.alloydb.v1beta.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, - com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateBackupRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override @@ -586,11 +540,8 @@ public com.google.cloud.alloydb.v1beta.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateBackupRequest result = - new com.google.cloud.alloydb.v1beta.CreateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateBackupRequest result = new com.google.cloud.alloydb.v1beta.CreateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -604,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateBackupRequest r result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -618,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateBackupRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -848,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -896,21 +816,20 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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,35 +837,28 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -956,21 +868,17 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -980,58 +888,39 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1beta.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { @@ -1047,17 +936,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1068,21 +954,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderF return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1095,15 +977,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1116,15 +994,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1132,48 +1006,36 @@ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1181,8 +1043,6 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1200,13 +1060,13 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1215,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1234,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1249,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1268,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1301,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1311,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1330,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1345,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1363,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1383,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1400,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1412,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateBackupRequest) private static final com.google.cloud.alloydb.v1beta.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateBackupRequest(); } @@ -1426,27 +1265,27 @@ public static com.google.cloud.alloydb.v1beta.CreateBackupRequest getDefaultInst 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; @@ -1461,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java index 46e3955c1862..9eff965740cd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1beta.Backup getBackup(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -135,13 +92,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -159,21 +113,18 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java index 3c02eeb285c7..fbd8a92c8700 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -45,41 +27,34 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, - com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -142,29 +111,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -175,16 +144,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -192,49 +156,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -252,7 +200,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -261,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -287,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -306,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -315,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -324,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -368,13 +312,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -384,22 +330,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.cloud.alloydb.v1beta.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateClusterRequest other = - (com.google.cloud.alloydb.v1beta.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1beta.CreateClusterRequest other = (com.google.cloud.alloydb.v1beta.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,142 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateClusterRequest) com.google.cloud.alloydb.v1beta.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, - com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -575,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override @@ -596,11 +543,8 @@ public com.google.cloud.alloydb.v1beta.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateClusterRequest result = - new com.google.cloud.alloydb.v1beta.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateClusterRequest result = new com.google.cloud.alloydb.v1beta.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -614,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateClusterRequest result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -628,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -668,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -717,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -763,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -862,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -889,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -911,21 +824,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -933,35 +845,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -971,21 +876,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -995,58 +896,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -1062,17 +944,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1083,21 +962,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builde return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1110,15 +985,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1131,15 +1002,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1147,48 +1014,36 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1196,8 +1051,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1215,13 +1068,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1230,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1249,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1264,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1283,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1316,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1326,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1345,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1360,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1371,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1379,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1388,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1400,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1409,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1418,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1430,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateClusterRequest) private static final com.google.cloud.alloydb.v1beta.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateClusterRequest(); } @@ -1444,27 +1276,27 @@ public static com.google.cloud.alloydb.v1beta.CreateClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1479,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java index 53733edca894..32b5b5710e91 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateClusterRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java index 1bb5669d1253..3a33f87b596d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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,41 +27,34 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -122,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -142,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -175,16 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -192,49 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -252,7 +200,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -261,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -287,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -306,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -315,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -324,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -368,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -384,22 +330,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.cloud.alloydb.v1beta.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateInstanceRequest other = - (com.google.cloud.alloydb.v1beta.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.CreateInstanceRequest other = (com.google.cloud.alloydb.v1beta.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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -422,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest) com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -576,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -597,11 +543,8 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateInstanceRequest result = - new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateInstanceRequest result = new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -615,7 +558,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -629,39 +574,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -669,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -718,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -794,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -819,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -863,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -890,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -912,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -934,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -972,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -996,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -1063,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1084,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder buil return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1111,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1132,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1148,48 +1014,36 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1197,8 +1051,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1216,13 +1068,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1231,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1250,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1265,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1284,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1327,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1346,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1361,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1372,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1380,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1389,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1401,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1410,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1419,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1beta.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(); } @@ -1445,27 +1276,27 @@ public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest getDefaultIn 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; @@ -1480,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java index cb3f3381885b..bd441d24d40c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java index 8fd906f34072..97463c198b83 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java @@ -1,159 +1,115 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequests extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - createInstanceRequests_; + private java.util.List createInstanceRequests_; /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests( - int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index) { return createInstanceRequests_.get(index); } /** - * - * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -179,9 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, createInstanceRequests_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,16 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateInstanceRequests other = - (com.google.cloud.alloydb.v1beta.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1beta.CreateInstanceRequests other = (com.google.cloud.alloydb.v1beta.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) - return false; + if (!getCreateInstanceRequestsList() + .equals(other.getCreateInstanceRequestsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,136 +177,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateInstanceRequests} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateInstanceRequests) com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateInstanceRequests.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -367,9 +317,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -388,18 +338,14 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1beta.CreateInstanceRequests result = - new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests result = new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -419,39 +365,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequests) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequests)other); } else { super.mergeFrom(other); return this; @@ -459,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -479,10 +423,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequests createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCreateInstanceRequestsFieldBuilder() - : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCreateInstanceRequestsFieldBuilder() : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -514,27 +457,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -544,41 +485,29 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - createInstanceRequests_ = java.util.Collections.emptyList(); - + private java.util.List createInstanceRequests_ = + java.util.Collections.emptyList(); private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = - new java.util.ArrayList( - createInstanceRequests_); + createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> - createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsList() { + public java.util.List getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -586,16 +515,12 @@ private void ensureCreateInstanceRequestsIsMutable() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -605,19 +530,14 @@ public int getCreateInstanceRequestsCount() { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests( - int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { return createInstanceRequests_.get(index); } else { @@ -625,16 +545,12 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRe } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { @@ -651,16 +567,12 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -674,19 +586,14 @@ public Builder setCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addCreateInstanceRequests( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -700,16 +607,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { @@ -726,16 +629,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -749,16 +648,12 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -772,23 +667,19 @@ public Builder addCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllCreateInstanceRequests( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -796,16 +687,12 @@ public Builder addAllCreateInstanceRequests( return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -818,16 +705,12 @@ public Builder clearCreateInstanceRequests() { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -840,55 +723,42 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder - getCreateInstanceRequestsBuilder(int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( + int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder - getCreateInstanceRequestsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); - } else { + return createInstanceRequests_.get(index); } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -896,68 +766,48 @@ public Builder removeCreateInstanceRequests(int index) { } } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder - addCreateInstanceRequestsBuilder(int index) { - return getCreateInstanceRequestsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( + int index) { + return getCreateInstanceRequestsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); } /** - * - * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, - com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -966,9 +816,9 @@ public Builder removeCreateInstanceRequests(int index) { } return createInstanceRequestsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +828,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1beta.CreateInstanceRequests DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(); } @@ -992,27 +842,27 @@ public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +877,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..5f180b0d69c0 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface CreateInstanceRequestsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + int getCreateInstanceRequestsCount(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java index 3bf6ff438f2f..81e956911950 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -/** Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} */ -public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} + */ +public final class CreateSecondaryClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -37,41 +23,34 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -80,32 +59,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -114,18 +91,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -134,29 +107,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -167,16 +140,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -184,49 +152,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -244,7 +196,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -253,15 +204,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -279,15 +229,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -298,8 +249,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -307,7 +256,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -316,7 +264,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -360,13 +308,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -376,22 +326,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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other = - (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,135 +368,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance(); } @@ -582,17 +535,13 @@ public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result = - new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -601,7 +550,9 @@ private void buildPartial0( result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -615,39 +566,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -655,9 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other) { - if (other - == com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -705,43 +653,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -751,28 +695,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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,24 +720,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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,41 +742,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -850,24 +775,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -877,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -899,21 +816,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -921,35 +837,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -959,21 +868,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -983,58 +888,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -1050,17 +936,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1071,21 +954,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builde return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1098,15 +977,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1119,15 +994,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1135,48 +1006,36 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1184,8 +1043,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1203,13 +1060,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1218,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1237,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1252,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1271,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1304,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1314,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1333,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1348,10 +1193,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1359,7 +1202,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1367,8 +1209,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1376,7 +1216,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1388,8 +1227,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1397,7 +1234,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1406,9 +1242,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1418,13 +1254,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) - private static final com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(); } @@ -1433,27 +1268,27 @@ public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1303,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java index 944bb75d84d3..5b0eface974a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateSecondaryClusterRequestOrBuilder - extends +public interface CreateSecondaryClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** - * - * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateSecondaryClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java index c1f11842fa61..b22b4d81b473 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateSecondaryInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -46,41 +27,34 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +63,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,18 +95,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -143,29 +111,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -176,16 +144,11 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Instance instance_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -193,49 +156,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -253,7 +200,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -262,15 +208,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -288,15 +233,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -307,8 +253,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -316,7 +260,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -325,7 +268,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -337,7 +279,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -369,13 +312,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,22 +330,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.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other = - (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) 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 (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,143 +372,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -577,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance(); } @@ -599,17 +543,13 @@ public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result = - new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -618,7 +558,9 @@ private void buildPartial0( result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -632,39 +574,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -672,9 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other) { - if (other - == com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -722,43 +661,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -768,28 +703,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -798,24 +728,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -823,41 +750,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -867,24 +783,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -894,20 +804,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -916,21 +824,20 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -938,35 +845,28 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -976,21 +876,17 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1000,58 +896,39 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -1067,17 +944,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1088,21 +962,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder buil return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1115,15 +985,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1136,15 +1002,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1152,48 +1014,36 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1201,8 +1051,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1220,13 +1068,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1235,8 +1083,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1254,14 +1100,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1269,8 +1116,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1288,22 +1133,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1321,7 +1162,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1331,8 +1171,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1350,14 +1188,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1365,10 +1201,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1376,7 +1210,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1384,8 +1217,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1393,7 +1224,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1405,8 +1235,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1414,7 +1242,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1423,9 +1250,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1435,43 +1262,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) - private static final com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1483,8 +1308,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java index 4b90ac38755e..748b03513ea1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,128 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateSecondaryInstanceRequestOrBuilder - extends +public interface CreateSecondaryInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -140,13 +94,10 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -164,14 +115,12 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -179,7 +128,6 @@ public interface CreateSecondaryInstanceRequestOrBuilder
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java index bf632650cafd..9525515b8051 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateUserRequest} */ -public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateUserRequest) CreateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -45,40 +27,33 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateUserRequest.class, - com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateUserRequest.class, com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,31 +62,29 @@ 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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -120,18 +93,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int USER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ @java.lang.Override @@ -140,29 +109,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -173,15 +142,11 @@ public com.google.protobuf.ByteString getUserIdBytes() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.User user_; /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ @java.lang.Override @@ -189,15 +154,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ @java.lang.Override @@ -205,14 +166,11 @@ public com.google.cloud.alloydb.v1beta.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { @@ -220,12 +178,9 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -243,7 +198,6 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -252,15 +206,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -278,15 +231,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -297,15 +251,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -314,7 +265,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +276,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,13 +309,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -374,22 +327,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.cloud.alloydb.v1beta.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateUserRequest other = - (com.google.cloud.alloydb.v1beta.CreateUserRequest) obj; + com.google.cloud.alloydb.v1beta.CreateUserRequest other = (com.google.cloud.alloydb.v1beta.CreateUserRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getUserId().equals(other.getUserId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getUserId() + .equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; + if (!getUser() + .equals(other.getUser())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,142 +369,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateUserRequest) com.google.cloud.alloydb.v1beta.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateUserRequest.class, - com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateUserRequest.class, com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -565,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override @@ -586,11 +540,8 @@ public com.google.cloud.alloydb.v1beta.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateUserRequest result = - new com.google.cloud.alloydb.v1beta.CreateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.CreateUserRequest result = new com.google.cloud.alloydb.v1beta.CreateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -604,7 +555,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateUserRequest res result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -618,39 +571,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateUserRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -658,8 +610,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,27 +700,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -782,23 +724,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.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,39 +745,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string 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() { @@ -848,23 +776,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Value for parent.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -874,20 +796,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object userId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -896,21 +816,20 @@ public java.lang.String getUserId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - public com.google.protobuf.ByteString getUserIdBytes() { + public com.google.protobuf.ByteString + getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); userId_ = b; return b; } else { @@ -918,35 +837,28 @@ public com.google.protobuf.ByteString getUserIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUserId() { @@ -956,21 +868,17 @@ public Builder clearUserId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -980,35 +888,24 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1beta.User getUser() { @@ -1019,14 +916,11 @@ public com.google.cloud.alloydb.v1beta.User getUser() { } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { @@ -1042,16 +936,14 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1062,20 +954,17 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForVa return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1088,14 +977,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1108,14 +994,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1123,44 +1006,36 @@ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1168,8 +1043,6 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1187,13 +1060,13 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1202,8 +1075,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1221,14 +1092,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1236,8 +1108,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1255,22 +1125,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1288,7 +1154,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1298,8 +1163,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1317,14 +1180,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1332,17 +1193,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1350,15 +1208,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1370,15 +1225,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1387,9 +1239,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1399,12 +1251,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateUserRequest) private static final com.google.cloud.alloydb.v1beta.CreateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateUserRequest(); } @@ -1413,27 +1265,27 @@ public static com.google.cloud.alloydb.v1beta.CreateUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1448,4 +1300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java index cf53f106a0af..be7f0815bc00 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java @@ -1,123 +1,80 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateUserRequestOrBuilder - extends +public interface CreateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Value for parent.
    * 
* - * - * string parent = 1 [(.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. Value for parent.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The userId. */ java.lang.String getUserId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for userId. */ - com.google.protobuf.ByteString getUserIdBytes(); + com.google.protobuf.ByteString + getUserIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ com.google.cloud.alloydb.v1beta.User getUser(); /** - * - * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -135,13 +92,10 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -159,21 +113,18 @@ public interface CreateUserRequestOrBuilder
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java index bc30e36fc388..05e097402a19 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.DatabaseVersion} */ -public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * This is an unknown database version.
    * 
@@ -39,8 +21,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ DATABASE_VERSION_UNSPECIFIED(0), /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -50,8 +30,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated POSTGRES_13(1), /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -60,8 +38,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ POSTGRES_14(2), /** - * - * *
    * The database version is Postgres 15.
    * 
@@ -73,8 +49,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * This is an unknown database version.
    * 
@@ -83,8 +57,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** - * - * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -93,8 +65,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** - * - * *
    * The database version is Postgres 14.
    * 
@@ -103,8 +73,6 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_14_VALUE = 2; /** - * - * *
    * The database version is Postgres 15.
    * 
@@ -113,6 +81,7 @@ public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTGRES_15_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: - return DATABASE_VERSION_UNSPECIFIED; - case 1: - return POSTGRES_13; - case 2: - return POSTGRES_14; - case 3: - return POSTGRES_15; - default: - return null; + case 0: return DATABASE_VERSION_UNSPECIFIED; + case 1: return POSTGRES_13; + case 2: return POSTGRES_14; + case 3: return POSTGRES_15; + 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 DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + DatabaseVersion> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -197,3 +165,4 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.DatabaseVersion) } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java index fa7abc7f7773..8b8d5dbc6233 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -199,15 +168,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -216,12 +182,9 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -229,7 +192,6 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -238,15 +200,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; } } /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -254,15 +215,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -271,7 +233,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -312,7 +274,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -325,18 +288,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.cloud.alloydb.v1beta.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteBackupRequest other = - (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1beta.DeleteBackupRequest other = (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -353,7 +319,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -362,135 +329,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest) com.google.cloud.alloydb.v1beta.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -503,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -524,11 +487,8 @@ public com.google.cloud.alloydb.v1beta.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteBackupRequest result = - new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.DeleteBackupRequest result = new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -553,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteBackupRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -593,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -639,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.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; @@ -709,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -734,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string 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() { @@ -778,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -805,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -824,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -839,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -858,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -873,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -892,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -925,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -935,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -954,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -969,17 +883,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -987,15 +898,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1007,15 +915,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1027,8 +932,6 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1036,13 +939,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,8 +954,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1060,14 +961,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1075,8 +977,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1084,22 +984,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1107,7 +1003,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1117,8 +1012,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1126,23 +1019,21 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1beta.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(); } @@ -1166,27 +1057,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest getDefaultInst 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; @@ -1201,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java similarity index 75% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java index 4c29759ab2d0..b5a68a15674c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteBackupRequestOrBuilder - extends +public interface DeleteBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,28 +68,23 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -127,13 +92,10 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -141,8 +103,8 @@ public interface DeleteBackupRequestOrBuilder
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java index e15c09989bab..93b1afb540f1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -273,14 +235,11 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -289,7 +248,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -336,10 +295,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -349,19 +310,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.cloud.alloydb.v1beta.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteClusterRequest other = - (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getForce() != other.getForce()) return false; + com.google.cloud.alloydb.v1beta.DeleteClusterRequest other = (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getForce() + != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,144 +345,142 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.DeleteClusterRequest) com.google.cloud.alloydb.v1beta.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -531,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -552,11 +515,8 @@ public com.google.cloud.alloydb.v1beta.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteClusterRequest result = - new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.DeleteClusterRequest result = new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -584,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -624,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -673,43 +631,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -719,28 +671,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.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; @@ -749,24 +696,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -774,41 +718,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -818,24 +751,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -845,8 +772,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -864,13 +789,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -879,8 +804,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -898,14 +821,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -913,8 +837,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -932,22 +854,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -965,7 +883,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -975,8 +892,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -994,14 +909,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1011,8 +924,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1020,13 +931,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1035,8 +946,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1044,14 +953,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1059,8 +969,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1068,22 +976,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1091,7 +995,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1101,8 +1004,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1110,14 +1011,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1125,17 +1024,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1143,15 +1039,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1163,15 +1056,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1181,16 +1071,13 @@ public Builder clearValidateOnly() { return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ @java.lang.Override @@ -1198,14 +1085,11 @@ public boolean getForce() { return force_; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The force to set. * @return This builder for chaining. */ @@ -1217,14 +1101,11 @@ public Builder setForce(boolean value) { return this; } /** - * - * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearForce() { @@ -1233,9 +1114,9 @@ public Builder clearForce() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1245,12 +1126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1beta.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(); } @@ -1259,27 +1140,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1294,4 +1175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java index c89480b4d097..62ca9154fb4a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteClusterRequestOrBuilder - extends +public interface DeleteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,34 +92,28 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The force. */ boolean getForce(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java index 6bc419081e69..37487099bc9e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1beta.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other = - (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,143 +321,139 @@ 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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest) com.google.cloud.alloydb.v1beta.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -504,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -525,11 +487,8 @@ public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest result = - new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -554,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -640,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -710,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -735,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -779,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -806,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -825,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -840,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -874,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -893,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -936,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -955,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -972,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -981,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -996,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1005,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1020,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1029,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1052,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1062,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -1071,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1086,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1104,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1124,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1141,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1beta.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(); } @@ -1167,27 +1057,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest getDefaultIn 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; @@ -1202,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java index 163e07014ce1..d8abaa45b086 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteInstanceRequestOrBuilder - extends +public interface DeleteInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -113,13 +81,10 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -127,21 +92,18 @@ public interface DeleteInstanceRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java index f9cd5b9f9489..d5e94601a993 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteUserRequest} */ -public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.DeleteUserRequest) DeleteUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, - com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1beta.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteUserRequest other = - (com.google.cloud.alloydb.v1beta.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1beta.DeleteUserRequest other = (com.google.cloud.alloydb.v1beta.DeleteUserRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,142 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.DeleteUserRequest) com.google.cloud.alloydb.v1beta.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, - com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.DeleteUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override @@ -458,11 +424,8 @@ public com.google.cloud.alloydb.v1beta.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteUserRequest result = - new com.google.cloud.alloydb.v1beta.DeleteUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.DeleteUserRequest result = new com.google.cloud.alloydb.v1beta.DeleteUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -484,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteUserRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteUserRequest)other); } else { super.mergeFrom(other); return this; @@ -524,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -565,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.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; @@ -629,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -654,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string 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() { @@ -698,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -725,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -744,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -759,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -778,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -793,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -812,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -845,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -855,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -874,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -889,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -907,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -927,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -944,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteUserRequest) private static final com.google.cloud.alloydb.v1beta.DeleteUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteUserRequest(); } @@ -970,27 +879,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java index 757096167d77..9fa65899c711 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteUserRequestOrBuilder - extends +public interface DeleteUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface DeleteUserRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java index 4839c6545f73..44e0b90b3572 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig)
     EncryptionConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EncryptionConfig.newBuilder() to construct.
   private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EncryptionConfig() {
     kmsKeyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.class,
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.class, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
-   *
-   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ @java.lang.Override @@ -86,15 +63,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -102,15 +78,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; - * * @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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.EncryptionConfig other = - (com.google.cloud.alloydb.v1beta.EncryptionConfig) obj; + com.google.cloud.alloydb.v1beta.EncryptionConfig other = (com.google.cloud.alloydb.v1beta.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; } @@ -182,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -287,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig)
       com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.EncryptionConfig.class,
-              com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.EncryptionConfig.class, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.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();
@@ -322,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +316,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1beta.EncryptionConfig result =
-          new com.google.cloud.alloydb.v1beta.EncryptionConfig(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.EncryptionConfig result = new com.google.cloud.alloydb.v1beta.EncryptionConfig(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -363,39 +333,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.EncryptionConfig resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionConfig) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.EncryptionConfig other) {
-      if (other == com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) return this;
       if (!other.getKmsKeyName().isEmpty()) {
         kmsKeyName_ = other.kmsKeyName_;
         bitField0_ |= 0x00000001;
@@ -436,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                kmsKeyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              kmsKeyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -458,13 +424,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -472,13 +435,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; - * * @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; @@ -487,8 +450,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -496,14 +457,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @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 { @@ -511,8 +473,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -520,22 +480,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 1; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -543,7 +499,6 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 1; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -553,8 +508,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -562,23 +515,21 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.EncryptionConfig) private static final com.google.cloud.alloydb.v1beta.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.EncryptionConfig(); } @@ -602,27 +553,27 @@ public static com.google.cloud.alloydb.v1beta.EncryptionConfig getDefaultInstanc 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; @@ -637,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java similarity index 57% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java index 9710aa6fc50e..8b33eba832dc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface EncryptionConfigOrBuilder - extends +public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -33,13 +15,10 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -47,8 +26,8 @@ public interface EncryptionConfigOrBuilder
    * 
* * string kms_key_name = 1; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java index 24af4e704a6a..e0e5bb288c69 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java @@ -1,81 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.EncryptionInfo.class, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1beta.EncryptionInfo.class, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); } /** - * - * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.EncryptionInfo.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -84,8 +63,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 will be populated. This is the default state.
@@ -95,8 +72,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.
      * KMS key versions will be populated.
@@ -109,8 +84,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -119,8 +92,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 will be populated. This is the default state.
@@ -130,8 +101,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.
      * KMS key versions will be populated.
@@ -141,6 +110,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(
@@ -165,49 +135,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<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.alloydb.v1beta.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;
@@ -227,95 +197,65 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { return kmsKeyVersions_; } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -323,26 +263,21 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,9 +289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (encryptionType_ - != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (encryptionType_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -371,9 +306,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ - != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); + if (encryptionType_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -391,16 +326,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.cloud.alloydb.v1beta.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.EncryptionInfo other = - (com.google.cloud.alloydb.v1beta.EncryptionInfo) obj; + com.google.cloud.alloydb.v1beta.EncryptionInfo other = (com.google.cloud.alloydb.v1beta.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList() + .equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -423,149 +358,146 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo) com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.EncryptionInfo.class, - com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1beta.EncryptionInfo.class, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override @@ -584,11 +516,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1beta.EncryptionInfo result = - new com.google.cloud.alloydb.v1beta.EncryptionInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.EncryptionInfo result = new com.google.cloud.alloydb.v1beta.EncryptionInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -608,39 +537,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.EncryptionInfo result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionInfo) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionInfo)other); } else { super.mergeFrom(other); return this; @@ -688,26 +616,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + 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) { @@ -717,38 +642,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int encryptionType_ = 0; /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -759,37 +672,24 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null - ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -803,16 +703,11 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1beta.EncryptionInfo. return this; } /** - * - * *
      * Output only. Type of encryption.
      * 
* - * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -824,7 +719,6 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -832,52 +726,38 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList + getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -885,43 +765,33 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersions( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -929,24 +799,18 @@ public Builder setKmsKeyVersions(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersions( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -954,67 +818,53 @@ public Builder addKmsKeyVersions(java.lang.String value) { return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions(java.lang.Iterable values) { + public Builder addAllKmsKeyVersions( + java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + kmsKeyVersions_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKmsKeyVersionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -1022,9 +872,9 @@ public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.EncryptionInfo) private static final com.google.cloud.alloydb.v1beta.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.EncryptionInfo(); } @@ -1048,27 +898,27 @@ public static com.google.cloud.alloydb.v1beta.EncryptionInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1083,4 +933,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..273b821464fd --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public interface EncryptionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + *
+   * Output only. Type of encryption.
+   * 
+ * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType(); + + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return A list containing the kmsKeyVersions. + */ + java.util.List + getKmsKeyVersionsList(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString + getKmsKeyVersionsBytes(int index); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java index 69608ec44f4b..ff95324310be 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FailoverInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,12 +94,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -198,15 +167,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -215,7 +181,6 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -253,7 +219,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -263,17 +230,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.cloud.alloydb.v1beta.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other = - (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,143 +259,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.FailoverInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.FailoverInstanceRequest) com.google.cloud.alloydb.v1beta.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -438,9 +403,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -459,11 +424,8 @@ public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest result = - new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,39 +447,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.FailoverInstanceReque public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -525,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -566,31 +526,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -600,28 +556,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -630,24 +581,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -655,41 +603,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -699,24 +636,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -726,8 +657,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -745,13 +674,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -760,8 +689,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -779,14 +706,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -794,8 +722,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -813,22 +739,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -846,7 +768,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -856,8 +777,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -875,14 +794,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -890,17 +807,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -908,15 +822,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -928,15 +839,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -945,9 +853,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -957,12 +865,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1beta.FailoverInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(); } @@ -971,27 +879,27 @@ public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java index d50c43b1202f..75dde4787504 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface FailoverInstanceRequestOrBuilder - extends +public interface FailoverInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface FailoverInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java index 0a566a820751..5922eb9b5848 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateClientCertificateRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -48,41 +29,34 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class,
-            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,32 +65,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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -157,15 +125,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,15 +150,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -200,55 +168,49 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int PEM_CSR_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pemCsr_ = ""; /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getPemCsr() { + @java.lang.Deprecated public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; } } /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCsrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -259,8 +221,6 @@ public com.google.protobuf.ByteString getPemCsrBytes() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -269,9 +229,7 @@ public com.google.protobuf.ByteString getPemCsrBytes() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ @java.lang.Override @@ -279,8 +237,6 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -289,20 +245,14 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -311,29 +261,22 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ @java.lang.Override @@ -342,29 +285,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -375,8 +318,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; private boolean useMetadataExchange_ = false; /** - * - * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -384,7 +325,6 @@ public com.google.protobuf.ByteString getPublicKeyBytes() {
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ @java.lang.Override @@ -393,7 +333,6 @@ public boolean getUseMetadataExchange() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -405,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -443,13 +383,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pemCsr_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } if (useMetadataExchange_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useMetadataExchange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, useMetadataExchange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -459,23 +401,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.cloud.alloydb.v1beta.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other = - (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getPemCsr().equals(other.getPemCsr())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getPemCsr() + .equals(other.getPemCsr())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration().equals(other.getCertDuration())) return false; + if (!getCertDuration() + .equals(other.getCertDuration())) return false; } - if (!getPublicKey().equals(other.getPublicKey())) return false; - if (getUseMetadataExchange() != other.getUseMetadataExchange()) return false; + if (!getPublicKey() + .equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() + != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -500,111 +447,106 @@ public int hashCode() { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseMetadataExchange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -612,32 +554,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class,
-              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,14 +599,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -678,17 +620,13 @@ public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest build()
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result =
-          new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result) {
+    private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -700,8 +638,9 @@ private void buildPartial0(
         result.pemCsr_ = pemCsr_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.certDuration_ =
-            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
+        result.certDuration_ = certDurationBuilder_ == null
+            ? certDuration_
+            : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.publicKey_ = publicKey_;
@@ -715,50 +654,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other) {
-      if (other
-          == com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other) {
+      if (other == com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -811,49 +746,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                pemCsr_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                publicKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                useMetadataExchange_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              pemCsr_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCertDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              publicKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              useMetadataExchange_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -863,28 +793,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -893,24 +818,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -918,41 +840,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -962,24 +873,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -989,8 +894,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1008,13 +911,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1023,8 +926,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1042,14 +943,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1057,8 +959,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1076,22 +976,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1109,7 +1005,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1119,8 +1014,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1138,14 +1031,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1155,23 +1046,20 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object pemCsr_ = ""; /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated - public java.lang.String getPemCsr() { + @java.lang.Deprecated public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; @@ -1180,24 +1068,22 @@ public java.lang.String getPemCsr() { } } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPemCsrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -1205,68 +1091,54 @@ public com.google.protobuf.ByteString getPemCsrBytes() { } } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @param value The pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCsr(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCsr( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pemCsr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPemCsr() { + @java.lang.Deprecated public Builder clearPemCsr() { pemCsr_ = getDefaultInstance().getPemCsr(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** - * - * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is - * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. + * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + @java.lang.Deprecated public Builder setPemCsrBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pemCsr_ = value; bitField0_ |= 0x00000004; @@ -1276,13 +1148,8 @@ public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - certDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1291,17 +1158,13 @@ public Builder setPemCsrBytes(com.google.protobuf.ByteString value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1310,23 +1173,17 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1335,8 +1192,7 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1352,8 +1208,6 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1362,10 +1216,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1376,8 +1230,6 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1386,14 +1238,13 @@ public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForVa
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && certDuration_ != null - && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + certDuration_ != null && + certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1406,8 +1257,6 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1416,8 +1265,7 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1430,8 +1278,6 @@ public Builder clearCertDuration() { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1440,8 +1286,7 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000008; @@ -1449,8 +1294,6 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1459,21 +1302,17 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : certDuration_; + return certDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : certDuration_; } } /** - * - * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1482,21 +1321,17 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getCertDuration(), getParentForChildren(), isClean()); + certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getCertDuration(), + getParentForChildren(), + isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1504,20 +1339,18 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1526,21 +1359,20 @@ public java.lang.String getPublicKey() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString getPublicKeyBytes() { + public com.google.protobuf.ByteString + getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1548,35 +1380,28 @@ public com.google.protobuf.ByteString getPublicKeyBytes() { } } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1586,21 +1411,17 @@ public Builder clearPublicKey() { return this; } /** - * - * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000010; @@ -1608,10 +1429,8 @@ public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { return this; } - private boolean useMetadataExchange_; + private boolean useMetadataExchange_ ; /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1619,7 +1438,6 @@ public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ @java.lang.Override @@ -1627,8 +1445,6 @@ public boolean getUseMetadataExchange() { return useMetadataExchange_; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1636,7 +1452,6 @@ public boolean getUseMetadataExchange() {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The useMetadataExchange to set. * @return This builder for chaining. */ @@ -1648,8 +1463,6 @@ public Builder setUseMetadataExchange(boolean value) { return this; } /** - * - * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1657,7 +1470,6 @@ public Builder setUseMetadataExchange(boolean value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearUseMetadataExchange() { @@ -1666,9 +1478,9 @@ public Builder clearUseMetadataExchange() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1678,43 +1490,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1726,8 +1536,9 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java similarity index 79% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java index ed24e0de68f9..a5b609dbe00d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GenerateClientCertificateRequestOrBuilder - extends +public interface GenerateClientCertificateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,45 +68,36 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated - java.lang.String getPemCsr(); + @java.lang.Deprecated java.lang.String getPemCsr(); /** - * - * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPemCsrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getPemCsrBytes(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -145,15 +106,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -162,15 +119,11 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -179,39 +132,31 @@ public interface GenerateClientCertificateRequestOrBuilder
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The publicKey. */ java.lang.String getPublicKey(); /** - * - * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString getPublicKeyBytes(); + com.google.protobuf.ByteString + getPublicKeyBytes(); /** - * - * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -219,7 +164,6 @@ public interface GenerateClientCertificateRequestOrBuilder
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The useMetadataExchange. */ boolean getUseMetadataExchange(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java index fbfc7b0256f3..8d0755ff15fb 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java @@ -1,83 +1,60 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GenerateClientCertificateResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GenerateClientCertificateResponse() { pemCertificate_ = ""; - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -117,53 +94,41 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { return pemCertificateChain_; } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -171,36 +136,29 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ @java.lang.Override @@ -209,29 +167,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -240,7 +198,6 @@ public com.google.protobuf.ByteString getCaCertBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pemCertificate_); } @@ -293,17 +251,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other = - (com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) obj; - if (!getPemCertificate().equals(other.getPemCertificate())) return false; - if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; - if (!getCaCert().equals(other.getCaCert())) return false; + if (!getPemCertificate() + .equals(other.getPemCertificate())) return false; + if (!getPemCertificateChainList() + .equals(other.getPemCertificateChainList())) return false; + if (!getCaCert() + .equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,157 +289,150 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - 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.cloud.alloydb.v1beta.GenerateClientCertificateResponse 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.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; pemCertificate_ = ""; - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance(); } @@ -494,17 +447,13 @@ public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse build() @java.lang.Override public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result = - new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pemCertificate_ = pemCertificate_; @@ -522,50 +471,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other) { - if (other - == com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other) { + if (other == com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance()) return this; if (!other.getPemCertificate().isEmpty()) { pemCertificate_ = other.pemCertificate_; bitField0_ |= 0x00000001; @@ -612,32 +557,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - pemCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: - { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + pemCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -647,25 +588,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object pemCertificate_ = ""; /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -674,21 +612,20 @@ public java.lang.String getPemCertificate() { } } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString getPemCertificateBytes() { + public com.google.protobuf.ByteString + getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -696,35 +633,28 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificate( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pemCertificate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -734,21 +664,17 @@ public Builder clearPemCertificate() { return this; } /** - * - * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000001; @@ -758,7 +684,6 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -766,49 +691,38 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList + getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -816,41 +730,33 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString + getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPemCertificateChain( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000002; @@ -858,23 +764,18 @@ public Builder setPemCertificateChain(int index, java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChain( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000002; @@ -882,64 +783,53 @@ public Builder addPemCertificateChain(java.lang.String value) { return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain(java.lang.Iterable values) { + public Builder addAllPemCertificateChain( + java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, pemCertificateChain_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + pemCertificateChain_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addPemCertificateChainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -950,20 +840,18 @@ public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) private java.lang.Object caCert_ = ""; /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -972,21 +860,20 @@ public java.lang.String getCaCert() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString getCaCertBytes() { + public com.google.protobuf.ByteString + getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); caCert_ = b; return b; } else { @@ -994,35 +881,28 @@ public com.google.protobuf.ByteString getCaCertBytes() { } } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCert( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -1032,30 +912,26 @@ public Builder clearCaCert() { return this; } /** - * - * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCaCertBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1065,43 +941,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1113,8 +987,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java index 1dee5e4edb1f..f4f550c567ce 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java @@ -1,134 +1,94 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GenerateClientCertificateResponseOrBuilder - extends +public interface GenerateClientCertificateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** - * - * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString getPemCertificateBytes(); + com.google.protobuf.ByteString + getPemCertificateBytes(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return A list containing the pemCertificateChain. */ - java.util.List getPemCertificateChainList(); + java.util.List + getPemCertificateChainList(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** - * - * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString + getPemCertificateChainBytes(int index); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The caCert. */ java.lang.String getCaCert(); /** - * - * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for caCert. */ - com.google.protobuf.ByteString getCaCertBytes(); + com.google.protobuf.ByteString + getCaCertBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java similarity index 61% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java index e344310bc5ff..f34d996bc7e2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java @@ -1,82 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest) GetBackupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetBackupRequest.class, - com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetBackupRequest.class, com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the resource
    * 
* - * - * string name = 1 [(.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 @@ -85,31 +60,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. Name of the resource
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -118,7 +91,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +102,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -154,15 +127,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.cloud.alloydb.v1beta.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetBackupRequest other = - (com.google.cloud.alloydb.v1beta.GetBackupRequest) obj; + com.google.cloud.alloydb.v1beta.GetBackupRequest other = (com.google.cloud.alloydb.v1beta.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; } @@ -181,136 +154,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest) com.google.cloud.alloydb.v1beta.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetBackupRequest.class, - com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetBackupRequest.class, com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -320,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override @@ -341,11 +310,8 @@ public com.google.cloud.alloydb.v1beta.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetBackupRequest result = - new com.google.cloud.alloydb.v1beta.GetBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GetBackupRequest result = new com.google.cloud.alloydb.v1beta.GetBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +327,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetBackupRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -401,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -434,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,27 +418,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.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; @@ -485,23 +442,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.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,39 +463,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string 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() { @@ -551,32 +494,26 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the resource
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -586,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetBackupRequest) private static final com.google.cloud.alloydb.v1beta.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetBackupRequest(); } @@ -600,27 +537,27 @@ public static com.google.cloud.alloydb.v1beta.GetBackupRequest getDefaultInstanc 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; @@ -635,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..84b8ba1fb80d --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the resource
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the resource
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java index c844832408a2..327274f1f00f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetClusterRequest.class, - com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetClusterRequest.class, com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string name = 1 [(.google.api.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,46 +96,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.ClusterView getView() { - com.google.cloud.alloydb.v1beta.ClusterView result = - com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterView getView() { + com.google.cloud.alloydb.v1beta.ClusterView result = com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,7 +154,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1beta.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,15 +165,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.cloud.alloydb.v1beta.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetClusterRequest other = - (com.google.cloud.alloydb.v1beta.GetClusterRequest) obj; + com.google.cloud.alloydb.v1beta.GetClusterRequest other = (com.google.cloud.alloydb.v1beta.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -235,135 +196,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetClusterRequest) com.google.cloud.alloydb.v1beta.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetClusterRequest.class, - com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetClusterRequest.class, com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override @@ -395,11 +352,8 @@ public com.google.cloud.alloydb.v1beta.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetClusterRequest result = - new com.google.cloud.alloydb.v1beta.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GetClusterRequest result = new com.google.cloud.alloydb.v1beta.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -418,39 +372,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -458,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -494,25 +446,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -522,28 +471,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -552,24 +496,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -577,41 +518,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -621,24 +551,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -648,35 +572,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -687,37 +600,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterView getView() { - com.google.cloud.alloydb.v1beta.ClusterView result = - com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1beta.ClusterView result = com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.ClusterView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -731,17 +633,12 @@ public Builder setView(com.google.cloud.alloydb.v1beta.ClusterView value) { return this; } /** - * - * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -750,9 +647,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -762,12 +659,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetClusterRequest) private static final com.google.cloud.alloydb.v1beta.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetClusterRequest(); } @@ -776,27 +673,27 @@ public static com.google.cloud.alloydb.v1beta.GetClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -811,4 +708,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java new file mode 100644 index 000000000000..c0e0c2ff7eef --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java @@ -0,0 +1,52 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.alloydb.v1beta.ClusterView getView(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java index 80e6d10f7853..ea0a5d9741f5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetConnectionInfoRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -44,41 +26,34 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,12 +94,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -144,7 +114,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -153,15 +122,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -179,15 +147,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -196,7 +165,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,16 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other = - (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,136 +239,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetConnectionInfoRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) com.google.cloud.alloydb.v1beta.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -430,11 +395,8 @@ public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest result = - new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -453,39 +415,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest)other); } else { super.mergeFrom(other); return this; @@ -493,8 +454,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -531,25 +491,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,28 +516,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.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; @@ -589,24 +541,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -614,41 +563,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -658,24 +596,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -685,8 +617,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -704,13 +634,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -719,8 +649,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -738,14 +666,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -753,8 +682,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -772,22 +699,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -805,7 +728,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -815,8 +737,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -834,23 +754,21 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -860,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(); } @@ -874,27 +792,27 @@ public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -909,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java index eae9c0629bc1..f45643cf94f7 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GetConnectionInfoRequestOrBuilder - extends +public interface GetConnectionInfoRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,8 +68,8 @@ public interface GetConnectionInfoRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java similarity index 64% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java index 1b0c3b139ada..521f30db7fd3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; view_ = 0; @@ -44,41 +26,34 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, - com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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,40 +96,30 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.InstanceView getView() { - com.google.cloud.alloydb.v1beta.InstanceView result = - com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceView getView() { + com.google.cloud.alloydb.v1beta.InstanceView result = com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,12 +131,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 (view_ - != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + if (view_ != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -188,9 +151,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,15 +163,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetInstanceRequest other = - (com.google.cloud.alloydb.v1beta.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.GetInstanceRequest other = (com.google.cloud.alloydb.v1beta.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -231,135 +194,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest) com.google.cloud.alloydb.v1beta.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, - com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -370,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override @@ -391,11 +350,8 @@ public com.google.cloud.alloydb.v1beta.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetInstanceRequest result = - new com.google.cloud.alloydb.v1beta.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GetInstanceRequest result = new com.google.cloud.alloydb.v1beta.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -414,39 +370,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -454,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -490,25 +444,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -518,28 +469,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -548,24 +494,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -573,41 +516,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -617,24 +549,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -644,29 +570,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -677,31 +596,24 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceView getView() { - com.google.cloud.alloydb.v1beta.InstanceView result = - com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1beta.InstanceView result = com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.InstanceView.UNRECOGNIZED : result; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -715,14 +627,11 @@ public Builder setView(com.google.cloud.alloydb.v1beta.InstanceView value) { return this; } /** - * - * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -731,9 +640,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -743,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetInstanceRequest) private static final com.google.cloud.alloydb.v1beta.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetInstanceRequest(); } @@ -757,27 +666,27 @@ public static com.google.cloud.alloydb.v1beta.GetInstanceRequest getDefaultInsta 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; @@ -792,4 +701,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java similarity index 53% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java index 4d66e8ce8c7e..039c807895a1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java @@ -1,80 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GetInstanceRequestOrBuilder - extends +public interface GetInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; - * * @return The view. */ com.google.cloud.alloydb.v1beta.InstanceView getView(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java index dc0f15beb2f9..e4a39ffad685 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetUserRequest} */ -public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetUserRequest) GetUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetUserRequest.class, - com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetUserRequest.class, com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetUserRequest other = - (com.google.cloud.alloydb.v1beta.GetUserRequest) obj; + com.google.cloud.alloydb.v1beta.GetUserRequest other = (com.google.cloud.alloydb.v1beta.GetUserRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetUserRequest) com.google.cloud.alloydb.v1beta.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetUserRequest.class, - com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetUserRequest.class, com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.cloud.alloydb.v1beta.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetUserRequest result = - new com.google.cloud.alloydb.v1beta.GetUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.GetUserRequest result = new com.google.cloud.alloydb.v1beta.GetUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetUserRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetUserRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetUserRequest) private static final com.google.cloud.alloydb.v1beta.GetUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetUserRequest(); } @@ -606,27 +544,27 @@ public static com.google.cloud.alloydb.v1beta.GetUserRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..bb0251e1d4e8 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetUserRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * 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/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java index ea2d8a6f7319..d386932946dd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.InjectFaultRequest} */ -public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InjectFaultRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.InjectFaultRequest) InjectFaultRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -45,28 +27,25 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, - com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); } /** - * - * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -74,10 +53,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType}
    */
-  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The fault type is unknown.
      * 
@@ -86,8 +64,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ FAULT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Stop the VM
      * 
@@ -99,8 +75,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The fault type is unknown.
      * 
@@ -109,8 +83,6 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Stop the VM
      * 
@@ -119,6 +91,7 @@ public enum FaultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOP_VM_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,49 +116,48 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: - return FAULT_TYPE_UNSPECIFIED; - case 1: - return STOP_VM; - default: - return null; + case 0: return FAULT_TYPE_UNSPECIFIED; + case 1: return STOP_VM; + 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 FaultType findValueByNumber(int number) { - return FaultType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + FaultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1beta.InjectFaultRequest.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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,60 +177,39 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -267,32 +218,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -301,12 +250,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -324,7 +270,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -333,15 +278,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -359,15 +303,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -378,8 +323,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -387,7 +330,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -396,7 +338,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,10 +349,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (faultType_ - != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (faultType_ != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -432,10 +372,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ - != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); + if (faultType_ != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -444,7 +383,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -454,18 +394,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.cloud.alloydb.v1beta.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.InjectFaultRequest other = - (com.google.cloud.alloydb.v1beta.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1beta.InjectFaultRequest other = (com.google.cloud.alloydb.v1beta.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -484,142 +426,139 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.InjectFaultRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.InjectFaultRequest) com.google.cloud.alloydb.v1beta.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, - com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.InjectFaultRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +571,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override @@ -653,11 +592,8 @@ public com.google.cloud.alloydb.v1beta.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest result = - new com.google.cloud.alloydb.v1beta.InjectFaultRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.InjectFaultRequest result = new com.google.cloud.alloydb.v1beta.InjectFaultRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -682,39 +618,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.InjectFaultRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.InjectFaultRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.InjectFaultRequest)other); } else { super.mergeFrom(other); return this; @@ -722,8 +657,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.InjectFaultRequest other) { - if (other == com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance()) return this; if (other.faultType_ != 0) { setFaultTypeValue(other.getFaultTypeValue()); } @@ -766,37 +700,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -806,38 +735,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int faultType_ = 0; /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override - public int getFaultTypeValue() { + @java.lang.Override public int getFaultTypeValue() { return faultType_; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -848,42 +765,28 @@ public Builder setFaultTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null - ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The faultType to set. * @return This builder for chaining. */ - public Builder setFaultType( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType value) { + public Builder setFaultType(com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType value) { if (value == null) { throw new NullPointerException(); } @@ -893,16 +796,11 @@ public Builder setFaultType( return this; } /** - * - * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearFaultType() { @@ -914,23 +812,19 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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; @@ -939,24 +833,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.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 { @@ -964,41 +855,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -1008,24 +888,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -1035,8 +909,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1054,13 +926,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1069,8 +941,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1088,14 +958,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1103,8 +974,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1122,22 +991,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1155,7 +1020,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1165,8 +1029,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1184,14 +1046,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1199,10 +1059,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1210,7 +1068,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1218,8 +1075,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1227,7 +1082,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1239,8 +1093,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1248,7 +1100,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1257,9 +1108,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.InjectFaultRequest) private static final com.google.cloud.alloydb.v1beta.InjectFaultRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.InjectFaultRequest(); } @@ -1283,27 +1134,27 @@ public static com.google.cloud.alloydb.v1beta.InjectFaultRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1169,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java index e22c11f13974..f07d664fcab1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java @@ -1,91 +1,54 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface InjectFaultRequestOrBuilder - extends +public interface InjectFaultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** - * - * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The faultType. */ com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -103,13 +66,10 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -127,14 +87,12 @@ public interface InjectFaultRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -142,7 +100,6 @@ public interface InjectFaultRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index 117e984142eb..57ff3ca7fdcd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -53,18 +35,20 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_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();
@@ -73,33 +57,28 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.Instance.class,
-            com.google.cloud.alloydb.v1beta.Instance.Builder.class);
+            com.google.cloud.alloydb.v1beta.Instance.class, com.google.cloud.alloydb.v1beta.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -108,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The instance is active and running.
      * 
@@ -118,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -128,8 +103,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STOPPED(2), /** - * - * *
      * The instance is being created.
      * 
@@ -138,8 +111,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CREATING(3), /** - * - * *
      * The instance is being deleted.
      * 
@@ -148,8 +119,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETING(4), /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -158,8 +127,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ MAINTENANCE(5), /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -171,8 +138,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(6),
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -184,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     BOOTSTRAPPING(8),
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -197,8 +160,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The state of the instance is unknown.
      * 
@@ -207,8 +168,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The instance is active and running.
      * 
@@ -217,8 +176,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -227,8 +184,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPED_VALUE = 2; /** - * - * *
      * The instance is being created.
      * 
@@ -237,8 +192,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_VALUE = 3; /** - * - * *
      * The instance is being deleted.
      * 
@@ -247,8 +200,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_VALUE = 4; /** - * - * *
      * The instance is down for maintenance.
      * 
@@ -257,8 +208,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAINTENANCE_VALUE = 5; /** - * - * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -270,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FAILED_VALUE = 6;
     /**
-     *
-     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -283,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
-     *
-     *
      * 
      * The instance is being promoted.
      * 
@@ -293,6 +238,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROMOTING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -317,61 +263,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return READY; - case 2: - return STOPPED; - case 3: - return CREATING; - case 4: - return DELETING; - case 5: - return MAINTENANCE; - case 6: - return FAILED; - case 8: - return BOOTSTRAPPING; - case 9: - return PROMOTING; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return READY; + case 2: return STOPPED; + case 3: return CREATING; + case 4: return DELETING; + case 5: return MAINTENANCE; + case 6: return FAILED; + case 8: return BOOTSTRAPPING; + case 9: return PROMOTING; + 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.cloud.alloydb.v1beta.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; @@ -389,18 +329,15 @@ private State(int value) { } /** - * - * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.InstanceType} */ - public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unknown.
      * 
@@ -409,8 +346,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -419,8 +354,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ PRIMARY(1), /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -433,8 +366,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ_POOL(2),
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -447,8 +378,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unknown.
      * 
@@ -457,8 +386,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * PRIMARY instances support read and write operations.
      * 
@@ -467,8 +394,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIMARY_VALUE = 1; /** - * - * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -481,8 +406,6 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_POOL_VALUE = 2;
     /**
-     *
-     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -492,6 +415,7 @@ public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECONDARY_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -516,51 +440,50 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0:
-          return INSTANCE_TYPE_UNSPECIFIED;
-        case 1:
-          return PRIMARY;
-        case 2:
-          return READ_POOL;
-        case 3:
-          return SECONDARY;
-        default:
-          return null;
+        case 0: return INSTANCE_TYPE_UNSPECIFIED;
+        case 1: return PRIMARY;
+        case 2: return READ_POOL;
+        case 3: return SECONDARY;
+        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<
+        InstanceType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public InstanceType findValueByNumber(int number) {
+              return InstanceType.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceType findValueByNumber(int number) {
-            return InstanceType.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.cloud.alloydb.v1beta.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -578,8 +501,6 @@ private InstanceType(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -591,10 +512,9 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.AvailabilityType}
    */
-  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown Availability type.
      * 
@@ -603,8 +523,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** - * - * *
      * Zonal available instance.
      * 
@@ -613,8 +531,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ ZONAL(1), /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -626,8 +542,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * This is an unknown Availability type.
      * 
@@ -636,8 +550,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Zonal available instance.
      * 
@@ -646,8 +558,6 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int ZONAL_VALUE = 1; /** - * - * *
      * Regional (or Highly) available instance.
      * 
@@ -656,6 +566,7 @@ public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum */ public static final int REGIONAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -680,42 +591,39 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: - return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: - return ZONAL; - case 2: - return REGIONAL; - default: - return null; + case 0: return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: return ZONAL; + case 2: return REGIONAL; + 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< + AvailabilityType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AvailabilityType findValueByNumber(int number) { + return AvailabilityType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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.cloud.alloydb.v1beta.Instance.getDescriptor().getEnumTypes().get(2); } @@ -724,7 +632,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AvailabilityType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -741,77 +650,67 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder - extends + public interface MachineConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ int getCpuCount(); } /** - * - * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.MachineConfig} */ - public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MachineConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MachineConfig() {} + private MachineConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** - * - * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -820,7 +719,6 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -832,7 +730,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -846,7 +745,8 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -856,15 +756,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.cloud.alloydb.v1beta.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.MachineConfig other = - (com.google.cloud.alloydb.v1beta.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.MachineConfig other = (com.google.cloud.alloydb.v1beta.Instance.MachineConfig) obj; - if (getCpuCount() != other.getCpuCount()) return false; + if (getCpuCount() + != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -884,94 +784,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Instance.MachineConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -981,41 +876,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.MachineConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.MachineConfig) com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.MachineConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1025,9 +918,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -1046,11 +939,8 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.MachineConfig result = - new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Instance.MachineConfig result = new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1066,41 +956,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.MachineConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.MachineConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.MachineConfig)other); } else { super.mergeFrom(other); return this; @@ -1108,8 +995,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1139,19 +1025,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1161,19 +1045,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuCount_; + private int cpuCount_ ; /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return The cpuCount. */ @java.lang.Override @@ -1181,14 +1061,11 @@ public int getCpuCount() { return cpuCount_; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1200,14 +1077,11 @@ public Builder setCpuCount(int value) { return this; } /** - * - * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; - * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1216,7 +1090,6 @@ public Builder clearCpuCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1229,12 +1102,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1beta.Instance.MachineConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(); } @@ -1243,28 +1116,27 @@ public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1279,91 +1151,74 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface NodeOrBuilder - extends + public interface NodeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.Node) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ java.lang.String getIp(); /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ - com.google.protobuf.ByteString getIpBytes(); + com.google.protobuf.ByteString + getIpBytes(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1372,13 +1227,10 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The state. */ java.lang.String getState(); /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1387,14 +1239,12 @@ public interface NodeOrBuilder
      * 
* * string state = 4; - * * @return The bytes for state. */ - com.google.protobuf.ByteString getStateBytes(); + com.google.protobuf.ByteString + getStateBytes(); } /** - * - * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1403,16 +1253,15 @@ public interface NodeOrBuilder
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.Node}
    */
-  public static final class Node extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Node extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.Node)
       NodeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1422,38 +1271,33 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Instance.Node.class,
-              com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1beta.Instance.Node.class, com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -1462,29 +1306,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1493,18 +1337,14 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -1513,29 +1353,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1544,18 +1384,14 @@ public com.google.protobuf.ByteString getIdBytes() { } public static final int IP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The ip. */ @java.lang.Override @@ -1564,29 +1400,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** - * - * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; - * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -1595,12 +1431,9 @@ public com.google.protobuf.ByteString getIpBytes() { } public static final int STATE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1609,7 +1442,6 @@ public com.google.protobuf.ByteString getIpBytes() {
      * 
* * string state = 4; - * * @return The state. */ @java.lang.Override @@ -1618,15 +1450,14 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** - * - * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1635,15 +1466,16 @@ public java.lang.String getState() {
      * 
* * string state = 4; - * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -1652,7 +1484,6 @@ public com.google.protobuf.ByteString getStateBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1664,7 +1495,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1706,18 +1538,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.cloud.alloydb.v1beta.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.Node other = - (com.google.cloud.alloydb.v1beta.Instance.Node) obj; + com.google.cloud.alloydb.v1beta.Instance.Node other = (com.google.cloud.alloydb.v1beta.Instance.Node) obj; - if (!getZoneId().equals(other.getZoneId())) return false; - if (!getId().equals(other.getId())) return false; - if (!getIp().equals(other.getIp())) return false; - if (!getState().equals(other.getState())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getIp() + .equals(other.getIp())) return false; + if (!getState() + .equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1742,94 +1577,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1839,8 +1670,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1849,33 +1678,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.Node}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.Node)
         com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Instance.Node.class,
-                com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1beta.Instance.Node.class, com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Instance.Node.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1888,9 +1717,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto
-            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1909,11 +1738,8 @@ public com.google.cloud.alloydb.v1beta.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1beta.Instance.Node result =
-            new com.google.cloud.alloydb.v1beta.Instance.Node(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.alloydb.v1beta.Instance.Node result = new com.google.cloud.alloydb.v1beta.Instance.Node(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1938,41 +1764,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.Node result)
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1beta.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.Node) other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.Node)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1980,8 +1803,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.Node other) {
-        if (other == com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance())
-          return this;
+        if (other == com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) return this;
         if (!other.getZoneId().isEmpty()) {
           zoneId_ = other.zoneId_;
           bitField0_ |= 0x00000001;
@@ -2028,37 +1850,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  zoneId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  id_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  ip_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  state_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                zoneId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                ip_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                state_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2068,25 +1885,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
-       *
-       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -2095,21 +1909,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -2117,35 +1930,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -2155,21 +1961,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -2179,20 +1981,18 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2201,21 +2001,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -2223,35 +2022,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -2261,21 +2053,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2285,20 +2073,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object ip_ = ""; /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2307,21 +2093,20 @@ public java.lang.String getIp() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return The bytes for ip. */ - public com.google.protobuf.ByteString getIpBytes() { + public com.google.protobuf.ByteString + getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ip_ = b; return b; } else { @@ -2329,35 +2114,28 @@ public com.google.protobuf.ByteString getIpBytes() { } } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIp( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @return This builder for chaining. */ public Builder clearIp() { @@ -2367,21 +2145,17 @@ public Builder clearIp() { return this; } /** - * - * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; - * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2391,8 +2165,6 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) { private java.lang.Object state_ = ""; /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2401,13 +2173,13 @@ public Builder setIpBytes(com.google.protobuf.ByteString value) {
        * 
* * string state = 4; - * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2416,8 +2188,6 @@ public java.lang.String getState() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2426,14 +2196,15 @@ public java.lang.String getState() {
        * 
* * string state = 4; - * * @return The bytes for state. */ - public com.google.protobuf.ByteString getStateBytes() { + public com.google.protobuf.ByteString + getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); state_ = b; return b; } else { @@ -2441,8 +2212,6 @@ public com.google.protobuf.ByteString getStateBytes() { } } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2451,22 +2220,18 @@ public com.google.protobuf.ByteString getStateBytes() {
        * 
* * string state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setState( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2475,7 +2240,6 @@ public Builder setState(java.lang.String value) {
        * 
* * string state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -2485,8 +2249,6 @@ public Builder clearState() { return this; } /** - * - * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2495,21 +2257,18 @@ public Builder clearState() {
        * 
* * string state = 4; - * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2522,12 +2281,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.Node) private static final com.google.cloud.alloydb.v1beta.Instance.Node DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.Node(); } @@ -2536,28 +2295,27 @@ public static com.google.cloud.alloydb.v1beta.Instance.Node getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2572,84 +2330,67 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface QueryInsightsInstanceConfigOrBuilder - extends + public interface QueryInsightsInstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ int getQueryStringLength(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2657,13 +2398,10 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2671,67 +2409,59 @@ public interface QueryInsightsInstanceConfigOrBuilder
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** - * - * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class QueryInsightsInstanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private QueryInsightsInstanceConfig() {} + private QueryInsightsInstanceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2739,15 +2469,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -2758,15 +2485,12 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2774,15 +2498,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -2793,15 +2514,12 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** - * - * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -2812,8 +2530,6 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2821,7 +2537,6 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2829,8 +2544,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2838,7 +2551,6 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2847,7 +2559,6 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2859,7 +2570,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2882,16 +2594,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2901,26 +2617,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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other = - (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() + != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() + != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() != other.getQueryStringLength()) return false; + if (getQueryStringLength() + != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() + != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2935,11 +2654,13 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2953,95 +2674,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - 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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3051,42 +2766,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.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(); @@ -3099,22 +2811,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - .getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig build() { - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = - buildPartial(); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3123,17 +2832,13 @@ public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig buil @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = - new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -3158,53 +2863,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) { - return mergeFrom( - (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other) { - if (other - == com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other) { + if (other == com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -3243,37 +2941,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: - { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -3283,20 +2976,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean recordApplicationTags_; + private boolean recordApplicationTags_ ; /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -3304,15 +2993,12 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return The recordApplicationTags. */ @java.lang.Override @@ -3320,15 +3006,12 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3340,15 +3023,12 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** - * - * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; - * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3358,17 +3038,14 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_; + private boolean recordClientAddress_ ; /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3376,15 +3053,12 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return The recordClientAddress. */ @java.lang.Override @@ -3392,15 +3066,12 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3412,15 +3083,12 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** - * - * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; - * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3430,17 +3098,14 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_; + private int queryStringLength_ ; /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return The queryStringLength. */ @java.lang.Override @@ -3448,15 +3113,12 @@ public int getQueryStringLength() { return queryStringLength_; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3468,15 +3130,12 @@ public Builder setQueryStringLength(int value) { return this; } /** - * - * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; - * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3486,10 +3145,8 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_; + private int queryPlansPerMinute_ ; /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3497,7 +3154,6 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3505,8 +3161,6 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3514,7 +3168,6 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3522,8 +3175,6 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3531,7 +3182,6 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3543,8 +3193,6 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** - * - * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3552,7 +3200,6 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; - * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3561,7 +3208,6 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3574,44 +3220,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3623,83 +3266,73 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadPoolConfigOrBuilder - extends + public interface ReadPoolConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ int getNodeCount(); } /** - * - * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadPoolConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadPoolConfig() {} + private ReadPoolConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** - * - * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -3708,7 +3341,6 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3720,7 +3352,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3734,7 +3367,8 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3744,15 +3378,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.cloud.alloydb.v1beta.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other = - (com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) obj; - if (getNodeCount() != other.getNodeCount()) return false; + if (getNodeCount() + != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3772,94 +3406,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3869,41 +3498,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ReadPoolConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3913,9 +3540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3934,11 +3561,8 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig result = - new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3954,41 +3578,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig)other); } else { super.mergeFrom(other); return this; @@ -3996,8 +3617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -4027,19 +3647,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4049,19 +3667,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return The nodeCount. */ @java.lang.Override @@ -4069,14 +3683,11 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -4088,14 +3699,11 @@ public Builder setNodeCount(int value) { return this; } /** - * - * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; - * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -4104,7 +3712,6 @@ public Builder clearNodeCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4117,12 +3724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(); } @@ -4131,28 +3738,27 @@ public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4167,95 +3773,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdatePolicyOrBuilder - extends + public interface UpdatePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode(); } /** - * - * *
    * Policy to be used while updating the instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy} */ - public static final class UpdatePolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdatePolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) UpdatePolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicy.newBuilder() to construct. private UpdatePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePolicy() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePolicy(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); } /** - * - * *
      * Specifies the available modes of update.
      * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Mode is unknown.
        * 
@@ -4264,8 +3857,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
        * Least disruptive way to apply the update.
        * 
@@ -4274,8 +3865,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -4288,8 +3877,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Mode is unknown.
        * 
@@ -4298,8 +3885,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Least disruptive way to apply the update.
        * 
@@ -4308,8 +3893,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -4319,6 +3902,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int FORCE_APPLY_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4343,51 +3927,49 @@ public static Mode valueOf(int value) {
        */
       public static Mode forNumber(int value) {
         switch (value) {
-          case 0:
-            return MODE_UNSPECIFIED;
-          case 1:
-            return DEFAULT;
-          case 2:
-            return FORCE_APPLY;
-          default:
-            return null;
+          case 0: return MODE_UNSPECIFIED;
+          case 1: return DEFAULT;
+          case 2: return FORCE_APPLY;
+          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<
+          Mode> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Mode findValueByNumber(int number) {
+                return Mode.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.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.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Mode[] VALUES = values();
 
-      public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Mode 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;
@@ -4407,42 +3989,30 @@ private Mode(int value) {
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_ = 0;
     /**
-     *
-     *
      * 
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4454,10 +4024,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (mode_ - != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (mode_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } getUnknownFields().writeTo(output); @@ -4469,10 +4038,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ - != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); + if (mode_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4482,13 +4050,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.cloud.alloydb.v1beta.Instance.UpdatePolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other = - (com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) obj; + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other = (com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4510,94 +4077,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4607,41 +4169,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Policy to be used while updating the instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4651,9 +4211,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override @@ -4672,11 +4232,8 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy result = - new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy result = new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -4692,41 +4249,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.UpdatePolicy) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy)other); } else { super.mergeFrom(other); return this; @@ -4734,8 +4288,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -4765,19 +4318,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4787,34 +4338,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int mode_ = 0; /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -4825,33 +4368,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return The mode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -4865,14 +4399,11 @@ public Builder setMode(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mod return this; } /** - * - * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -4881,7 +4412,6 @@ public Builder clearMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4894,12 +4424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) private static final com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(); } @@ -4908,28 +4438,27 @@ public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4944,122 +4473,99 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClientConnectionConfigOrBuilder - extends + public interface ClientConnectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ boolean getRequireConnectors(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); } /** - * - * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClientConnectionConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClientConnectionConfig() {} + private ClientConnectionConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** - * - * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -5070,16 +4576,11 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_; /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -5087,44 +4588,30 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } /** - * - * *
      * Optional. SSL config option for this instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5136,7 +4623,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -5153,10 +4641,12 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5166,18 +4656,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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other = - (com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() != other.getRequireConnectors()) return false; + if (getRequireConnectors() + != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig().equals(other.getSslConfig())) return false; + if (!getSslConfig() + .equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5191,7 +4682,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -5202,95 +4694,89 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - 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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig 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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5300,42 +4786,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.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(); @@ -5350,14 +4833,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance(); } @@ -5372,23 +4854,21 @@ public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result = - new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null + ? sslConfig_ + : sslConfigBuilder_.build(); } } @@ -5396,52 +4876,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other) { - if (other - == com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other) { + if (other == com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -5474,25 +4948,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getSslConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5502,20 +4975,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean requireConnectors_; + private boolean requireConnectors_ ; /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requireConnectors. */ @java.lang.Override @@ -5523,15 +4992,12 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -5543,15 +5009,12 @@ public Builder setRequireConnectors(boolean value) { return this; } /** - * - * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -5563,58 +5026,39 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, - com.google.cloud.alloydb.v1beta.SslConfig.Builder, - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> - sslConfigBuilder_; + com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> sslConfigBuilder_; /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslConfig. */ public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -5630,15 +5074,11 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setSslConfig( com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { @@ -5652,21 +5092,17 @@ public Builder setSslConfig( return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sslConfig_ != null - && sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sslConfig_ != null && + sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -5679,15 +5115,11 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5700,15 +5132,11 @@ public Builder clearSslConfig() { return this; } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -5716,53 +5144,40 @@ public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { return getSslConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null - ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() - : sslConfig_; + return sslConfig_ == null ? + com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; } } /** - * - * *
        * Optional. SSL config option for this instance.
        * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, - com.google.cloud.alloydb.v1beta.SslConfig.Builder, - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> + com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, - com.google.cloud.alloydb.v1beta.SslConfig.Builder, - com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( - getSslConfig(), getParentForChildren(), isClean()); + sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( + getSslConfig(), + getParentForChildren(), + isClean()); sslConfig_ = null; } return sslConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5775,44 +5190,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5824,19 +5236,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5850,7 +5259,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -5859,15 +5267,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5881,15 +5288,16 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -5898,18 +5306,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -5918,29 +5322,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; } } /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -5949,19 +5353,15 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } public static final int UID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -5970,30 +5370,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -6004,15 +5404,11 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -6020,15 +5416,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -6036,14 +5428,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -6053,15 +5442,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6069,15 +5454,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -6085,14 +5466,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6102,15 +5480,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -6118,15 +5492,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -6134,14 +5504,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -6149,34 +5516,32 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6184,21 +5549,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6210,8 +5574,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6219,19 +5581,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Labels as key value pairs
    * 
@@ -6239,11 +5599,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -6252,96 +5612,65 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; - /** - * - * + /** *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.State getState() { - com.google.cloud.alloydb.v1beta.Instance.State result = - com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.State getState() { + com.google.cloud.alloydb.v1beta.Instance.State result = com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1beta.Instance.InstanceType result = - com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1beta.Instance.MachineConfig machineConfig_; /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -6349,26 +5678,19 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -6377,18 +5699,13 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig()
    * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder
-      getMachineConfigOrBuilder() {
-    return machineConfig_ == null
-        ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()
-        : machineConfig_;
+  public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
+    return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -6399,16 +5716,12 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig()
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -6419,25 +5732,17 @@ public int getAvailabilityTypeValue() {
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; - @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -6448,7 +5753,6 @@ public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailability
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ @java.lang.Override @@ -6457,15 +5761,14 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -6476,15 +5779,16 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -6493,36 +5797,32 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; - private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6543,21 +5843,20 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsDatabaseFlags(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6582,8 +5881,6 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6604,19 +5901,17 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -6637,11 +5932,11 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6651,17 +5946,12 @@ public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1beta.Instance.Node writableNode_;
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ @java.lang.Override @@ -6669,143 +5959,105 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; } /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null - ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; - @SuppressWarnings("serial") private java.util.List nodes_; /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { return nodes_.get(index); } /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -6813,55 +6065,37 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - getQueryInsightsConfig() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() - : queryInsightsConfig_; + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig readPoolConfig_; /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -6869,25 +6103,18 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } /** - * - * *
    * Read pool specific config.
    * 
@@ -6895,27 +6122,20 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder - getReadPoolConfigOrBuilder() { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } public static final int IP_ADDRESS_FIELD_NUMBER = 15; - @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ @java.lang.Override @@ -6924,30 +6144,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -6958,8 +6178,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -6969,7 +6187,6 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -6978,18 +6195,14 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ @java.lang.Override @@ -6998,29 +6211,29 @@ 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; } } /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @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 { @@ -7029,35 +6242,32 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7067,21 +6277,20 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7095,8 +6304,6 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7106,19 +6313,17 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getAnnotationsOrDefault(
+  public /* nullable */
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -7128,11 +6333,11 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -7142,8 +6347,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int UPDATE_POLICY_FIELD_NUMBER = 22;
   private com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy updatePolicy_;
   /**
-   *
-   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7152,7 +6355,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; - * * @return Whether the updatePolicy field is set. */ @java.lang.Override @@ -7160,8 +6362,6 @@ public boolean hasUpdatePolicy() { return updatePolicy_ != null; } /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7170,18 +6370,13 @@ public boolean hasUpdatePolicy() {
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() { - return updatePolicy_ == null - ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() - : updatePolicy_; + return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; } /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -7193,24 +6388,17 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
-    return updatePolicy_ == null
-        ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()
-        : updatePolicy_;
+    return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
   }
 
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -7218,46 +6406,30 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - getClientConnectionConfig() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig() { + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7269,7 +6441,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -7288,29 +6461,33 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 7); if (state_ != com.google.cloud.alloydb.v1beta.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { + if (instanceType_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { + if (availabilityType_ != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDatabaseFlags(), + DatabaseFlagsDefaultEntryHolder.defaultEntry, + 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -7323,8 +6500,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -7359,91 +6540,99 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDeleteTime()); - } - 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 + .computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1beta.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, state_); } - if (instanceType_ - != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); + if (instanceType_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ - != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); + if (availabilityType_ != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry : - internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry databaseFlags__ = - DatabaseFlagsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry + : internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry + databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getQueryInsightsConfig()); } if (updatePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getUpdatePolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getUpdatePolicy()); } if (clientConnectionConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getClientConnectionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7453,62 +6642,82 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Instance)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Instance other = (com.google.cloud.alloydb.v1beta.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getUid().equals(other.getUid())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getUid() + .equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig().equals(other.getMachineConfig())) return false; + if (!getMachineConfig() + .equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone().equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; + if (!getGceZone() + .equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals( + other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode().equals(other.getWritableNode())) return false; + if (!getWritableNode() + .equals(other.getWritableNode())) return false; } - if (!getNodesList().equals(other.getNodesList())) return false; + if (!getNodesList() + .equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig() + .equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress().equals(other.getIpAddress())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getReadPoolConfig() + .equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress() + .equals(other.getIpAddress())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasUpdatePolicy() != other.hasUpdatePolicy()) return false; if (hasUpdatePolicy()) { - if (!getUpdatePolicy().equals(other.getUpdatePolicy())) return false; + if (!getUpdatePolicy() + .equals(other.getUpdatePolicy())) return false; } if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig() + .equals(other.getClientConnectionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -7578,7 +6787,8 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -7598,104 +6808,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -7703,17 +6908,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance)
       com.google.cloud.alloydb.v1beta.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_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();
@@ -7722,12 +6928,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 18:
           return internalGetAnnotations();
         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();
@@ -7736,27 +6943,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Instance.class,
-              com.google.cloud.alloydb.v1beta.Instance.Builder.class);
+              com.google.cloud.alloydb.v1beta.Instance.class, com.google.cloud.alloydb.v1beta.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.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();
@@ -7830,9 +7038,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -7851,12 +7059,9 @@ public com.google.cloud.alloydb.v1beta.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Instance buildPartial() {
-      com.google.cloud.alloydb.v1beta.Instance result =
-          new com.google.cloud.alloydb.v1beta.Instance(this);
+      com.google.cloud.alloydb.v1beta.Instance result = new com.google.cloud.alloydb.v1beta.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -7885,13 +7090,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7904,8 +7115,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ =
-            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
+        result.machineConfig_ = machineConfigBuilder_ == null
+            ? machineConfig_
+            : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -7918,18 +7130,19 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ =
-            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
+        result.writableNode_ = writableNodeBuilder_ == null
+            ? writableNode_
+            : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ =
-            queryInsightsConfigBuilder_ == null
-                ? queryInsightsConfig_
-                : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
+            ? queryInsightsConfig_
+            : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ =
-            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ = readPoolConfigBuilder_ == null
+            ? readPoolConfig_
+            : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -7945,14 +7158,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.updatePolicy_ =
-            updatePolicyBuilder_ == null ? updatePolicy_ : updatePolicyBuilder_.build();
+        result.updatePolicy_ = updatePolicyBuilder_ == null
+            ? updatePolicy_
+            : updatePolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.clientConnectionConfig_ =
-            clientConnectionConfigBuilder_ == null
-                ? clientConnectionConfig_
-                : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
+            ? clientConnectionConfig_
+            : clientConnectionConfigBuilder_.build();
       }
     }
 
@@ -7960,39 +7173,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.Instance) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8025,7 +7237,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -8044,7 +7257,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(
+          other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -8067,10 +7281,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodesFieldBuilder()
-                    : null;
+            nodesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodesFieldBuilder() : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -8095,7 +7308,8 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasUpdatePolicy()) {
         mergeUpdatePolicy(other.getUpdatePolicy());
@@ -8129,178 +7343,165 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            case 64:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 64
-            case 72:
-              {
-                instanceType_ = input.readEnum();
-                bitField0_ |= 0x00000100;
-                break;
-              } // case 72
-            case 82:
-              {
-                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000200;
-                break;
-              } // case 82
-            case 88:
-              {
-                availabilityType_ = input.readEnum();
-                bitField0_ |= 0x00000400;
-                break;
-              } // case 88
-            case 98:
-              {
-                gceZone_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 98
-            case 106:
-              {
-                com.google.protobuf.MapEntry databaseFlags__ =
-                    input.readMessage(
-                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableDatabaseFlags()
-                    .getMutableMap()
-                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00010000;
-                break;
-              } // case 114
-            case 122:
-              {
-                ipAddress_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00020000;
-                break;
-              } // case 122
-            case 128:
-              {
-                reconciling_ = input.readBool();
-                bitField0_ |= 0x00040000;
-                break;
-              } // case 128
-            case 138:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00080000;
-                break;
-              } // case 138
-            case 146:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                bitField0_ |= 0x00100000;
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00002000;
-                break;
-              } // case 154
-            case 162:
-              {
-                com.google.cloud.alloydb.v1beta.Instance.Node m =
-                    input.readMessage(
-                        com.google.cloud.alloydb.v1beta.Instance.Node.parser(), extensionRegistry);
-                if (nodesBuilder_ == null) {
-                  ensureNodesIsMutable();
-                  nodes_.add(m);
-                } else {
-                  nodesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(
-                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00008000;
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(getUpdatePolicyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00200000;
-                break;
-              } // case 178
-            case 186:
-              {
-                input.readMessage(
-                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00400000;
-                break;
-              } // case 186
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            case 64: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 64
+            case 72: {
+              instanceType_ = input.readEnum();
+              bitField0_ |= 0x00000100;
+              break;
+            } // case 72
+            case 82: {
+              input.readMessage(
+                  getMachineConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000200;
+              break;
+            } // case 82
+            case 88: {
+              availabilityType_ = input.readEnum();
+              bitField0_ |= 0x00000400;
+              break;
+            } // case 88
+            case 98: {
+              gceZone_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 98
+            case 106: {
+              com.google.protobuf.MapEntry
+              databaseFlags__ = input.readMessage(
+                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableDatabaseFlags().getMutableMap().put(
+                  databaseFlags__.getKey(), databaseFlags__.getValue());
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getReadPoolConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00010000;
+              break;
+            } // case 114
+            case 122: {
+              ipAddress_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00020000;
+              break;
+            } // case 122
+            case 128: {
+              reconciling_ = input.readBool();
+              bitField0_ |= 0x00040000;
+              break;
+            } // case 128
+            case 138: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00080000;
+              break;
+            } // case 138
+            case 146: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              bitField0_ |= 0x00100000;
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getWritableNodeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00002000;
+              break;
+            } // case 154
+            case 162: {
+              com.google.cloud.alloydb.v1beta.Instance.Node m =
+                  input.readMessage(
+                      com.google.cloud.alloydb.v1beta.Instance.Node.parser(),
+                      extensionRegistry);
+              if (nodesBuilder_ == null) {
+                ensureNodesIsMutable();
+                nodes_.add(m);
+              } else {
+                nodesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getQueryInsightsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00008000;
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getUpdatePolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00200000;
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getClientConnectionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00400000;
+              break;
+            } // case 186
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8310,13 +7511,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8330,13 +7528,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -8345,8 +7543,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8360,14 +7556,15 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -8375,8 +7572,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8390,22 +7585,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8419,7 +7610,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -8429,8 +7619,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -8444,14 +7632,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -8461,20 +7647,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -8483,21 +7667,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -8505,35 +7688,28 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -8543,21 +7719,17 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -8567,21 +7739,19 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -8590,22 +7760,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uid_ = b; return b; } else { @@ -8613,37 +7782,30 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUid( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { @@ -8653,22 +7815,18 @@ public Builder clearUid() { return this; } /** - * - * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -8678,58 +7836,39 @@ public Builder setUidBytes(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. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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) { @@ -8745,17 +7884,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -8766,21 +7902,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -8793,15 +7925,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8814,15 +7942,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -8830,48 +7954,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time stamp
      * 
* - * - * .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. Create time stamp
      * 
* - * - * .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_; @@ -8879,58 +7991,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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8946,17 +8039,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8967,21 +8057,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8994,15 +8080,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -9015,15 +8097,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -9031,48 +8109,36 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -9080,58 +8146,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -9147,17 +8194,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -9168,21 +8212,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && deleteTime_ != null - && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + deleteTime_ != null && + deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -9195,15 +8235,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -9216,15 +8252,11 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -9232,66 +8264,56 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. Delete time stamp
      * 
* - * - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -9300,13 +8322,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9314,21 +8333,20 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9340,8 +8358,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9349,19 +8365,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Labels as key value pairs
      * 
@@ -9369,108 +8383,95 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -9481,35 +8482,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.State getState() { - com.google.cloud.alloydb.v1beta.Instance.State result = - com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Instance.State result = com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -9523,16 +8513,11 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Instance.State value) { return this; } /** - * - * *
      * Output only. The current serving state of the instance.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -9544,33 +8529,22 @@ public Builder clearState() { private int instanceType_ = 0; /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override - public int getInstanceTypeValue() { + @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -9581,37 +8555,24 @@ public Builder setInstanceTypeValue(int value) { return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1beta.Instance.InstanceType result = - com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @param value The instanceType to set. * @return This builder for chaining. */ @@ -9625,16 +8586,11 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1beta.Instance.Instance return this; } /** - * - * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -9646,49 +8602,36 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1beta.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.MachineConfig, - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> - machineConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> machineConfigBuilder_; /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() - : machineConfig_; + return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9710,8 +8653,6 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1beta.Instance.Machine
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9731,8 +8672,6 @@ public Builder setMachineConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9740,13 +8679,11 @@ public Builder setMachineConfig(
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public Builder mergeMachineConfig(
-        com.google.cloud.alloydb.v1beta.Instance.MachineConfig value) {
+    public Builder mergeMachineConfig(com.google.cloud.alloydb.v1beta.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0)
-            && machineConfig_ != null
-            && machineConfig_
-                != com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0) &&
+          machineConfig_ != null &&
+          machineConfig_ != com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -9759,8 +8696,6 @@ public Builder mergeMachineConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9779,8 +8714,6 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9788,15 +8721,12 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder
-        getMachineConfigBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder getMachineConfigBuilder() {
       bitField0_ |= 0x00000200;
       onChanged();
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9804,19 +8734,15 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder
-        getMachineConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null
-            ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()
-            : machineConfig_;
+        return machineConfig_ == null ?
+            com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -9825,17 +8751,14 @@ public Builder clearMachineConfig() {
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.MachineConfig,
-            com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder,
-            com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>
+        com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> 
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1beta.Instance.MachineConfig,
-                com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder,
-                com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(), getParentForChildren(), isClean());
+        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(),
+                getParentForChildren(),
+                isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -9843,8 +8766,6 @@ public Builder clearMachineConfig() {
 
     private int availabilityType_ = 0;
     /**
-     *
-     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9855,16 +8776,12 @@ public Builder clearMachineConfig() {
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override - public int getAvailabilityTypeValue() { + @java.lang.Override public int getAvailabilityTypeValue() { return availabilityType_; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9875,7 +8792,6 @@ public int getAvailabilityTypeValue() {
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -9886,8 +8802,6 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9898,20 +8812,14 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null - ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED : result; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9922,12 +8830,10 @@ public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailability
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType( - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType value) { + public Builder setAvailabilityType(com.google.cloud.alloydb.v1beta.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -9937,8 +8843,6 @@ public Builder setAvailabilityType( return this; } /** - * - * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -9949,7 +8853,6 @@ public Builder setAvailabilityType(
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -9961,8 +8864,6 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9973,13 +8874,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; - * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -9988,8 +8889,6 @@ public java.lang.String getGceZone() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10000,14 +8899,15 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString getGceZoneBytes() { + public com.google.protobuf.ByteString + getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gceZone_ = b; return b; } else { @@ -10015,8 +8915,6 @@ public com.google.protobuf.ByteString getGceZoneBytes() { } } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10027,22 +8925,18 @@ public com.google.protobuf.ByteString getGceZoneBytes() {
      * 
* * string gce_zone = 12; - * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZone( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10053,7 +8947,6 @@ public Builder setGceZone(java.lang.String value) {
      * 
* * string gce_zone = 12; - * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -10063,8 +8956,6 @@ public Builder clearGceZone() { return this; } /** - * - * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -10075,14 +8966,12 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; - * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setGceZoneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -10090,8 +8979,8 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField databaseFlags_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> databaseFlags_; private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -10100,12 +8989,11 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { } return databaseFlags_; } - private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = - com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = com.google.protobuf.MapField.newMapField( + DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -10114,13 +9002,10 @@ public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { onChanged(); return databaseFlags_; } - public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** - * - * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10141,21 +9026,20 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /** Use {@link #getDatabaseFlagsMap()} instead. */
+    /**
+     * Use {@link #getDatabaseFlagsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10180,8 +9064,6 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10202,19 +9084,17 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */
+java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10235,25 +9115,23 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap().clear();
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10273,22 +9151,23 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
+    public Builder removeDatabaseFlags(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableDatabaseFlags() {
+    public java.util.Map
+        getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10308,20 +9187,17 @@ public java.util.Map getMutableDatabaseFlags
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
+    public Builder putDatabaseFlags(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -10341,69 +9217,52 @@ public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
+    public Builder putAllDatabaseFlags(
+        java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1beta.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.Node,
-            com.google.cloud.alloydb.v1beta.Instance.Node.Builder,
-            com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>
-        writableNodeBuilder_;
+        com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> writableNodeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ public com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null - ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -10419,16 +9278,12 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node val return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setWritableNode( com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -10442,23 +9297,18 @@ public Builder setWritableNode( return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) - && writableNode_ != null - && writableNode_ - != com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) && + writableNode_ != null && + writableNode_ != com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -10471,16 +9321,12 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node v return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -10493,16 +9339,12 @@ public Builder clearWritableNode() { return this; } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -10510,82 +9352,62 @@ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getWritableNodeBuil return getWritableNodeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null - ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() - : writableNode_; + return writableNode_ == null ? + com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; } } /** - * - * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, - com.google.cloud.alloydb.v1beta.Instance.Node.Builder, - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, - com.google.cloud.alloydb.v1beta.Instance.Node.Builder, - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( - getWritableNode(), getParentForChildren(), isClean()); + writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( + getWritableNode(), + getParentForChildren(), + isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, - com.google.cloud.alloydb.v1beta.Instance.Node.Builder, - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> - nodesBuilder_; + com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> nodesBuilder_; /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -10595,16 +9417,12 @@ public java.util.List getNodesLis } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -10614,16 +9432,12 @@ public int getNodesCount() { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -10633,18 +9447,15 @@ public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { + public Builder setNodes( + int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10658,16 +9469,12 @@ public Builder setNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setNodes( int index, com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -10681,16 +9488,12 @@ public Builder setNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { @@ -10706,18 +9509,15 @@ public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node value) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { + public Builder addNodes( + int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10731,18 +9531,15 @@ public Builder addNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { + public Builder addNodes( + com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); @@ -10753,16 +9550,12 @@ public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node.Builder bu return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addNodes( int index, com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -10776,22 +9569,19 @@ public Builder addNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -10799,16 +9589,12 @@ public Builder addAllNodes( return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -10821,16 +9607,12 @@ public Builder clearNodes() { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -10843,53 +9625,42 @@ public Builder removeNodes(int index) { return this; } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getNodesBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getNodesBuilder( + int index) { return getNodesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( + int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); - } else { + return nodes_.get(index); } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -10897,131 +9668,94 @@ public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( } } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder(int index) { - return getNodesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder( + int index) { + return getNodesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); } /** - * - * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, - com.google.cloud.alloydb.v1beta.Instance.Node.Builder, - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, - com.google.cloud.alloydb.v1beta.Instance.Node.Builder, - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( - nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); + nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( + nodes_, + ((bitField0_ & 0x00004000) != 0), + getParentForChildren(), + isClean()); nodes_ = null; } return nodesBuilder_; } - private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - queryInsightsConfig_; + private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> - queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - .getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11035,19 +9769,14 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { if (queryInsightsConfigBuilder_ == null) { queryInsightsConfig_ = builderForValue.build(); } else { @@ -11058,24 +9787,17 @@ public Builder setQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public Builder mergeQueryInsightsConfig( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) - && queryInsightsConfig_ != null - && queryInsightsConfig_ - != com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) && + queryInsightsConfig_ != null && + queryInsightsConfig_ != com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -11088,15 +9810,11 @@ public Builder mergeQueryInsightsConfig( return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -11109,67 +9827,48 @@ public Builder clearQueryInsightsConfig() { return this; } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder - getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig - .getDefaultInstance() - : queryInsightsConfig_; + return queryInsightsConfig_ == null ? + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; } } /** - * - * *
      * Configuration for query insights.
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), getParentForChildren(), isClean()); + queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), + getParentForChildren(), + isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -11177,55 +9876,41 @@ public Builder clearQueryInsightsConfig() { private com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> - readPoolConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder setReadPoolConfig( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { + public Builder setReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11239,8 +9924,6 @@ public Builder setReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
@@ -11259,21 +9942,17 @@ public Builder setReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder mergeReadPoolConfig( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { + public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) - && readPoolConfig_ != null - && readPoolConfig_ - != com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) && + readPoolConfig_ != null && + readPoolConfig_ != com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) { getReadPoolConfigBuilder().mergeFrom(value); } else { readPoolConfig_ = value; @@ -11286,8 +9965,6 @@ public Builder mergeReadPoolConfig( return this; } /** - * - * *
      * Read pool specific config.
      * 
@@ -11305,42 +9982,33 @@ public Builder clearReadPoolConfig() { return this; } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder - getReadPoolConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder() { bitField0_ |= 0x00010000; onChanged(); return getReadPoolConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder - getReadPoolConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { if (readPoolConfigBuilder_ != null) { return readPoolConfigBuilder_.getMessageOrBuilder(); } else { - return readPoolConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() - : readPoolConfig_; + return readPoolConfig_ == null ? + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; } } /** - * - * *
      * Read pool specific config.
      * 
@@ -11348,17 +10016,14 @@ public Builder clearReadPoolConfig() { * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> getReadPoolConfigFieldBuilder() { if (readPoolConfigBuilder_ == null) { - readPoolConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder>( - getReadPoolConfig(), getParentForChildren(), isClean()); + readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder>( + getReadPoolConfig(), + getParentForChildren(), + isClean()); readPoolConfig_ = null; } return readPoolConfigBuilder_; @@ -11366,21 +10031,19 @@ public Builder clearReadPoolConfig() { private java.lang.Object ipAddress_ = ""; /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -11389,22 +10052,21 @@ public java.lang.String getIpAddress() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString getIpAddressBytes() { + public com.google.protobuf.ByteString + getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -11412,37 +10074,30 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddress( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -11452,22 +10107,18 @@ public Builder clearIpAddress() { return this; } /** - * - * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIpAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -11475,10 +10126,8 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11488,7 +10137,6 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -11496,8 +10144,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11507,7 +10153,6 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -11519,8 +10164,6 @@ public Builder setReconciling(boolean value) { return this; } /** - * - * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -11530,7 +10173,6 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -11542,20 +10184,18 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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; @@ -11564,21 +10204,20 @@ public java.lang.String getEtag() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @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 { @@ -11586,35 +10225,28 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -11624,21 +10256,17 @@ public Builder clearEtag() { return this; } /** - * - * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -11646,8 +10274,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -11656,12 +10284,11 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { } return annotations_; } - private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -11670,13 +10297,10 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { onChanged(); return annotations_; } - public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11686,21 +10310,20 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11714,8 +10337,6 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11725,19 +10346,17 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getAnnotationsOrDefault(
+    public /* nullable */
+java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11747,25 +10366,23 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11774,22 +10391,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+        getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11798,20 +10416,17 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+    public Builder putAnnotations(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
-     *
-     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -11820,21 +10435,18 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy updatePolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>
-        updatePolicyBuilder_;
+        com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder> updatePolicyBuilder_;
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11843,15 +10455,12 @@ public Builder putAllAnnotations(java.util.Map
      *
      * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
-     *
      * @return Whether the updatePolicy field is set.
      */
     public boolean hasUpdatePolicy() {
       return ((bitField0_ & 0x00200000) != 0);
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11860,21 +10469,16 @@ public boolean hasUpdatePolicy() {
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() { if (updatePolicyBuilder_ == null) { - return updatePolicy_ == null - ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() - : updatePolicy_; + return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; } else { return updatePolicyBuilder_.getMessage(); } } /** - * - * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11898,8 +10502,6 @@ public Builder setUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.UpdatePo
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11921,8 +10523,6 @@ public Builder setUpdatePolicy(
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11934,10 +10534,9 @@ public Builder setUpdatePolicy(
      */
     public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy value) {
       if (updatePolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00200000) != 0)
-            && updatePolicy_ != null
-            && updatePolicy_
-                != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00200000) != 0) &&
+          updatePolicy_ != null &&
+          updatePolicy_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) {
           getUpdatePolicyBuilder().mergeFrom(value);
         } else {
           updatePolicy_ = value;
@@ -11950,8 +10549,6 @@ public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.Update
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11972,8 +10569,6 @@ public Builder clearUpdatePolicy() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -11989,8 +10584,6 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
       return getUpdatePolicyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12000,19 +10593,15 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
      *
      * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder
-        getUpdatePolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
       if (updatePolicyBuilder_ != null) {
         return updatePolicyBuilder_.getMessageOrBuilder();
       } else {
-        return updatePolicy_ == null
-            ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()
-            : updatePolicy_;
+        return updatePolicy_ == null ?
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
       }
     }
     /**
-     *
-     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -12023,17 +10612,14 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
      * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>
+        com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder> 
         getUpdatePolicyFieldBuilder() {
       if (updatePolicyBuilder_ == null) {
-        updatePolicyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
-                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
-                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>(
-                getUpdatePolicy(), getParentForChildren(), isClean());
+        updatePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>(
+                getUpdatePolicy(),
+                getParentForChildren(),
+                isClean());
         updatePolicy_ = null;
       }
       return updatePolicyBuilder_;
@@ -12041,62 +10627,41 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
 
     private com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig,
-            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder,
-            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>
-        clientConnectionConfigBuilder_;
+        com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
     /**
-     *
-     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00400000) != 0); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - getClientConnectionConfig() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setClientConnectionConfig( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12110,15 +10675,11 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -12132,24 +10693,17 @@ public Builder setClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeClientConnectionConfig( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) - && clientConnectionConfig_ != null - && clientConnectionConfig_ - != com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) && + clientConnectionConfig_ != null && + clientConnectionConfig_ != com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -12162,15 +10716,11 @@ public Builder mergeClientConnectionConfig( return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -12183,73 +10733,55 @@ public Builder clearClientConnectionConfig() { return this; } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder - getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null - ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() - : clientConnectionConfig_; + return clientConnectionConfig_ == null ? + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; } } /** - * - * *
      * Optional. Client connection specific configurations
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), getParentForChildren(), isClean()); + clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), + getParentForChildren(), + isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12259,12 +10791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance) private static final com.google.cloud.alloydb.v1beta.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance(); } @@ -12273,27 +10805,27 @@ public static com.google.cloud.alloydb.v1beta.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; @@ -12308,4 +10840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java index cb9edc16954f..e988b006b4dd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -39,13 +21,10 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -59,180 +38,135 @@ public interface InstanceOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -241,31 +175,30 @@ public interface InstanceOrBuilder */ int getLabelsCount(); /** - * - * *
    * Labels as key value pairs
    * 
* * 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(); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Labels as key value pairs
    * 
@@ -273,108 +206,79 @@ public interface InstanceOrBuilder * map<string, string> labels = 7; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current serving state of the instance.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.alloydb.v1beta.Instance.State getState(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** - * - * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; * @return The instanceType. */ com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; - * * @return The machineConfig. */ com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig(); /** - * - * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -385,8 +289,6 @@ java.lang.String getLabelsOrDefault(
   com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -397,13 +299,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** - * - * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -414,14 +313,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; - * * @return The availabilityType. */ com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -432,13 +328,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The gceZone. */ java.lang.String getGceZone(); /** - * - * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -449,14 +342,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string gce_zone = 12; - * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString getGceZoneBytes(); + com.google.protobuf.ByteString + getGceZoneBytes(); /** - * - * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -478,8 +369,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getDatabaseFlagsCount();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -499,13 +388,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(java.lang.String key);
-  /** Use {@link #getDatabaseFlagsMap()} instead. */
+  boolean containsDatabaseFlags(
+      java.lang.String key);
+  /**
+   * Use {@link #getDatabaseFlagsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getDatabaseFlags();
+  java.util.Map
+  getDatabaseFlags();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -525,10 +416,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map getDatabaseFlagsMap();
+  java.util.Map
+  getDatabaseFlagsMap();
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -549,13 +439,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-  java.lang.String getDatabaseFlagsOrDefault(
+java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -575,188 +463,134 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The writableNode. */ com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode(); /** - * - * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getNodesList(); + java.util.List + getNodesList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getNodesCount(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getNodesOrBuilderList(); /** - * - * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index); + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( + int index); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** - * - * *
    * Configuration for query insights.
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; - * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; */ - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder - getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** - * - * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; - * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig(); /** - * - * *
    * Read pool specific config.
    * 
@@ -766,35 +600,28 @@ java.lang.String getDatabaseFlagsOrDefault( com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -804,39 +631,31 @@ java.lang.String getDatabaseFlagsOrDefault(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -847,8 +666,6 @@ java.lang.String getDatabaseFlagsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -857,13 +674,15 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -872,10 +691,9 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -885,13 +703,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -900,11 +716,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -913,13 +728,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; - * * @return Whether the updatePolicy field is set. */ boolean hasUpdatePolicy(); /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -928,13 +740,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; - * * @return The updatePolicy. */ com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy(); /** - * - * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -947,44 +756,29 @@ java.lang.String getAnnotationsOrDefault(
   com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig(); /** - * - * *
    * Optional. Client connection specific configurations
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder - getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java index ec117864b081..8fc7515acb1c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1beta.InstanceView}
  */
-public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -40,8 +22,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ INSTANCE_VIEW_UNSPECIFIED(0), /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -52,8 +32,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   INSTANCE_VIEW_BASIC(1),
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -66,8 +44,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -76,8 +52,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -88,8 +62,6 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -99,6 +71,7 @@ public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,49 +96,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0:
-        return INSTANCE_VIEW_UNSPECIFIED;
-      case 1:
-        return INSTANCE_VIEW_BASIC;
-      case 2:
-        return INSTANCE_VIEW_FULL;
-      default:
-        return null;
+      case 0: return INSTANCE_VIEW_UNSPECIFIED;
+      case 1: return INSTANCE_VIEW_BASIC;
+      case 2: return INSTANCE_VIEW_FULL;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public InstanceView findValueByNumber(int number) {
-          return InstanceView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      InstanceView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public InstanceView findValueByNumber(int number) {
+            return InstanceView.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView 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;
@@ -181,3 +154,4 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.InstanceView)
 }
+
diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
similarity index 68%
rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
index 580d34b64697..1ae58adca903 100644
--- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
+++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
- *
- *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, - com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Filtering results
    * 
* * 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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1beta.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListBackupsRequest other = - (com.google.cloud.alloydb.v1beta.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListBackupsRequest other = (com.google.cloud.alloydb.v1beta.ListBackupsRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,135 +356,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest) com.google.cloud.alloydb.v1beta.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, - com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1beta.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListBackupsRequest result = - new com.google.cloud.alloydb.v1beta.ListBackupsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ListBackupsRequest result = new com.google.cloud.alloydb.v1beta.ListBackupsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListBackupsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -679,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.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; @@ -754,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -778,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string 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() { @@ -820,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -844,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -862,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -882,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -902,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -924,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -946,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -984,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1008,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering results
      * 
* * 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; @@ -1030,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering results
      * 
* * 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 { @@ -1052,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1090,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Filtering results
      * 
* * string filter = 4; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1114,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1136,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1158,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1196,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Hint for how to order the results
      * 
* * string order_by = 5; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1229,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListBackupsRequest) private static final com.google.cloud.alloydb.v1beta.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListBackupsRequest(); } @@ -1243,27 +1115,27 @@ public static com.google.cloud.alloydb.v1beta.ListBackupsRequest getDefaultInsta 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; @@ -1278,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java similarity index 59% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java index 6ad7c33261da..2d762d474c34 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering results
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Hint for how to order the results
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java index 52eb0707bdcc..2fa1f62fbdac 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, - com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List backups_; /** - * - * *
    * The list of Backup
    * 
@@ -82,8 +61,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -91,13 +68,11 @@ public java.util.List getBackupsList() { * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** - * - * *
    * The list of Backup
    * 
@@ -109,8 +84,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of Backup
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of Backup
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1beta.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListBackupsResponse other = - (com.google.cloud.alloydb.v1beta.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1beta.ListBackupsResponse other = (com.google.cloud.alloydb.v1beta.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse) com.google.cloud.alloydb.v1beta.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, - com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1beta.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListBackupsResponse result = - new com.google.cloud.alloydb.v1beta.ListBackupsResponse(this); + com.google.cloud.alloydb.v1beta.ListBackupsResponse result = new com.google.cloud.alloydb.v1beta.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.ListBackupsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListBackupsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance()) return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsResponse oth 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_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Backup.parser(), extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Backup.parser(), + extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,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.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> - backupsBuilder_; + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupsBuilder_; /** - * - * *
      * The list of Backup
      * 
@@ -735,8 +675,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of Backup
      * 
@@ -751,8 +689,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of Backup
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { } } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder setBackups(int index, com.google.cloud.alloydb.v1beta.Backup value) { + public Builder setBackups( + int index, com.google.cloud.alloydb.v1beta.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setBackups(int index, com.google.cloud.alloydb.v1beta.Backup valu return this; } /** - * - * *
      * The list of Backup
      * 
@@ -809,8 +742,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -831,15 +762,14 @@ public Builder addBackups(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder addBackups(int index, com.google.cloud.alloydb.v1beta.Backup value) { + public Builder addBackups( + int index, com.google.cloud.alloydb.v1beta.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addBackups(int index, com.google.cloud.alloydb.v1beta.Backup valu return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder addBackups(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder addBackups( + com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addBackups(com.google.cloud.alloydb.v1beta.Backup.Builder builder return this; } /** - * - * *
      * The list of Backup
      * 
@@ -892,8 +819,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -904,7 +829,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); @@ -912,8 +838,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of Backup
      * 
@@ -931,8 +855,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of Backup
      * 
@@ -950,44 +872,39 @@ public Builder removeBackups(int index) { return this; } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupsBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupsBuilder( + int index) { return getBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( + int index) { if (backupsBuilder_ == null) { - return backups_.get(index); - } else { + return backups_.get(index); } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int i } } /** - * - * *
      * The list of Backup
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int i * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); + return getBackupsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder(int index) { - return getBackupsFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder( + int index) { + return getBackupsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); } /** - * - * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public java.util.List getBackupsBuilderList() { + public java.util.List + getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + backups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); backups_ = null; } return backupsBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getBackups private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListBackupsResponse) private static final com.google.cloud.alloydb.v1beta.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListBackupsResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1beta.ListBackupsResponse getDefaultInst 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; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java index 1f20429eb8e6..02745a0bc5df 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - java.util.List getBackupsList(); + java.util.List + getBackupsList(); /** - * - * *
    * The list of Backup
    * 
@@ -44,8 +25,6 @@ public interface ListBackupsResponseOrBuilder */ com.google.cloud.alloydb.v1beta.Backup getBackups(int index); /** - * - * *
    * The list of Backup
    * 
@@ -54,100 +33,82 @@ public interface ListBackupsResponseOrBuilder */ int getBackupsCount(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - java.util.List + java.util.List getBackupsOrBuilderList(); /** - * - * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index); + com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java index 5cb225e9c942..9b92d1203b0e 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,32 +28,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersRequest.class, - com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersRequest.class, com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -79,10 +57,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -91,15 +66,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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 +102,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -146,18 +116,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -166,29 +132,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +163,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -217,29 +179,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -248,18 +210,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -268,29 +226,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -299,7 +257,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -340,7 +298,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_); @@ -359,19 +318,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.cloud.alloydb.v1beta.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListClustersRequest other = - (com.google.cloud.alloydb.v1beta.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListClustersRequest other = (com.google.cloud.alloydb.v1beta.ListClustersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -399,135 +362,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListClustersRequest) com.google.cloud.alloydb.v1beta.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersRequest.class, - com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersRequest.class, com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override @@ -562,11 +521,8 @@ public com.google.cloud.alloydb.v1beta.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListClustersRequest result = - new com.google.cloud.alloydb.v1beta.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ListClustersRequest result = new com.google.cloud.alloydb.v1beta.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -594,39 +550,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListClustersRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -634,8 +589,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -685,43 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,13 +679,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -745,16 +690,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.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; @@ -763,8 +706,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -772,17 +713,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -790,8 +730,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -799,25 +737,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -825,10 +757,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/-
      * 
* - * - * string 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() { @@ -838,8 +767,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -847,17 +774,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -865,17 +788,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -883,15 +803,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -903,15 +820,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -923,20 +837,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -945,21 +857,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -967,35 +878,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1005,21 +909,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1029,20 +929,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1051,21 +949,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1073,35 +970,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1111,21 +1001,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1135,20 +1021,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1157,21 +1041,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1179,35 +1062,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1217,30 +1093,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1250,12 +1122,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListClustersRequest) private static final com.google.cloud.alloydb.v1beta.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListClustersRequest(); } @@ -1264,27 +1136,27 @@ public static com.google.cloud.alloydb.v1beta.ListClustersRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1299,4 +1171,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java index 5bbe056974a1..54db11b282f1 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -33,16 +15,11 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -50,100 +27,80 @@ public interface ListClustersRequestOrBuilder
    *  * projects/{project}/locations/-
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java index c8f94965cc32..c688a6b9d8d2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersResponse.class, - com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersResponse.class, com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of Cluster
    * 
@@ -82,8 +61,6 @@ public java.util.List getClustersList() return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -91,13 +68,11 @@ public java.util.List getClustersList() * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of Cluster
    * 
@@ -109,8 +84,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of Cluster
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of Cluster
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1beta.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListClustersResponse other = - (com.google.cloud.alloydb.v1beta.ListClustersResponse) obj; + com.google.cloud.alloydb.v1beta.ListClustersResponse other = (com.google.cloud.alloydb.v1beta.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListClustersResponse) com.google.cloud.alloydb.v1beta.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersResponse.class, - com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersResponse.class, com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1beta.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListClustersResponse result = - new com.google.cloud.alloydb.v1beta.ListClustersResponse(this); + com.google.cloud.alloydb.v1beta.ListClustersResponse result = new com.google.cloud.alloydb.v1beta.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListClustersResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersResponse ot clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> - clustersBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of Cluster
      * 
@@ -735,8 +675,6 @@ public java.util.List getClustersList() } } /** - * - * *
      * The list of Cluster
      * 
@@ -751,8 +689,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of Cluster
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.cloud.alloydb.v1beta.Cluster value) { + public Builder setClusters( + int index, com.google.cloud.alloydb.v1beta.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setClusters(int index, com.google.cloud.alloydb.v1beta.Cluster va return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -809,8 +742,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -831,15 +762,14 @@ public Builder addClusters(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.cloud.alloydb.v1beta.Cluster value) { + public Builder addClusters( + int index, com.google.cloud.alloydb.v1beta.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addClusters(int index, com.google.cloud.alloydb.v1beta.Cluster va return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder addClusters(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addClusters(com.google.cloud.alloydb.v1beta.Cluster.Builder build return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -892,8 +819,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -904,7 +829,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -912,8 +838,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -931,8 +855,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of Cluster
      * 
@@ -950,44 +872,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.Cluster.Builder getClustersBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int } } /** - * - * *
      * The list of Cluster
      * 
@@ -1004,48 +919,42 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public java.util.List - getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1053,20 +962,18 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1075,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1135,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1159,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1167,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1211,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1249,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1271,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1330,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1342,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListClustersResponse) private static final com.google.cloud.alloydb.v1beta.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListClustersResponse(); } @@ -1356,27 +1224,27 @@ public static com.google.cloud.alloydb.v1beta.ListClustersResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1391,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java index 9aeae751b38e..a62ef17ac8ac 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - java.util.List getClustersList(); + java.util.List + getClustersList(); /** - * - * *
    * The list of Cluster
    * 
@@ -44,8 +25,6 @@ public interface ListClustersResponseOrBuilder */ com.google.cloud.alloydb.v1beta.Cluster getClusters(int index); /** - * - * *
    * The list of Cluster
    * 
@@ -54,100 +33,82 @@ public interface ListClustersResponseOrBuilder */ int getClustersCount(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** - * - * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index); + com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java index c48ead2fb286..999df6afc578 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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,32 +28,28 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, - com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -81,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -111,18 +85,17 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -133,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -150,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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,18 +167,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -221,29 +183,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -252,18 +214,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -272,29 +230,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -303,7 +261,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +272,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -344,7 +302,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_); @@ -363,19 +322,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.cloud.alloydb.v1beta.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListInstancesRequest other = - (com.google.cloud.alloydb.v1beta.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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListInstancesRequest other = (com.google.cloud.alloydb.v1beta.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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -403,135 +366,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest) com.google.cloud.alloydb.v1beta.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, - com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -545,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override @@ -566,11 +525,8 @@ public com.google.cloud.alloydb.v1beta.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListInstancesRequest result = - new com.google.cloud.alloydb.v1beta.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ListInstancesRequest result = new com.google.cloud.alloydb.v1beta.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -598,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListInstancesRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -638,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -689,43 +643,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,13 +683,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -751,16 +696,14 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -769,8 +712,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -780,17 +721,16 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -798,8 +738,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -809,25 +747,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -837,10 +769,7 @@ public Builder setParent(java.lang.String value) {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -850,8 +779,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -861,17 +788,13 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -879,17 +802,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -897,15 +817,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -917,15 +834,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -937,20 +851,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -959,21 +871,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -981,35 +892,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1019,21 +923,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1043,20 +943,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1065,21 +963,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1087,35 +984,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1125,21 +1015,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1149,20 +1035,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1171,21 +1055,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1193,35 +1076,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1231,30 +1107,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1264,12 +1136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListInstancesRequest) private static final com.google.cloud.alloydb.v1beta.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListInstancesRequest(); } @@ -1278,27 +1150,27 @@ public static com.google.cloud.alloydb.v1beta.ListInstancesRequest getDefaultIns 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; @@ -1313,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java index 6115ef788257..48fa2bc7b075 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -35,16 +17,11 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -54,100 +31,80 @@ public interface ListInstancesRequestOrBuilder
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java index 1b22e9704fc7..7b144674ba58 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, - com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of Instance
    * 
@@ -82,8 +61,6 @@ public java.util.List getInstancesList return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -91,13 +68,11 @@ public java.util.List getInstancesList * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of Instance
    * 
@@ -109,8 +84,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of Instance
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of Instance
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -283,7 +240,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_); @@ -304,17 +262,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.cloud.alloydb.v1beta.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListInstancesResponse other = - (com.google.cloud.alloydb.v1beta.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1beta.ListInstancesResponse other = (com.google.cloud.alloydb.v1beta.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,136 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse) com.google.cloud.alloydb.v1beta.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, - com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -484,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override @@ -510,18 +466,14 @@ public com.google.cloud.alloydb.v1beta.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListInstancesResponse result = - new com.google.cloud.alloydb.v1beta.ListInstancesResponse(this); + com.google.cloud.alloydb.v1beta.ListInstancesResponse result = new com.google.cloud.alloydb.v1beta.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -548,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListInstancesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -588,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -608,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesResponse o 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_); } @@ -658,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> - instancesBuilder_; + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of Instance
      * 
@@ -736,8 +675,6 @@ public java.util.List getInstancesList } } /** - * - * *
      * The list of Instance
      * 
@@ -752,8 +689,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of Instance
      * 
@@ -768,15 +703,14 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { } } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder setInstances( + int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,8 +724,6 @@ public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance return this; } /** - * - * *
      * The list of Instance
      * 
@@ -810,8 +742,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -832,15 +762,14 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder addInstances( + int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -854,15 +783,14 @@ public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -873,8 +801,6 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder bui return this; } /** - * - * *
      * The list of Instance
      * 
@@ -893,8 +819,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -905,7 +829,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); @@ -913,8 +838,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of Instance
      * 
@@ -932,8 +855,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of Instance
      * 
@@ -951,44 +872,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder(int index) { + public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -996,8 +912,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(i } } /** - * - * *
      * The list of Instance
      * 
@@ -1005,48 +919,42 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(i * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** - * - * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1054,20 +962,18 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1076,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1098,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1136,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1160,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1168,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1212,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1250,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1272,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1331,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1343,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListInstancesResponse) private static final com.google.cloud.alloydb.v1beta.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListInstancesResponse(); } @@ -1357,27 +1224,27 @@ public static com.google.cloud.alloydb.v1beta.ListInstancesResponse getDefaultIn 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; @@ -1392,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java index a1d50bc2ac6d..53448839ad5f 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of Instance
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.cloud.alloydb.v1beta.Instance getInstances(int index); /** - * - * *
    * The list of Instance
    * 
@@ -54,100 +33,82 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java index c302a7d4de18..16ccf626ae5c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,32 +26,28 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -81,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -93,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -112,18 +85,17 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -151,18 +120,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -171,29 +136,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -202,7 +167,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -214,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,7 +202,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -250,17 +216,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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other = - (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,138 +252,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.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(); @@ -427,14 +388,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); } @@ -449,17 +409,13 @@ public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest build() @java.lang.Override public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result = - new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -476,50 +432,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other) { - if (other - == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other) { + if (other == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -559,31 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -593,13 +541,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -610,16 +555,14 @@ public Builder mergeFrom(
      * flags.
      * 
* - * - * string parent = 1 [(.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; @@ -628,8 +571,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -640,17 +581,16 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -658,8 +598,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -670,25 +608,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -699,10 +631,7 @@ public Builder setParent(java.lang.String value) {
      * flags.
      * 
* - * - * string 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() { @@ -712,8 +641,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -724,17 +651,13 @@ public Builder clearParent() {
      * flags.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -742,17 +665,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -760,15 +680,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -780,15 +697,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -800,20 +714,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -822,21 +734,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -844,35 +755,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -882,30 +786,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -915,43 +815,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -963,8 +861,9 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java index 9067581b6beb..b02878c9b684 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListSupportedDatabaseFlagsRequestOrBuilder - extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -36,16 +18,11 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -56,50 +33,40 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder
    * flags.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java similarity index 62% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java index 93d37db47577..9c8f9c139a5a 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListSupportedDatabaseFlagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,118 +26,94 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - supportedDatabaseFlags_; + private java.util.List supportedDatabaseFlags_; /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags( - int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { return supportedDatabaseFlags_.get(index); } /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -165,29 +122,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 +153,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +164,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -225,9 +182,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, supportedDatabaseFlags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -240,17 +196,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other = - (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList() + .equals(other.getSupportedDatabaseFlagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -274,138 +230,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.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(); @@ -422,16 +371,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - .getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); } @java.lang.Override @@ -445,18 +392,14 @@ public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse build( @java.lang.Override public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result = - new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -468,8 +411,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -480,51 +422,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) { - return mergeFrom( - (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other) { - if (other - == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other) { + if (other == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -543,10 +480,9 @@ public Builder mergeFrom( supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSupportedDatabaseFlagsFieldBuilder() - : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getSupportedDatabaseFlagsFieldBuilder() : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -583,33 +519,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -619,40 +552,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - supportedDatabaseFlags_ = java.util.Collections.emptyList(); - + private java.util.List supportedDatabaseFlags_ = + java.util.Collections.emptyList(); private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = - new java.util.ArrayList( - supportedDatabaseFlags_); + supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> - supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsList() { + public java.util.List getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -660,15 +581,11 @@ private void ensureSupportedDatabaseFlagsIsMutable() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -678,18 +595,13 @@ public int getSupportedDatabaseFlagsCount() { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags( - int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { return supportedDatabaseFlags_.get(index); } else { @@ -697,15 +609,11 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabas } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { @@ -722,15 +630,11 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -744,18 +648,13 @@ public Builder setSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public Builder addSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -769,15 +668,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { @@ -794,15 +689,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -816,15 +707,11 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -838,22 +725,18 @@ public Builder addSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder addAllSupportedDatabaseFlags( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -861,15 +744,11 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -882,15 +761,11 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -903,52 +778,39 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder - getSupportedDatabaseFlagsBuilder(int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( + int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder - getSupportedDatabaseFlagsOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( + int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); - } else { + return supportedDatabaseFlags_.get(index); } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -956,65 +818,45 @@ public Builder removeSupportedDatabaseFlags(int index) { } } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder - addSupportedDatabaseFlagsBuilder(int index) { - return getSupportedDatabaseFlagsFieldBuilder() - .addBuilder( - index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( + int index) { + return getSupportedDatabaseFlagsFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); } /** - * - * *
      * The list of SupportedDatabaseFlags.
      * 
* - * - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1026,20 +868,18 @@ public Builder removeSupportedDatabaseFlags(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1048,21 +888,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1070,35 +909,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1108,30 +940,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1141,43 +969,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,8 +1015,9 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java index bc4155aed34a..377df683691d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,109 +1,73 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListSupportedDatabaseFlagsResponseOrBuilder - extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List + java.util.List getSupportedDatabaseFlagsList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ int getSupportedDatabaseFlagsCount(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** - * - * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; - * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java index 9382024ed318..07974400dd2d 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersRequest} */ -public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListUsersRequest) ListUsersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -46,40 +28,33 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersRequest.class, - com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersRequest.class, com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,31 +63,29 @@ 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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -140,18 +110,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -160,29 +126,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -191,18 +157,14 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } public static final int FILTER_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -211,29 +173,29 @@ 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; } } /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -242,18 +204,14 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -262,29 +220,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -293,7 +251,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +262,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -334,7 +292,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_); @@ -353,19 +312,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.cloud.alloydb.v1beta.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListUsersRequest other = - (com.google.cloud.alloydb.v1beta.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListUsersRequest other = (com.google.cloud.alloydb.v1beta.ListUsersRequest) 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 (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -392,136 +355,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListUsersRequest) com.google.cloud.alloydb.v1beta.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersRequest.class, - com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersRequest.class, com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListUsersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -535,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override @@ -556,11 +515,8 @@ public com.google.cloud.alloydb.v1beta.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListUsersRequest result = - new com.google.cloud.alloydb.v1beta.ListUsersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.ListUsersRequest result = new com.google.cloud.alloydb.v1beta.ListUsersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,39 +544,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListUsersRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +583,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -679,43 +633,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,27 +673,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.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; @@ -754,23 +697,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -778,39 +718,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string 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() { @@ -820,23 +749,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent value for ListUsersRequest
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -844,17 +767,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -862,15 +782,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -882,15 +799,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -902,20 +816,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -924,21 +836,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -946,35 +857,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -984,21 +888,17 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1008,20 +908,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -1030,21 +928,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1052,35 +949,28 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1090,21 +980,17 @@ public Builder clearFilter() { return this; } /** - * - * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1114,20 +1000,18 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1136,21 +1020,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1158,35 +1041,28 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1196,30 +1072,26 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1229,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListUsersRequest) private static final com.google.cloud.alloydb.v1beta.ListUsersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListUsersRequest(); } @@ -1243,27 +1115,27 @@ public static com.google.cloud.alloydb.v1beta.ListUsersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1278,4 +1150,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java similarity index 63% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java index 8965a38280c7..6df217201185 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java @@ -1,143 +1,100 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListUsersRequestOrBuilder - extends +public interface ListUsersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java index cdc046ce4ecc..d71039048196 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersResponse} */ -public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListUsersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListUsersResponse) ListUsersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersResponse.class, - com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersResponse.class, com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List users_; /** - * - * *
    * The list of User
    * 
@@ -82,8 +61,6 @@ public java.util.List getUsersList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -91,13 +68,11 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1beta.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** - * - * *
    * The list of User
    * 
@@ -109,8 +84,6 @@ public int getUsersCount() { return users_.size(); } /** - * - * *
    * The list of User
    * 
@@ -122,8 +95,6 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { return users_.get(index); } /** - * - * *
    * The list of User
    * 
@@ -131,23 +102,20 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { * repeated .google.cloud.alloydb.v1beta.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( + int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,29 +124,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -187,47 +155,38 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -235,23 +194,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -283,7 +240,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -304,17 +262,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.cloud.alloydb.v1beta.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListUsersResponse other = - (com.google.cloud.alloydb.v1beta.ListUsersResponse) obj; + com.google.cloud.alloydb.v1beta.ListUsersResponse other = (com.google.cloud.alloydb.v1beta.ListUsersResponse) obj; - if (!getUsersList().equals(other.getUsersList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUsersList() + .equals(other.getUsersList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -342,135 +302,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListUsersResponse) com.google.cloud.alloydb.v1beta.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersResponse.class, - com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersResponse.class, com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListUsersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,14 +439,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override @@ -509,18 +466,14 @@ public com.google.cloud.alloydb.v1beta.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListUsersResponse result = - new com.google.cloud.alloydb.v1beta.ListUsersResponse(this); + com.google.cloud.alloydb.v1beta.ListUsersResponse result = new com.google.cloud.alloydb.v1beta.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.alloydb.v1beta.ListUsersResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListUsersResponse result) { if (usersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); @@ -547,39 +500,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListUsersResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersResponse) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersResponse)other); } else { super.mergeFrom(other); return this; @@ -587,8 +539,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance()) return this; if (usersBuilder_ == null) { if (!other.users_.isEmpty()) { if (users_.isEmpty()) { @@ -607,10 +558,9 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersResponse other usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUsersFieldBuilder() - : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUsersFieldBuilder() : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -657,39 +607,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.alloydb.v1beta.User m = - input.readMessage( - com.google.cloud.alloydb.v1beta.User.parser(), extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.alloydb.v1beta.User m = + input.readMessage( + com.google.cloud.alloydb.v1beta.User.parser(), + extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,28 +646,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> - usersBuilder_; + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> usersBuilder_; /** - * - * *
      * The list of User
      * 
@@ -735,8 +675,6 @@ public java.util.List getUsersList() { } } /** - * - * *
      * The list of User
      * 
@@ -751,8 +689,6 @@ public int getUsersCount() { } } /** - * - * *
      * The list of User
      * 
@@ -767,15 +703,14 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder setUsers(int index, com.google.cloud.alloydb.v1beta.User value) { + public Builder setUsers( + int index, com.google.cloud.alloydb.v1beta.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -789,8 +724,6 @@ public Builder setUsers(int index, com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * The list of User
      * 
@@ -809,8 +742,6 @@ public Builder setUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -831,15 +762,14 @@ public Builder addUsers(com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder addUsers(int index, com.google.cloud.alloydb.v1beta.User value) { + public Builder addUsers( + int index, com.google.cloud.alloydb.v1beta.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -853,15 +783,14 @@ public Builder addUsers(int index, com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder addUsers(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder addUsers( + com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -872,8 +801,6 @@ public Builder addUsers(com.google.cloud.alloydb.v1beta.User.Builder builderForV return this; } /** - * - * *
      * The list of User
      * 
@@ -892,8 +819,6 @@ public Builder addUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -904,7 +829,8 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -912,8 +838,6 @@ public Builder addAllUsers( return this; } /** - * - * *
      * The list of User
      * 
@@ -931,8 +855,6 @@ public Builder clearUsers() { return this; } /** - * - * *
      * The list of User
      * 
@@ -950,44 +872,39 @@ public Builder removeUsers(int index) { return this; } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.User.Builder getUsersBuilder(int index) { + public com.google.cloud.alloydb.v1beta.User.Builder getUsersBuilder( + int index) { return getUsersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index) { + public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( + int index) { if (usersBuilder_ == null) { - return users_.get(index); - } else { + return users_.get(index); } else { return usersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -995,8 +912,6 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index } } /** - * - * *
      * The list of User
      * 
@@ -1004,47 +919,42 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index * repeated .google.cloud.alloydb.v1beta.User users = 1; */ public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder() { - return getUsersFieldBuilder() - .addBuilder(com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); + return getUsersFieldBuilder().addBuilder( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder(int index) { - return getUsersFieldBuilder() - .addBuilder(index, com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder( + int index) { + return getUsersFieldBuilder().addBuilder( + index, com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); } /** - * - * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public java.util.List getUsersBuilderList() { + public java.util.List + getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder>( - users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( + users_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); users_ = null; } return usersBuilder_; @@ -1052,20 +962,18 @@ public java.util.List getUsersBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -1074,21 +982,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -1096,35 +1003,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1134,21 +1034,17 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1158,7 +1054,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1166,43 +1061,35 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1210,37 +1097,31 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1248,21 +1129,17 @@ public Builder setUnreachable(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1270,58 +1147,50 @@ public Builder addUnreachable(java.lang.String value) { return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1329,9 +1198,9 @@ public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1341,12 +1210,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListUsersResponse) private static final com.google.cloud.alloydb.v1beta.ListUsersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListUsersResponse(); } @@ -1355,27 +1224,27 @@ public static com.google.cloud.alloydb.v1beta.ListUsersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,4 +1259,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java similarity index 69% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java index 4bc1eed15a37..15835d9208da 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListUsersResponseOrBuilder - extends +public interface ListUsersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - java.util.List getUsersList(); + java.util.List + getUsersList(); /** - * - * *
    * The list of User
    * 
@@ -44,8 +25,6 @@ public interface ListUsersResponseOrBuilder */ com.google.cloud.alloydb.v1beta.User getUsers(int index); /** - * - * *
    * The list of User
    * 
@@ -54,99 +33,82 @@ public interface ListUsersResponseOrBuilder */ int getUsersCount(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - java.util.List getUsersOrBuilderList(); + java.util.List + getUsersOrBuilderList(); /** - * - * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index); + com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( + int index); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java similarity index 67% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java index ea991b8ddd25..99132bc321c2 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.MigrationSource}
  */
-public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.MigrationSource)
     MigrationSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -46,38 +28,34 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.MigrationSource.class,
-            com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1beta.MigrationSource.class, com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Migration source is unknown.
      * 
@@ -86,8 +64,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -99,8 +75,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
      * Migration source is unknown.
      * 
@@ -109,8 +83,6 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -119,6 +91,7 @@ public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int DMS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -143,12 +116,9 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: - return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: - return DMS; - default: - return null; + case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: return DMS; + default: return null; } } @@ -156,28 +126,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + MigrationSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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.cloud.alloydb.v1beta.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -186,7 +156,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MigrationSourceType 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; @@ -204,19 +175,15 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ @java.lang.Override @@ -225,30 +192,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -257,19 +224,15 @@ public com.google.protobuf.ByteString getHostPortBytes() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ @java.lang.Override @@ -278,30 +241,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -312,46 +275,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null - ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,17 +310,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { + if (sourceType_ != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -391,11 +336,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ - != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType - .MIGRATION_SOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); + if (sourceType_ != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -405,16 +348,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.cloud.alloydb.v1beta.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.MigrationSource other = - (com.google.cloud.alloydb.v1beta.MigrationSource) obj; + com.google.cloud.alloydb.v1beta.MigrationSource other = (com.google.cloud.alloydb.v1beta.MigrationSource) obj; - if (!getHostPort().equals(other.getHostPort())) return false; - if (!getReferenceId().equals(other.getReferenceId())) return false; + if (!getHostPort() + .equals(other.getHostPort())) return false; + if (!getReferenceId() + .equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -438,104 +382,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -543,32 +482,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.MigrationSource}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.MigrationSource)
       com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.MigrationSource.class,
-              com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1beta.MigrationSource.class, com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -580,9 +520,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -601,11 +541,8 @@ public com.google.cloud.alloydb.v1beta.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1beta.MigrationSource result =
-          new com.google.cloud.alloydb.v1beta.MigrationSource(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.MigrationSource result = new com.google.cloud.alloydb.v1beta.MigrationSource(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -627,39 +564,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.MigrationSource resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.MigrationSource) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.MigrationSource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -667,8 +603,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.MigrationSource other) {
-      if (other == com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) return this;
       if (!other.getHostPort().isEmpty()) {
         hostPort_ = other.hostPort_;
         bitField0_ |= 0x00000001;
@@ -708,31 +643,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                hostPort_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                referenceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              hostPort_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              referenceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -742,26 +673,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
-     *
-     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -770,22 +698,21 @@ public java.lang.String getHostPort() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString getHostPortBytes() { + public com.google.protobuf.ByteString + getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); hostPort_ = b; return b; } else { @@ -793,37 +720,30 @@ public com.google.protobuf.ByteString getHostPortBytes() { } } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPort( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -833,22 +753,18 @@ public Builder clearHostPort() { return this; } /** - * - * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setHostPortBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -858,21 +774,19 @@ public Builder setHostPortBytes(com.google.protobuf.ByteString value) { private java.lang.Object referenceId_ = ""; /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -881,22 +795,21 @@ public java.lang.String getReferenceId() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString getReferenceIdBytes() { + public com.google.protobuf.ByteString + getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); referenceId_ = b; return b; } else { @@ -904,37 +817,30 @@ public com.google.protobuf.ByteString getReferenceIdBytes() { } } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -944,22 +850,18 @@ public Builder clearReferenceId() { return this; } /** - * - * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReferenceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -969,33 +871,22 @@ public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -1006,43 +897,28 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber( - sourceType_); - return result == null - ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType( - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType value) { + public Builder setSourceType(com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -1052,16 +928,11 @@ public Builder setSourceType( return this; } /** - * - * *
      * Output only. Type of migration source.
      * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1070,9 +941,9 @@ public Builder clearSourceType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.MigrationSource) private static final com.google.cloud.alloydb.v1beta.MigrationSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.MigrationSource(); } @@ -1096,27 +967,27 @@ public static com.google.cloud.alloydb.v1beta.MigrationSource getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +1002,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java similarity index 60% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java index aca975740de1..81afcb7bc7e0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java @@ -1,107 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface MigrationSourceOrBuilder - extends +public interface MigrationSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.MigrationSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The hostPort. */ java.lang.String getHostPort(); /** - * - * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString getHostPortBytes(); + com.google.protobuf.ByteString + getHostPortBytes(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The referenceId. */ java.lang.String getReferenceId(); /** - * - * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString getReferenceIdBytes(); + com.google.protobuf.ByteString + getReferenceIdBytes(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * Output only. Type of migration source.
    * 
* - * - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceType. */ com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java similarity index 68% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java index cad921589642..16e457214ec0 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.OperationMetadata} */ -public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.OperationMetadata) OperationMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationMetadata() { target_ = ""; verb_ = ""; @@ -46,38 +28,33 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.OperationMetadata.class, - com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1beta.OperationMetadata.class, com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object requestSpecific_; - public enum RequestSpecificCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; - private RequestSpecificCase(int value) { this.value = value; } @@ -93,36 +70,29 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: - return BATCH_CREATE_INSTANCES_METADATA; - case 0: - return REQUESTSPECIFIC_NOT_SET; - default: - return null; + case 8: return BATCH_CREATE_INSTANCES_METADATA; + case 0: return REQUESTSPECIFIC_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -130,42 +100,31 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -173,15 +132,11 @@ public boolean hasBatchCreateInstancesMetadata() { public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -189,15 +144,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -205,14 +156,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -222,15 +170,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -238,15 +182,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -254,14 +194,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -269,18 +206,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ @java.lang.Override @@ -289,29 +222,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -320,18 +253,14 @@ public com.google.protobuf.ByteString getTargetBytes() { } public static final int VERB_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ @java.lang.Override @@ -340,29 +269,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -371,18 +300,14 @@ public com.google.protobuf.ByteString getVerbBytes() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ @java.lang.Override @@ -391,29 +316,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -424,8 +349,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -435,7 +358,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -444,18 +366,14 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ @java.lang.Override @@ -464,29 +382,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -495,7 +413,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,7 +424,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -530,8 +448,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage(8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -543,10 +460,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -558,15 +477,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -576,32 +495,38 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.OperationMetadata other = - (com.google.cloud.alloydb.v1beta.OperationMetadata) obj; + com.google.cloud.alloydb.v1beta.OperationMetadata other = (com.google.cloud.alloydb.v1beta.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (!getTarget().equals(other.getTarget())) return false; - if (!getVerb().equals(other.getVerb())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() != other.getRequestedCancellation()) return false; - if (!getApiVersion().equals(other.getApiVersion())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (!getTarget() + .equals(other.getTarget())) return false; + if (!getVerb() + .equals(other.getVerb())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() + != other.getRequestedCancellation()) return false; + if (!getApiVersion() + .equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) - return false; + if (!getBatchCreateInstancesMetadata() + .equals(other.getBatchCreateInstancesMetadata())) return false; break; case 0: default: @@ -632,7 +557,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -649,135 +575,131 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.OperationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.OperationMetadata) com.google.cloud.alloydb.v1beta.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.OperationMetadata.class, - com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1beta.OperationMetadata.class, com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.OperationMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -806,9 +728,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override @@ -827,11 +749,8 @@ public com.google.cloud.alloydb.v1beta.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1beta.OperationMetadata result = - new com.google.cloud.alloydb.v1beta.OperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.OperationMetadata result = new com.google.cloud.alloydb.v1beta.OperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -840,10 +759,14 @@ public com.google.cloud.alloydb.v1beta.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -865,7 +788,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.OperationMetadata res private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && + batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -874,39 +798,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.OperationMetadat public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1beta.OperationMetadata) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -914,8 +837,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.OperationMetadata other) { - if (other == com.google.cloud.alloydb.v1beta.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.OperationMetadata.getDefaultInstance()) return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -946,15 +868,13 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.OperationMetadata other onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: - { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: - { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -982,62 +902,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: - { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: - { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), + extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1047,12 +963,12 @@ public Builder mergeFrom( } // finally return this; } - private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - - public RequestSpecificCase getRequestSpecificCase() { - return RequestSpecificCase.forNumber(requestSpecificCase_); + public RequestSpecificCase + getRequestSpecificCase() { + return RequestSpecificCase.forNumber( + requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -1065,21 +981,13 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> - batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -1087,21 +995,15 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata - getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; @@ -1115,18 +1017,13 @@ public boolean hasBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1140,15 +1037,11 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1162,29 +1055,18 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBatchCreateInstancesMetadata( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 - && requestSpecific_ - != com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata - .getDefaultInstance()) { - requestSpecific_ = - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder( - (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) - requestSpecific_) - .mergeFrom(value) - .buildPartial(); + if (requestSpecificCase_ == 8 && + requestSpecific_ != com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance()) { + requestSpecific_ = com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_) + .mergeFrom(value).buildPartial(); } else { requestSpecific_ = value; } @@ -1200,15 +1082,11 @@ public Builder mergeBatchCreateInstancesMetadata( return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1227,34 +1105,24 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder - getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1265,31 +1133,21 @@ public Builder clearBatchCreateInstancesMetadata() { } } /** - * - * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1302,58 +1160,39 @@ public Builder clearBatchCreateInstancesMetadata() { 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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1369,17 +1208,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1390,21 +1226,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1417,15 +1249,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1438,15 +1266,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1454,48 +1278,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1503,35 +1315,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1542,14 +1343,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1565,16 +1363,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1585,20 +1381,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1611,14 +1404,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1631,14 +1421,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1646,44 +1433,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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_; @@ -1691,20 +1470,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1713,21 +1490,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1735,35 +1511,28 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTarget( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1773,21 +1542,17 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1797,20 +1562,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1819,21 +1582,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1841,35 +1603,28 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerb( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1879,21 +1634,17 @@ public Builder clearVerb() { return this; } /** - * - * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1903,20 +1654,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1925,21 +1674,20 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1947,35 +1695,28 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1985,21 +1726,17 @@ public Builder clearStatusMessage() { return this; } /** - * - * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -2007,10 +1744,8 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { return this; } - private boolean requestedCancellation_; + private boolean requestedCancellation_ ; /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2020,7 +1755,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -2028,8 +1762,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2039,7 +1771,6 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -2051,8 +1782,6 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -2062,7 +1791,6 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -2074,20 +1802,18 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -2096,21 +1822,20 @@ public java.lang.String getApiVersion() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString getApiVersionBytes() { + public com.google.protobuf.ByteString + getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -2118,35 +1843,28 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -2156,30 +1874,26 @@ public Builder clearApiVersion() { return this; } /** - * - * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApiVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2189,12 +1903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.OperationMetadata) private static final com.google.cloud.alloydb.v1beta.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.OperationMetadata(); } @@ -2203,27 +1917,27 @@ public static com.google.cloud.alloydb.v1beta.OperationMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2238,4 +1952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java index bb7dec0f1877..45bfb4ed9316 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java @@ -1,224 +1,154 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface OperationMetadataOrBuilder - extends +public interface OperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** - * - * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder - getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -228,35 +158,29 @@ public interface OperationMetadataOrBuilder
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The apiVersion. */ java.lang.String getApiVersion(); /** - * - * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString getApiVersionBytes(); + com.google.protobuf.ByteString + getApiVersionBytes(); com.google.cloud.alloydb.v1beta.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java index 4cc66051cfb6..22240b8125d5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PromoteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.PromoteClusterRequest) PromoteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -45,41 +27,34 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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,32 +63,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,12 +95,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -145,7 +115,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -154,15 +123,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -180,15 +148,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -197,12 +166,9 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } public static final int ETAG_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -210,7 +176,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ @java.lang.Override @@ -219,15 +184,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; } } /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -235,15 +199,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -254,15 +219,12 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -271,7 +233,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -315,7 +277,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,18 +288,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.cloud.alloydb.v1beta.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.PromoteClusterRequest other = - (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1beta.PromoteClusterRequest other = (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,143 +321,139 @@ 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.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.PromoteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.PromoteClusterRequest) com.google.cloud.alloydb.v1beta.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.PromoteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +466,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -525,11 +487,8 @@ public com.google.cloud.alloydb.v1beta.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.PromoteClusterRequest result = - new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.PromoteClusterRequest result = new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -554,39 +513,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.PromoteClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.PromoteClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.PromoteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -594,8 +552,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -640,37 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -680,28 +632,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.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; @@ -710,24 +657,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -735,41 +679,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string 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() { @@ -779,24 +712,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -806,8 +733,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -825,13 +750,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -840,8 +765,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +782,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -874,8 +798,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -893,22 +815,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,7 +844,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -936,8 +853,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -955,14 +870,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -972,8 +885,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -981,13 +892,13 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -996,8 +907,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1005,14 +914,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -1020,8 +930,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1029,22 +937,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1052,7 +956,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1062,8 +965,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1071,14 +972,12 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1086,17 +985,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1104,15 +1000,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1124,15 +1017,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1141,9 +1031,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1beta.PromoteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(); } @@ -1167,27 +1057,27 @@ public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1202,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java similarity index 76% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java index 3c3ffc749fb8..56d27c690029 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface PromoteClusterRequestOrBuilder - extends +public interface PromoteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,14 +68,12 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -113,13 +81,10 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -127,21 +92,18 @@ public interface PromoteClusterRequestOrBuilder
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java new file mode 100644 index 000000000000..03ed6377dff5 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java @@ -0,0 +1,773 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public final class ResourcesProto { + private ResourcesProto() {} + 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_cloud_alloydb_v1beta_UserPassword_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_User_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_User_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/cloud/alloydb/v1beta/resources." + + "proto\022\033google.cloud.alloydb.v1beta\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\032\036google/protobuf/duration" + + ".proto\032\037google/protobuf/timestamp.proto\032" + + "\036google/protobuf/wrappers.proto\032\033google/" + + "type/dayofweek.proto\032\033google/type/timeof" + + "day.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022" + + "\020\n\010password\030\002 \001(\t\"\352\001\n\017MigrationSource\022\027\n" + + "\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002" + + " \001(\tB\004\342A\001\003\022[\n\013source_type\030\003 \001(\0162@.google" + + ".cloud.alloydb.v1beta.MigrationSource.Mi" + + "grationSourceTypeB\004\342A\001\003\"E\n\023MigrationSour" + + "ceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPECIF" + + "IED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n\014km" + + "s_key_name\030\001 \001(\t\"\214\002\n\016EncryptionInfo\022O\n\017e" + + "ncryption_type\030\001 \001(\01620.google.cloud.allo" + + "ydb.v1beta.EncryptionInfo.TypeB\004\342A\001\003\022K\n\020" + + "kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkm" + + "s.googleapis.com/CryptoKeyVersion\"\\\n\004Typ" + + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DEFAUL" + + "T_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_ENCRY" + + "PTION\020\002\"\210\003\n\tSslConfig\022F\n\010ssl_mode\030\001 \001(\0162" + + "..google.cloud.alloydb.v1beta.SslConfig." + + "SslModeB\004\342A\001\001\022H\n\tca_source\030\002 \001(\0162/.googl" + + "e.cloud.alloydb.v1beta.SslConfig.CaSourc" + + "eB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UNSPECIF" + + "IED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020SSL_MOD" + + "E_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY_CA\020\003\032" + + "\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRYPTED\020\004" + + "\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031\n\025CA_S" + + "OURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_MANAGED" + + "\020\001\"\372\006\n\025AutomatedBackupPolicy\022\\\n\017weekly_s" + + "chedule\030\002 \001(\0132A.google.cloud.alloydb.v1b" + + "eta.AutomatedBackupPolicy.WeeklySchedule" + + "H\000\022e\n\024time_based_retention\030\004 \001(\0132E.googl" + + "e.cloud.alloydb.v1beta.AutomatedBackupPo" + + "licy.TimeBasedRetentionH\001\022m\n\030quantity_ba" + + "sed_retention\030\005 \001(\0132I.google.cloud.alloy" + + "db.v1beta.AutomatedBackupPolicy.Quantity" + + "BasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210\001\001\0220" + + "\n\rbackup_window\030\003 \001(\0132\031.google.protobuf." + + "Duration\022N\n\021encryption_config\030\010 \001(\0132-.go" + + "ogle.cloud.alloydb.v1beta.EncryptionConf" + + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022N\n\006labels\030\007 \003" + + "(\0132>.google.cloud.alloydb.v1beta.Automat" + + "edBackupPolicy.LabelsEntry\032k\n\016WeeklySche" + + "dule\022+\n\013start_times\030\001 \003(\0132\026.google.type." + + "TimeOfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google" + + ".type.DayOfWeek\032I\n\022TimeBasedRetention\0223\n" + + "\020retention_period\030\001 \001(\0132\031.google.protobu" + + "f.Duration\032\'\n\026QuantityBasedRetention\022\r\n\005" + + "count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretent" + + "ionB\n\n\010_enabled\"\242\001\n\026ContinuousBackupConf" + + "ig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_win" + + "dow_days\030\004 \001(\005\022H\n\021encryption_config\030\003 \001(" + + "\0132-.google.cloud.alloydb.v1beta.Encrypti" + + "onConfigB\n\n\010_enabled\"\216\002\n\024ContinuousBacku" + + "pInfo\022J\n\017encryption_info\030\001 \001(\0132+.google." + + "cloud.alloydb.v1beta.EncryptionInfoB\004\342A\001" + + "\003\0226\n\014enabled_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.go" + + "ogle.type.DayOfWeekB\004\342A\001\003\022B\n\030earliest_re" + + "storable_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\"e\n\014BackupSource\022\030\n\nbackup_" + + "uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A" + + "\001\002\372A\037\n\035alloydb.googleapis.com/Backup\"h\n\026" + + "ContinuousBackupSource\022\025\n\007cluster\030\001 \001(\tB" + + "\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\002\"\206\022\n\007Cluster\022H\n\rba" + + "ckup_source\030\017 \001(\0132).google.cloud.alloydb" + + ".v1beta.BackupSourceB\004\342A\001\003H\000\022N\n\020migratio" + + "n_source\030\020 \001(\0132,.google.cloud.alloydb.v1" + + "beta.MigrationSourceB\004\342A\001\003H\000\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022@\n\006labels\030\007 \003(\01320.google." + + "cloud.alloydb.v1beta.Cluster.LabelsEntry" + + "\022?\n\005state\030\010 \001(\0162*.google.cloud.alloydb.v" + + "1beta.Cluster.StateB\004\342A\001\003\022L\n\014cluster_typ" + + "e\030\030 \001(\01620.google.cloud.alloydb.v1beta.Cl" + + "uster.ClusterTypeB\004\342A\001\003\022L\n\020database_vers" + + "ion\030\t \001(\0162,.google.cloud.alloydb.v1beta." + + "DatabaseVersionB\004\342A\001\001\022P\n\016network_config\030" + + "\035 \001(\01322.google.cloud.alloydb.v1beta.Clus" + + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + + "ork\022\014\n\004etag\030\013 \001(\t\022J\n\013annotations\030\014 \003(\01325" + + ".google.cloud.alloydb.v1beta.Cluster.Ann" + + "otationsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003" + + "\022E\n\014initial_user\030\016 \001(\0132).google.cloud.al" + + "loydb.v1beta.UserPasswordB\004\342A\001\004\022S\n\027autom" + + "ated_backup_policy\030\021 \001(\01322.google.cloud." + + "alloydb.v1beta.AutomatedBackupPolicy\022>\n\n" + + "ssl_config\030\022 \001(\0132&.google.cloud.alloydb." + + "v1beta.SslConfigB\002\030\001\022N\n\021encryption_confi" + + "g\030\023 \001(\0132-.google.cloud.alloydb.v1beta.En" + + "cryptionConfigB\004\342A\001\001\022J\n\017encryption_info\030" + + "\024 \001(\0132+.google.cloud.alloydb.v1beta.Encr" + + "yptionInfoB\004\342A\001\003\022[\n\030continuous_backup_co" + + "nfig\030\033 \001(\01323.google.cloud.alloydb.v1beta" + + ".ContinuousBackupConfigB\004\342A\001\001\022W\n\026continu" + + "ous_backup_info\030\034 \001(\01321.google.cloud.all" + + "oydb.v1beta.ContinuousBackupInfoB\004\342A\001\003\022N" + + "\n\020secondary_config\030\026 \001(\01324.google.cloud." + + "alloydb.v1beta.Cluster.SecondaryConfig\022P" + + "\n\016primary_config\030\027 \001(\01322.google.cloud.al" + + "loydb.v1beta.Cluster.PrimaryConfigB\004\342A\001\003" + + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + + "googleapis.com/Cluster\022:projects/{projec" + + "t}/locations/{location}/clusters/{cluste" + + "r}R\001\001B\010\n\006source\"\255\024\n\010Instance\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022A\n\006labels\030\007 \003(\01321.google." + + "cloud.alloydb.v1beta.Instance.LabelsEntr" + + "y\022@\n\005state\030\010 \001(\0162+.google.cloud.alloydb." + + "v1beta.Instance.StateB\004\342A\001\003\022O\n\rinstance_" + + "type\030\t \001(\01622.google.cloud.alloydb.v1beta" + + ".Instance.InstanceTypeB\004\342A\001\002\022K\n\016machine_" + + "config\030\n \001(\01323.google.cloud.alloydb.v1be" + + "ta.Instance.MachineConfig\022Q\n\021availabilit" + + "y_type\030\013 \001(\01626.google.cloud.alloydb.v1be" + + "ta.Instance.AvailabilityType\022\020\n\010gce_zone" + + "\030\014 \001(\t\022P\n\016database_flags\030\r \003(\01328.google." + + "cloud.alloydb.v1beta.Instance.DatabaseFl" + + "agsEntry\022G\n\rwritable_node\030\023 \001(\0132*.google" + + ".cloud.alloydb.v1beta.Instance.NodeB\004\342A\001" + + "\003\022?\n\005nodes\030\024 \003(\0132*.google.cloud.alloydb." + + "v1beta.Instance.NodeB\004\342A\001\003\022`\n\025query_insi" + + "ghts_config\030\025 \001(\0132A.google.cloud.alloydb" + + ".v1beta.Instance.QueryInsightsInstanceCo" + + "nfig\022N\n\020read_pool_config\030\016 \001(\01324.google." + + "cloud.alloydb.v1beta.Instance.ReadPoolCo" + + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022K\n\013annot" + + "ations\030\022 \003(\01326.google.cloud.alloydb.v1be" + + "ta.Instance.AnnotationsEntry\022I\n\rupdate_p" + + "olicy\030\026 \001(\01322.google.cloud.alloydb.v1bet" + + "a.Instance.UpdatePolicy\022d\n\030client_connec" + + "tion_config\030\027 \001(\0132<.google.cloud.alloydb" + + ".v1beta.Instance.ClientConnectionConfigB" + + "\004\342A\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(" + + "\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n" + + "\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsig" + + "htsInstanceConfig\022$\n\027record_application_" + + "tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address" + + "\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r" + + "\022#\n\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n" + + "\030_record_application_tagsB\030\n\026_record_cli" + + "ent_addressB\031\n\027_query_plans_per_minute\032$" + + "\n\016ReadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032\221\001\n" + + "\014UpdatePolicy\022E\n\004mode\030\001 \001(\01627.google.clo" + + "ud.alloydb.v1beta.Instance.UpdatePolicy." + + "Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\013\n\007DE" + + "FAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032|\n\026ClientConnec" + + "tionConfig\022 \n\022require_connectors\030\001 \001(\010B\004" + + "\342A\001\001\022@\n\nssl_config\030\002 \001(\0132&.google.cloud." + + "alloydb.v1beta.SslConfigB\004\342A\001\001\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n" + + "\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025\n\021STA" + + "TE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002" + + "\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAINTENA" + + "NCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\010\022\r\n\t" + + "PROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INSTANCE_" + + "TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tREAD_" + + "POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020AvailabilityTyp" + + "e\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020\000\022\t\n\005" + + "ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb.goog" + + "leapis.com/Instance\022Oprojects/{project}/" + + "locations/{location}/clusters/{cluster}/" + + "instances/{instance}R\001\001\"\211\002\n\016ConnectionIn" + + "fo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(\tB\004\342A" + + "\001\003\022%\n\025pem_certificate_chain\030\003 \003(\tB\006\030\001\342A\001" + + "\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A\207\001\n%al" + + "loydb.googleapis.com/ConnectionInfo\022^pro" + + "jects/{project}/locations/{location}/clu" + + "sters/{cluster}/instances/{instance}/con" + + "nectionInfo\"\327\013\n\006Backup\022\022\n\004name\030\001 \001(\tB\004\342A" + + "\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342" + + "A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013del" + + "ete_time\030\017 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022?\n\006labels\030\006 \003(\0132/.google.cloud." + + "alloydb.v1beta.Backup.LabelsEntry\022>\n\005sta" + + "te\030\007 \001(\0162).google.cloud.alloydb.v1beta.B" + + "ackup.StateB\004\342A\001\003\0226\n\004type\030\010 \001(\0162(.google" + + ".cloud.alloydb.v1beta.Backup.Type\022\023\n\013des" + + "cription\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001" + + "\003\022=\n\014cluster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloyd" + + "b.googleapis.com/Cluster\022\031\n\013reconciling\030" + + "\013 \001(\010B\004\342A\001\003\022N\n\021encryption_config\030\014 \001(\0132-" + + ".google.cloud.alloydb.v1beta.EncryptionC" + + "onfigB\004\342A\001\001\022J\n\017encryption_info\030\r \001(\0132+.g" + + "oogle.cloud.alloydb.v1beta.EncryptionInf" + + "oB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022I\n\013annotations\030\020 \003" + + "(\01324.google.cloud.alloydb.v1beta.Backup." + + "AnnotationsEntry\022\030\n\nsize_bytes\030\021 \001(\003B\004\342A" + + "\001\003\0225\n\013expiry_time\030\023 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022V\n\017expiry_quantity\030\024 \001" + + "(\01327.google.cloud.alloydb.v1beta.Backup." + + "QuantityBasedExpiryB\004\342A\001\003\022L\n\020database_ve" + + "rsion\030\026 \001(\0162,.google.cloud.alloydb.v1bet" + + "a.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBased" + + "Expiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022#\n" + + "\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAILED" + + "\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPECI" + + "FIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016\n\n" + + "CONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis.co" + + "m/Backup\0228projects/{project}/locations/{" + + "location}/backups/{backup}R\001\001\"\330\006\n\025Suppor" + + "tedDatabaseFlag\022d\n\023string_restrictions\030\007" + + " \001(\0132E.google.cloud.alloydb.v1beta.Suppo" + + "rtedDatabaseFlag.StringRestrictionsH\000\022f\n" + + "\024integer_restrictions\030\010 \001(\0132F.google.clo" + + "ud.alloydb.v1beta.SupportedDatabaseFlag." + + "IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022\021\n\tf" + + "lag_name\030\002 \001(\t\022P\n\nvalue_type\030\003 \001(\0162<.goo" + + "gle.cloud.alloydb.v1beta.SupportedDataba" + + "seFlag.ValueType\022\037\n\027accepts_multiple_val" + + "ues\030\004 \001(\010\022K\n\025supported_db_versions\030\005 \003(\016" + + "2,.google.cloud.alloydb.v1beta.DatabaseV" + + "ersion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022S" + + "tringRestrictions\022\026\n\016allowed_values\030\001 \003(" + + "\t\032u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 " + + "\001(\0132\033.google.protobuf.Int64Value\022.\n\tmax_" + + "value\030\002 \001(\0132\033.google.protobuf.Int64Value" + + "\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n" + + "\004NONE\020\004:g\352Ad\n,alloydb.googleapis.com/Sup" + + "portedDatabaseFlag\0224projects/{project}/l" + + "ocations/{location}/flags/{flag}B\016\n\014rest" + + "rictions\"\326\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n" + + "\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030" + + "\004 \003(\tB\004\342A\001\001\022C\n\tuser_type\030\005 \001(\0162*.google." + + "cloud.alloydb.v1beta.User.UserTypeB\004\342A\001\001" + + "\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022" + + "\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USE" + + "R\020\002:l\352Ai\n\033alloydb.googleapis.com/User\022Gp" + + "rojects/{project}/locations/{location}/c" + + "lusters/{cluster}/users/{user}R\001\001*^\n\014Ins" + + "tanceView\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000" + + "\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VI" + + "EW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW" + + "_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"" + + "\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*j\n\017Da" + + "tabaseVersion\022 \n\034DATABASE_VERSION_UNSPEC" + + "IFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES" + + "_14\020\002\022\017\n\013POSTGRES_15\020\003B\306\003\n\037com.google.cl" + + "oud.alloydb.v1betaB\016ResourcesProtoP\001Z9cl" + + "oud.google.com/go/alloydb/apiv1beta/allo" + + "ydbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V" + + "1Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Go" + + "ogle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudk" + + "ms.googleapis.com/CryptoKeyVersion\022zproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{key_ring}/cryptoKeys/{crypto_key}/" + + "cryptoKeyVersions/{crypto_key_version}\352A" + + "N\n\036compute.googleapis.com/Network\022,proje" + + "cts/{project}/global/networks/{network}b" + + "\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor, + new java.lang.String[] { "User", "Password", }); + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor, + new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor, + new java.lang.String[] { "SslMode", "CaSource", }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { "StartTimes", "DaysOfWeek", }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { "Count", }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor, + new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor, + new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor, + new java.lang.String[] { "BackupUid", "BackupName", }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor, + new java.lang.String[] { "Cluster", "PointInTime", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor, + new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "Source", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { "Network", "AllocatedIpRange", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { "PrimaryClusterName", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { "SecondaryClusterNames", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "UpdatePolicy", "ClientConnectionConfig", }); + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor, + new java.lang.String[] { "CpuCount", }); + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor, + new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { "NodeCount", }); + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor, + new java.lang.String[] { "Mode", }); + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { "RequireConnectors", "SslConfig", }); + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor, + new java.lang.String[] { "Name", "IpAddress", "PemCertificateChain", "InstanceUid", }); + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor, + new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "DatabaseVersion", }); + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { "AllowedValues", }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { "MinValue", "MaxValue", }); + internal_static_google_cloud_alloydb_v1beta_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_User_descriptor, + new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java index cc2d7a9f8e76..102b87efda8b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java @@ -1,34 +1,20 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -/** Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} */ -public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} + */ +public final class RestartInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.RestartInstanceRequest) RestartInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -36,41 +22,34 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 @@ -79,32 +58,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -113,12 +90,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -136,7 +110,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -145,15 +118,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -171,15 +143,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -190,15 +163,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -207,7 +177,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,7 +215,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } 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 +226,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.RestartInstanceRequest other = - (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.RestartInstanceRequest other = (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -282,135 +255,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1beta.RestartInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.RestartInstanceRequest) com.google.cloud.alloydb.v1beta.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.RestartInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.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 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -443,11 +416,8 @@ public com.google.cloud.alloydb.v1beta.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.RestartInstanceRequest result = - new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.RestartInstanceRequest result = new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -469,39 +439,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestartInstanceReques public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.RestartInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.RestartInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -509,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -550,31 +518,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -584,28 +548,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.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; @@ -614,24 +573,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -639,41 +595,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string 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() { @@ -683,24 +628,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -710,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -729,13 +666,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -744,8 +681,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -763,14 +698,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -778,8 +714,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -797,22 +731,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -830,7 +760,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -840,8 +769,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -859,14 +786,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -874,17 +799,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -892,15 +814,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -912,15 +831,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -929,9 +845,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,12 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1beta.RestartInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(); } @@ -955,27 +871,27 @@ public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -990,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java index 50af94541413..7c36450c21dc 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface RestartInstanceRequestOrBuilder - extends +public interface RestartInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * - * string name = 1 [(.google.api.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(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -74,13 +47,10 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -98,21 +68,18 @@ public interface RestartInstanceRequestOrBuilder
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java similarity index 71% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java index ad7dddcdab20..ac51555f177c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreClusterRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -46,39 +28,34 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto
-        .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class,
-            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -94,36 +71,30 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return BACKUP_SOURCE;
-        case 8:
-          return CONTINUOUS_BACKUP_SOURCE;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 4: return BACKUP_SOURCE;
+        case 8: return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -131,26 +102,21 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } /** - * - * *
    * Backup source.
    * 
@@ -160,22 +126,19 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -183,27 +146,22 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance(); } /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -212,30 +170,23 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBacku
    * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder
-      getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-      return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_;
+       return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 @@ -244,32 +195,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -278,18 +227,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -298,29 +243,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -331,16 +276,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -348,49 +288,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -408,7 +332,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -417,15 +340,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -443,15 +365,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -462,8 +385,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -471,7 +392,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -480,7 +400,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -492,7 +411,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -530,23 +450,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.alloydb.v1beta.BackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.alloydb.v1beta.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -556,29 +476,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.cloud.alloydb.v1beta.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.RestoreClusterRequest other = - (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1beta.RestoreClusterRequest other = (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource().equals(other.getBackupSource())) return false; + if (!getBackupSource() + .equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource() + .equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -605,7 +531,8 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -624,104 +551,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -729,32 +650,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.RestoreClusterRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.RestoreClusterRequest)
       com.google.cloud.alloydb.v1beta.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class,
-              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.RestoreClusterRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -780,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto
-          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -801,11 +723,8 @@ public com.google.cloud.alloydb.v1beta.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1beta.RestoreClusterRequest result =
-          new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.RestoreClusterRequest result = new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -820,7 +739,9 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestoreClusterRequest
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null
+            ? cluster_
+            : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -833,10 +754,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestoreClusterRequest
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 &&
+          backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 &&
+          continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -845,39 +768,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.RestoreClusterRe
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.RestoreClusterRequest) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.RestoreClusterRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -885,8 +807,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -909,20 +830,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestoreClusterRequest o
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE:
-          {
-            mergeBackupSource(other.getBackupSource());
-            break;
-          }
-        case CONTINUOUS_BACKUP_SOURCE:
-          {
-            mergeContinuousBackupSource(other.getContinuousBackupSource());
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_SOURCE: {
+          mergeBackupSource(other.getBackupSource());
+          break;
+        }
+        case CONTINUOUS_BACKUP_SOURCE: {
+          mergeContinuousBackupSource(other.getContinuousBackupSource());
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -950,56 +868,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                requestId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 48:
-              {
-                validateOnly_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 48
-            case 66:
-              {
-                input.readMessage(
-                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
-                sourceCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getClusterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              requestId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 48: {
+              validateOnly_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 48
+            case 66: {
+              input.readMessage(
+                  getContinuousBackupSourceFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1009,12 +924,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() {
@@ -1027,19 +942,13 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.BackupSource,
-            com.google.cloud.alloydb.v1beta.BackupSource.Builder,
-            com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>
-        backupSourceBuilder_;
+        com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> backupSourceBuilder_;
     /**
-     *
-     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -1047,14 +956,11 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** - * - * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return The backupSource. */ @java.lang.Override @@ -1072,8 +978,6 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { } } /** - * - * *
      * Backup source.
      * 
@@ -1094,8 +998,6 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource valu return this; } /** - * - * *
      * Backup source.
      * 
@@ -1114,8 +1016,6 @@ public Builder setBackupSource( return this; } /** - * - * *
      * Backup source.
      * 
@@ -1124,13 +1024,10 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 - && source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1beta.BackupSource.newBuilder( - (com.google.cloud.alloydb.v1beta.BackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 4 && + source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1beta.BackupSource.newBuilder((com.google.cloud.alloydb.v1beta.BackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1146,8 +1043,6 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource va return this; } /** - * - * *
      * Backup source.
      * 
@@ -1171,8 +1066,6 @@ public Builder clearBackupSource() { return this; } /** - * - * *
      * Backup source.
      * 
@@ -1183,8 +1076,6 @@ public com.google.cloud.alloydb.v1beta.BackupSource.Builder getBackupSourceBuild return getBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Backup source.
      * 
@@ -1203,8 +1094,6 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } } /** - * - * *
      * Backup source.
      * 
@@ -1212,19 +1101,14 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, - com.google.cloud.alloydb.v1beta.BackupSource.Builder, - com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, - com.google.cloud.alloydb.v1beta.BackupSource.Builder, - com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( + backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.BackupSource) source_, getParentForChildren(), isClean()); @@ -1236,21 +1120,14 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> - continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1258,16 +1135,12 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; * @return The continuousBackupSource. */ @java.lang.Override @@ -1285,18 +1158,14 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBacku } } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ - public Builder setContinuousBackupSource( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { + public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1310,15 +1179,12 @@ public Builder setContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ public Builder setContinuousBackupSource( com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder builderForValue) { @@ -1332,27 +1198,19 @@ public Builder setContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ - public Builder mergeContinuousBackupSource( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { + public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { - if (sourceCase_ == 8 - && source_ - != com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) { - source_ = - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder( - (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 8 && + source_ != com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) { + source_ = com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -1368,15 +1226,12 @@ public Builder mergeContinuousBackupSource( return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ public Builder clearContinuousBackupSource() { if (continuousBackupSourceBuilder_ == null) { @@ -1395,34 +1250,26 @@ public Builder clearContinuousBackupSource() { return this; } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder - getContinuousBackupSourceBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() { return getContinuousBackupSourceFieldBuilder().getBuilder(); } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder - getContinuousBackupSourceOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() { if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) { return continuousBackupSourceBuilder_.getMessageOrBuilder(); } else { @@ -1433,30 +1280,22 @@ public Builder clearContinuousBackupSource() { } } /** - * - * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> getContinuousBackupSourceFieldBuilder() { if (continuousBackupSourceBuilder_ == null) { if (!(sourceCase_ == 8)) { source_ = com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance(); } - continuousBackupSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, - com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder>( + continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_, getParentForChildren(), isClean()); @@ -1469,23 +1308,19 @@ public Builder clearContinuousBackupSource() { private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.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; @@ -1494,24 +1329,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1519,41 +1351,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string 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() { @@ -1563,24 +1384,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1590,20 +1405,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1612,21 +1425,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1634,35 +1446,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1672,21 +1477,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1696,58 +1497,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -1763,17 +1545,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1784,21 +1563,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builde return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1811,15 +1586,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1832,15 +1603,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1848,48 +1615,36 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being created
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1897,8 +1652,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1916,13 +1669,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1931,8 +1684,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1950,14 +1701,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1965,8 +1717,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1984,22 +1734,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -2017,7 +1763,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -2027,8 +1772,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -2046,14 +1789,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -2061,10 +1802,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2072,7 +1811,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -2080,8 +1818,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2089,7 +1825,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -2101,8 +1836,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -2110,7 +1843,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -2119,9 +1851,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2131,12 +1863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1beta.RestoreClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(); } @@ -2145,27 +1877,27 @@ public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2180,4 +1912,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java similarity index 77% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java index e4d7e6e1fe4d..3b65f8763dd5 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface RestoreClusterRequestOrBuilder - extends +public interface RestoreClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** - * - * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; - * * @return The backupSource. */ com.google.cloud.alloydb.v1beta.BackupSource getBackupSource(); /** - * - * *
    * Backup source.
    * 
@@ -59,34 +35,26 @@ public interface RestoreClusterRequestOrBuilder com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; - * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBackupSource(); /** - * - * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -94,109 +62,78 @@ public interface RestoreClusterRequestOrBuilder
    *
    * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8;
    */
-  com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder
-      getContinuousBackupSourceOrBuilder();
+  com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
 
   /**
-   *
-   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** - * - * *
    * Required. The resource being created
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -214,13 +151,10 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,14 +172,12 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -253,7 +185,6 @@ public interface RestoreClusterRequestOrBuilder
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java new file mode 100644 index 000000000000..8880fe30a30b --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java @@ -0,0 +1,918 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public final class ServiceProto { + private ServiceProto() {} + 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_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_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/cloud/alloydb/v1beta/service.pr" + + "oto\022\033google.cloud.alloydb.v1beta\032\034google" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032+google/clou" + + "d/alloydb/v1beta/resources.proto\032#google" + + "/longrunning/operations.proto\032\036google/pr" + + "otobuf/duration.proto\032\033google/protobuf/e" + + "mpty.proto\032 google/protobuf/field_mask.p" + + "roto\032\037google/protobuf/timestamp.proto\032\027g" + + "oogle/rpc/status.proto\"\251\001\n\023ListClustersR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb" + + ".googleapis.com/Cluster\022\027\n\tpage_size\030\002 \001" + + "(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030\004" + + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"|\n\024Li" + + "stClustersResponse\0226\n\010clusters\030\001 \003(\0132$.g" + + "oogle.cloud.alloydb.v1beta.Cluster\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"\210\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A" + + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022<\n" + + "\004view\030\002 \001(\0162(.google.cloud.alloydb.v1bet" + + "a.ClusterViewB\004\342A\001\001\"\346\001\n\035CreateSecondaryC" + + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + + "r_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.goog" + + "le.cloud.alloydb.v1beta.ClusterB\004\342A\001\002\022\030\n" + + "\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + + "\030\006 \001(\010B\004\342A\001\001\"\335\001\n\024CreateClusterRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleap" + + "is.com/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002" + + "\022;\n\007cluster\030\003 \001(\0132$.google.cloud.alloydb" + + ".v1beta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(" + + "\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\336\001\n" + + "\024UpdateClusterRequest\0225\n\013update_mask\030\001 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\022;\n\007" + + "cluster\030\002 \001(\0132$.google.cloud.alloydb.v1b" + + "eta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + + "A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallo" + + "w_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024DeleteClusterR" + + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + + "oogleapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(" + + "\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" + + "only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B\004\342A\001\001\"\231\001" + + "\n\025PromoteClusterRequest\0225\n\004name\030\001 \001(\tB\'\342" + + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030" + + "\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004" + + "\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\205\003\n\025Re" + + "storeClusterRequest\022B\n\rbackup_source\030\004 \001" + + "(\0132).google.cloud.alloydb.v1beta.BackupS" + + "ourceH\000\022W\n\030continuous_backup_source\030\010 \001(" + + "\01323.google.cloud.alloydb.v1beta.Continuo" + + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + + "ster_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.g" + + "oogle.cloud.alloydb.v1beta.ClusterB\004\342A\001\002" + + "\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + + "nly\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstan" + + "cesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + + "oydb.googleapis.com/Instance\022\027\n\tpage_siz" + + "e\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006fil" + + "ter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"" + + "\177\n\025ListInstancesResponse\0228\n\tinstances\030\001 " + + "\003(\0132%.google.cloud.alloydb.v1beta.Instan" + + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"\205\001\n\022GetInstanceRequest\0226\n\004name\030" + + "\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + + "nstance\0227\n\004view\030\002 \001(\0162).google.cloud.all" + + "oydb.v1beta.InstanceView\"\342\001\n\025CreateInsta" + + "nceRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + + "oydb.googleapis.com/Instance\022\031\n\013instance" + + "_id\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.goog" + + "le.cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030" + + "\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_onl" + + "y\030\005 \001(\010B\004\342A\001\001\"\353\001\n\036CreateSecondaryInstanc" + + "eRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloy" + + "db.googleapis.com/Instance\022\031\n\013instance_i" + + "d\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.google" + + ".cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030\n\n" + + "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + + "\005 \001(\010B\004\342A\001\001\"t\n\026CreateInstanceRequests\022Z\n" + + "\030create_instance_requests\030\001 \003(\01322.google" + + ".cloud.alloydb.v1beta.CreateInstanceRequ" + + "estB\004\342A\001\002\"\276\001\n\033BatchCreateInstancesReques" + + "t\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.goog" + + "leapis.com/Instance\022K\n\010requests\030\002 \001(\01323." + + "google.cloud.alloydb.v1beta.CreateInstan" + + "ceRequestsB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" + + "\001\001\"X\n\034BatchCreateInstancesResponse\0228\n\tin" + + "stances\030\001 \003(\0132%.google.cloud.alloydb.v1b" + + "eta.Instance\"\225\002\n\034BatchCreateInstancesMet" + + "adata\022\030\n\020instance_targets\030\001 \003(\t\022j\n\021insta" + + "nce_statuses\030\002 \003(\0132O.google.cloud.alloyd" + + "b.v1beta.BatchCreateInstancesMetadata.In" + + "stanceStatusesEntry\032o\n\025InstanceStatusesE" + + "ntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.googl" + + "e.cloud.alloydb.v1beta.BatchCreateInstan" + + "ceStatus:\0028\001\"\330\002\n\031BatchCreateInstanceStat" + + "us\022K\n\005state\030\001 \001(\0162<.google.cloud.alloydb" + + ".v1beta.BatchCreateInstanceStatus.State\022" + + "\021\n\terror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.goog" + + "le.rpc.Status\022@\n\004type\030\003 \001(\01622.google.clo" + + "ud.alloydb.v1beta.Instance.InstanceType\"" + + "v\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDI" + + "NG_CREATE\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010" + + "DELETING\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"" + + "\341\001\n\025UpdateInstanceRequest\0225\n\013update_mask" + + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001" + + "\022=\n\010instance\030\002 \001(\0132%.google.cloud.alloyd" + + "b.v1beta.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033" + + "\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteIn" + + "stanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037al" + + "loydb.googleapis.com/Instance\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverIns" + + "tanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037all" + + "oydb.googleapis.com/Instance\022\030\n\nrequest_" + + "id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342" + + "A\001\001\"\216\002\n\022InjectFaultRequest\022S\n\nfault_type" + + "\030\001 \001(\01629.google.cloud.alloydb.v1beta.Inj" + + "ectFaultRequest.FaultTypeB\004\342A\001\002\0226\n\004name\030" + + "\002 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + + "nstance\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\004 \001(\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026F" + + "AULT_TYPE_UNSPECIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n" + + "\026RestartInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + + "\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_on" + + "ly\030\003 \001(\010B\004\342A\001\001\"\225\001\n\022ListBackupsRequest\0226\n" + + "\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloydb.googleap" + + "is.com/Backup\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\022\020\n\010order_by" + + "\030\005 \001(\t\"y\n\023ListBackupsResponse\0224\n\007backups" + + "\030\001 \003(\0132#.google.cloud.alloydb.v1beta.Bac" + + "kup\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha" + + "ble\030\003 \003(\t\"H\n\020GetBackupRequest\0224\n\004name\030\001 " + + "\001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Bac" + + "kup\"\330\001\n\023CreateBackupRequest\0226\n\006parent\030\001 " + + "\001(\tB&\342A\001\002\372A\037\022\035alloydb.googleapis.com/Bac" + + "kup\022\027\n\tbackup_id\030\002 \001(\tB\004\342A\001\002\0229\n\006backup\030\003" + + " \001(\0132#.google.cloud.alloydb.v1beta.Backu" + + "pB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\005 \001(\010B\004\342A\001\001\"\333\001\n\023UpdateBackupR" + + "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\004\342A\001\001\0229\n\006backup\030\002 \001(\0132#." + + "google.cloud.alloydb.v1beta.BackupB\004\342A\001\002" + + "\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + + "nly\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004" + + "\342A\001\001\"\226\001\n\023DeleteBackupRequest\0224\n\004name\030\001 \001" + + "(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Back" + + "up\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate" + + "_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001" + + "\n!ListSupportedDatabaseFlagsRequest\022E\n\006p" + + "arent\030\001 \001(\tB5\342A\001\002\372A.\022,alloydb.googleapis" + + ".com/SupportedDatabaseFlag\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\223\001\n\"ListSuppor" + + "tedDatabaseFlagsResponse\022T\n\030supported_da" + + "tabase_flags\030\001 \003(\01322.google.cloud.alloyd" + + "b.v1beta.SupportedDatabaseFlag\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"\205\002\n GenerateClientCertif" + + "icateRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001" + + "\0226\n\rcert_duration\030\004 \001(\0132\031.google.protobu" + + "f.DurationB\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A" + + "\001\001\022#\n\025use_metadata_exchange\030\006 \001(\010B\004\342A\001\001\"" + + "~\n!GenerateClientCertificateResponse\022\035\n\017" + + "pem_certificate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certi" + + "ficate_chain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(" + + "\tB\004\342A\001\001\"n\n\030GetConnectionInfoRequest\0228\n\006p" + + "arent\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"" + + "\207\003\n\021OperationMetadata\022j\n\037batch_create_in" + + "stances_metadata\030\010 \001(\01329.google.cloud.al" + + "loydb.v1beta.BatchCreateInstancesMetadat" + + "aB\004\342A\001\003H\000\0225\n\013create_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" + + "target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034" + + "\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requeste" + + "d_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_versio" + + "n\030\007 \001(\tB\004\342A\001\003B\022\n\020request_specific\"\251\001\n\020Li" + + "stUsersRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + + "\033alloydb.googleapis.com/User\022\027\n\tpage_siz" + + "e\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022" + + "\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB" + + "\004\342A\001\001\"s\n\021ListUsersResponse\0220\n\005users\030\001 \003(" + + "\0132!.google.cloud.alloydb.v1beta.User\022\027\n\017" + + "next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003" + + "(\t\"D\n\016GetUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002" + + "\372A\035\n\033alloydb.googleapis.com/User\"\316\001\n\021Cre" + + "ateUserRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + + "\033alloydb.googleapis.com/User\022\025\n\007user_id\030" + + "\002 \001(\tB\004\342A\001\002\0225\n\004user\030\003 \001(\0132!.google.cloud" + + ".alloydb.v1beta.UserB\004\342A\001\002\022\030\n\nrequest_id" + + "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" + + "\001\"\325\001\n\021UpdateUserRequest\0225\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225" + + "\n\004user\030\002 \001(\0132!.google.cloud.alloydb.v1be" + + "ta.UserB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mi" + + "ssing\030\005 \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222" + + "\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapi" + + "s.com/User\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\r" + + "validate_only\030\003 \001(\010B\004\342A\001\0012\2464\n\014AlloyDBAdm" + + "in\022\266\001\n\014ListClusters\0220.google.cloud.alloy" + + "db.v1beta.ListClustersRequest\0321.google.c" + + "loud.alloydb.v1beta.ListClustersResponse" + + "\"A\332A\006parent\202\323\344\223\0022\0220/v1beta/{parent=proje" + + "cts/*/locations/*}/clusters\022\243\001\n\nGetClust" + + "er\022..google.cloud.alloydb.v1beta.GetClus" + + "terRequest\032$.google.cloud.alloydb.v1beta" + + ".Cluster\"?\332A\004name\202\323\344\223\0022\0220/v1beta/{name=p" + + "rojects/*/locations/*/clusters/*}\022\337\001\n\rCr" + + "eateCluster\0221.google.cloud.alloydb.v1bet" + + "a.CreateClusterRequest\032\035.google.longrunn" + + "ing.Operation\"|\312A\034\n\007Cluster\022\021OperationMe" + + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002;" + + "\"0/v1beta/{parent=projects/*/locations/*" + + "}/clusters:\007cluster\022\341\001\n\rUpdateCluster\0221." + + "google.cloud.alloydb.v1beta.UpdateCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "~\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clust" + + "er,update_mask\202\323\344\223\002C28/v1beta/{cluster.n" + + "ame=projects/*/locations/*/clusters/*}:\007" + + "cluster\022\317\001\n\rDeleteCluster\0221.google.cloud" + + ".alloydb.v1beta.DeleteClusterRequest\032\035.g" + + "oogle.longrunning.Operation\"l\312A*\n\025google" + + ".protobuf.Empty\022\021OperationMetadata\332A\004nam" + + "e\202\323\344\223\0022*0/v1beta/{name=projects/*/locati" + + "ons/*/clusters/*}\022\316\001\n\016PromoteCluster\0222.g" + + "oogle.cloud.alloydb.v1beta.PromoteCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "i\312A\034\n\007Cluster\022\021OperationMetadata\332A\004name\202" + + "\323\344\223\002=\"8/v1beta/{name=projects/*/location" + + "s/*/clusters/*}:promote:\001*\022\307\001\n\016RestoreCl" + + "uster\0222.google.cloud.alloydb.v1beta.Rest" + + "oreClusterRequest\032\035.google.longrunning.O" + + "peration\"b\312A\034\n\007Cluster\022\021OperationMetadat" + + "a\202\323\344\223\002=\"8/v1beta/{parent=projects/*/loca" + + "tions/*}/clusters:restore:\001*\022\202\002\n\026CreateS" + + "econdaryCluster\022:.google.cloud.alloydb.v" + + "1beta.CreateSecondaryClusterRequest\032\035.go" + + "ogle.longrunning.Operation\"\214\001\312A\034\n\007Cluste" + + "r\022\021OperationMetadata\332A\031parent,cluster,cl" + + "uster_id\202\323\344\223\002K\"@/v1beta/{parent=projects" + + "/*/locations/*}/clusters:createsecondary" + + ":\007cluster\022\305\001\n\rListInstances\0221.google.clo" + + "ud.alloydb.v1beta.ListInstancesRequest\0322" + + ".google.cloud.alloydb.v1beta.ListInstanc" + + "esResponse\"M\332A\006parent\202\323\344\223\002>\022\022*\332A\004name\202\323\344\223\0021\022//v1beta/{name=pro" + + "jects/*/locations/*/backups/*}\022\330\001\n\014Creat" + + "eBackup\0220.google.cloud.alloydb.v1beta.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"w\312A\033\n\006Backup\022\021OperationMetadata" + + "\332A\027parent,backup,backup_id\202\323\344\223\0029\"//v1bet" + + "a/{parent=projects/*/locations/*}/backup" + + "s:\006backup\022\332\001\n\014UpdateBackup\0220.google.clou" + + "d.alloydb.v1beta.UpdateBackupRequest\032\035.g" + + "oogle.longrunning.Operation\"y\312A\033\n\006Backup" + + "\022\021OperationMetadata\332A\022backup,update_mask" + + "\202\323\344\223\002@26/v1beta/{backup.name=projects/*/" + + "locations/*/backups/*}:\006backup\022\314\001\n\014Delet" + + "eBackup\0220.google.cloud.alloydb.v1beta.De" + + "leteBackupRequest\032\035.google.longrunning.O" + + "peration\"k\312A*\n\025google.protobuf.Empty\022\021Op" + + "erationMetadata\332A\004name\202\323\344\223\0021*//v1beta/{n" + + "ame=projects/*/locations/*/backups/*}\022\356\001" + + "\n\032ListSupportedDatabaseFlags\022>.google.cl" + + "oud.alloydb.v1beta.ListSupportedDatabase" + + "FlagsRequest\032?.google.cloud.alloydb.v1be" + + "ta.ListSupportedDatabaseFlagsResponse\"O\332" + + "A\006parent\202\323\344\223\002@\022>/v1beta/{parent=projects" + + "/*/locations/*}/supportedDatabaseFlags\022\374" + + "\001\n\031GenerateClientCertificate\022=.google.cl" + + "oud.alloydb.v1beta.GenerateClientCertifi" + + "cateRequest\032>.google.cloud.alloydb.v1bet" + + "a.GenerateClientCertificateResponse\"`\332A\006" + + "parent\202\323\344\223\002Q\"L/v1beta/{parent=projects/*" + + "/locations/*/clusters/*}:generateClientC" + + "ertificate:\001*\022\327\001\n\021GetConnectionInfo\0225.go" + + "ogle.cloud.alloydb.v1beta.GetConnectionI" + + "nfoRequest\032+.google.cloud.alloydb.v1beta" + + ".ConnectionInfo\"^\332A\006parent\202\323\344\223\002O\022M/v1bet" + + "a/{parent=projects/*/locations/*/cluster" + + "s/*/instances/*}/connectionInfo\022\265\001\n\tList" + + "Users\022-.google.cloud.alloydb.v1beta.List" + + "UsersRequest\032..google.cloud.alloydb.v1be" + + "ta.ListUsersResponse\"I\332A\006parent\202\323\344\223\002:\0228/" + + "v1beta/{parent=projects/*/locations/*/cl" + + "usters/*}/users\022\242\001\n\007GetUser\022+.google.clo" + + "ud.alloydb.v1beta.GetUserRequest\032!.googl" + + "e.cloud.alloydb.v1beta.User\"G\332A\004name\202\323\344\223" + + "\002:\0228/v1beta/{name=projects/*/locations/*" + + "/clusters/*/users/*}\022\275\001\n\nCreateUser\022..go" + + "ogle.cloud.alloydb.v1beta.CreateUserRequ" + + "est\032!.google.cloud.alloydb.v1beta.User\"\\" + + "\332A\023parent,user,user_id\202\323\344\223\002@\"8/v1beta/{p" + + "arent=projects/*/locations/*/clusters/*}" + + "/users:\004user\022\277\001\n\nUpdateUser\022..google.clo" + + "ud.alloydb.v1beta.UpdateUserRequest\032!.go" + + "ogle.cloud.alloydb.v1beta.User\"^\332A\020user," + + "update_mask\202\323\344\223\002E2=/v1beta/{user.name=pr" + + "ojects/*/locations/*/clusters/*/users/*}" + + ":\004user\022\235\001\n\nDeleteUser\022..google.cloud.all" + + "oydb.v1beta.DeleteUserRequest\032\026.google.p" + + "rotobuf.Empty\"G\332A\004name\202\323\344\223\002:*8/v1beta/{n" + + "ame=projects/*/locations/*/clusters/*/us" + + "ers/*}\032J\312A\026alloydb.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\311\001\n\037com.google.cloud.alloydb.v1betaB\014" + + "ServiceProtoP\001Z9cloud.google.com/go/allo" + + "ydb/apiv1beta/alloydbpb;alloydbpb\252\002\033Goog" + + "le.Cloud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\A" + + "lloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::" + + "V1betab\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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor, + new java.lang.String[] { "Clusters", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", "Force", }); + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor, + new java.lang.String[] { "BackupSource", "ContinuousBackupSource", "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", "Source", }); + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor, + new java.lang.String[] { "CreateInstanceRequests", }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "Requests", "RequestId", }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor, + new java.lang.String[] { "Instances", }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor, + new java.lang.String[] { "InstanceTargets", "InstanceStatuses", }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor, + new java.lang.String[] { "State", "ErrorMsg", "Error", "Type", }); + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor, + new java.lang.String[] { "FaultType", "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor, + new java.lang.String[] { "Backups", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor, + new java.lang.String[] { "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", "Etag", }); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor, + new java.lang.String[] { "SupportedDatabaseFlags", "NextPageToken", }); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor, + new java.lang.String[] { "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", }); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor, + new java.lang.String[] { "PemCertificate", "PemCertificateChain", "CaCert", }); + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor, + new java.lang.String[] { "Parent", "RequestId", }); + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor, + new java.lang.String[] { "BatchCreateInstancesMetadata", "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", "RequestSpecific", }); + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor, + new java.lang.String[] { "Users", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor, + new java.lang.String[] { "Parent", "UserId", "User", "RequestId", "ValidateOnly", }); + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor, + new java.lang.String[] { "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor, + new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java similarity index 65% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java index d58d8b6aaf93..ef6b14ad5adf 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * SSL configuration.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SslConfig} */ -public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SslConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SslConfig) SslConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -44,38 +26,34 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SslConfig.class, - com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); + com.google.cloud.alloydb.v1beta.SslConfig.class, com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); } /** - * - * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.SslConfig.SslMode} */ - public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -84,8 +62,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ SSL_MODE_UNSPECIFIED(0), /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -95,8 +71,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated SSL_MODE_ALLOW(1), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -108,8 +82,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -121,8 +93,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -131,8 +101,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -144,8 +112,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -154,8 +120,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -164,8 +128,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -176,8 +138,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
-     *
-     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -188,8 +148,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
-     *
-     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -198,8 +156,6 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** - * - * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -208,6 +164,7 @@ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTED_ONLY_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -232,55 +189,52 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: - return SSL_MODE_UNSPECIFIED; - case 1: - return SSL_MODE_ALLOW; - case 2: - return SSL_MODE_REQUIRE; - case 3: - return SSL_MODE_VERIFY_CA; - case 4: - return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: - return ENCRYPTED_ONLY; - default: - return null; + case 0: return SSL_MODE_UNSPECIFIED; + case 1: return SSL_MODE_ALLOW; + case 2: return SSL_MODE_REQUIRE; + case 3: return SSL_MODE_VERIFY_CA; + case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: return ENCRYPTED_ONLY; + 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< + SslMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SslMode findValueByNumber(int number) { + return SslMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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.cloud.alloydb.v1beta.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -298,18 +252,15 @@ private SslMode(int value) { } /** - * - * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.SslConfig.CaSource} */ - public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -319,8 +270,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -332,8 +281,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -343,8 +290,6 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -353,6 +298,7 @@ public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_SOURCE_MANAGED_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -377,47 +323,48 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: - return CA_SOURCE_UNSPECIFIED; - case 1: - return CA_SOURCE_MANAGED; - default: - return null; + case 0: return CA_SOURCE_UNSPECIFIED; + case 1: return CA_SOURCE_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< + CaSource> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CaSource findValueByNumber(int number) { + return CaSource.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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.cloud.alloydb.v1beta.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -437,87 +384,58 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = - com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = - com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); - return result == null - ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); + return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,13 +447,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (sslMode_ - != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (sslMode_ != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -547,13 +464,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ - != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); + if (sslMode_ != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, sslMode_); } - if (caSource_ - != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); + if (caSource_ != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -563,13 +480,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.cloud.alloydb.v1beta.SslConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SslConfig other = - (com.google.cloud.alloydb.v1beta.SslConfig) obj; + com.google.cloud.alloydb.v1beta.SslConfig other = (com.google.cloud.alloydb.v1beta.SslConfig) obj; if (sslMode_ != other.sslMode_) return false; if (caSource_ != other.caSource_) return false; @@ -593,136 +509,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SslConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SslConfig) com.google.cloud.alloydb.v1beta.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SslConfig.class, - com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); + com.google.cloud.alloydb.v1beta.SslConfig.class, com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.SslConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -733,9 +645,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override @@ -754,11 +666,8 @@ public com.google.cloud.alloydb.v1beta.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig buildPartial() { - com.google.cloud.alloydb.v1beta.SslConfig result = - new com.google.cloud.alloydb.v1beta.SslConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.SslConfig result = new com.google.cloud.alloydb.v1beta.SslConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -777,39 +686,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SslConfig result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.SslConfig) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.SslConfig)other); } else { super.mergeFrom(other); return this; @@ -850,25 +758,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -878,38 +783,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int sslMode_ = 0; /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override - public int getSslModeValue() { + @java.lang.Override public int getSslModeValue() { return sslMode_; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -920,37 +813,24 @@ public Builder setSslModeValue(int value) { return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = - com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); - return result == null - ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); + return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @param value The sslMode to set. * @return This builder for chaining. */ @@ -964,16 +844,11 @@ public Builder setSslMode(com.google.cloud.alloydb.v1beta.SslConfig.SslMode valu return this; } /** - * - * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSslMode() { @@ -985,35 +860,24 @@ public Builder clearSslMode() { private int caSource_ = 0; /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override - public int getCaSourceValue() { + @java.lang.Override public int getCaSourceValue() { return caSource_; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -1024,39 +888,26 @@ public Builder setCaSourceValue(int value) { return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = - com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); - return result == null - ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); + return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The caSource to set. * @return This builder for chaining. */ @@ -1070,17 +921,12 @@ public Builder setCaSource(com.google.cloud.alloydb.v1beta.SslConfig.CaSource va return this; } /** - * - * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearCaSource() { @@ -1089,9 +935,9 @@ public Builder clearCaSource() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SslConfig) private static final com.google.cloud.alloydb.v1beta.SslConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SslConfig(); } @@ -1115,27 +961,27 @@ public static com.google.cloud.alloydb.v1beta.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,4 +996,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java new file mode 100644 index 000000000000..e077c74e4748 --- /dev/null +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public interface SslConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The sslMode. + */ + com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode(); + + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The caSource. + */ + com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource(); +} diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java index 1b61497c598e..cdc583a3d895 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SupportedDatabaseFlag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -50,28 +32,25 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class,
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * This is an unknown flag type.
      * 
@@ -92,8 +70,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ VALUE_TYPE_UNSPECIFIED(0), /** - * - * *
      * String type flag.
      * 
@@ -102,8 +78,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * Integer type flag.
      * 
@@ -112,8 +86,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ INTEGER(2), /** - * - * *
      * Float type flag.
      * 
@@ -122,8 +94,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ FLOAT(3), /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -135,8 +105,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * This is an unknown flag type.
      * 
@@ -145,8 +113,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * String type flag.
      * 
@@ -155,8 +121,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * Integer type flag.
      * 
@@ -165,8 +129,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTEGER_VALUE = 2; /** - * - * *
      * Float type flag.
      * 
@@ -175,8 +137,6 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FLOAT_VALUE = 3; /** - * - * *
      * Denotes that the flag does not accept any values.
      * 
@@ -185,6 +145,7 @@ public enum ValueType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -209,55 +170,51 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: - return VALUE_TYPE_UNSPECIFIED; - case 1: - return STRING; - case 2: - return INTEGER; - case 3: - return FLOAT; - case 4: - return NONE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return VALUE_TYPE_UNSPECIFIED; + case 1: return STRING; + case 2: return INTEGER; + case 3: return FLOAT; + case 4: return NONE; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ValueType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType 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; @@ -274,156 +231,132 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder - extends + public interface StringRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - java.util.List getAllowedValuesList(); + java.util.List + getAllowedValuesList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString getAllowedValuesBytes(int index); + com.google.protobuf.ByteString + getAllowedValuesBytes(int index); } /** - * - * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StringRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StringRestrictions() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder - .class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { return allowedValues_; } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -431,24 +364,21 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -460,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -489,16 +420,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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)) { + if (!(obj instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other = - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList() + .equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -519,101 +449,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -623,68 +542,62 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder - .class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -692,19 +605,14 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - buildPartial() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = - new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions buildPartial() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -716,54 +624,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) other); + if (other instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) { + return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other) { - if (other - == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other) { + if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -800,20 +700,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -823,12 +721,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -836,46 +732,38 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList + getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -883,39 +771,33 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString + getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAllowedValues( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -923,22 +805,18 @@ public Builder setAllowedValues(int index, java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValues( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -946,61 +824,53 @@ public Builder addAllowedValues(java.lang.String value) { return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues(java.lang.Iterable values) { + public Builder addAllAllowedValues( + java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + allowedValues_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; - * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addAllowedValuesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -1008,7 +878,6 @@ public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1021,45 +890,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1071,44 +936,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface IntegerRestrictionsOrBuilder - extends + public interface IntegerRestrictionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1118,32 +974,24 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1153,59 +1001,52 @@ public interface IntegerRestrictionsOrBuilder com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** - * - * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IntegerRestrictions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private IntegerRestrictions() {} + private IntegerRestrictions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder - .class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1213,14 +1054,11 @@ public boolean hasMinValue() { return minValue_ != null; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ @java.lang.Override @@ -1228,8 +1066,6 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** - * - * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1244,14 +1080,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1259,14 +1092,11 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ @java.lang.Override @@ -1274,8 +1104,6 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** - * - * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1288,7 +1116,6 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1300,7 +1127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1317,10 +1145,12 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1330,22 +1160,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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)) { + if (!(obj instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other = - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue().equals(other.getMinValue())) return false; + if (!getMinValue() + .equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue().equals(other.getMaxValue())) return false; + if (!getMaxValue() + .equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1371,101 +1201,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1475,43 +1294,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder - .class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } - // Construct using - // com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1530,22 +1345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = - buildPartial(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1553,25 +1365,24 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - buildPartial() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = - new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null + ? minValue_ + : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null + ? maxValue_ + : maxValueBuilder_.build(); } } @@ -1579,54 +1390,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) other); + if (other instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other - == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1659,25 +1462,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getMinValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMaxValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1687,52 +1491,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - minValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; - * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } else { return minValueBuilder_.getMessage(); } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1753,15 +1543,14 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1772,8 +1561,6 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1782,9 +1569,9 @@ public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && minValue_ != null - && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + minValue_ != null && + minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1797,8 +1584,6 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1816,8 +1601,6 @@ public Builder clearMinValue() { return this; } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1830,8 +1613,6 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1842,14 +1623,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : minValue_; + return minValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } } /** - * - * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1857,17 +1635,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), getParentForChildren(), isClean()); + minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), + getParentForChildren(), + isClean()); minValue_ = null; } return minValueBuilder_; @@ -1875,47 +1650,34 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - maxValueBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; - * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1936,15 +1698,14 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue( + com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1955,8 +1716,6 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1965,9 +1724,9 @@ public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValu */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && maxValue_ != null - && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + maxValue_ != null && + maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1980,8 +1739,6 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1999,8 +1756,6 @@ public Builder clearMaxValue() { return this; } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2013,8 +1768,6 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2025,14 +1778,11 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null - ? com.google.protobuf.Int64Value.getDefaultInstance() - : maxValue_; + return maxValue_ == null ? + com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } } /** - * - * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -2040,22 +1790,18 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), getParentForChildren(), isClean()); + maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), + getParentForChildren(), + isClean()); maxValue_ = null; } return maxValueBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2068,45 +1814,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - DEFAULT_INSTANCE; - + private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2118,26 +1860,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int restrictionsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object restrictions_; - public enum RestrictionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; - private RestrictionsCase(int value) { this.value = value; } @@ -2153,38 +1891,30 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: - return STRING_RESTRICTIONS; - case 8: - return INTEGER_RESTRICTIONS; - case 0: - return RESTRICTIONS_NOT_SET; - default: - return null; + case 7: return STRING_RESTRICTIONS; + case 8: return INTEGER_RESTRICTIONS; + case 0: return RESTRICTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RestrictionsCase getRestrictionsCase() { - return RestrictionsCase.forNumber(restrictionsCase_); + public RestrictionsCase + getRestrictionsCase() { + return RestrictionsCase.forNumber( + restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2192,62 +1922,42 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -2255,57 +1965,39 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2313,7 +2005,6 @@ public boolean hasIntegerRestrictions() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2322,15 +2013,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2338,15 +2028,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 { @@ -2355,19 +2046,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ @java.lang.Override @@ -2376,30 +2063,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -2411,39 +2098,29 @@ public com.google.protobuf.ByteString getFlagNameBytes() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2452,50 +2129,36 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List supportedDbVersions_; - private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion> - supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion> supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>() { public com.google.cloud.alloydb.v1beta.DatabaseVersion convert(java.lang.Integer from) { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = - com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(from); - return result == null - ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(from); + return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } }; /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ @java.lang.Override - public java.util.List - getSupportedDbVersionsList() { + public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2503,14 +2166,11 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2519,29 +2179,24 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2549,14 +2204,11 @@ public java.util.List getSupportedDbVersionsValueList() { public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } - private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2565,7 +2217,6 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -2574,7 +2225,6 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2586,7 +2236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2594,9 +2245,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { + if (valueType_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2613,15 +2262,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); + output.writeMessage(7, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage( - 8, - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_); + output.writeMessage(8, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } getUnknownFields().writeTo(output); } @@ -2638,43 +2282,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ - != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); + if (valueType_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2684,27 +2322,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.cloud.alloydb.v1beta.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other = - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) obj; - if (!getName().equals(other.getName())) return false; - if (!getFlagName().equals(other.getFlagName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getFlagName() + .equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() + != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() + != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions() + .equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions() + .equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2727,13 +2370,15 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2752,104 +2397,98 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2860,32 +2499,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class,
-              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2909,9 +2549,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2930,19 +2570,15 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result =
-          new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2972,10 +2608,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 &&
+          stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 &&
+          integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2984,39 +2622,38 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.SupportedDatabas
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3024,8 +2661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -3056,20 +2692,17 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag o
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS:
-          {
-            mergeStringRestrictions(other.getStringRestrictions());
-            break;
-          }
-        case INTEGER_RESTRICTIONS:
-          {
-            mergeIntegerRestrictions(other.getIntegerRestrictions());
-            break;
-          }
-        case RESTRICTIONS_NOT_SET:
-          {
-            break;
-          }
+        case STRING_RESTRICTIONS: {
+          mergeStringRestrictions(other.getStringRestrictions());
+          break;
+        }
+        case INTEGER_RESTRICTIONS: {
+          mergeIntegerRestrictions(other.getIntegerRestrictions());
+          break;
+        }
+        case RESTRICTIONS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3097,76 +2730,68 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 10
-            case 18:
-              {
-                flagName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 24:
-              {
-                valueType_ = input.readEnum();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 24
-            case 32:
-              {
-                acceptsMultipleValues_ = input.readBool();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 32
-            case 40:
-              {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 10
+            case 18: {
+              flagName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 24: {
+              valueType_ = input.readEnum();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 24
+            case 32: {
+              acceptsMultipleValues_ = input.readBool();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 32
+            case 40: {
+              int tmpRaw = input.readEnum();
+              ensureSupportedDbVersionsIsMutable();
+              supportedDbVersions_.add(tmpRaw);
+              break;
+            } // case 40
+            case 42: {
+              int length = input.readRawVarint32();
+              int oldLimit = input.pushLimit(length);
+              while(input.getBytesUntilLimit() > 0) {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-                break;
-              } // case 40
-            case 42:
-              {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while (input.getBytesUntilLimit() > 0) {
-                  int tmpRaw = input.readEnum();
-                  ensureSupportedDbVersionsIsMutable();
-                  supportedDbVersions_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 42
-            case 48:
-              {
-                requiresDbRestart_ = input.readBool();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(
-                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
-                restrictionsCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              }
+              input.popLimit(oldLimit);
+              break;
+            } // case 42
+            case 48: {
+              requiresDbRestart_ = input.readBool();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getStringRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getIntegerRestrictionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              restrictionsCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3176,12 +2801,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-
-    public RestrictionsCase getRestrictionsCase() {
-      return RestrictionsCase.forNumber(restrictionsCase_);
+    public RestrictionsCase
+        getRestrictionsCase() {
+      return RestrictionsCase.forNumber(
+          restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -3194,21 +2819,13 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions,
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder,
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
-        stringRestrictionsBuilder_;
+        com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
     /**
-     *
-     *
      * 
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -3216,49 +2833,35 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - getStringRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder setStringRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3272,19 +2875,14 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3295,29 +2893,18 @@ public Builder setStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public Builder mergeStringRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 - && restrictions_ - != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 7 && + restrictions_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3333,15 +2920,11 @@ public Builder mergeStringRestrictions( return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -3360,74 +2943,50 @@ public Builder clearStringRestrictions() { return this; } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder - getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on STRING type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); } - stringRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - restrictions_, + stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3438,21 +2997,13 @@ public Builder clearStringRestrictions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> - integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3460,49 +3011,35 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3516,19 +3053,14 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder - builderForValue) { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3539,29 +3071,18 @@ public Builder setIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public Builder mergeIntegerRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 - && restrictions_ - != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance()) { - restrictions_ = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_) - .mergeFrom(value) - .buildPartial(); + if (restrictionsCase_ == 8 && + restrictions_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { + restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) + .mergeFrom(value).buildPartial(); } else { restrictions_ = value; } @@ -3577,15 +3098,11 @@ public Builder mergeIntegerRestrictions( return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3604,74 +3121,50 @@ public Builder clearIntegerRestrictions() { return this; } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder - getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } } /** - * - * *
      * Restriction on INTEGER type value.
      * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - .getDefaultInstance(); + restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); } - integerRestrictionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - restrictions_, + integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3683,8 +3176,6 @@ public Builder clearIntegerRestrictions() { private java.lang.Object name_ = ""; /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3692,13 +3183,13 @@ public Builder clearIntegerRestrictions() {
      * 
* * 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; @@ -3707,8 +3198,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3716,14 +3205,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 { @@ -3731,8 +3221,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3740,22 +3228,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3763,7 +3247,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3773,8 +3256,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3782,14 +3263,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3799,21 +3278,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object flagName_ = ""; /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3822,22 +3299,21 @@ public java.lang.String getFlagName() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString getFlagNameBytes() { + public com.google.protobuf.ByteString + getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); flagName_ = b; return b; } else { @@ -3845,37 +3321,30 @@ public com.google.protobuf.ByteString getFlagNameBytes() { } } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3885,22 +3354,18 @@ public Builder clearFlagName() { return this; } /** - * - * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; - * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFlagNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3911,16 +3376,13 @@ public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { private int valueType_ = 0; /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override - public int getValueTypeValue() { + @java.lang.Override public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3932,25 +3394,19 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null - ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED - : result; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @param value The valueType to set. * @return This builder for chaining. */ - public Builder setValueType( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value) { + public Builder setValueType(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value) { if (value == null) { throw new NullPointerException(); } @@ -3961,7 +3417,6 @@ public Builder setValueType( } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3971,17 +3426,14 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_; + private boolean acceptsMultipleValues_ ; /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3989,15 +3441,12 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -4009,15 +3458,12 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** - * - * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; - * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -4028,8 +3474,7 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -4037,45 +3482,34 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsList() { + public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>( - supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -4083,14 +3517,11 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -4106,14 +3537,11 @@ public Builder setSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4127,14 +3555,11 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1beta.DatabaseVe return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -4148,14 +3573,11 @@ public Builder addAllSupportedDbVersions( return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -4165,28 +3587,23 @@ public Builder clearSupportedDbVersions() { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List getSupportedDbVersionsValueList() { + public java.util.List + getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -4194,33 +3611,28 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue(int index, int value) { + public Builder setSupportedDbVersionsValue( + int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -4231,18 +3643,16 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** - * - * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue( + java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -4251,10 +3661,8 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * Whether setting or updating this flag on an Instance requires a database * restart. If a flag that requires database restart is set, the backend @@ -4263,7 +3671,6 @@ public Builder addAllSupportedDbVersionsValue(java.lang.Iterable * * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ @java.lang.Override @@ -4271,8 +3678,6 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4281,7 +3686,6 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; - * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -4293,8 +3697,6 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** - * - * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -4303,7 +3705,6 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; - * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -4312,9 +3713,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4324,12 +3725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(); } @@ -4338,27 +3739,27 @@ public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4373,4 +3774,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java index cd42bae43c56..72e16cfcbf57 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java @@ -1,116 +1,67 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface SupportedDatabaseFlagOrBuilder - extends +public interface SupportedDatabaseFlagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; * @return The stringRestrictions. */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** - * - * *
    * Restriction on STRING type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder - getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; * @return The integerRestrictions. */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions - getIntegerRestrictions(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); /** - * - * *
    * Restriction on INTEGER type value.
    * 
* - * - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; - * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder - getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -118,13 +69,10 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -132,131 +80,105 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The flagName. */ java.lang.String getFlagName(); /** - * - * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; - * * @return The bytes for flagName. */ - com.google.protobuf.ByteString getFlagNameBytes(); + com.google.protobuf.ByteString + getFlagNameBytes(); /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; - * * @return The valueType. */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType(); /** - * - * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; - * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(int index); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List getSupportedDbVersionsValueList(); + java.util.List + getSupportedDbVersionsValueList(); /** - * - * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** - * - * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -265,7 +187,6 @@ public interface SupportedDatabaseFlagOrBuilder
    * 
* * bool requires_db_restart = 6; - * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java similarity index 73% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java index a23d7c22d1db..056be6dd1056 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Backup backup_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -142,15 +108,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -158,14 +120,11 @@ public com.google.cloud.alloydb.v1beta.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { @@ -173,12 +132,9 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,7 +152,6 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -269,15 +221,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -286,7 +235,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -324,19 +273,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -346,25 +299,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.cloud.alloydb.v1beta.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateBackupRequest other = - (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateBackupRequest other = (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getBackup() + .equals(other.getBackup())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,144 +344,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest) com.google.cloud.alloydb.v1beta.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -546,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -567,11 +522,8 @@ public com.google.cloud.alloydb.v1beta.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateBackupRequest result = - new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.UpdateBackupRequest result = new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -579,10 +531,14 @@ public com.google.cloud.alloydb.v1beta.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null + ? backup_ + : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -599,39 +555,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateBackupRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateBackupRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateBackupRequest)other); } else { super.mergeFrom(other); return this; @@ -639,8 +594,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -684,43 +638,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -730,18 +682,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -750,17 +696,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -769,23 +711,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -794,8 +730,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -811,8 +746,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -821,10 +754,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -835,8 +768,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -845,14 +776,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -865,8 +795,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -875,8 +803,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -889,8 +816,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -899,8 +824,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -908,8 +832,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -918,21 +840,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -941,21 +859,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -963,58 +877,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> - backupBuilder_; + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.cloud.alloydb.v1beta.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null - ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } else { return backupBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { @@ -1030,17 +925,14 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -1051,21 +943,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderF return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && backup_ != null - && backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + backup_ != null && + backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -1078,15 +966,11 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1099,15 +983,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -1115,48 +995,36 @@ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null - ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() - : backup_; + return backup_ == null ? + com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, - com.google.cloud.alloydb.v1beta.Backup.Builder, - com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -1164,8 +1032,6 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1183,13 +1049,13 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1198,8 +1064,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1217,14 +1081,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1232,8 +1097,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1251,22 +1114,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1284,7 +1143,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1294,8 +1152,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1313,14 +1169,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1328,17 +1182,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1346,15 +1197,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1366,15 +1214,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1384,17 +1229,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1402,15 +1244,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1422,15 +1261,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1439,9 +1275,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1451,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1beta.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(); } @@ -1465,27 +1301,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest getDefaultInst 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; @@ -1500,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java similarity index 81% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java index 66b6a7eaca01..768d49192a15 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateBackupRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.cloud.alloydb.v1beta.Backup getBackup(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,35 +112,29 @@ public interface UpdateBackupRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java index 59f91016969d..22fa5904e046 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UpdateClusterRequest) UpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -143,49 +108,33 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -203,7 +152,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -212,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -257,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -266,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -277,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -294,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -332,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,25 +300,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.cloud.alloydb.v1beta.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateClusterRequest other = - (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateClusterRequest other = (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -395,144 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UpdateClusterRequest) com.google.cloud.alloydb.v1beta.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.UpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -575,11 +523,8 @@ public com.google.cloud.alloydb.v1beta.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateClusterRequest result = - new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.UpdateClusterRequest result = new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -587,10 +532,14 @@ public com.google.cloud.alloydb.v1beta.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -607,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateClusterRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateClusterRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -647,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -692,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -738,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -758,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -777,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -802,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -819,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -829,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -843,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -853,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -873,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -883,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -897,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -907,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -916,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -926,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -949,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -971,58 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> - clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -1038,17 +926,14 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1059,21 +944,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builde return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && cluster_ != null - && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + cluster_ != null && + cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1086,15 +967,11 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1107,15 +984,11 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -1123,48 +996,36 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, - com.google.cloud.alloydb.v1beta.Cluster.Builder, - com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1172,8 +1033,6 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1191,13 +1050,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1206,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1225,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1240,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1259,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1292,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1302,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1321,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1336,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1347,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1355,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1364,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1376,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1385,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1395,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1413,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1433,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1450,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - 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 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1beta.UpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(); } @@ -1476,27 +1305,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1511,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java index 0b210df89081..894d9603bf53 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateClusterRequestOrBuilder - extends +public interface UpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateClusterRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,14 +112,12 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -173,21 +125,17 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java similarity index 72% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java index d471699e1a6b..a60784a05463 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,16 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Instance instance_; /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -143,49 +108,33 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -203,7 +152,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -212,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -238,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -257,8 +205,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -266,7 +212,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -277,15 +222,12 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -294,7 +236,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +247,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -332,19 +274,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,25 +300,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.cloud.alloydb.v1beta.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other = - (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -395,145 +345,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.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; } /** - * - * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest) com.google.cloud.alloydb.v1beta.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -555,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -576,11 +523,8 @@ public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result = - new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -588,10 +532,14 @@ public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -608,39 +556,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -648,8 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -693,43 +639,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,18 +683,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -759,17 +697,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -778,23 +712,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -803,8 +731,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -820,8 +747,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -830,10 +755,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -844,8 +769,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -854,14 +777,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -874,8 +796,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -884,8 +804,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -898,8 +817,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -908,8 +825,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -917,8 +833,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -927,21 +841,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -950,21 +860,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -972,58 +878,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> - instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -1039,17 +926,14 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1060,21 +944,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder buil return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && instance_ != null - && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + instance_ != null && + instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1087,15 +967,11 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1108,15 +984,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -1124,48 +996,36 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, - com.google.cloud.alloydb.v1beta.Instance.Builder, - com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -1173,8 +1033,6 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1192,13 +1050,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1207,8 +1065,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1226,14 +1082,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1241,8 +1098,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1260,22 +1115,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1293,7 +1144,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1303,8 +1153,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1322,14 +1170,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1337,10 +1183,8 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1348,7 +1192,6 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1356,8 +1199,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1365,7 +1206,6 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1377,8 +1217,6 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1386,7 +1224,6 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1396,17 +1233,14 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1414,15 +1248,12 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1434,15 +1265,12 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1451,9 +1279,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1beta.UpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(); } @@ -1477,27 +1305,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest getDefaultIn 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; @@ -1512,4 +1340,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java similarity index 78% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java index 70a335cfd005..63af3b8fc868 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateInstanceRequestOrBuilder - extends +public interface UpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -68,55 +42,38 @@ public interface UpdateInstanceRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** - * - * *
    * Required. The resource being updated
    * 
* - * - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -134,13 +91,10 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -158,14 +112,12 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -173,21 +125,17 @@ public interface UpdateInstanceRequestOrBuilder
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java similarity index 74% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java index 8af4b0d65d09..512b0d7532fd 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateUserRequest} */ -public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateUserRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UpdateUserRequest) UpdateUserRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, - com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -75,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -85,8 +62,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -95,9 +70,7 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -105,8 +78,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -115,8 +86,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -126,15 +96,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.User user_; /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ @java.lang.Override @@ -142,15 +108,11 @@ public boolean hasUser() { return user_ != null; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ @java.lang.Override @@ -158,14 +120,11 @@ public com.google.cloud.alloydb.v1beta.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { @@ -173,12 +132,9 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,7 +152,6 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ @java.lang.Override @@ -205,15 +160,14 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,15 +185,16 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -250,15 +205,12 @@ public com.google.protobuf.ByteString getRequestIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -269,14 +221,11 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -285,7 +234,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -323,19 +272,23 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -345,25 +298,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.cloud.alloydb.v1beta.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateUserRequest other = - (com.google.cloud.alloydb.v1beta.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateUserRequest other = (com.google.cloud.alloydb.v1beta.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser().equals(other.getUser())) return false; - } - if (!getRequestId().equals(other.getRequestId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (!getUser() + .equals(other.getUser())) return false; + } + if (!getRequestId() + .equals(other.getRequestId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -386,144 +343,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateUserRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UpdateUserRequest) com.google.cloud.alloydb.v1beta.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, - com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.UpdateUserRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -545,9 +500,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto - .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override @@ -566,11 +521,8 @@ public com.google.cloud.alloydb.v1beta.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateUserRequest result = - new com.google.cloud.alloydb.v1beta.UpdateUserRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.alloydb.v1beta.UpdateUserRequest result = new com.google.cloud.alloydb.v1beta.UpdateUserRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -578,10 +530,14 @@ public com.google.cloud.alloydb.v1beta.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); + result.user_ = userBuilder_ == null + ? user_ + : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -598,39 +554,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateUserRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateUserRequest) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateUserRequest)other); } else { super.mergeFrom(other); return this; @@ -638,8 +593,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -683,43 +637,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: - { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUserFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,18 +681,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -749,17 +695,13 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -768,23 +710,17 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @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(); } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -793,8 +729,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -810,8 +745,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -820,10 +753,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -834,8 +767,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -844,14 +775,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,8 +794,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -874,8 +802,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -888,8 +815,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -898,8 +823,7 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -907,8 +831,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -917,21 +839,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; } } /** - * - * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -940,21 +858,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ 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_; @@ -962,35 +876,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> - userBuilder_; + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> userBuilder_; /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ public com.google.cloud.alloydb.v1beta.User getUser() { @@ -1001,14 +904,11 @@ public com.google.cloud.alloydb.v1beta.User getUser() { } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { @@ -1024,16 +924,14 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder setUser( + com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -1044,20 +942,17 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForVa return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && user_ != null - && user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + user_ != null && + user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -1070,14 +965,11 @@ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1090,14 +982,11 @@ public Builder clearUser() { return this; } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -1105,44 +994,36 @@ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; + return user_ == null ? + com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } } /** - * - * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, - com.google.cloud.alloydb.v1beta.User.Builder, - com.google.cloud.alloydb.v1beta.UserOrBuilder>( - getUser(), getParentForChildren(), isClean()); + userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( + getUser(), + getParentForChildren(), + isClean()); user_ = null; } return userBuilder_; @@ -1150,8 +1031,6 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1169,13 +1048,13 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1184,8 +1063,6 @@ public java.lang.String getRequestId() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1203,14 +1080,15 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString getRequestIdBytes() { + public com.google.protobuf.ByteString + getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); requestId_ = b; return b; } else { @@ -1218,8 +1096,6 @@ public com.google.protobuf.ByteString getRequestIdBytes() { } } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1237,22 +1113,18 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1270,7 +1142,6 @@ public Builder setRequestId(java.lang.String value) {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1280,8 +1151,6 @@ public Builder clearRequestId() { return this; } /** - * - * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1299,14 +1168,12 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequestIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1314,17 +1181,14 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ @java.lang.Override @@ -1332,15 +1196,12 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1352,15 +1213,12 @@ public Builder setValidateOnly(boolean value) { return this; } /** - * - * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1370,16 +1228,13 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ @java.lang.Override @@ -1387,14 +1242,11 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1406,14 +1258,11 @@ public Builder setAllowMissing(boolean value) { return this; } /** - * - * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1422,9 +1271,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1434,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateUserRequest) private static final com.google.cloud.alloydb.v1beta.UpdateUserRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateUserRequest(); } @@ -1448,27 +1297,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1483,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java similarity index 81% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java index 1e5da63eed22..a3620f888b3c 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateUserRequestOrBuilder - extends +public interface UpdateUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -34,15 +16,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -51,15 +29,11 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -68,52 +42,38 @@ public interface UpdateUserRequestOrBuilder
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the user field is set. */ boolean hasUser(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The user. */ com.google.cloud.alloydb.v1beta.User getUser(); /** - * - * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -131,13 +91,10 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The requestId. */ java.lang.String getRequestId(); /** - * - * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -155,34 +112,28 @@ public interface UpdateUserRequestOrBuilder
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for requestId. */ - com.google.protobuf.ByteString getRequestIdBytes(); + com.google.protobuf.ByteString + getRequestIdBytes(); /** - * - * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java index e06ecc642075..11fa0e8d8fe3 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java @@ -1,83 +1,62 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.User} */ -public final class User extends com.google.protobuf.GeneratedMessageV3 - implements +public final class User extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.User) UserOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private User() { name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.User.class, - com.google.cloud.alloydb.v1beta.User.Builder.class); + com.google.cloud.alloydb.v1beta.User.class, com.google.cloud.alloydb.v1beta.User.Builder.class); } /** - * - * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.User.UserType} */ - public enum UserType implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified user type.
      * 
@@ -86,8 +65,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ USER_TYPE_UNSPECIFIED(0), /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -97,8 +74,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     ALLOYDB_BUILT_IN(1),
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -110,8 +85,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified user type.
      * 
@@ -120,8 +93,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -131,8 +102,6 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
-     *
-     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -141,6 +110,7 @@ public enum UserType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALLOYDB_IAM_USER_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +135,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: - return USER_TYPE_UNSPECIFIED; - case 1: - return ALLOYDB_BUILT_IN; - case 2: - return ALLOYDB_IAM_USER; - default: - return null; + case 0: return USER_TYPE_UNSPECIFIED; + case 1: return ALLOYDB_BUILT_IN; + case 2: return ALLOYDB_IAM_USER; + 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< + UserType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UserType findValueByNumber(int number) { + return UserType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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.cloud.alloydb.v1beta.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -225,19 +195,15 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -246,30 +212,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; } } /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -278,18 +244,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ @java.lang.Override @@ -298,29 +260,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -329,50 +291,41 @@ public com.google.protobuf.ByteString getPasswordBytes() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { return databaseRoles_; } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -380,63 +333,47 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ - @java.lang.Override - public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { - com.google.cloud.alloydb.v1beta.User.UserType result = - com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); + @java.lang.Override public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { + com.google.cloud.alloydb.v1beta.User.UserType result = com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1beta.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -458,8 +396,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < databaseRoles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, databaseRoles_.getRaw(i)); } - if (userType_ - != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + if (userType_ != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, userType_); } getUnknownFields().writeTo(output); @@ -485,9 +422,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getDatabaseRolesList().size(); } - if (userType_ - != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); + if (userType_ != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -497,16 +434,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.cloud.alloydb.v1beta.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.User other = (com.google.cloud.alloydb.v1beta.User) obj; - if (!getName().equals(other.getName())) return false; - if (!getPassword().equals(other.getPassword())) return false; - if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; + if (!getDatabaseRolesList() + .equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -534,150 +474,148 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.User parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.User parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.alloydb.v1beta.User parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.alloydb.v1beta.User parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1beta.User 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.cloud.alloydb.v1beta.User parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.User} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.User) com.google.cloud.alloydb.v1beta.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.User.class, - com.google.cloud.alloydb.v1beta.User.Builder.class); + com.google.cloud.alloydb.v1beta.User.class, com.google.cloud.alloydb.v1beta.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.User.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto - .internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override @@ -697,9 +635,7 @@ public com.google.cloud.alloydb.v1beta.User build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.User buildPartial() { com.google.cloud.alloydb.v1beta.User result = new com.google.cloud.alloydb.v1beta.User(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -725,39 +661,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.User result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.User) { - return mergeFrom((com.google.cloud.alloydb.v1beta.User) other); + return mergeFrom((com.google.cloud.alloydb.v1beta.User)other); } else { super.mergeFrom(other); return this; @@ -815,38 +750,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: - { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -856,26 +786,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -884,22 +811,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -907,37 +833,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -947,22 +866,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -972,20 +887,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -994,21 +907,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1016,35 +928,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -1054,21 +959,17 @@ public Builder clearPassword() { return this; } /** - * - * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -1078,7 +979,6 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -1086,46 +986,38 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList + getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1133,39 +1025,33 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString + getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseRoles( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1173,22 +1059,18 @@ public Builder setDatabaseRoles(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRoles( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1196,61 +1078,53 @@ public Builder addDatabaseRoles(java.lang.String value) { return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles(java.lang.Iterable values) { + public Builder addAllDatabaseRoles( + java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + databaseRoles_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addDatabaseRolesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1261,33 +1135,22 @@ public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { private int userType_ = 0; /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ - @java.lang.Override - public int getUserTypeValue() { + @java.lang.Override public int getUserTypeValue() { return userType_; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1298,35 +1161,24 @@ public Builder setUserTypeValue(int value) { return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { - com.google.cloud.alloydb.v1beta.User.UserType result = - com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1beta.User.UserType result = com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1beta.User.UserType.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The userType to set. * @return This builder for chaining. */ @@ -1340,16 +1192,11 @@ public Builder setUserType(com.google.cloud.alloydb.v1beta.User.UserType value) return this; } /** - * - * *
      * Optional. Type of this user.
      * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUserType() { @@ -1358,9 +1205,9 @@ public Builder clearUserType() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1370,12 +1217,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.User) private static final com.google.cloud.alloydb.v1beta.User DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.User(); } @@ -1384,27 +1231,27 @@ public static com.google.cloud.alloydb.v1beta.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1419,4 +1266,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java similarity index 70% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java index 21804572825c..17a86666847b 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java @@ -1,160 +1,114 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface UserOrBuilder - extends +public interface UserOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.User) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the databaseRoles. */ - java.util.List getDatabaseRolesList(); + java.util.List + getDatabaseRolesList(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** - * - * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString + getDatabaseRolesBytes(int index); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** - * - * *
    * Optional. Type of this user.
    * 
* - * - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The userType. */ com.google.cloud.alloydb.v1beta.User.UserType getUserType(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java similarity index 66% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java index 9751711313eb..e8c712c50058 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** - * - * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.UserPassword}
  */
-public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserPassword extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UserPassword)
     UserPasswordOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -45,38 +27,33 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto
-        .internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.UserPassword.class,
-            com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1beta.UserPassword.class, com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
-   *
-   *
    * 
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getUserBytes() { } public static final int PASSWORD_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -209,16 +182,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.cloud.alloydb.v1beta.UserPassword)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UserPassword other = - (com.google.cloud.alloydb.v1beta.UserPassword) obj; + com.google.cloud.alloydb.v1beta.UserPassword other = (com.google.cloud.alloydb.v1beta.UserPassword) obj; - if (!getUser().equals(other.getUser())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUser() + .equals(other.getUser())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,104 +213,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -344,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.UserPassword}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UserPassword)
       com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.UserPassword.class,
-              com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1beta.UserPassword.class, com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.UserPassword.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +350,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto
-          .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -401,11 +371,8 @@ public com.google.cloud.alloydb.v1beta.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1beta.UserPassword result =
-          new com.google.cloud.alloydb.v1beta.UserPassword(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.alloydb.v1beta.UserPassword result = new com.google.cloud.alloydb.v1beta.UserPassword(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -424,39 +391,38 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UserPassword result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.UserPassword) other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.UserPassword)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -501,25 +467,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                user_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                password_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              user_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              password_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -529,25 +492,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
-     *
-     *
      * 
      * The database username.
      * 
* * string user = 1; - * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -556,21 +516,20 @@ public java.lang.String getUser() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return The bytes for user. */ - public com.google.protobuf.ByteString getUserBytes() { + public com.google.protobuf.ByteString + getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); user_ = b; return b; } else { @@ -578,35 +537,28 @@ public com.google.protobuf.ByteString getUserBytes() { } } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUser( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @return This builder for chaining. */ public Builder clearUser() { @@ -616,21 +568,17 @@ public Builder clearUser() { return this; } /** - * - * *
      * The database username.
      * 
* * string user = 1; - * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setUserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -640,20 +588,18 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -662,21 +608,20 @@ public java.lang.String getPassword() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return The bytes for password. */ - public com.google.protobuf.ByteString getPasswordBytes() { + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -684,35 +629,28 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPassword( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @return This builder for chaining. */ public Builder clearPassword() { @@ -722,30 +660,26 @@ public Builder clearPassword() { return this; } /** - * - * *
      * The initial password for the user.
      * 
* * string password = 2; - * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UserPassword) private static final com.google.cloud.alloydb.v1beta.UserPassword DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UserPassword(); } @@ -769,27 +703,27 @@ public static com.google.cloud.alloydb.v1beta.UserPassword getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java similarity index 53% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java index 948bb4b7cbd4..414a0529d745 100644 --- a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java +++ b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface UserPasswordOrBuilder - extends +public interface UserPasswordOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UserPassword) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The user. */ java.lang.String getUser(); /** - * - * *
    * The database username.
    * 
* * string user = 1; - * * @return The bytes for user. */ - com.google.protobuf.ByteString getUserBytes(); + com.google.protobuf.ByteString + getUserBytes(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The password. */ java.lang.String getPassword(); /** - * - * *
    * The initial password for the user.
    * 
* * string password = 2; - * * @return The bytes for password. */ - com.google.protobuf.ByteString getPasswordBytes(); + com.google.protobuf.ByteString + getPasswordBytes(); } diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto similarity index 100% rename from java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto rename to owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java From 488b4157ec4b59cf9a81b6383bf140cfb75f218a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Nov 2023 22:07:41 +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 --- java-alloydb/README.md | 4 +- .../cloud/alloydb/v1/AlloyDBAdminClient.java | 0 .../alloydb/v1/AlloyDBAdminSettings.java | 1 - .../cloud/alloydb/v1/gapic_metadata.json | 0 .../google/cloud/alloydb/v1/package-info.java | 0 .../alloydb/v1/stub/AlloyDBAdminStub.java | 0 .../v1/stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../alloydb/v1/stub/GrpcAlloyDBAdminStub.java | 1 - .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../v1/stub/HttpJsonAlloyDBAdminStub.java | 1 - .../alloydb/v1alpha/AlloyDBAdminClient.java | 0 .../alloydb/v1alpha/AlloyDBAdminSettings.java | 1 - .../cloud/alloydb/v1alpha/gapic_metadata.json | 0 .../cloud/alloydb/v1alpha/package-info.java | 0 .../v1alpha/stub/AlloyDBAdminStub.java | 0 .../stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../v1alpha/stub/GrpcAlloyDBAdminStub.java | 1 - .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../stub/HttpJsonAlloyDBAdminStub.java | 1 - .../alloydb/v1beta/AlloyDBAdminClient.java | 0 .../alloydb/v1beta/AlloyDBAdminSettings.java | 1 - .../cloud/alloydb/v1beta/gapic_metadata.json | 0 .../cloud/alloydb/v1beta/package-info.java | 0 .../alloydb/v1beta/stub/AlloyDBAdminStub.java | 0 .../v1beta/stub/AlloyDBAdminStubSettings.java | 0 .../stub/GrpcAlloyDBAdminCallableFactory.java | 0 .../v1beta/stub/GrpcAlloyDBAdminStub.java | 1 - .../HttpJsonAlloyDBAdminCallableFactory.java | 0 .../v1beta/stub/HttpJsonAlloyDBAdminStub.java | 1 - .../reflect-config.json | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 .../v1/AlloyDBAdminClientHttpJsonTest.java | 0 .../alloydb/v1/AlloyDBAdminClientTest.java | 0 .../cloud/alloydb/v1/MockAlloyDBAdmin.java | 0 .../alloydb/v1/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1/MockIAMPolicy.java | 0 .../cloud/alloydb/v1/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1/MockLocations.java | 0 .../cloud/alloydb/v1/MockLocationsImpl.java | 0 .../AlloyDBAdminClientHttpJsonTest.java | 0 .../v1alpha/AlloyDBAdminClientTest.java | 0 .../alloydb/v1alpha/MockAlloyDBAdmin.java | 0 .../alloydb/v1alpha/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1alpha/MockIAMPolicy.java | 0 .../alloydb/v1alpha/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1alpha/MockLocations.java | 0 .../alloydb/v1alpha/MockLocationsImpl.java | 0 .../AlloyDBAdminClientHttpJsonTest.java | 0 .../v1beta/AlloyDBAdminClientTest.java | 0 .../alloydb/v1beta/MockAlloyDBAdmin.java | 0 .../alloydb/v1beta/MockAlloyDBAdminImpl.java | 0 .../cloud/alloydb/v1beta/MockIAMPolicy.java | 0 .../alloydb/v1beta/MockIAMPolicyImpl.java | 0 .../cloud/alloydb/v1beta/MockLocations.java | 0 .../alloydb/v1beta/MockLocationsImpl.java | 0 .../cloud/alloydb/v1/AlloyDBAdminGrpc.java | 3857 +++++++++++ .../alloydb/v1alpha/AlloyDBAdminGrpc.java | 3913 +++++++++++ .../alloydb/v1beta/AlloyDBAdminGrpc.java | 3899 +++++++++++ .../alloydb/v1/AutomatedBackupPolicy.java | 2803 +++++--- .../v1/AutomatedBackupPolicyOrBuilder.java | 151 +- .../com/google/cloud/alloydb/v1/Backup.java | 2955 ++++++--- .../google/cloud/alloydb/v1/BackupName.java | 0 .../cloud/alloydb/v1/BackupOrBuilder.java | 317 +- .../google/cloud/alloydb/v1/BackupSource.java | 409 +- .../alloydb/v1/BackupSourceOrBuilder.java | 44 +- .../alloydb/v1/BatchCreateInstanceStatus.java | 610 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1/BatchCreateInstancesMetadata.java | 657 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1/BatchCreateInstancesRequest.java | 565 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1/BatchCreateInstancesResponse.java | 410 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../com/google/cloud/alloydb/v1/Cluster.java | 4873 +++++++++----- .../google/cloud/alloydb/v1/ClusterName.java | 0 .../cloud/alloydb/v1/ClusterOrBuilder.java | 454 +- .../google/cloud/alloydb/v1/ClusterView.java | 82 +- .../cloud/alloydb/v1/ConnectionInfo.java | 456 +- .../alloydb/v1/ConnectionInfoOrBuilder.java | 45 +- .../alloydb/v1/ContinuousBackupConfig.java | 418 +- .../v1/ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1/ContinuousBackupInfo.java | 864 ++- .../v1/ContinuousBackupInfoOrBuilder.java | 113 +- .../alloydb/v1/ContinuousBackupSource.java | 445 +- .../v1/ContinuousBackupSourceOrBuilder.java | 44 +- .../cloud/alloydb/v1/CreateBackupRequest.java | 640 +- .../v1/CreateBackupRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateClusterRequest.java | 650 +- .../v1/CreateClusterRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateInstanceRequest.java | 667 +- .../v1/CreateInstanceRequestOrBuilder.java | 73 +- .../alloydb/v1/CreateInstanceRequests.java | 513 +- .../v1/CreateInstanceRequestsOrBuilder.java | 93 + .../v1/CreateSecondaryClusterRequest.java | 657 +- ...reateSecondaryClusterRequestOrBuilder.java | 73 +- .../v1/CreateSecondaryInstanceRequest.java | 673 +- ...eateSecondaryInstanceRequestOrBuilder.java | 73 +- .../cloud/alloydb/v1/CreateUserRequest.java | 628 +- .../v1/CreateUserRequestOrBuilder.java | 64 +- .../cloud/alloydb/v1/DatabaseVersion.java | 82 +- .../cloud/alloydb/v1/DeleteBackupRequest.java | 523 +- .../v1/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1/DeleteClusterRequest.java | 561 +- .../v1/DeleteClusterRequestOrBuilder.java | 59 +- .../alloydb/v1/DeleteInstanceRequest.java | 527 +- .../v1/DeleteInstanceRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1/DeleteUserRequest.java | 446 +- .../v1/DeleteUserRequestOrBuilder.java | 47 +- .../cloud/alloydb/v1/EncryptionConfig.java | 312 +- .../alloydb/v1/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1/EncryptionInfo.java | 548 +- .../alloydb/v1/EncryptionInfoOrBuilder.java | 117 + .../alloydb/v1/FailoverInstanceRequest.java | 453 +- .../v1/FailoverInstanceRequestOrBuilder.java | 47 +- .../v1/GenerateClientCertificateRequest.java | 675 +- ...rateClientCertificateRequestOrBuilder.java | 73 +- .../v1/GenerateClientCertificateResponse.java | 482 +- ...ateClientCertificateResponseOrBuilder.java | 57 +- .../cloud/alloydb/v1/GetBackupRequest.java | 340 +- .../alloydb/v1/GetBackupRequestOrBuilder.java | 54 + .../cloud/alloydb/v1/GetClusterRequest.java | 416 +- .../v1/GetClusterRequestOrBuilder.java | 47 +- .../alloydb/v1/GetConnectionInfoRequest.java | 419 +- .../v1/GetConnectionInfoRequestOrBuilder.java | 44 +- .../cloud/alloydb/v1/GetInstanceRequest.java | 390 +- .../v1/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1/GetUserRequest.java | 340 +- .../alloydb/v1/GetUserRequestOrBuilder.java | 56 + .../cloud/alloydb/v1/InjectFaultRequest.java | 599 +- .../v1/InjectFaultRequestOrBuilder.java | 61 +- .../com/google/cloud/alloydb/v1/Instance.java | 5159 +++++++++------ .../google/cloud/alloydb/v1/InstanceName.java | 0 .../cloud/alloydb/v1/InstanceOrBuilder.java | 367 +- .../google/cloud/alloydb/v1/InstanceView.java | 82 +- .../cloud/alloydb/v1/ListBackupsRequest.java | 589 +- .../v1/ListBackupsRequestOrBuilder.java | 65 +- .../cloud/alloydb/v1/ListBackupsResponse.java | 583 +- .../v1/ListBackupsResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1/ListClustersRequest.java | 592 +- .../v1/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1/ListClustersResponse.java | 587 +- .../v1/ListClustersResponseOrBuilder.java | 64 +- .../alloydb/v1/ListInstancesRequest.java | 596 +- .../v1/ListInstancesRequestOrBuilder.java | 65 +- .../alloydb/v1/ListInstancesResponse.java | 587 +- .../v1/ListInstancesResponseOrBuilder.java | 63 +- .../v1/ListSupportedDatabaseFlagsRequest.java | 466 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 588 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 57 +- .../cloud/alloydb/v1/ListUsersRequest.java | 589 +- .../alloydb/v1/ListUsersRequestOrBuilder.java | 65 +- .../cloud/alloydb/v1/ListUsersResponse.java | 582 +- .../v1/ListUsersResponseOrBuilder.java | 64 +- .../google/cloud/alloydb/v1/LocationName.java | 0 .../cloud/alloydb/v1/MigrationSource.java | 535 +- .../alloydb/v1/MigrationSourceOrBuilder.java | 50 +- .../cloud/alloydb/v1/OperationMetadata.java | 1023 +-- .../v1/OperationMetadataOrBuilder.java | 114 +- .../alloydb/v1/PromoteClusterRequest.java | 527 +- .../v1/PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1/ResourcesProto.java | 904 +++ .../alloydb/v1/RestartInstanceRequest.java | 457 +- .../v1/RestartInstanceRequestOrBuilder.java | 47 +- .../alloydb/v1/RestoreClusterRequest.java | 889 ++- .../v1/RestoreClusterRequestOrBuilder.java | 89 +- .../google/cloud/alloydb/v1/ServiceProto.java | 979 +++ .../google/cloud/alloydb/v1/SslConfig.java | 546 +- .../cloud/alloydb/v1/SslConfigOrBuilder.java | 85 + .../alloydb/v1/SupportedDatabaseFlag.java | 2045 +++--- .../alloydb/v1/SupportedDatabaseFlagName.java | 0 .../v1/SupportedDatabaseFlagOrBuilder.java | 108 +- .../cloud/alloydb/v1/UpdateBackupRequest.java | 629 +- .../v1/UpdateBackupRequestOrBuilder.java | 67 +- .../alloydb/v1/UpdateClusterRequest.java | 639 +- .../v1/UpdateClusterRequestOrBuilder.java | 67 +- .../alloydb/v1/UpdateInstanceRequest.java | 656 +- .../v1/UpdateInstanceRequestOrBuilder.java | 67 +- .../cloud/alloydb/v1/UpdateUserRequest.java | 617 +- .../v1/UpdateUserRequestOrBuilder.java | 58 +- .../com/google/cloud/alloydb/v1/User.java | 624 +- .../com/google/cloud/alloydb/v1/UserName.java | 0 .../cloud/alloydb/v1/UserOrBuilder.java | 68 +- .../google/cloud/alloydb/v1/UserPassword.java | 381 +- .../alloydb/v1/UserPasswordOrBuilder.java | 36 +- .../google/cloud/alloydb/v1/resources.proto | 0 .../google/cloud/alloydb/v1/service.proto | 0 .../v1alpha/AutomatedBackupPolicy.java | 2926 +++++---- .../AutomatedBackupPolicyOrBuilder.java | 160 +- .../google/cloud/alloydb/v1alpha/Backup.java | 3017 +++++---- .../cloud/alloydb/v1alpha/BackupName.java | 0 .../alloydb/v1alpha/BackupOrBuilder.java | 320 +- .../cloud/alloydb/v1alpha/BackupSource.java | 412 +- .../v1alpha/BackupSourceOrBuilder.java | 44 +- .../v1alpha/BatchCreateInstanceStatus.java | 617 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1alpha/BatchCreateInstancesMetadata.java | 690 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1alpha/BatchCreateInstancesRequest.java | 575 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1alpha/BatchCreateInstancesResponse.java | 421 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../google/cloud/alloydb/v1alpha/Cluster.java | 4999 +++++++++----- .../cloud/alloydb/v1alpha/ClusterName.java | 0 .../alloydb/v1alpha/ClusterOrBuilder.java | 463 +- .../cloud/alloydb/v1alpha/ClusterView.java | 82 +- .../cloud/alloydb/v1alpha/ConnectionInfo.java | 642 +- .../v1alpha/ConnectionInfoOrBuilder.java | 87 +- .../v1alpha/ContinuousBackupConfig.java | 424 +- .../ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1alpha/ContinuousBackupInfo.java | 868 ++- .../ContinuousBackupInfoOrBuilder.java | 113 +- .../v1alpha/ContinuousBackupSource.java | 448 +- .../ContinuousBackupSourceOrBuilder.java | 44 +- .../alloydb/v1alpha/CreateBackupRequest.java | 662 +- .../v1alpha/CreateBackupRequestOrBuilder.java | 76 +- .../alloydb/v1alpha/CreateClusterRequest.java | 673 +- .../CreateClusterRequestOrBuilder.java | 76 +- .../v1alpha/CreateInstanceRequest.java | 673 +- .../CreateInstanceRequestOrBuilder.java | 76 +- .../v1alpha/CreateInstanceRequests.java | 528 +- .../CreateInstanceRequestsOrBuilder.java | 94 + .../CreateSecondaryClusterRequest.java | 697 +- ...reateSecondaryClusterRequestOrBuilder.java | 76 +- .../CreateSecondaryInstanceRequest.java | 699 +- ...eateSecondaryInstanceRequestOrBuilder.java | 76 +- .../alloydb/v1alpha/CreateUserRequest.java | 644 +- .../v1alpha/CreateUserRequestOrBuilder.java | 73 +- .../alloydb/v1alpha/DatabaseVersion.java | 89 +- .../alloydb/v1alpha/DeleteBackupRequest.java | 527 +- .../v1alpha/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1alpha/DeleteClusterRequest.java | 564 +- .../DeleteClusterRequestOrBuilder.java | 59 +- .../v1alpha/DeleteInstanceRequest.java | 530 +- .../DeleteInstanceRequestOrBuilder.java | 56 +- .../alloydb/v1alpha/DeleteUserRequest.java | 453 +- .../v1alpha/DeleteUserRequestOrBuilder.java | 47 +- .../alloydb/v1alpha/EncryptionConfig.java | 319 +- .../v1alpha/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1alpha/EncryptionInfo.java | 559 +- .../v1alpha/EncryptionInfoOrBuilder.java | 117 + .../v1alpha/FailoverInstanceRequest.java | 456 +- .../FailoverInstanceRequestOrBuilder.java | 47 +- .../GenerateClientCertificateRequest.java | 809 ++- ...rateClientCertificateRequestOrBuilder.java | 94 +- .../GenerateClientCertificateResponse.java | 579 +- ...ateClientCertificateResponseOrBuilder.java | 66 +- .../alloydb/v1alpha/GetBackupRequest.java | 347 +- .../v1alpha/GetBackupRequestOrBuilder.java | 54 + .../alloydb/v1alpha/GetClusterRequest.java | 431 +- .../v1alpha/GetClusterRequestOrBuilder.java | 87 + .../v1alpha/GetConnectionInfoRequest.java | 422 +- .../GetConnectionInfoRequestOrBuilder.java | 44 +- .../alloydb/v1alpha/GetInstanceRequest.java | 403 +- .../v1alpha/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1alpha/GetUserRequest.java | 343 +- .../v1alpha/GetUserRequestOrBuilder.java | 56 + .../alloydb/v1alpha/InjectFaultRequest.java | 613 +- .../v1alpha/InjectFaultRequestOrBuilder.java | 61 +- .../cloud/alloydb/v1alpha/Instance.java | 5770 +++++++++++------ .../cloud/alloydb/v1alpha/InstanceName.java | 0 .../alloydb/v1alpha/InstanceOrBuilder.java | 381 +- .../cloud/alloydb/v1alpha/InstanceView.java | 82 +- .../alloydb/v1alpha/ListBackupsRequest.java | 596 +- .../v1alpha/ListBackupsRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListBackupsResponse.java | 587 +- .../v1alpha/ListBackupsResponseOrBuilder.java | 63 +- .../alloydb/v1alpha/ListClustersRequest.java | 596 +- .../v1alpha/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListClustersResponse.java | 591 +- .../ListClustersResponseOrBuilder.java | 63 +- .../alloydb/v1alpha/ListInstancesRequest.java | 599 +- .../ListInstancesRequestOrBuilder.java | 65 +- .../v1alpha/ListInstancesResponse.java | 591 +- .../ListInstancesResponseOrBuilder.java | 63 +- .../ListSupportedDatabaseFlagsRequest.java | 491 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 638 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 65 +- .../alloydb/v1alpha/ListUsersRequest.java | 596 +- .../v1alpha/ListUsersRequestOrBuilder.java | 65 +- .../alloydb/v1alpha/ListUsersResponse.java | 587 +- .../v1alpha/ListUsersResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1alpha/LocationName.java | 0 .../alloydb/v1alpha/MigrationSource.java | 543 +- .../v1alpha/MigrationSourceOrBuilder.java | 50 +- .../alloydb/v1alpha/OperationMetadata.java | 1032 +-- .../v1alpha/OperationMetadataOrBuilder.java | 114 +- .../v1alpha/PromoteClusterRequest.java | 530 +- .../PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1alpha/ResourcesProto.java | 936 +++ .../v1alpha/RestartInstanceRequest.java | 460 +- .../RestartInstanceRequestOrBuilder.java | 47 +- .../v1alpha/RestoreClusterRequest.java | 940 ++- .../RestoreClusterRequestOrBuilder.java | 95 +- .../cloud/alloydb/v1alpha/ServiceProto.java | 995 +++ .../cloud/alloydb/v1alpha/SslConfig.java | 566 +- .../alloydb/v1alpha/SslConfigOrBuilder.java | 85 + .../v1alpha/SupportedDatabaseFlag.java | 2210 ++++--- .../v1alpha/SupportedDatabaseFlagName.java | 0 .../SupportedDatabaseFlagOrBuilder.java | 111 +- .../alloydb/v1alpha/UpdateBackupRequest.java | 651 +- .../v1alpha/UpdateBackupRequestOrBuilder.java | 70 +- .../alloydb/v1alpha/UpdateClusterRequest.java | 662 +- .../UpdateClusterRequestOrBuilder.java | 70 +- .../v1alpha/UpdateInstanceRequest.java | 662 +- .../UpdateInstanceRequestOrBuilder.java | 70 +- .../alloydb/v1alpha/UpdateUserRequest.java | 633 +- .../v1alpha/UpdateUserRequestOrBuilder.java | 67 +- .../google/cloud/alloydb/v1alpha/User.java | 636 +- .../cloud/alloydb/v1alpha/UserName.java | 0 .../cloud/alloydb/v1alpha/UserOrBuilder.java | 68 +- .../cloud/alloydb/v1alpha/UserPassword.java | 384 +- .../v1alpha/UserPasswordOrBuilder.java | 36 +- .../cloud/alloydb/v1alpha/resources.proto | 0 .../cloud/alloydb/v1alpha/service.proto | 0 .../alloydb/v1beta/AutomatedBackupPolicy.java | 2916 +++++---- .../AutomatedBackupPolicyOrBuilder.java | 160 +- .../google/cloud/alloydb/v1beta/Backup.java | 2975 ++++++--- .../cloud/alloydb/v1beta/BackupName.java | 0 .../cloud/alloydb/v1beta/BackupOrBuilder.java | 317 +- .../cloud/alloydb/v1beta/BackupSource.java | 412 +- .../alloydb/v1beta/BackupSourceOrBuilder.java | 44 +- .../v1beta/BatchCreateInstanceStatus.java | 614 +- .../BatchCreateInstanceStatusOrBuilder.java | 43 +- .../v1beta/BatchCreateInstancesMetadata.java | 681 +- ...BatchCreateInstancesMetadataOrBuilder.java | 81 +- .../v1beta/BatchCreateInstancesRequest.java | 565 +- .../BatchCreateInstancesRequestOrBuilder.java | 64 +- .../v1beta/BatchCreateInstancesResponse.java | 421 +- ...BatchCreateInstancesResponseOrBuilder.java | 36 +- .../google/cloud/alloydb/v1beta/Cluster.java | 4923 +++++++++----- .../cloud/alloydb/v1beta/ClusterName.java | 0 .../alloydb/v1beta/ClusterOrBuilder.java | 460 +- .../cloud/alloydb/v1beta/ClusterView.java | 82 +- .../cloud/alloydb/v1beta/ConnectionInfo.java | 655 +- .../v1beta/ConnectionInfoOrBuilder.java | 103 +- .../v1beta/ContinuousBackupConfig.java | 424 +- .../ContinuousBackupConfigOrBuilder.java | 35 +- .../alloydb/v1beta/ContinuousBackupInfo.java | 865 ++- .../v1beta/ContinuousBackupInfoOrBuilder.java | 113 +- .../v1beta/ContinuousBackupSource.java | 448 +- .../ContinuousBackupSourceOrBuilder.java | 44 +- .../alloydb/v1beta/CreateBackupRequest.java | 659 +- .../v1beta/CreateBackupRequestOrBuilder.java | 73 +- .../alloydb/v1beta/CreateClusterRequest.java | 670 +- .../v1beta/CreateClusterRequestOrBuilder.java | 76 +- .../alloydb/v1beta/CreateInstanceRequest.java | 673 +- .../CreateInstanceRequestOrBuilder.java | 76 +- .../v1beta/CreateInstanceRequests.java | 528 +- .../CreateInstanceRequestsOrBuilder.java | 94 + .../v1beta/CreateSecondaryClusterRequest.java | 687 +- ...reateSecondaryClusterRequestOrBuilder.java | 76 +- .../CreateSecondaryInstanceRequest.java | 696 +- ...eateSecondaryInstanceRequestOrBuilder.java | 76 +- .../alloydb/v1beta/CreateUserRequest.java | 644 +- .../v1beta/CreateUserRequestOrBuilder.java | 73 +- .../cloud/alloydb/v1beta/DatabaseVersion.java | 89 +- .../alloydb/v1beta/DeleteBackupRequest.java | 527 +- .../v1beta/DeleteBackupRequestOrBuilder.java | 56 +- .../alloydb/v1beta/DeleteClusterRequest.java | 561 +- .../v1beta/DeleteClusterRequestOrBuilder.java | 59 +- .../alloydb/v1beta/DeleteInstanceRequest.java | 530 +- .../DeleteInstanceRequestOrBuilder.java | 56 +- .../alloydb/v1beta/DeleteUserRequest.java | 453 +- .../v1beta/DeleteUserRequestOrBuilder.java | 47 +- .../alloydb/v1beta/EncryptionConfig.java | 319 +- .../v1beta/EncryptionConfigOrBuilder.java | 27 +- .../cloud/alloydb/v1beta/EncryptionInfo.java | 556 +- .../v1beta/EncryptionInfoOrBuilder.java | 117 + .../v1beta/FailoverInstanceRequest.java | 456 +- .../FailoverInstanceRequestOrBuilder.java | 47 +- .../GenerateClientCertificateRequest.java | 793 ++- ...rateClientCertificateRequestOrBuilder.java | 86 +- .../GenerateClientCertificateResponse.java | 575 +- ...ateClientCertificateResponseOrBuilder.java | 66 +- .../alloydb/v1beta/GetBackupRequest.java | 347 +- .../v1beta/GetBackupRequestOrBuilder.java | 54 + .../alloydb/v1beta/GetClusterRequest.java | 425 +- .../v1beta/GetClusterRequestOrBuilder.java | 87 + .../v1beta/GetConnectionInfoRequest.java | 422 +- .../GetConnectionInfoRequestOrBuilder.java | 44 +- .../alloydb/v1beta/GetInstanceRequest.java | 403 +- .../v1beta/GetInstanceRequestOrBuilder.java | 41 +- .../cloud/alloydb/v1beta/GetUserRequest.java | 340 +- .../v1beta/GetUserRequestOrBuilder.java | 56 + .../alloydb/v1beta/InjectFaultRequest.java | 613 +- .../v1beta/InjectFaultRequestOrBuilder.java | 61 +- .../google/cloud/alloydb/v1beta/Instance.java | 5712 ++++++++++------ .../cloud/alloydb/v1beta/InstanceName.java | 0 .../alloydb/v1beta/InstanceOrBuilder.java | 378 +- .../cloud/alloydb/v1beta/InstanceView.java | 82 +- .../alloydb/v1beta/ListBackupsRequest.java | 596 +- .../v1beta/ListBackupsRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListBackupsResponse.java | 587 +- .../v1beta/ListBackupsResponseOrBuilder.java | 63 +- .../alloydb/v1beta/ListClustersRequest.java | 596 +- .../v1beta/ListClustersRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListClustersResponse.java | 588 +- .../v1beta/ListClustersResponseOrBuilder.java | 63 +- .../alloydb/v1beta/ListInstancesRequest.java | 596 +- .../v1beta/ListInstancesRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListInstancesResponse.java | 591 +- .../ListInstancesResponseOrBuilder.java | 63 +- .../ListSupportedDatabaseFlagsRequest.java | 487 +- ...upportedDatabaseFlagsRequestOrBuilder.java | 47 +- .../ListSupportedDatabaseFlagsResponse.java | 633 +- ...pportedDatabaseFlagsResponseOrBuilder.java | 56 +- .../alloydb/v1beta/ListUsersRequest.java | 596 +- .../v1beta/ListUsersRequestOrBuilder.java | 65 +- .../alloydb/v1beta/ListUsersResponse.java | 587 +- .../v1beta/ListUsersResponseOrBuilder.java | 64 +- .../cloud/alloydb/v1beta/LocationName.java | 0 .../cloud/alloydb/v1beta/MigrationSource.java | 539 +- .../v1beta/MigrationSourceOrBuilder.java | 50 +- .../alloydb/v1beta/OperationMetadata.java | 1032 +-- .../v1beta/OperationMetadataOrBuilder.java | 114 +- .../alloydb/v1beta/PromoteClusterRequest.java | 530 +- .../PromoteClusterRequestOrBuilder.java | 56 +- .../cloud/alloydb/v1beta/ResourcesProto.java | 930 +++ .../v1beta/RestartInstanceRequest.java | 460 +- .../RestartInstanceRequestOrBuilder.java | 47 +- .../alloydb/v1beta/RestoreClusterRequest.java | 940 ++- .../RestoreClusterRequestOrBuilder.java | 95 +- .../cloud/alloydb/v1beta/ServiceProto.java | 992 +++ .../cloud/alloydb/v1beta/SslConfig.java | 562 +- .../alloydb/v1beta/SslConfigOrBuilder.java | 85 + .../alloydb/v1beta/SupportedDatabaseFlag.java | 2169 ++++--- .../v1beta/SupportedDatabaseFlagName.java | 0 .../SupportedDatabaseFlagOrBuilder.java | 111 +- .../alloydb/v1beta/UpdateBackupRequest.java | 648 +- .../v1beta/UpdateBackupRequestOrBuilder.java | 67 +- .../alloydb/v1beta/UpdateClusterRequest.java | 659 +- .../v1beta/UpdateClusterRequestOrBuilder.java | 70 +- .../alloydb/v1beta/UpdateInstanceRequest.java | 662 +- .../UpdateInstanceRequestOrBuilder.java | 70 +- .../alloydb/v1beta/UpdateUserRequest.java | 633 +- .../v1beta/UpdateUserRequestOrBuilder.java | 67 +- .../com/google/cloud/alloydb/v1beta/User.java | 633 +- .../google/cloud/alloydb/v1beta/UserName.java | 0 .../cloud/alloydb/v1beta/UserOrBuilder.java | 68 +- .../cloud/alloydb/v1beta/UserPassword.java | 384 +- .../alloydb/v1beta/UserPasswordOrBuilder.java | 36 +- .../cloud/alloydb/v1beta/resources.proto | 0 .../google/cloud/alloydb/v1beta/service.proto | 0 .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 0 .../SyncGenerateClientCertificate.java | 0 ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../v1/alloydbadmin/getuser/AsyncGetUser.java | 0 .../v1/alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 0 .../SyncGenerateClientCertificate.java | 0 ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../alloydbadmin/getuser/AsyncGetUser.java | 0 .../alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../AsyncBatchCreateInstances.java | 0 .../AsyncBatchCreateInstancesLRO.java | 0 .../SyncBatchCreateInstances.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createbackup/AsyncCreateBackup.java | 0 .../createbackup/AsyncCreateBackupLRO.java | 0 .../createbackup/SyncCreateBackup.java | 0 ...cCreateBackupLocationnameBackupString.java | 0 .../SyncCreateBackupStringBackupString.java | 0 .../createcluster/AsyncCreateCluster.java | 0 .../createcluster/AsyncCreateClusterLRO.java | 0 .../createcluster/SyncCreateCluster.java | 0 ...reateClusterLocationnameClusterString.java | 0 .../SyncCreateClusterStringClusterString.java | 0 .../createinstance/AsyncCreateInstance.java | 0 .../AsyncCreateInstanceLRO.java | 0 .../createinstance/SyncCreateInstance.java | 0 ...eateInstanceClusternameInstanceString.java | 0 ...yncCreateInstanceStringInstanceString.java | 0 .../AsyncCreateSecondaryCluster.java | 0 .../AsyncCreateSecondaryClusterLRO.java | 0 .../SyncCreateSecondaryCluster.java | 0 ...ndaryClusterLocationnameClusterString.java | 0 ...teSecondaryClusterStringClusterString.java | 0 .../AsyncCreateSecondaryInstance.java | 0 .../AsyncCreateSecondaryInstanceLRO.java | 0 .../SyncCreateSecondaryInstance.java | 0 ...daryInstanceClusternameInstanceString.java | 0 ...SecondaryInstanceStringInstanceString.java | 0 .../createuser/AsyncCreateUser.java | 0 .../createuser/SyncCreateUser.java | 0 .../SyncCreateUserClusternameUserString.java | 0 .../SyncCreateUserStringUserString.java | 0 .../deletebackup/AsyncDeleteBackup.java | 0 .../deletebackup/AsyncDeleteBackupLRO.java | 0 .../deletebackup/SyncDeleteBackup.java | 0 .../SyncDeleteBackupBackupname.java | 0 .../deletebackup/SyncDeleteBackupString.java | 0 .../deletecluster/AsyncDeleteCluster.java | 0 .../deletecluster/AsyncDeleteClusterLRO.java | 0 .../deletecluster/SyncDeleteCluster.java | 0 .../SyncDeleteClusterClustername.java | 0 .../SyncDeleteClusterString.java | 0 .../deleteinstance/AsyncDeleteInstance.java | 0 .../AsyncDeleteInstanceLRO.java | 0 .../deleteinstance/SyncDeleteInstance.java | 0 .../SyncDeleteInstanceInstancename.java | 0 .../SyncDeleteInstanceString.java | 0 .../deleteuser/AsyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUser.java | 0 .../deleteuser/SyncDeleteUserString.java | 0 .../deleteuser/SyncDeleteUserUsername.java | 0 .../AsyncFailoverInstance.java | 0 .../AsyncFailoverInstanceLRO.java | 0 .../SyncFailoverInstance.java | 0 .../SyncFailoverInstanceInstancename.java | 0 .../SyncFailoverInstanceString.java | 0 .../AsyncGenerateClientCertificate.java | 0 .../SyncGenerateClientCertificate.java | 0 ...cGenerateClientCertificateClustername.java | 0 .../SyncGenerateClientCertificateString.java | 0 .../getbackup/AsyncGetBackup.java | 0 .../alloydbadmin/getbackup/SyncGetBackup.java | 0 .../getbackup/SyncGetBackupBackupname.java | 0 .../getbackup/SyncGetBackupString.java | 0 .../getcluster/AsyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetClusterClustername.java | 0 .../getcluster/SyncGetClusterString.java | 0 .../AsyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfo.java | 0 .../SyncGetConnectionInfoInstancename.java | 0 .../SyncGetConnectionInfoString.java | 0 .../getinstance/AsyncGetInstance.java | 0 .../getinstance/SyncGetInstance.java | 0 .../SyncGetInstanceInstancename.java | 0 .../getinstance/SyncGetInstanceString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../alloydbadmin/getuser/AsyncGetUser.java | 0 .../alloydbadmin/getuser/SyncGetUser.java | 0 .../getuser/SyncGetUserString.java | 0 .../getuser/SyncGetUserUsername.java | 0 .../injectfault/AsyncInjectFault.java | 0 .../injectfault/AsyncInjectFaultLRO.java | 0 .../injectfault/SyncInjectFault.java | 0 ...jectfaultrequestfaulttypeInstancename.java | 0 ...aultInjectfaultrequestfaulttypeString.java | 0 .../listbackups/AsyncListBackups.java | 0 .../listbackups/AsyncListBackupsPaged.java | 0 .../listbackups/SyncListBackups.java | 0 .../SyncListBackupsLocationname.java | 0 .../listbackups/SyncListBackupsString.java | 0 .../listclusters/AsyncListClusters.java | 0 .../listclusters/AsyncListClustersPaged.java | 0 .../listclusters/SyncListClusters.java | 0 .../SyncListClustersLocationname.java | 0 .../listclusters/SyncListClustersString.java | 0 .../listinstances/AsyncListInstances.java | 0 .../AsyncListInstancesPaged.java | 0 .../listinstances/SyncListInstances.java | 0 .../SyncListInstancesClustername.java | 0 .../SyncListInstancesString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncListSupportedDatabaseFlags.java | 0 .../AsyncListSupportedDatabaseFlagsPaged.java | 0 .../SyncListSupportedDatabaseFlags.java | 0 ...istSupportedDatabaseFlagsLocationname.java | 0 .../SyncListSupportedDatabaseFlagsString.java | 0 .../listusers/AsyncListUsers.java | 0 .../listusers/AsyncListUsersPaged.java | 0 .../alloydbadmin/listusers/SyncListUsers.java | 0 .../listusers/SyncListUsersClustername.java | 0 .../listusers/SyncListUsersString.java | 0 .../promotecluster/AsyncPromoteCluster.java | 0 .../AsyncPromoteClusterLRO.java | 0 .../promotecluster/SyncPromoteCluster.java | 0 .../SyncPromoteClusterClustername.java | 0 .../SyncPromoteClusterString.java | 0 .../restartinstance/AsyncRestartInstance.java | 0 .../AsyncRestartInstanceLRO.java | 0 .../restartinstance/SyncRestartInstance.java | 0 .../SyncRestartInstanceInstancename.java | 0 .../SyncRestartInstanceString.java | 0 .../restorecluster/AsyncRestoreCluster.java | 0 .../AsyncRestoreClusterLRO.java | 0 .../restorecluster/SyncRestoreCluster.java | 0 .../updatebackup/AsyncUpdateBackup.java | 0 .../updatebackup/AsyncUpdateBackupLRO.java | 0 .../updatebackup/SyncUpdateBackup.java | 0 .../SyncUpdateBackupBackupFieldmask.java | 0 .../updatecluster/AsyncUpdateCluster.java | 0 .../updatecluster/AsyncUpdateClusterLRO.java | 0 .../updatecluster/SyncUpdateCluster.java | 0 .../SyncUpdateClusterClusterFieldmask.java | 0 .../updateinstance/AsyncUpdateInstance.java | 0 .../AsyncUpdateInstanceLRO.java | 0 .../updateinstance/SyncUpdateInstance.java | 0 .../SyncUpdateInstanceInstanceFieldmask.java | 0 .../updateuser/AsyncUpdateUser.java | 0 .../updateuser/SyncUpdateUser.java | 0 .../SyncUpdateUserUserFieldmask.java | 0 .../getcluster/SyncGetCluster.java | 0 .../getcluster/SyncGetCluster.java | 0 .../cloud/alloydb/v1/AlloyDBAdminGrpc.java | 2995 --------- .../v1/CreateInstanceRequestsOrBuilder.java | 58 - .../alloydb/v1/EncryptionInfoOrBuilder.java | 73 - .../alloydb/v1/GetBackupRequestOrBuilder.java | 29 - .../alloydb/v1/GetUserRequestOrBuilder.java | 31 - .../cloud/alloydb/v1/ResourcesProto.java | 749 --- .../google/cloud/alloydb/v1/ServiceProto.java | 905 --- .../cloud/alloydb/v1/SslConfigOrBuilder.java | 49 - .../alloydb/v1alpha/AlloyDBAdminGrpc.java | 2995 --------- .../CreateInstanceRequestsOrBuilder.java | 58 - .../v1alpha/EncryptionInfoOrBuilder.java | 73 - .../v1alpha/GetBackupRequestOrBuilder.java | 29 - .../v1alpha/GetClusterRequestOrBuilder.java | 52 - .../v1alpha/GetUserRequestOrBuilder.java | 31 - .../cloud/alloydb/v1alpha/ResourcesProto.java | 776 --- .../cloud/alloydb/v1alpha/ServiceProto.java | 921 --- .../alloydb/v1alpha/SslConfigOrBuilder.java | 49 - .../alloydb/v1beta/AlloyDBAdminGrpc.java | 2995 --------- .../CreateInstanceRequestsOrBuilder.java | 58 - .../v1beta/EncryptionInfoOrBuilder.java | 73 - .../v1beta/GetBackupRequestOrBuilder.java | 29 - .../v1beta/GetClusterRequestOrBuilder.java | 52 - .../v1beta/GetUserRequestOrBuilder.java | 31 - .../cloud/alloydb/v1beta/ResourcesProto.java | 773 --- .../cloud/alloydb/v1beta/ServiceProto.java | 918 --- .../alloydb/v1beta/SslConfigOrBuilder.java | 49 - 918 files changed, 121164 insertions(+), 72445 deletions(-) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java (99%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java (99%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java (99%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java (99%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java (100%) create mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java create mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java create mode 100644 java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java (68%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java (74%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java (57%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java (74%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java (80%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java (65%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java (63%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java (68%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java (65%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java (74%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java (56%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java (63%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java (61%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java (63%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java (52%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java (65%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java (52%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java (69%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java (59%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java (63%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java (63%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java (67%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java (68%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java (80%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfig.java (66%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java (69%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java (82%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java (82%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java (82%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java (75%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java (83%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java (71%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java (66%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java (53%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java (74%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java (57%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java (81%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java (62%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java (63%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java (65%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java (74%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java (77%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java (57%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java (63%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java (61%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java (61%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java (64%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java (53%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java (59%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java (65%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java (61%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java (50%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java (63%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java (68%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java (77%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java (65%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java (66%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java (74%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java (81%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java (67%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java (53%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java (57%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java (74%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java (80%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java (63%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java (63%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java (65%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java (74%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java (75%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java (74%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java (77%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java (76%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java (57%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java (63%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java (79%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java (61%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java (62%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java (64%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java (53%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java (63%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java (59%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java (65%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java (62%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java (62%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java (63%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java (63%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java (69%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java (67%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java (60%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java (68%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java (76%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java (71%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java (77%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java (65%) create mode 100644 java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java (73%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java (81%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java (72%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java (78%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java (74%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java (81%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java (70%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java (66%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java (53%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1 => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1alpha => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java (100%) rename {owl-bot-staging/java-alloydb/v1beta => java-alloydb}/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java (100%) delete mode 100644 owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java delete mode 100644 owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java diff --git a/java-alloydb/README.md b/java-alloydb/README.md index a6ce42513877..4e017d24d338 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.23.0 + 26.26.0 pom import @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-alloydb/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.13.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.18.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminClient.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java index b360c7277cc7..941faa1d5944 100644 --- a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminSettings.java @@ -34,7 +34,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.alloydb.v1.stub.AlloyDBAdminStubSettings; diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/package-info.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStub.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/AlloyDBAdminStubSettings.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java index 34324f21623f..ea20339a6fa0 100644 --- a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/GrpcAlloyDBAdminStub.java @@ -85,7 +85,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/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java index fbcf82c94de2..544141093c08 100644 --- a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/HttpJsonAlloyDBAdminStub.java @@ -36,7 +36,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.RequestParamsBuilder; diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClient.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java index ed9526c7e106..e648ff619596 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminSettings.java @@ -34,7 +34,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.alloydb.v1alpha.stub.AlloyDBAdminStubSettings; diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/gapic_metadata.json diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/package-info.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStub.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/AlloyDBAdminStubSettings.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java index b8cb1fe0bde7..98c25f9487ae 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/GrpcAlloyDBAdminStub.java @@ -86,7 +86,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/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java index 7af695f62343..efb59a833775 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/HttpJsonAlloyDBAdminStub.java @@ -36,7 +36,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.RequestParamsBuilder; diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClient.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java index 7cd258e92c61..9b56899d9f78 100644 --- a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminSettings.java @@ -34,7 +34,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.alloydb.v1beta.stub.AlloyDBAdminStubSettings; diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/package-info.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStub.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/AlloyDBAdminStubSettings.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java index 3f94c2a71632..162ccc518448 100644 --- a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/GrpcAlloyDBAdminStub.java @@ -86,7 +86,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/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminCallableFactory.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java similarity index 99% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java rename to java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java index 3e00101d1a18..fe6c0757be14 100644 --- a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/HttpJsonAlloyDBAdminStub.java @@ -36,7 +36,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.RequestParamsBuilder; diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json rename to java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1/reflect-config.json diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json rename to java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1alpha/reflect-config.json diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json b/java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json rename to java-alloydb/google-cloud-alloydb/src/main/resources/META-INF/native-image/com.google.cloud.alloydb.v1beta/reflect-config.json diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientHttpJsonTest.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/AlloyDBAdminClientTest.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdmin.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockAlloyDBAdminImpl.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicy.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocations.java diff --git a/owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1/MockLocationsImpl.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientHttpJsonTest.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminClientTest.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdmin.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockAlloyDBAdminImpl.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicy.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocations.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1alpha/MockLocationsImpl.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientHttpJsonTest.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminClientTest.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdmin.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockAlloyDBAdminImpl.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicy.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocations.java diff --git a/owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java b/java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java rename to java-alloydb/google-cloud-alloydb/src/test/java/com/google/cloud/alloydb/v1beta/MockLocationsImpl.java diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..a560e210d3a3 --- /dev/null +++ b/java-alloydb/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java @@ -0,0 +1,3857 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.alloydb.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListClustersRequest, + com.google.cloud.alloydb.v1.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListClustersRequest, + com.google.cloud.alloydb.v1.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListClustersRequest, + com.google.cloud.alloydb.v1.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetClusterRequest, com.google.cloud.alloydb.v1.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.UpdateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.DeleteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = + getPromoteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.PromoteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = + getRestoreClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.RestoreClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = + getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListInstancesRequest, + com.google.cloud.alloydb.v1.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListInstancesRequest, + com.google.cloud.alloydb.v1.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListInstancesRequest, + com.google.cloud.alloydb.v1.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetInstanceRequest, com.google.cloud.alloydb.v1.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.v1.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = + getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, com.google.longrunning.Operation> + getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) + == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = + getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> + getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> + getFailoverInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.FailoverInstanceRequest, com.google.longrunning.Operation> + getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = + getFailoverInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.FailoverInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = + getInjectFaultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.InjectFaultRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = + getRestartInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.RestartInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListBackupsRequest, + com.google.cloud.alloydb.v1.ListBackupsResponse> + getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListBackupsRequest, + com.google.cloud.alloydb.v1.ListBackupsResponse> + getListBackupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListBackupsRequest, + com.google.cloud.alloydb.v1.ListBackupsResponse> + getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> + getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> + getGetBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetBackupRequest, com.google.cloud.alloydb.v1.Backup> + getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.v1.CreateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = + getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = + AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = + getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1.ConnectionInfo> + getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1.ConnectionInfo> + getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1.ConnectionInfo> + getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = + getGetConnectionInfoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListUsersRequest, + com.google.cloud.alloydb.v1.ListUsersResponse> + getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListUsersRequest, + com.google.cloud.alloydb.v1.ListUsersResponse> + getListUsersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.ListUsersRequest, + com.google.cloud.alloydb.v1.ListUsersResponse> + getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = + getListUsersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListUsersRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.ListUsersResponse.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> + getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> + getGetUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User> + getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = + getGetUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> + getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> + getCreateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.CreateUserRequest, com.google.cloud.alloydb.v1.User> + getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = + getCreateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.CreateUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> + getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> + getUpdateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.UpdateUserRequest, com.google.cloud.alloydb.v1.User> + getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = + getUpdateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.UpdateUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = + getDeleteUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1.DeleteUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters( + com.google.cloud.alloydb.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster( + com.google.cloud.alloydb.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster( + com.google.cloud.alloydb.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster( + com.google.cloud.alloydb.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster( + com.google.cloud.alloydb.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster( + com.google.cloud.alloydb.v1.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPromoteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster( + com.google.cloud.alloydb.v1.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances( + com.google.cloud.alloydb.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance( + com.google.cloud.alloydb.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance( + com.google.cloud.alloydb.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance( + com.google.cloud.alloydb.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance( + com.google.cloud.alloydb.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance( + com.google.cloud.alloydb.v1.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFailoverInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault( + com.google.cloud.alloydb.v1.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInjectFaultMethod(), responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance( + com.google.cloud.alloydb.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups( + com.google.cloud.alloydb.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup( + com.google.cloud.alloydb.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup( + com.google.cloud.alloydb.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup( + com.google.cloud.alloydb.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup( + com.google.cloud.alloydb.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateClientCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectionInfoMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers( + com.google.cloud.alloydb.v1.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser( + com.google.cloud.alloydb.v1.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser( + com.google.cloud.alloydb.v1.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser( + com.google.cloud.alloydb.v1.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser( + com.google.cloud.alloydb.v1.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public abstract static class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters( + com.google.cloud.alloydb.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster( + com.google.cloud.alloydb.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster( + com.google.cloud.alloydb.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster( + com.google.cloud.alloydb.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster( + com.google.cloud.alloydb.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster( + com.google.cloud.alloydb.v1.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster( + com.google.cloud.alloydb.v1.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.alloydb.v1.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.alloydb.v1.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.alloydb.v1.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.alloydb.v1.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.alloydb.v1.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance( + com.google.cloud.alloydb.v1.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault( + com.google.cloud.alloydb.v1.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance( + com.google.cloud.alloydb.v1.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups( + com.google.cloud.alloydb.v1.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup( + com.google.cloud.alloydb.v1.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup( + com.google.cloud.alloydb.v1.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup( + com.google.cloud.alloydb.v1.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup( + com.google.cloud.alloydb.v1.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers( + com.google.cloud.alloydb.v1.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser( + com.google.cloud.alloydb.v1.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser( + com.google.cloud.alloydb.v1.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser( + com.google.cloud.alloydb.v1.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser( + com.google.cloud.alloydb.v1.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListClustersResponse listClusters( + com.google.cloud.alloydb.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Cluster getCluster( + com.google.cloud.alloydb.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster( + com.google.cloud.alloydb.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster( + com.google.cloud.alloydb.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster( + com.google.cloud.alloydb.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster( + com.google.cloud.alloydb.v1.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster( + com.google.cloud.alloydb.v1.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListInstancesResponse listInstances( + com.google.cloud.alloydb.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Instance getInstance( + com.google.cloud.alloydb.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.alloydb.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance( + com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance( + com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault( + com.google.cloud.alloydb.v1.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance( + com.google.cloud.alloydb.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListBackupsResponse listBackups( + com.google.cloud.alloydb.v1.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1.Backup getBackup( + com.google.cloud.alloydb.v1.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup( + com.google.cloud.alloydb.v1.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup( + com.google.cloud.alloydb.v1.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup( + com.google.cloud.alloydb.v1.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse generateClientCertificate( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ConnectionInfo getConnectionInfo( + com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1.ListUsersResponse listUsers( + com.google.cloud.alloydb.v1.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User getUser( + com.google.cloud.alloydb.v1.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User createUser( + com.google.cloud.alloydb.v1.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1.User updateUser( + com.google.cloud.alloydb.v1.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser( + com.google.cloud.alloydb.v1.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ListClustersResponse> + listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ListInstancesResponse> + listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryInstance( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ListBackupsResponse> + listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse> + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse> + generateClientCertificate( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ConnectionInfo> + getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1.ListUsersResponse> + listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getUser(com.google.cloud.alloydb.v1.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createUser(com.google.cloud.alloydb.v1.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.cloud.alloydb.v1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.cloud.alloydb.v1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.cloud.alloydb.v1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.cloud.alloydb.v1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.cloud.alloydb.v1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster( + (com.google.cloud.alloydb.v1.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster( + (com.google.cloud.alloydb.v1.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster( + (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.cloud.alloydb.v1.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.alloydb.v1.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.alloydb.v1.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance( + (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances( + (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.cloud.alloydb.v1.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.alloydb.v1.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance( + (com.google.cloud.alloydb.v1.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault( + (com.google.cloud.alloydb.v1.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance( + (com.google.cloud.alloydb.v1.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups( + (com.google.cloud.alloydb.v1.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup( + (com.google.cloud.alloydb.v1.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup( + (com.google.cloud.alloydb.v1.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup( + (com.google.cloud.alloydb.v1.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup( + (com.google.cloud.alloydb.v1.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags( + (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>) + responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate( + (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>) + responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo( + (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers( + (com.google.cloud.alloydb.v1.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser( + (com.google.cloud.alloydb.v1.GetUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser( + (com.google.cloud.alloydb.v1.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser( + (com.google.cloud.alloydb.v1.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser( + (com.google.cloud.alloydb.v1.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListClustersRequest, + com.google.cloud.alloydb.v1.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetClusterRequest, + com.google.cloud.alloydb.v1.Cluster>(service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.PromoteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.RestoreClusterRequest, + com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListInstancesRequest, + com.google.cloud.alloydb.v1.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetInstanceRequest, + com.google.cloud.alloydb.v1.Instance>(service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, + com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.FailoverInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.InjectFaultRequest, + com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.RestartInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListBackupsRequest, + com.google.cloud.alloydb.v1.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetBackupRequest, + com.google.cloud.alloydb.v1.Backup>(service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteBackupRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.ListUsersRequest, + com.google.cloud.alloydb.v1.ListUsersResponse>(service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.GetUserRequest, com.google.cloud.alloydb.v1.User>( + service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.CreateUserRequest, + com.google.cloud.alloydb.v1.User>(service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.UpdateUserRequest, + com.google.cloud.alloydb.v1.User>(service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1.DeleteUserRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private abstract static class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..b3d01b069145 --- /dev/null +++ b/java-alloydb/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java @@ -0,0 +1,3913 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.alloydb.v1alpha; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1alpha/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1alpha.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListClustersRequest, + com.google.cloud.alloydb.v1alpha.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListClustersRequest, + com.google.cloud.alloydb.v1alpha.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListClustersRequest, + com.google.cloud.alloydb.v1alpha.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetClusterRequest, + com.google.cloud.alloydb.v1alpha.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetClusterRequest, + com.google.cloud.alloydb.v1alpha.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetClusterRequest, + com.google.cloud.alloydb.v1alpha.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, + com.google.longrunning.Operation> + getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = + getPromoteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, + com.google.longrunning.Operation> + getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = + getRestoreClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = + getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListInstancesRequest, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListInstancesRequest, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListInstancesRequest, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetInstanceRequest, + com.google.cloud.alloydb.v1alpha.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetInstanceRequest, + com.google.cloud.alloydb.v1alpha.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetInstanceRequest, + com.google.cloud.alloydb.v1alpha.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = + getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) + == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = + getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, + com.google.longrunning.Operation> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, + com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, + com.google.longrunning.Operation> + getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, + com.google.longrunning.Operation> + getFailoverInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, + com.google.longrunning.Operation> + getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = + getFailoverInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = + getInjectFaultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, + com.google.longrunning.Operation> + getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = + getRestartInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListBackupsRequest, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse> + getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListBackupsRequest, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse> + getListBackupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListBackupsRequest, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse> + getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListBackupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListBackupsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetBackupRequest, + com.google.cloud.alloydb.v1alpha.Backup> + getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetBackupRequest, + com.google.cloud.alloydb.v1alpha.Backup> + getGetBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetBackupRequest, + com.google.cloud.alloydb.v1alpha.Backup> + getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = + getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = + AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = + getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1alpha.ConnectionInfo> + getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1alpha.ConnectionInfo> + getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1alpha.ConnectionInfo> + getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = + getGetConnectionInfoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListUsersRequest, + com.google.cloud.alloydb.v1alpha.ListUsersResponse> + getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListUsersRequest, + com.google.cloud.alloydb.v1alpha.ListUsersResponse> + getListUsersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.ListUsersRequest, + com.google.cloud.alloydb.v1alpha.ListUsersResponse> + getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = + getListUsersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListUsersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.ListUsersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> + getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1alpha.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> + getGetUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.GetUserRequest, com.google.cloud.alloydb.v1alpha.User> + getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = + getGetUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateUserRequest, com.google.cloud.alloydb.v1alpha.User> + getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateUserRequest, com.google.cloud.alloydb.v1alpha.User> + getCreateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.CreateUserRequest, + com.google.cloud.alloydb.v1alpha.User> + getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = + getCreateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.CreateUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateUserRequest, com.google.cloud.alloydb.v1alpha.User> + getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1alpha.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateUserRequest, com.google.cloud.alloydb.v1alpha.User> + getUpdateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.UpdateUserRequest, + com.google.cloud.alloydb.v1alpha.User> + getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = + getUpdateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = + getDeleteUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters( + com.google.cloud.alloydb.v1alpha.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster( + com.google.cloud.alloydb.v1alpha.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPromoteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances( + com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance( + com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance( + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance( + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFailoverInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInjectFaultMethod(), responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups( + com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup( + com.google.cloud.alloydb.v1alpha.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup( + com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup( + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup( + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateClientCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectionInfoMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers( + com.google.cloud.alloydb.v1alpha.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser( + com.google.cloud.alloydb.v1alpha.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser( + com.google.cloud.alloydb.v1alpha.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public abstract static class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters( + com.google.cloud.alloydb.v1alpha.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster( + com.google.cloud.alloydb.v1alpha.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups( + com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup( + com.google.cloud.alloydb.v1alpha.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup( + com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup( + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup( + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers( + com.google.cloud.alloydb.v1alpha.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser( + com.google.cloud.alloydb.v1alpha.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser( + com.google.cloud.alloydb.v1alpha.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListClustersResponse listClusters( + com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Cluster getCluster( + com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListInstancesResponse listInstances( + com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Instance getInstance( + com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance( + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListBackupsResponse listBackups( + com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.Backup getBackup( + com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup( + com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup( + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup( + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + generateClientCertificate( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ConnectionInfo getConnectionInfo( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.ListUsersResponse listUsers( + com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User getUser( + com.google.cloud.alloydb.v1alpha.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User createUser( + com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1alpha.User updateUser( + com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ListClustersResponse> + listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.Cluster> + getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryCluster( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ListInstancesResponse> + listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.Instance> + getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryInstance( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ListBackupsResponse> + listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.Backup> + getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse> + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse> + generateClientCertificate( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ConnectionInfo> + getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1alpha.ListUsersResponse> + listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.cloud.alloydb.v1alpha.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.cloud.alloydb.v1alpha.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster( + (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster( + (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster( + (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.cloud.alloydb.v1alpha.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance( + (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances( + (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance( + (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault( + (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance( + (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups( + (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup( + (com.google.cloud.alloydb.v1alpha.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup( + (com.google.cloud.alloydb.v1alpha.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup( + (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup( + (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags( + (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>) + responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate( + (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>) + responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo( + (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers( + (com.google.cloud.alloydb.v1alpha.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser( + (com.google.cloud.alloydb.v1alpha.GetUserRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser( + (com.google.cloud.alloydb.v1alpha.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser( + (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser( + (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListClustersRequest, + com.google.cloud.alloydb.v1alpha.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetClusterRequest, + com.google.cloud.alloydb.v1alpha.Cluster>(service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, + com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListInstancesRequest, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetInstanceRequest, + com.google.cloud.alloydb.v1alpha.Instance>(service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, + com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.InjectFaultRequest, + com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListBackupsRequest, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetBackupRequest, + com.google.cloud.alloydb.v1alpha.Backup>(service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1alpha.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.ListUsersRequest, + com.google.cloud.alloydb.v1alpha.ListUsersResponse>( + service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.GetUserRequest, + com.google.cloud.alloydb.v1alpha.User>(service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.CreateUserRequest, + com.google.cloud.alloydb.v1alpha.User>(service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.UpdateUserRequest, + com.google.cloud.alloydb.v1alpha.User>(service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1alpha.DeleteUserRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private abstract static class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java b/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java new file mode 100644 index 000000000000..40b4380d1016 --- /dev/null +++ b/java-alloydb/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java @@ -0,0 +1,3899 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.alloydb.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Service describing handlers for resources
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/alloydb/v1beta/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class AlloyDBAdminGrpc { + + private AlloyDBAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1beta.AlloyDBAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListClustersRequest, + com.google.cloud.alloydb.v1beta.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.cloud.alloydb.v1beta.ListClustersRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListClustersRequest, + com.google.cloud.alloydb.v1beta.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListClustersRequest, + com.google.cloud.alloydb.v1beta.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { + AlloyDBAdminGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetClusterRequest, + com.google.cloud.alloydb.v1beta.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.cloud.alloydb.v1beta.GetClusterRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetClusterRequest, + com.google.cloud.alloydb.v1beta.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetClusterRequest, + com.google.cloud.alloydb.v1beta.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { + AlloyDBAdminGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateClusterRequest, com.google.longrunning.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { + AlloyDBAdminGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateClusterRequest, com.google.longrunning.Operation> + getUpdateClusterMethod; + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { + AlloyDBAdminGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteClusterRequest, com.google.longrunning.Operation> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { + AlloyDBAdminGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", + requestType = com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.PromoteClusterRequest, com.google.longrunning.Operation> + getPromoteClusterMethod; + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { + AlloyDBAdminGrpc.getPromoteClusterMethod = + getPromoteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) + .build(); + } + } + } + return getPromoteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", + requestType = com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestoreClusterRequest, com.google.longrunning.Operation> + getRestoreClusterMethod; + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { + AlloyDBAdminGrpc.getRestoreClusterMethod = + getRestoreClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) + .build(); + } + } + } + return getRestoreClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", + requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, + com.google.longrunning.Operation> + getCreateSecondaryClusterMethod; + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = + getCreateSecondaryClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) + .build(); + } + } + } + return getCreateSecondaryClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListInstancesRequest, + com.google.cloud.alloydb.v1beta.ListInstancesResponse> + getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListInstancesRequest, + com.google.cloud.alloydb.v1beta.ListInstancesResponse> + getListInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListInstancesRequest, + com.google.cloud.alloydb.v1beta.ListInstancesResponse> + getListInstancesMethod; + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListInstancesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetInstanceRequest, + com.google.cloud.alloydb.v1beta.Instance> + getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetInstanceRequest, + com.google.cloud.alloydb.v1beta.Instance> + getGetInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetInstanceRequest, + com.google.cloud.alloydb.v1beta.Instance> + getGetInstanceMethod; + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.longrunning.Operation> + getCreateInstanceMethod; + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", + requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation> + getCreateSecondaryInstanceMethod; + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) + == null) { + AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = + getCreateSecondaryInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) + .build(); + } + } + } + return getCreateSecondaryInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", + requestType = com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, + com.google.longrunning.Operation> + getBatchCreateInstancesMethod; + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) + == null) { + AlloyDBAdminGrpc.getBatchCreateInstancesMethod = + getBatchCreateInstancesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) + .build(); + } + } + } + return getBatchCreateInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, com.google.longrunning.Operation> + getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, com.google.longrunning.Operation> + getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, com.google.longrunning.Operation> + getFailoverInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", + requestType = com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, com.google.longrunning.Operation> + getFailoverInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, + com.google.longrunning.Operation> + getFailoverInstanceMethod; + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { + AlloyDBAdminGrpc.getFailoverInstanceMethod = + getFailoverInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) + .build(); + } + } + } + return getFailoverInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InjectFault", + requestType = com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.InjectFaultRequest, com.google.longrunning.Operation> + getInjectFaultMethod; + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { + AlloyDBAdminGrpc.getInjectFaultMethod = + getInjectFaultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.InjectFaultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) + .build(); + } + } + } + return getInjectFaultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RestartInstance", + requestType = com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestartInstanceRequest, com.google.longrunning.Operation> + getRestartInstanceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.RestartInstanceRequest, + com.google.longrunning.Operation> + getRestartInstanceMethod; + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { + AlloyDBAdminGrpc.getRestartInstanceMethod = + getRestartInstanceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) + .build(); + } + } + } + return getRestartInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListBackupsRequest, + com.google.cloud.alloydb.v1beta.ListBackupsResponse> + getListBackupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListBackups", + requestType = com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListBackupsRequest, + com.google.cloud.alloydb.v1beta.ListBackupsResponse> + getListBackupsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListBackupsRequest, + com.google.cloud.alloydb.v1beta.ListBackupsResponse> + getListBackupsMethod; + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListBackupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListBackupsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) + .build(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetBackupRequest, com.google.cloud.alloydb.v1beta.Backup> + getGetBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetBackup", + requestType = com.google.cloud.alloydb.v1beta.GetBackupRequest.class, + responseType = com.google.cloud.alloydb.v1beta.Backup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetBackupRequest, com.google.cloud.alloydb.v1beta.Backup> + getGetBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetBackupRequest, + com.google.cloud.alloydb.v1beta.Backup> + getGetBackupMethod; + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) + .build(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateBackup", + requestType = com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateBackupRequest, com.google.longrunning.Operation> + getCreateBackupMethod; + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) + .build(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", + requestType = com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateBackupRequest, com.google.longrunning.Operation> + getUpdateBackupMethod; + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) + .build(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", + requestType = com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteBackupRequest, com.google.longrunning.Operation> + getDeleteBackupMethod; + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { + AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteBackupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) + .build(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", + requestType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + getListSupportedDatabaseFlagsMethod; + if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListSupportedDatabaseFlagsMethod = + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) + == null) { + AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = + getListSupportedDatabaseFlagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) + .build(); + } + } + } + return getListSupportedDatabaseFlagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", + requestType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, + responseType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + getGenerateClientCertificateMethod; + if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGenerateClientCertificateMethod = + AlloyDBAdminGrpc.getGenerateClientCertificateMethod) + == null) { + AlloyDBAdminGrpc.getGenerateClientCertificateMethod = + getGenerateClientCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) + .build(); + } + } + } + return getGenerateClientCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1beta.ConnectionInfo> + getGetConnectionInfoMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", + requestType = com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ConnectionInfo.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1beta.ConnectionInfo> + getGetConnectionInfoMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1beta.ConnectionInfo> + getGetConnectionInfoMethod; + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { + AlloyDBAdminGrpc.getGetConnectionInfoMethod = + getGetConnectionInfoMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ConnectionInfo.getDefaultInstance())) + .setSchemaDescriptor( + new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) + .build(); + } + } + } + return getGetConnectionInfoMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListUsersRequest, + com.google.cloud.alloydb.v1beta.ListUsersResponse> + getListUsersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsers", + requestType = com.google.cloud.alloydb.v1beta.ListUsersRequest.class, + responseType = com.google.cloud.alloydb.v1beta.ListUsersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListUsersRequest, + com.google.cloud.alloydb.v1beta.ListUsersResponse> + getListUsersMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.ListUsersRequest, + com.google.cloud.alloydb.v1beta.ListUsersResponse> + getListUsersMethod; + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { + AlloyDBAdminGrpc.getListUsersMethod = + getListUsersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListUsersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.ListUsersResponse + .getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) + .build(); + } + } + } + return getListUsersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> + getGetUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetUser", + requestType = com.google.cloud.alloydb.v1beta.GetUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> + getGetUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.GetUserRequest, com.google.cloud.alloydb.v1beta.User> + getGetUserMethod; + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { + AlloyDBAdminGrpc.getGetUserMethod = + getGetUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.GetUserRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) + .build(); + } + } + } + return getGetUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> + getCreateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateUser", + requestType = com.google.cloud.alloydb.v1beta.CreateUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> + getCreateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.CreateUserRequest, com.google.cloud.alloydb.v1beta.User> + getCreateUserMethod; + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { + AlloyDBAdminGrpc.getCreateUserMethod = + getCreateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.CreateUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) + .build(); + } + } + } + return getCreateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> + getUpdateUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateUser", + requestType = com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, + responseType = com.google.cloud.alloydb.v1beta.User.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> + getUpdateUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.UpdateUserRequest, com.google.cloud.alloydb.v1beta.User> + getUpdateUserMethod; + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { + AlloyDBAdminGrpc.getUpdateUserMethod = + getUpdateUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.UpdateUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) + .build(); + } + } + } + return getUpdateUserMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteUser", + requestType = com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty> + getDeleteUserMethod; + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + synchronized (AlloyDBAdminGrpc.class) { + if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { + AlloyDBAdminGrpc.getDeleteUserMethod = + getDeleteUserMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.alloydb.v1beta.DeleteUserRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) + .build(); + } + } + } + return getDeleteUserMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + }; + return AlloyDBAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static AlloyDBAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + }; + return AlloyDBAdminBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static AlloyDBAdminFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public AlloyDBAdminFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + }; + return AlloyDBAdminFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + default void listClusters( + com.google.cloud.alloydb.v1beta.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + default void getCluster( + com.google.cloud.alloydb.v1beta.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + default void createCluster( + com.google.cloud.alloydb.v1beta.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + default void updateCluster( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + default void deleteCluster( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + default void promoteCluster( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPromoteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + default void restoreCluster( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + default void createSecondaryCluster( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + default void listInstances( + com.google.cloud.alloydb.v1beta.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + default void getInstance( + com.google.cloud.alloydb.v1beta.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + default void createInstance( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + default void createSecondaryInstance( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSecondaryInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + default void batchCreateInstances( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateInstancesMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + default void updateInstance( + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + default void deleteInstance( + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + default void failoverInstance( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFailoverInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + default void injectFault( + com.google.cloud.alloydb.v1beta.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInjectFaultMethod(), responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + default void restartInstance( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRestartInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + default void listBackups( + com.google.cloud.alloydb.v1beta.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + default void getBackup( + com.google.cloud.alloydb.v1beta.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + default void createBackup( + com.google.cloud.alloydb.v1beta.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + default void updateBackup( + com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + default void deleteBackup( + com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + default void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSupportedDatabaseFlagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + default void generateClientCertificate( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateClientCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + default void getConnectionInfo( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectionInfoMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + default void listUsers( + com.google.cloud.alloydb.v1beta.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + default void getUser( + com.google.cloud.alloydb.v1beta.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + default void createUser( + com.google.cloud.alloydb.v1beta.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + default void updateUser( + com.google.cloud.alloydb.v1beta.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + default void deleteUser( + com.google.cloud.alloydb.v1beta.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public abstract static class AlloyDBAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AlloyDBAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private AlloyDBAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public void listClusters( + com.google.cloud.alloydb.v1beta.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public void getCluster( + com.google.cloud.alloydb.v1beta.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public void createCluster( + com.google.cloud.alloydb.v1beta.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public void updateCluster( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public void deleteCluster( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public void promoteCluster( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public void restoreCluster( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public void createSecondaryCluster( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public void listInstances( + com.google.cloud.alloydb.v1beta.ListInstancesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public void getInstance( + com.google.cloud.alloydb.v1beta.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public void createInstance( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public void createSecondaryInstance( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public void batchCreateInstances( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public void updateInstance( + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public void deleteInstance( + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public void failoverInstance( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public void injectFault( + com.google.cloud.alloydb.v1beta.InjectFaultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public void restartInstance( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public void listBackups( + com.google.cloud.alloydb.v1beta.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public void getBackup( + com.google.cloud.alloydb.v1beta.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public void createBackup( + com.google.cloud.alloydb.v1beta.CreateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public void updateBackup( + com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public void deleteBackup( + com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public void listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public void generateClientCertificate( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public void getConnectionInfo( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public void listUsers( + com.google.cloud.alloydb.v1beta.ListUsersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public void getUser( + com.google.cloud.alloydb.v1beta.GetUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public void createUser( + com.google.cloud.alloydb.v1beta.CreateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public void updateUser( + com.google.cloud.alloydb.v1beta.UpdateUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public void deleteUser( + com.google.cloud.alloydb.v1beta.DeleteUserRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private AlloyDBAdminBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListClustersResponse listClusters( + com.google.cloud.alloydb.v1beta.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Cluster getCluster( + com.google.cloud.alloydb.v1beta.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCluster( + com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster( + com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.longrunning.Operation deleteCluster( + com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation promoteCluster( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPromoteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.longrunning.Operation restoreCluster( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestoreClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryCluster( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListInstancesResponse listInstances( + com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Instance getInstance( + com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createInstance( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createSecondaryInstance( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.longrunning.Operation batchCreateInstances( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation updateInstance( + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.longrunning.Operation deleteInstance( + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation failoverInstance( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation injectFault( + com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInjectFaultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.longrunning.Operation restartInstance( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRestartInstanceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListBackupsResponse listBackups( + com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.Backup getBackup( + com.google.cloud.alloydb.v1beta.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createBackup( + com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation updateBackup( + com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.longrunning.Operation deleteBackup( + com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteBackupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + generateClientCertificate( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ConnectionInfo getConnectionInfo( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.ListUsersResponse listUsers( + com.google.cloud.alloydb.v1beta.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User getUser( + com.google.cloud.alloydb.v1beta.GetUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User createUser( + com.google.cloud.alloydb.v1beta.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.cloud.alloydb.v1beta.User updateUser( + com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateUserMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.protobuf.Empty deleteUser( + com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteUserMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. + * + *
+   * Service describing handlers for resources
+   * 
+ */ + public static final class AlloyDBAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private AlloyDBAdminFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected AlloyDBAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new AlloyDBAdminFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Clusters in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ListClustersResponse> + listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.Cluster> + getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Promotes a SECONDARY cluster. This turns down replication
+     * from the PRIMARY cluster and promotes a secondary cluster
+     * into its own standalone cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Cluster in a given project and location, with a volume
+     * restored from the provided source, either a backup ID or a point-in-time
+     * and a source cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster of type SECONDARY in the given location using
+     * the primary cluster as the source.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryCluster( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Instances in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ListInstancesResponse> + listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.Instance> + getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new SECONDARY Instance in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createSecondaryInstance( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates new instances under the given project, location and cluster.
+     * There can be only one primary instance in a cluster. If the primary
+     * instance exists in the cluster as well as this request, then API will
+     * throw an error.
+     * The primary instance should exist before any read pool instance is
+     * created. If the primary instance is a part of the request payload, then
+     * the API will take care of creating instances in the correct order.
+     * This method is here to support Google-internal use cases, and is not meant
+     * for external customers to consume. Please do not start relying on it; its
+     * behavior is subject to change without notice.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Forces a Failover for a highly available instance.
+     * Failover promotes the HA standby instance as the new primary.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Injects fault in an instance.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Restart an Instance in a cluster.
+     * Imperative only.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Backups in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ListBackupsResponse> + listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.Backup> + getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Backup in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Backup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists SupportedDatabaseFlags for a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse> + listSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Generate a client certificate signed by a Cluster CA.
+     * The sole purpose of this endpoint is to support AlloyDB connectors and the
+     * Auth Proxy client. The endpoint's behavior is subject to change without
+     * notice, so do not rely on its behavior remaining constant. Future changes
+     * will not break AlloyDB connectors or the Auth Proxy client.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse> + generateClientCertificate( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Get instance metadata used for a connection.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ConnectionInfo> + getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Users in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.alloydb.v1beta.ListUsersResponse> + listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new User in a given project, location, and cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the parameters of a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single User.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteUser( + com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_CLUSTERS = 0; + private static final int METHODID_GET_CLUSTER = 1; + private static final int METHODID_CREATE_CLUSTER = 2; + private static final int METHODID_UPDATE_CLUSTER = 3; + private static final int METHODID_DELETE_CLUSTER = 4; + private static final int METHODID_PROMOTE_CLUSTER = 5; + private static final int METHODID_RESTORE_CLUSTER = 6; + private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; + private static final int METHODID_LIST_INSTANCES = 8; + private static final int METHODID_GET_INSTANCE = 9; + private static final int METHODID_CREATE_INSTANCE = 10; + private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; + private static final int METHODID_BATCH_CREATE_INSTANCES = 12; + private static final int METHODID_UPDATE_INSTANCE = 13; + private static final int METHODID_DELETE_INSTANCE = 14; + private static final int METHODID_FAILOVER_INSTANCE = 15; + private static final int METHODID_INJECT_FAULT = 16; + private static final int METHODID_RESTART_INSTANCE = 17; + private static final int METHODID_LIST_BACKUPS = 18; + private static final int METHODID_GET_BACKUP = 19; + private static final int METHODID_CREATE_BACKUP = 20; + private static final int METHODID_UPDATE_BACKUP = 21; + private static final int METHODID_DELETE_BACKUP = 22; + private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; + private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; + private static final int METHODID_GET_CONNECTION_INFO = 25; + private static final int METHODID_LIST_USERS = 26; + private static final int METHODID_GET_USER = 27; + private static final int METHODID_CREATE_USER = 28; + private static final int METHODID_UPDATE_USER = 29; + private static final int METHODID_DELETE_USER = 30; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.cloud.alloydb.v1beta.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.cloud.alloydb.v1beta.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.cloud.alloydb.v1beta.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PROMOTE_CLUSTER: + serviceImpl.promoteCluster( + (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTORE_CLUSTER: + serviceImpl.restoreCluster( + (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_CLUSTER: + serviceImpl.createSecondaryCluster( + (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances( + (com.google.cloud.alloydb.v1beta.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance( + (com.google.cloud.alloydb.v1beta.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance( + (com.google.cloud.alloydb.v1beta.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SECONDARY_INSTANCE: + serviceImpl.createSecondaryInstance( + (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_CREATE_INSTANCES: + serviceImpl.batchCreateInstances( + (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance( + (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance( + (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FAILOVER_INSTANCE: + serviceImpl.failoverInstance( + (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INJECT_FAULT: + serviceImpl.injectFault( + (com.google.cloud.alloydb.v1beta.InjectFaultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESTART_INSTANCE: + serviceImpl.restartInstance( + (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_BACKUPS: + serviceImpl.listBackups( + (com.google.cloud.alloydb.v1beta.ListBackupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_BACKUP: + serviceImpl.getBackup( + (com.google.cloud.alloydb.v1beta.GetBackupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_BACKUP: + serviceImpl.createBackup( + (com.google.cloud.alloydb.v1beta.CreateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_BACKUP: + serviceImpl.updateBackup( + (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + serviceImpl.deleteBackup( + (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: + serviceImpl.listSupportedDatabaseFlags( + (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>) + responseObserver); + break; + case METHODID_GENERATE_CLIENT_CERTIFICATE: + serviceImpl.generateClientCertificate( + (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>) + responseObserver); + break; + case METHODID_GET_CONNECTION_INFO: + serviceImpl.getConnectionInfo( + (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_USERS: + serviceImpl.listUsers( + (com.google.cloud.alloydb.v1beta.ListUsersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_USER: + serviceImpl.getUser( + (com.google.cloud.alloydb.v1beta.GetUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_USER: + serviceImpl.createUser( + (com.google.cloud.alloydb.v1beta.CreateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_USER: + serviceImpl.updateUser( + (com.google.cloud.alloydb.v1beta.UpdateUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_USER: + serviceImpl.deleteUser( + (com.google.cloud.alloydb.v1beta.DeleteUserRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListClustersRequest, + com.google.cloud.alloydb.v1beta.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetClusterRequest, + com.google.cloud.alloydb.v1beta.Cluster>(service, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateClusterRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_CLUSTER))) + .addMethod( + getPromoteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.PromoteClusterRequest, + com.google.longrunning.Operation>(service, METHODID_PROMOTE_CLUSTER))) + .addMethod( + getRestoreClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.RestoreClusterRequest, + com.google.longrunning.Operation>(service, METHODID_RESTORE_CLUSTER))) + .addMethod( + getCreateSecondaryClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_CLUSTER))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListInstancesRequest, + com.google.cloud.alloydb.v1beta.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetInstanceRequest, + com.google.cloud.alloydb.v1beta.Instance>(service, METHODID_GET_INSTANCE))) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) + .addMethod( + getCreateSecondaryInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_SECONDARY_INSTANCE))) + .addMethod( + getBatchCreateInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, + com.google.longrunning.Operation>(service, METHODID_BATCH_CREATE_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_INSTANCE))) + .addMethod( + getFailoverInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_FAILOVER_INSTANCE))) + .addMethod( + getInjectFaultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.InjectFaultRequest, + com.google.longrunning.Operation>(service, METHODID_INJECT_FAULT))) + .addMethod( + getRestartInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.RestartInstanceRequest, + com.google.longrunning.Operation>(service, METHODID_RESTART_INSTANCE))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListBackupsRequest, + com.google.cloud.alloydb.v1beta.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetBackupRequest, + com.google.cloud.alloydb.v1beta.Backup>(service, METHODID_GET_BACKUP))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateBackupRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteBackupRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_BACKUP))) + .addMethod( + getListSupportedDatabaseFlagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>( + service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) + .addMethod( + getGenerateClientCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>( + service, METHODID_GENERATE_CLIENT_CERTIFICATE))) + .addMethod( + getGetConnectionInfoMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, + com.google.cloud.alloydb.v1beta.ConnectionInfo>( + service, METHODID_GET_CONNECTION_INFO))) + .addMethod( + getListUsersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.ListUsersRequest, + com.google.cloud.alloydb.v1beta.ListUsersResponse>( + service, METHODID_LIST_USERS))) + .addMethod( + getGetUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.GetUserRequest, + com.google.cloud.alloydb.v1beta.User>(service, METHODID_GET_USER))) + .addMethod( + getCreateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.CreateUserRequest, + com.google.cloud.alloydb.v1beta.User>(service, METHODID_CREATE_USER))) + .addMethod( + getUpdateUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.UpdateUserRequest, + com.google.cloud.alloydb.v1beta.User>(service, METHODID_UPDATE_USER))) + .addMethod( + getDeleteUserMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.alloydb.v1beta.DeleteUserRequest, com.google.protobuf.Empty>( + service, METHODID_DELETE_USER))) + .build(); + } + + private abstract static class AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + AlloyDBAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("AlloyDBAdmin"); + } + } + + private static final class AlloyDBAdminFileDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier { + AlloyDBAdminFileDescriptorSupplier() {} + } + + private static final class AlloyDBAdminMethodDescriptorSupplier + extends AlloyDBAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (AlloyDBAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getPromoteClusterMethod()) + .addMethod(getRestoreClusterMethod()) + .addMethod(getCreateSecondaryClusterMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getCreateSecondaryInstanceMethod()) + .addMethod(getBatchCreateInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getFailoverInstanceMethod()) + .addMethod(getInjectFaultMethod()) + .addMethod(getRestartInstanceMethod()) + .addMethod(getListBackupsMethod()) + .addMethod(getGetBackupMethod()) + .addMethod(getCreateBackupMethod()) + .addMethod(getUpdateBackupMethod()) + .addMethod(getDeleteBackupMethod()) + .addMethod(getListSupportedDatabaseFlagsMethod()) + .addMethod(getGenerateClientCertificateMethod()) + .addMethod(getGetConnectionInfoMethod()) + .addMethod(getListUsersMethod()) + .addMethod(getGetUserMethod()) + .addMethod(getCreateUserMethod()) + .addMethod(getUpdateUserMethod()) + .addMethod(getDeleteUserMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java index a0781069ce14..0ede0cee2dcd 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message describing the user-specified automated backup policy.
  *
@@ -13,56 +30,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class,
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder extends
+  public interface WeeklyScheduleOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -73,9 +94,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesList();
+    java.util.List getStartTimesList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -88,6 +110,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -100,6 +124,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     int getStartTimesCount();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,9 +136,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesOrBuilderList();
+    java.util.List getStartTimesOrBuilderList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -123,10 +150,11 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -135,10 +163,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -147,10 +178,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -159,11 +193,14 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -172,11 +209,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List - getDaysOfWeekValueList(); + java.util.List getDaysOfWeekValueList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -185,12 +224,15 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** + * + * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -203,15 +245,16 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -219,28 +262,32 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class,
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -256,6 +303,8 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -267,11 +316,13 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -287,6 +338,8 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -302,6 +355,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -313,16 +368,18 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
+
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
+
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
+            java.lang.Integer, com.google.type.DayOfWeek>
+        daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -331,6 +388,8 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -339,6 +398,7 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -347,6 +407,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -355,6 +417,7 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ @java.lang.Override @@ -362,6 +425,8 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -370,6 +435,7 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -378,6 +444,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -386,14 +454,16 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return daysOfWeek_; } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -402,6 +472,7 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -409,9 +480,11 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } + private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,8 +496,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -446,20 +518,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,15 +541,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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other = + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList() - .equals(other.getStartTimesList())) return false; + if (!getStartTimesList().equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -504,89 +576,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + 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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -596,6 +674,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -608,33 +688,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.class,
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -652,14 +733,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -673,14 +756,18 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule build()
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result =
+            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -697,7 +784,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.AutomatedBac
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -705,46 +793,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Wee
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule)other);
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other
+            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
+                .getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -763,9 +858,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Weekl
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getStartTimesFieldBuilder() : null;
+              startTimesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getStartTimesFieldBuilder()
+                      : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -807,42 +903,44 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.type.TimeOfDay m =
-                    input.readMessage(
-                        com.google.type.TimeOfDay.parser(),
-                        extensionRegistry);
-                if (startTimesBuilder_ == null) {
-                  ensureStartTimesIsMutable();
-                  startTimes_.add(m);
-                } else {
-                  startTimesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-              case 16: {
-                int tmpRaw = input.readEnum();
-                ensureDaysOfWeekIsMutable();
-                daysOfWeek_.add(tmpRaw);
-                break;
-              } // case 16
-              case 18: {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while(input.getBytesUntilLimit() > 0) {
+              case 10:
+                {
+                  com.google.type.TimeOfDay m =
+                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+                  if (startTimesBuilder_ == null) {
+                    ensureStartTimesIsMutable();
+                    startTimes_.add(m);
+                  } else {
+                    startTimesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 10
+              case 16:
+                {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 16
+              case 18:
+                {
+                  int length = input.readRawVarint32();
+                  int oldLimit = input.pushLimit(length);
+                  while (input.getBytesUntilLimit() > 0) {
+                    int tmpRaw = input.readEnum();
+                    ensureDaysOfWeekIsMutable();
+                    daysOfWeek_.add(tmpRaw);
+                  }
+                  input.popLimit(oldLimit);
+                  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) {
@@ -852,21 +950,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List startTimes_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
+          startTimesBuilder_;
 
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -885,6 +990,8 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -903,6 +1010,8 @@ public int getStartTimesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -921,6 +1030,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -931,8 +1042,7 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -946,6 +1056,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -956,8 +1068,7 @@ public Builder setStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -968,6 +1079,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -992,6 +1105,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1002,8 +1117,7 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1017,6 +1131,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1027,8 +1143,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1039,6 +1154,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1049,8 +1166,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1061,6 +1177,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1075,8 +1193,7 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1084,6 +1201,8 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1105,6 +1224,8 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1126,6 +1247,8 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1136,11 +1259,12 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
-          int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1151,14 +1275,16 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-          int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);  } else {
+          return startTimes_.get(index);
+        } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1169,8 +1295,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesOrBuilderList() {
+      public java.util.List
+          getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1178,6 +1304,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1189,10 +1317,12 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder().addBuilder(
-            com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder()
+            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1203,12 +1333,13 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
-          int index) {
-        return getStartTimesFieldBuilder().addBuilder(
-            index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
+        return getStartTimesFieldBuilder()
+            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1219,27 +1350,29 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesBuilderList() {
+      public java.util.List getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          startTimesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.type.TimeOfDay,
+                  com.google.type.TimeOfDay.Builder,
+                  com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ =
-        java.util.Collections.emptyList();
+      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
+
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1247,6 +1380,8 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1255,6 +1390,7 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1262,6 +1398,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1270,12 +1408,15 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1284,6 +1425,7 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1291,6 +1433,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1299,12 +1443,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek( - int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1314,6 +1458,8 @@ public Builder setDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1322,6 +1468,7 @@ public Builder setDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1335,6 +1482,8 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1343,6 +1492,7 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1356,6 +1506,8 @@ public Builder addAllDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1364,6 +1516,7 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1373,6 +1526,8 @@ public Builder clearDaysOfWeek() { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1381,13 +1536,15 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1396,6 +1553,7 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1403,6 +1561,8 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1411,18 +1571,20 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue( - int index, int value) { + public Builder setDaysOfWeekValue(int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1431,6 +1593,7 @@ public Builder setDaysOfWeekValue(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1441,6 +1604,8 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1449,11 +1614,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue( - java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1461,6 +1626,7 @@ public Builder addAllDaysOfWeekValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1473,41 +1639,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1519,35 +1688,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TimeBasedRetentionOrBuilder extends + public interface TimeBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
@@ -1557,6 +1735,8 @@ public interface TimeBasedRetentionOrBuilder extends com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** + * + * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1564,46 +1744,50 @@ public interface TimeBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private TimeBasedRetention() {
-    }
+
+    private TimeBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class,
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
+     *
+     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1611,18 +1795,25 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } /** + * + * *
      * The retention period.
      * 
@@ -1631,10 +1822,13 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1646,8 +1840,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1661,8 +1854,7 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1672,17 +1864,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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other = + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod() - .equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1705,89 +1897,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + 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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1797,6 +1995,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -1804,33 +2004,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.class,
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -1844,19 +2045,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1865,18 +2069,21 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention buil
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result =
+            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ = retentionPeriodBuilder_ == null
-              ? retentionPeriod_
-              : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ =
+              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
         }
       }
 
@@ -1884,46 +2091,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Tim
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention)other);
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other
+            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention
+                .getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -1953,19 +2167,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getRetentionPeriodFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1975,38 +2190,52 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          retentionPeriodBuilder_;
       /**
+       *
+       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** + * + * *
        * The retention period.
        * 
@@ -2027,14 +2256,15 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2045,6 +2275,8 @@ public Builder setRetentionPeriod( return this; } /** + * + * *
        * The retention period.
        * 
@@ -2053,9 +2285,9 @@ public Builder setRetentionPeriod( */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - retentionPeriod_ != null && - retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && retentionPeriod_ != null + && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2068,6 +2300,8 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2085,6 +2319,8 @@ public Builder clearRetentionPeriod() { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2097,6 +2333,8 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** + * + * *
        * The retention period.
        * 
@@ -2107,11 +2345,14 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } } /** + * + * *
        * The retention period.
        * 
@@ -2119,18 +2360,22 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), - getParentForChildren(), - isClean()); + retentionPeriodBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), getParentForChildren(), isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2143,41 +2388,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2189,27 +2437,33 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QuantityBasedRetentionOrBuilder extends + public interface QuantityBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ int getCount(); } /** + * + * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2217,46 +2471,51 @@ public interface QuantityBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedRetention() {
-    }
+
+    private QuantityBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class,
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder
+                  .class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
+     *
+     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2265,6 +2524,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2276,8 +2536,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2291,8 +2550,7 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2302,15 +2560,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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other = + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2329,90 +2588,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + 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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2422,6 +2692,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
@@ -2429,33 +2701,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)
         com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.class,
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.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();
@@ -2465,19 +2739,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance();
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention build() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial();
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -2485,14 +2762,19 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() {
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
+          buildPartial() {
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result =
+            new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.count_ = count_;
@@ -2503,46 +2785,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Qua
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) {
-          return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention)other);
+        if (other
+            instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) {
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other) {
-        if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention other) {
+        if (other
+            == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention
+                .getDefaultInstance()) return this;
         if (other.getCount() != 0) {
           setCount(other.getCount());
         }
@@ -2572,17 +2862,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                count_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  count_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2592,15 +2884,19 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int count_ ;
+      private int count_;
       /**
+       *
+       *
        * 
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2608,11 +2904,14 @@ public int getCount() { return count_; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ @@ -2624,11 +2923,14 @@ public Builder setCount(int value) { return this; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -2637,6 +2939,7 @@ public Builder clearCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2649,41 +2952,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2695,22 +3002,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; private int scheduleCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schedule_; + public enum ScheduleCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; + private ScheduleCase(int value) { this.value = value; } @@ -2726,32 +3037,38 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: return WEEKLY_SCHEDULE; - case 0: return SCHEDULE_NOT_SET; - default: return null; + case 2: + return WEEKLY_SCHEDULE; + case 0: + return SCHEDULE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ScheduleCase - getScheduleCase() { - return ScheduleCase.forNumber( - scheduleCase_); + public ScheduleCase getScheduleCase() { + return ScheduleCase.forNumber(scheduleCase_); } private int retentionCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object retention_; + public enum RetentionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; + private RetentionCase(int value) { this.value = value; } @@ -2767,30 +3084,36 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: return TIME_BASED_RETENTION; - case 5: return QUANTITY_BASED_RETENTION; - case 0: return RETENTION_NOT_SET; - default: return null; + case 4: + return TIME_BASED_RETENTION; + case 5: + return QUANTITY_BASED_RETENTION; + case 0: + return RETENTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RetentionCase - getRetentionCase() { - return RetentionCase.forNumber( - retentionCase_); + public RetentionCase getRetentionCase() { + return RetentionCase.forNumber(retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** + * + * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -2798,21 +3121,26 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } /** + * + * *
    * Weekly schedule for the Backup.
    * 
@@ -2820,20 +3148,26 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeekl * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -2841,42 +3175,60 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -2884,44 +3236,60 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -2929,12 +3297,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -2945,6 +3316,8 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2955,6 +3328,7 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -2962,6 +3336,8 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2972,13 +3348,18 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2992,12 +3373,16 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+    return backupWindow_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_;
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3005,7 +3390,10 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3013,6 +3401,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3020,14 +3410,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3035,17 +3432,24 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3054,6 +3458,7 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -3062,14 +3467,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3078,16 +3484,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; + * * @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 { @@ -3096,32 +3501,34 @@ public java.lang.String getLocation() { } 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3129,20 +3536,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3154,6 +3562,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3161,17 +3571,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3179,11 +3591,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3191,6 +3603,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3202,32 +3615,30 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage(2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage( + 2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage(4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage( + 4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage(5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + output.writeMessage( + 5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3241,41 +3652,43 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) + retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3285,37 +3698,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.cloud.alloydb.v1.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy other = + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow() - .equals(other.getBackupWindow())) return false; + if (!getBackupWindow().equals(other.getBackupWindow())) 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 (!getLocation() - .equals(other.getLocation())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule() - .equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3323,12 +3731,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention() - .equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention() - .equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3346,8 +3752,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3389,98 +3794,103 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3490,55 +3900,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.AutomatedBackupPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.class,
+              com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.AutomatedBackupPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3573,9 +3980,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -3594,8 +4001,11 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.AutomatedBackupPolicy result =
+          new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3609,14 +4019,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy res
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ = backupWindowBuilder_ == null
-            ? backupWindow_
-            : backupWindowBuilder_.build();
+        result.backupWindow_ =
+            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -3631,18 +4039,15 @@ private void buildPartial0(com.google.cloud.alloydb.v1.AutomatedBackupPolicy res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 &&
-          weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 &&
-          timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 &&
-          quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -3651,38 +4056,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.AutomatedBackupPolic
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.AutomatedBackupPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3690,7 +4096,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -3705,30 +4112,34 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.AutomatedBackupPolicy other
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE: {
-          mergeWeeklySchedule(other.getWeeklySchedule());
-          break;
-        }
-        case SCHEDULE_NOT_SET: {
-          break;
-        }
+        case WEEKLY_SCHEDULE:
+          {
+            mergeWeeklySchedule(other.getWeeklySchedule());
+            break;
+          }
+        case SCHEDULE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION: {
-          mergeTimeBasedRetention(other.getTimeBasedRetention());
-          break;
-        }
-        case QUANTITY_BASED_RETENTION: {
-          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-          break;
-        }
-        case RETENTION_NOT_SET: {
-          break;
-        }
+        case TIME_BASED_RETENTION:
+          {
+            mergeTimeBasedRetention(other.getTimeBasedRetention());
+            break;
+          }
+        case QUANTITY_BASED_RETENTION:
+          {
+            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+            break;
+          }
+        case RETENTION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3756,66 +4167,70 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getWeeklyScheduleFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              scheduleCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getBackupWindowFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getTimeBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
+                scheduleCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(
+                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3825,12 +4240,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-    public ScheduleCase
-        getScheduleCase() {
-      return ScheduleCase.forNumber(
-          scheduleCase_);
+
+    public ScheduleCase getScheduleCase() {
+      return ScheduleCase.forNumber(scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -3842,10 +4257,9 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-    public RetentionCase
-        getRetentionCase() {
-      return RetentionCase.forNumber(
-          retentionCase_);
+
+    public RetentionCase getRetentionCase() {
+      return RetentionCase.forNumber(retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -3858,13 +4272,20 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule,
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder,
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
+        weeklyScheduleBuilder_;
     /**
+     *
+     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3872,11 +4293,15 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ @java.lang.Override @@ -3885,22 +4310,28 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeekl if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder setWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3914,11 +4345,14 @@ public Builder setWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPoli return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder setWeeklySchedule( com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { @@ -3932,18 +4366,27 @@ public Builder setWeeklySchedule( return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 && - schedule_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 2 + && schedule_ + != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.newBuilder( + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -3959,11 +4402,14 @@ public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1.AutomatedBackupPo return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -3982,49 +4428,67 @@ public Builder clearWeeklySchedule() { return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder + getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); } - weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4036,13 +4500,21 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + timeBasedRetentionBuilder_; /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4050,35 +4522,48 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4092,14 +4577,19 @@ public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackup return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder + builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4110,18 +4600,29 @@ public Builder setTimeBasedRetention( return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 && - retention_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 4 + && retention_ + != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4137,11 +4638,15 @@ public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1.AutomatedBack return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4160,49 +4665,71 @@ public Builder clearTimeBasedRetention() { return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder + getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } - timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + timeBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention) retention_, getParentForChildren(), isClean()); @@ -4214,13 +4741,21 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + quantityBasedRetentionBuilder_; /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4228,35 +4763,49 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4270,14 +4819,19 @@ public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1.AutomatedBa return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder + builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4288,18 +4842,29 @@ public Builder setQuantityBasedRetention( return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention( + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 && - retention_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 5 + && retention_ + != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder( + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4315,11 +4880,15 @@ public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1.Automated return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4338,50 +4907,74 @@ public Builder clearQuantityBasedRetention() { return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder + getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } - quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) retention_, + quantityBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention) + retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4391,14 +4984,17 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionO return quantityBasedRetentionBuilder_; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -4406,12 +5002,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -4419,12 +5018,15 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4436,12 +5038,15 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4453,8 +5058,13 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + backupWindowBuilder_; /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4465,12 +5075,15 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4481,16 +5094,21 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4516,6 +5134,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4527,8 +5147,7 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -4539,6 +5158,8 @@ public Builder setBackupWindow(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4552,9 +5173,9 @@ public Builder setBackupWindow(
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          backupWindow_ != null &&
-          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && backupWindow_ != null
+            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -4567,6 +5188,8 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4589,6 +5212,8 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4606,6 +5231,8 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4621,11 +5248,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+        return backupWindow_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : backupWindow_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4638,14 +5268,17 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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>
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(),
-                getParentForChildren(),
-                isClean());
+        backupWindowBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(), getParentForChildren(), isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -4653,8 +5286,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
+            com.google.cloud.alloydb.v1.EncryptionConfig,
+            com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>
+        encryptionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4662,13 +5300,18 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4676,17 +5319,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4694,7 +5344,9 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4710,6 +5362,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4717,7 +5371,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -4731,6 +5387,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4738,13 +5396,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4757,6 +5418,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4764,7 +5427,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4777,6 +5442,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4784,7 +5451,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -4792,6 +5461,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4799,17 +5470,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4817,17 +5493,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4835,6 +5516,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private java.lang.Object location_ = ""; /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4843,13 +5526,13 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * 
* * string location = 6; + * * @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; @@ -4858,6 +5541,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4866,15 +5551,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @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 { @@ -4882,6 +5566,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4890,18 +5576,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4910,6 +5600,7 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4919,6 +5610,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4927,12 +5620,14 @@ public Builder clearLocation() {
      * 
* * string location = 6; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -4940,21 +5635,19 @@ public Builder setLocationBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4963,10 +5656,13 @@ public Builder setLocationBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4974,20 +5670,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4999,6 +5696,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5006,17 +5705,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5024,79 +5725,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5106,12 +5809,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1.AutomatedBackupPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.AutomatedBackupPolicy(); } @@ -5120,27 +5823,27 @@ public static com.google.cloud.alloydb.v1.AutomatedBackupPolicy getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5155,6 +5858,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java index d91216ce661a..af66d77964c5 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AutomatedBackupPolicyOrBuilder.java @@ -1,115 +1,179 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface AutomatedBackupPolicyOrBuilder extends +public interface AutomatedBackupPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * * @return The weeklySchedule. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -120,10 +184,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -134,10 +201,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -152,6 +222,8 @@ public interface AutomatedBackupPolicyOrBuilder extends
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -159,11 +231,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -171,11 +248,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -183,11 +265,15 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -196,10 +282,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -208,12 +297,14 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -222,30 +313,31 @@ public interface AutomatedBackupPolicyOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -253,19 +345,20 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); com.google.cloud.alloydb.v1.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java index 8bec7349974f..859f6170b7ee 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Backup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { name_ = ""; displayName_ = ""; @@ -34,48 +52,51 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Backup.class, com.google.cloud.alloydb.v1.Backup.Builder.class); + com.google.cloud.alloydb.v1.Backup.class, + com.google.cloud.alloydb.v1.Backup.Builder.class); } /** + * + * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Backup.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The backup is ready.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The backup is creating.
      * 
@@ -100,6 +125,8 @@ public enum State */ CREATING(2), /** + * + * *
      * The backup failed.
      * 
@@ -108,6 +135,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The backup is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State ; /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -127,6 +158,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The backup is ready.
      * 
@@ -135,6 +168,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The backup is creating.
      * 
@@ -143,6 +178,8 @@ public enum State */ public static final int CREATING_VALUE = 2; /** + * + * *
      * The backup failed.
      * 
@@ -151,6 +188,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The backup is being deleted.
      * 
@@ -159,7 +198,6 @@ public enum State */ public static final int DELETING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,51 +222,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return CREATING; - case 3: return FAILED; - case 4: return DELETING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return CREATING; + case 3: + return FAILED; + case 4: + return DELETING; + 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.cloud.alloydb.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; @@ -246,15 +286,18 @@ private State(int value) { } /** + * + * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Backup.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Backup Type is unknown.
      * 
@@ -263,6 +306,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -272,6 +317,8 @@ public enum Type
      */
     ON_DEMAND(1),
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -281,6 +328,8 @@ public enum Type
      */
     AUTOMATED(2),
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -293,6 +342,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Backup Type is unknown.
      * 
@@ -301,6 +352,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -310,6 +363,8 @@ public enum Type
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -319,6 +374,8 @@ public enum Type
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -328,7 +385,6 @@ public enum Type
      */
     public static final int CONTINUOUS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -353,50 +409,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return ON_DEMAND;
-        case 2: return AUTOMATED;
-        case 3: return CONTINUOUS;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return ON_DEMAND;
+        case 2:
+          return AUTOMATED;
+        case 3:
+          return CONTINUOUS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.v1.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -413,11 +470,14 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder extends
+  public interface QuantityBasedExpiryOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -425,22 +485,28 @@ public interface QuantityBasedExpiryOrBuilder extends
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ int getRetentionCount(); /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** + * + * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -458,41 +524,44 @@ public interface QuantityBasedExpiryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedExpiry() {
-    }
+
+    private QuantityBasedExpiry() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class,
+              com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -500,6 +569,7 @@ protected java.lang.Object newInstance(
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -510,12 +580,15 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -524,6 +597,7 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -553,12 +626,10 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -568,17 +639,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.cloud.alloydb.v1.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other = + (com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() - != other.getRetentionCount()) return false; - if (getTotalRetentionCount() - != other.getTotalRetentionCount()) return false; + if (getRetentionCount() != other.getRetentionCount()) return false; + if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -600,89 +670,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -692,6 +767,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -709,33 +786,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.class,
+                com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -746,9 +823,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
@@ -767,8 +844,11 @@ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry result =
+            new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -787,38 +867,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpir
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry)other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -826,7 +909,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry other) {
-        if (other == com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance())
+          return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -859,22 +943,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                retentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 16: {
-                totalRetentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  retentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 16:
+                {
+                  totalRetentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -884,10 +971,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int retentionCount_ ;
+      private int retentionCount_;
       /**
+       *
+       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -895,6 +985,7 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -902,6 +993,8 @@ public int getRetentionCount() { return retentionCount_; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -909,6 +1002,7 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -920,6 +1014,8 @@ public Builder setRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -927,6 +1023,7 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -936,14 +1033,17 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_ ; + private int totalRetentionCount_; /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -951,12 +1051,15 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -968,12 +1071,15 @@ public Builder setTotalRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -982,6 +1088,7 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -994,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Backup.QuantityBasedExpiry) private static final com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry(); } @@ -1008,27 +1115,28 @@ public static com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,13 +1151,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1063,6 +1173,7 @@ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getDefaultInstance
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1071,14 +1182,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1092,16 +1204,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1110,14 +1221,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1126,29 +1241,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; } } /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1157,15 +1272,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -1174,30 +1293,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1208,11 +1327,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1220,11 +1343,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1232,11 +1359,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1246,11 +1376,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1258,11 +1392,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1270,11 +1408,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1284,11 +1425,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1296,11 +1441,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -1308,11 +1457,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1320,32 +1472,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1353,20 +1507,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1378,6 +1533,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1385,17 +1542,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1403,11 +1562,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @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(); } @@ -1417,64 +1576,90 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Backup.State getState() { - com.google.cloud.alloydb.v1.Backup.State result = com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Backup.State getState() { + com.google.cloud.alloydb.v1.Backup.State result = + com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @return The type. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Backup.Type getType() { - com.google.cloud.alloydb.v1.Backup.Type result = com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Backup.Type getType() { + com.google.cloud.alloydb.v1.Backup.Type result = + com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ @java.lang.Override @@ -1483,29 +1668,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; } } /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @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 { @@ -1514,15 +1699,19 @@ public java.lang.String getDescription() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ @java.lang.Override @@ -1531,30 +1720,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1563,15 +1752,21 @@ public java.lang.String getClusterUid() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ @java.lang.Override @@ -1580,30 +1775,32 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1614,6 +1811,8 @@ public java.lang.String getClusterName() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1622,6 +1821,7 @@ public java.lang.String getClusterName() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -1632,6 +1832,8 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1639,7 +1841,10 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1647,6 +1852,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1654,14 +1861,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1669,21 +1883,30 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1691,38 +1914,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ @java.lang.Override @@ -1731,29 +1971,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @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 { @@ -1762,32 +2002,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1797,20 +2040,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1824,6 +2068,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1833,17 +2079,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1853,11 +2101,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1867,11 +2115,14 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -1882,13 +2133,17 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -1896,13 +2151,17 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ @java.lang.Override @@ -1910,13 +2169,16 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -1926,13 +2188,18 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiryQuantity_; /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -1940,64 +2207,92 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1.DatabaseVersion result = + com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2009,8 +2304,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2026,12 +2320,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (state_ != com.google.cloud.alloydb.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2059,12 +2349,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2077,7 +2363,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expiryQuantity_ != null) { output.writeMessage(20, getExpiryQuantity()); } - if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2099,30 +2386,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2131,52 +2414,45 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); } - if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(22, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2186,71 +2462,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Backup other = (com.google.cloud.alloydb.v1.Backup) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getClusterUid() - .equals(other.getClusterUid())) return false; - if (!getClusterName() - .equals(other.getClusterName())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getClusterUid().equals(other.getClusterUid())) return false; + if (!getClusterName().equals(other.getClusterName())) return false; + if (getReconciling() != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; - } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + } + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime() - .equals(other.getExpiryTime())) return false; + if (!getExpiryTime().equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity() - .equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; } if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -2297,8 +2555,7 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2314,8 +2571,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2331,158 +2587,159 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Backup parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Backup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Backup parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1.Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.Backup) com.google.cloud.alloydb.v1.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Backup.class, com.google.cloud.alloydb.v1.Backup.Builder.class); + com.google.cloud.alloydb.v1.Backup.class, + com.google.cloud.alloydb.v1.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -2540,9 +2797,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Backup_descriptor; } @java.lang.Override @@ -2562,7 +2819,9 @@ public com.google.cloud.alloydb.v1.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1.Backup buildPartial() { com.google.cloud.alloydb.v1.Backup result = new com.google.cloud.alloydb.v1.Backup(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2579,19 +2838,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null - ? deleteTime_ - : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2616,14 +2869,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = encryptionInfoBuilder_ == null - ? encryptionInfo_ - : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = + encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2636,14 +2887,11 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null - ? expiryTime_ - : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = expiryQuantityBuilder_ == null - ? expiryQuantity_ - : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = + expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.databaseVersion_ = databaseVersion_; @@ -2654,38 +2902,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Backup result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1.Backup)other); + return mergeFrom((com.google.cloud.alloydb.v1.Backup) other); } else { super.mergeFrom(other); return this; @@ -2718,8 +2967,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -2756,8 +3004,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -2797,139 +3044,152 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: { - input.readMessage( - getDeleteTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: { - input.readMessage( - getExpiryTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: { - input.readMessage( - getExpiryQuantityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 176: { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00100000; - break; - } // case 176 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: + { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: + { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: + { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: + { + input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: + { + input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 176: + { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00100000; + break; + } // case 176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2939,10 +3199,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -2956,13 +3219,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -2971,6 +3234,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -2984,15 +3249,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3000,6 +3264,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3013,18 +3279,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3038,6 +3308,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3047,6 +3318,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3060,12 +3333,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3075,18 +3350,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3095,20 +3372,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3116,28 +3394,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3147,17 +3432,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3167,19 +3456,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3188,21 +3479,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3210,30 +3502,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3243,18 +3542,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3264,39 +3567,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -3312,14 +3634,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3330,17 +3655,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3353,11 +3682,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3370,11 +3703,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3382,36 +3719,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -3419,39 +3768,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3467,14 +3835,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3485,17 +3856,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3508,11 +3883,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3525,11 +3904,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3537,36 +3920,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -3574,39 +3969,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3622,14 +4036,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -3640,17 +4057,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -3663,11 +4084,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3680,11 +4105,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -3692,56 +4121,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3750,10 +4189,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3761,20 +4203,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3786,6 +4229,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3793,17 +4238,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3811,95 +4258,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3910,24 +4370,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.State getState() { - com.google.cloud.alloydb.v1.Backup.State result = com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1.Backup.State result = + com.google.cloud.alloydb.v1.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Backup.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3941,11 +4412,16 @@ public Builder setState(com.google.cloud.alloydb.v1.Backup.State value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3957,22 +4433,29 @@ public Builder clearState() { private int type_ = 0; /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3983,24 +4466,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1.Backup.Type getType() { - com.google.cloud.alloydb.v1.Backup.Type result = com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1.Backup.Type result = + com.google.cloud.alloydb.v1.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1.Backup.Type.UNRECOGNIZED : result; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4014,11 +4504,14 @@ public Builder setType(com.google.cloud.alloydb.v1.Backup.Type value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @return This builder for chaining. */ public Builder clearType() { @@ -4030,18 +4523,20 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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; @@ -4050,20 +4545,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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 { @@ -4071,28 +4567,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4102,17 +4605,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4122,19 +4629,21 @@ public Builder setDescriptionBytes( private java.lang.Object clusterUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4143,21 +4652,22 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4165,30 +4675,37 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4198,18 +4715,22 @@ public Builder clearClusterUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4219,19 +4740,23 @@ public Builder setClusterUidBytes( private java.lang.Object clusterName_ = ""; /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4240,21 +4765,24 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4262,30 +4790,41 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4295,18 +4834,24 @@ public Builder clearClusterName() { return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4314,8 +4859,10 @@ public Builder setClusterNameBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4324,6 +4871,7 @@ public Builder setClusterNameBytes(
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -4331,6 +4879,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4339,6 +4889,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4350,6 +4901,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4358,6 +4911,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4369,8 +4923,13 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4378,13 +4937,18 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4392,17 +4956,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4410,7 +4981,9 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4426,6 +4999,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4433,7 +5008,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -4447,6 +5024,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4454,13 +5033,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4473,6 +5055,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4480,7 +5064,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4493,6 +5079,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4500,7 +5088,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -4508,6 +5098,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4515,17 +5107,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4533,17 +5130,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4551,39 +5153,58 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -4599,11 +5220,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -4617,17 +5242,21 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -4640,11 +5269,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4657,11 +5290,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -4669,36 +5306,48 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -4706,18 +5355,20 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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; @@ -4726,20 +5377,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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 { @@ -4747,28 +5399,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4778,17 +5437,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -4796,8 +5459,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4806,11 +5469,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4819,10 +5483,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4832,20 +5499,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4859,6 +5527,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4868,17 +5538,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4888,23 +5560,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4913,23 +5587,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4938,17 +5611,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4957,21 +5633,22 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_ ;
+    private long sizeBytes_;
     /**
+     *
+     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -4979,11 +5656,14 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -4995,11 +5675,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5011,45 +5694,64 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expiryTimeBuilder_; /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5065,16 +5767,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpiryTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5085,19 +5790,23 @@ public Builder setExpiryTime( return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - expiryTime_ != null && - expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && expiryTime_ != null + && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5110,13 +5819,17 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5129,13 +5842,17 @@ public Builder clearExpiryTime() { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5143,40 +5860,52 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), - getParentForChildren(), - isClean()); + expiryTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), getParentForChildren(), isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5184,45 +5913,64 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> + expiryQuantityBuilder_; /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { @@ -5238,13 +5986,17 @@ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBase return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -5258,19 +6010,25 @@ public Builder setExpiryQuantity( return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity( + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - expiryQuantity_ != null && - expiryQuantity_ != com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && expiryQuantity_ != null + && expiryQuantity_ + != com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -5283,13 +6041,17 @@ public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1.Backup.QuantityBa return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5302,54 +6064,72 @@ public Builder clearExpiryQuantity() { return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder + getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null ? - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), - getParentForChildren(), - isClean()); + expiryQuantityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), getParentForChildren(), isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; @@ -5357,26 +6137,37 @@ public com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiry private int databaseVersion_ = 0; /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -5387,28 +6178,39 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1.DatabaseVersion result = + com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -5422,13 +6224,18 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -5437,9 +6244,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5449,12 +6256,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Backup) private static final com.google.cloud.alloydb.v1.Backup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Backup(); } @@ -5463,27 +6270,27 @@ public static com.google.cloud.alloydb.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; @@ -5498,6 +6305,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java index 30a953d7b467..0ed796d94c3e 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface BackupOrBuilder extends +public interface BackupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Backup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -21,10 +39,13 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -38,135 +59,180 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface BackupOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,123 +273,161 @@ boolean containsLabels( * map<string, string> labels = 6; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1.Backup.State getState(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1.Backup.Type type = 8; + * * @return The type. */ com.google.cloud.alloydb.v1.Backup.Type getType(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ java.lang.String getClusterUid(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString - getClusterUidBytes(); + com.google.protobuf.ByteString getClusterUidBytes(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ java.lang.String getClusterName(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - com.google.protobuf.ByteString - getClusterNameBytes(); + com.google.protobuf.ByteString getClusterNameBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -331,11 +436,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -343,11 +451,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -355,11 +468,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -367,58 +485,81 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -429,6 +570,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -437,15 +580,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -454,9 +595,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -466,11 +608,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -479,104 +623,141 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiry getExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java index e5e3de43785b..310daf0ede62 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BackupSource} */ -public final class BackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BackupSource) BackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -26,28 +44,32 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BackupSource.class, com.google.cloud.alloydb.v1.BackupSource.Builder.class); + com.google.cloud.alloydb.v1.BackupSource.class, + com.google.cloud.alloydb.v1.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -78,16 +102,15 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -96,15 +119,21 @@ public java.lang.String getBackupUid() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ @java.lang.Override @@ -113,30 +142,32 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -145,6 +176,7 @@ public java.lang.String getBackupName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -187,17 +218,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.cloud.alloydb.v1.BackupSource)) { return super.equals(obj); } com.google.cloud.alloydb.v1.BackupSource other = (com.google.cloud.alloydb.v1.BackupSource) obj; - if (!getBackupUid() - .equals(other.getBackupUid())) return false; - if (!getBackupName() - .equals(other.getBackupName())) return false; + if (!getBackupUid().equals(other.getBackupUid())) return false; + if (!getBackupName().equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,132 +247,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.BackupSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BackupSource) com.google.cloud.alloydb.v1.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BackupSource.class, com.google.cloud.alloydb.v1.BackupSource.Builder.class); + com.google.cloud.alloydb.v1.BackupSource.class, + com.google.cloud.alloydb.v1.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; } @java.lang.Override @@ -375,8 +408,11 @@ public com.google.cloud.alloydb.v1.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource buildPartial() { - com.google.cloud.alloydb.v1.BackupSource result = new com.google.cloud.alloydb.v1.BackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.BackupSource result = + new com.google.cloud.alloydb.v1.BackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +431,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BackupSource result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1.BackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1.BackupSource) other); } else { super.mergeFrom(other); return this; @@ -471,22 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +536,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object backupUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -507,13 +550,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -522,6 +565,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -529,15 +574,14 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -545,6 +589,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -552,18 +598,22 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -571,6 +621,7 @@ public Builder setBackupUid(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -580,6 +631,8 @@ public Builder clearBackupUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -587,12 +640,14 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -602,19 +657,23 @@ public Builder setBackupUidBytes( private java.lang.Object backupName_ = ""; /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -623,21 +682,24 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -645,30 +707,41 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBackupName() { @@ -678,27 +751,33 @@ public Builder clearBackupName() { return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +787,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BackupSource) private static final com.google.cloud.alloydb.v1.BackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BackupSource(); } @@ -722,27 +801,27 @@ public static com.google.cloud.alloydb.v1.BackupSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java similarity index 57% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java index cbf1ad2e55a5..0c68c28ee275 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface BackupSourceOrBuilder extends +public interface BackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -15,10 +33,13 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ java.lang.String getBackupUid(); /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -26,30 +47,39 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString - getBackupUidBytes(); + com.google.protobuf.ByteString getBackupUidBytes(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ java.lang.String getBackupName(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - com.google.protobuf.ByteString - getBackupNameBytes(); + com.google.protobuf.ByteString getBackupNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java index d945ab921633..64942521b2ed 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatus.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -24,15 +41,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -41,25 +59,28 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class,
+            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -68,9 +89,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -79,6 +101,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -88,6 +112,8 @@ public enum State
      */
     PENDING_CREATE(1),
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -96,6 +122,8 @@ public enum State */ READY(2), /** + * + * *
      * The instance is being created.
      * 
@@ -104,6 +132,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -112,6 +142,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -121,6 +153,8 @@ public enum State
      */
     FAILED(5),
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -133,6 +167,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -141,6 +177,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -150,6 +188,8 @@ public enum State
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -158,6 +198,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -166,6 +208,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -174,6 +218,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -183,6 +229,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -192,7 +240,6 @@ public enum State
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -217,53 +264,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PENDING_CREATE;
-        case 2: return READY;
-        case 3: return CREATING;
-        case 4: return DELETING;
-        case 5: return FAILED;
-        case 6: return ROLLED_BACK;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PENDING_CREATE;
+        case 2:
+          return READY;
+        case 3:
+          return CREATING;
+        case 4:
+          return DELETING;
+        case 5:
+          return FAILED;
+        case 6:
+          return ROLLED_BACK;
+        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.cloud.alloydb.v1.BatchCreateInstanceStatus.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.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;
@@ -283,6 +336,8 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -295,12 +350,16 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -313,23 +372,32 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ @java.lang.Override @@ -338,30 +406,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -372,12 +440,15 @@ public java.lang.String getErrorMsg() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ @java.lang.Override @@ -385,12 +456,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ @java.lang.Override @@ -398,6 +472,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -414,21 +490,27 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override public int getTypeValue() {
+  @java.lang.Override
+  public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
-  @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
+  @java.lang.Override
+  public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1.Instance.InstanceType result =
+        com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
     return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -440,15 +522,18 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+    if (type_
+        != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -463,20 +548,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, type_);
+    if (type_
+        != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -486,20 +572,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.cloud.alloydb.v1.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other =
+        (com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg()
-        .equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -529,98 +614,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -641,33 +732,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.class,
+              com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +774,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -705,8 +795,11 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.BatchCreateInstanceStatus result =
+          new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -720,9 +813,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null
-            ? error_
-            : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -733,38 +824,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstanceStatus)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstanceStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -772,7 +864,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -813,34 +906,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              errorMsg_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                errorMsg_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -850,10 +946,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -866,12 +965,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -884,6 +987,7 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -894,6 +998,8 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -906,14 +1012,20 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -926,6 +1038,7 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState() {
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -939,6 +1052,8 @@ public Builder setState(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.St return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -951,6 +1066,7 @@ public Builder setState(com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.St
      * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -962,19 +1078,21 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -983,21 +1101,22 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1005,30 +1124,37 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsg(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1038,18 +1164,22 @@ public Builder clearErrorMsg() { return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1059,26 +1189,33 @@ public Builder setErrorMsgBytes( private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1089,6 +1226,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1110,6 +1249,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1117,8 +1258,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1129,6 +1269,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1138,9 +1280,9 @@ public Builder setError(
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          error_ != null &&
-          error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && error_ != null
+            && error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1153,6 +1295,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1171,6 +1315,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1184,6 +1330,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1195,11 +1343,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1208,14 +1357,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1224,13 +1373,16 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override public int getTypeValue() {
+    @java.lang.Override
+    public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1242,15 +1394,20 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
-      return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result;
+      com.google.cloud.alloydb.v1.Instance.InstanceType result =
+          com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(type_);
+      return result == null
+          ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED
+          : result;
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1265,6 +1422,7 @@ public Builder setType(com.google.cloud.alloydb.v1.Instance.InstanceType value)
     }
     /**
      * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1273,9 +1431,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
+
     @java.lang.Override
-    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 +1443,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1.BatchCreateInstanceStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstanceStatus();
   }
@@ -1299,27 +1457,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCreateInstanceStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCreateInstanceStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.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,6 +1492,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
index db23d9ec83db..79ed8a035086 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstanceStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
-public interface BatchCreateInstanceStatusOrBuilder extends
+public interface BatchCreateInstanceStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -20,10 +38,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -36,53 +57,67 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State getState(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString - getErrorMsgBytes(); + com.google.protobuf.ByteString getErrorMsgBytes(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -94,11 +129,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
 
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1.Instance.InstanceType getType();
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
similarity index 65%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
index b4516569df18..df7bd9cb6cc0 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
+ *
+ *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -11,57 +28,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class,
+            com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -70,13 +90,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { return instanceTargets_; } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -85,12 +107,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -99,6 +124,7 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -106,6 +132,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -114,41 +142,52 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; + private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -158,23 +197,27 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -184,13 +227,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.Map getInstanceStatusesMap() {
+  public java.util.Map
+      getInstanceStatusesMap() {
     return internalGetInstanceStatuses().getMap();
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -200,20 +248,26 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public /* nullable */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
+      getInstanceStatusesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetInstanceStatuses().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -223,12 +277,16 @@ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefau
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -238,6 +296,7 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatuses } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,17 +308,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 { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetInstanceStatuses(), - InstanceStatusesDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -277,15 +331,18 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry entry - : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry - instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + entry : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + instanceStatuses__ = + InstanceStatusesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,17 +352,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.cloud.alloydb.v1.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other = + (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList() - .equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals( - other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -331,98 +387,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -430,69 +492,65 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.class,
+              com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -511,8 +569,11 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata result =
+          new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -533,38 +594,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesMetad
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata other) {
-      if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance())
+        return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -583,8 +646,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadat
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(
-          other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -612,27 +674,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureInstanceTargetsIsMutable();
-              instanceTargets_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              instanceStatuses__ = input.readMessage(
-                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableInstanceStatuses().getMutableMap().put(
-                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureInstanceTargetsIsMutable();
+                instanceTargets_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus>
+                    instanceStatuses__ =
+                        input.readMessage(
+                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableInstanceStatuses()
+                    .getMutableMap()
+                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -642,10 +711,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -653,6 +724,8 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -661,14 +734,16 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -677,12 +752,15 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -691,6 +769,7 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -698,6 +777,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -706,14 +787,16 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -722,13 +805,15 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTargets(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -736,6 +821,8 @@ public Builder setInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -744,12 +831,14 @@ public Builder setInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargets(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -757,6 +846,8 @@ public Builder addInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -765,19 +856,20 @@ public Builder addInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets( - java.lang.Iterable values) { + public Builder addAllInstanceTargets(java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -786,16 +878,19 @@ public Builder addAllInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -804,12 +899,14 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; + * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -819,8 +916,11 @@ public Builder addInstanceTargetsBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -828,11 +928,14 @@ public Builder addInstanceTargetsBytes( } return instanceStatuses_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus> internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = + com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -841,10 +944,13 @@ public Builder addInstanceTargetsBytes( onChanged(); return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -854,23 +960,27 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -880,13 +990,18 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.Map getInstanceStatusesMap() {
+    public java.util.Map
+        getInstanceStatusesMap() {
       return internalGetInstanceStatuses().getMap();
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -896,20 +1011,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public /* nullable */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus
+        getInstanceStatusesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetInstanceStatuses().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -919,12 +1040,16 @@ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefau
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -932,13 +1057,15 @@ public com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatuses } return map.get(key); } + public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap() - .clear(); + internalGetMutableInstanceStatuses().getMutableMap().clear(); return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -948,18 +1075,18 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ - public Builder removeInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableInstanceStatuses().getMutableMap() - .remove(key); + public Builder removeInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInstanceStatuses().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableInstanceStatuses() { @@ -967,6 +1094,8 @@ public Builder removeInstanceStatuses( return internalGetMutableInstanceStatuses().getMutableMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -976,19 +1105,25 @@ public Builder removeInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putInstanceStatuses( - java.lang.String key, - com.google.cloud.alloydb.v1.BatchCreateInstanceStatus value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableInstanceStatuses().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.alloydb.v1.BatchCreateInstanceStatus value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableInstanceStatuses().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -998,18 +1133,20 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putAllInstanceStatuses( - java.util.Map values) { - internalGetMutableInstanceStatuses().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableInstanceStatuses().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1019,12 +1156,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata(); } @@ -1033,27 +1170,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1205,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java index 1c6f519b22f8..d240d12155d6 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesMetadataOrBuilder extends +public interface BatchCreateInstancesMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -16,11 +34,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - java.util.List - getInstanceTargetsList(); + java.util.List getInstanceTargetsList(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -29,10 +49,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -41,11 +64,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -54,13 +80,15 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString - getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString getInstanceTargetsBytes(int index); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -70,10 +98,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ int getInstanceStatusesCount(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -83,17 +115,18 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; - */ - boolean containsInstanceStatuses( - java.lang.String key); - /** - * Use {@link #getInstanceStatusesMap()} instead. + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ + boolean containsInstanceStatuses(java.lang.String key); + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -103,11 +136,15 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -117,14 +154,18 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ /* nullable */ -com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue); + com.google.cloud.alloydb.v1.BatchCreateInstanceStatus defaultValue); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -134,7 +175,9 @@ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrDefau
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1.BatchCreateInstanceStatus> instance_statuses = 2; + * */ com.google.cloud.alloydb.v1.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java index b9614ac684bc..7876a8463b0c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -26,33 +44,40 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 @@ -61,29 +86,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 parent resource.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,11 +121,16 @@ public java.lang.String getParent() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.CreateInstanceRequests requests_; /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ @java.lang.Override @@ -106,33 +138,49 @@ public boolean hasRequests() { return requests_ != null; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests() { - return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() + : requests_; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() + : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,6 +198,7 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -158,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -201,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -250,22 +298,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.cloud.alloydb.v1.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other = + (com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests() - .equals(other.getRequests())) return false; + if (!getRequests().equals(other.getRequests())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,131 +337,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; } @java.lang.Override @@ -452,8 +503,11 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.BatchCreateInstancesRequest result = + new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -464,9 +518,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesReque result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null - ? requests_ - : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -477,38 +529,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,29 +610,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +644,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.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; @@ -612,20 +673,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -633,28 +697,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -664,17 +739,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,39 +765,58 @@ public Builder setParentBytes( private com.google.cloud.alloydb.v1.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> requestsBuilder_; + com.google.cloud.alloydb.v1.CreateInstanceRequests, + com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ public com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() + : requests_; } else { return requestsBuilder_.getMessage(); } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -732,11 +832,15 @@ public Builder setRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests va return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder builderForValue) { @@ -750,17 +854,22 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requests_ != null && - requests_ != com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requests_ != null + && requests_ + != com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -773,11 +882,15 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1.CreateInstanceRequests return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -790,11 +903,15 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -802,36 +919,48 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder getRequestsBui return getRequestsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null ? - com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance() + : requests_; } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1.CreateInstanceRequests, + com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequests, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder>( - getRequests(), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.CreateInstanceRequests, + com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder>( + getRequests(), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; @@ -839,6 +968,8 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -856,13 +987,13 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOr
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -871,6 +1002,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -888,15 +1021,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -904,6 +1036,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -921,18 +1055,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -950,6 +1088,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -959,6 +1098,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,21 +1117,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1143,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesRequest) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesRequest(); } @@ -1014,27 +1157,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1192,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java index 688f03666ebf..f176bdd2b765 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesRequestOrBuilder extends +public interface BatchCreateInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 parent resource.
    * 
* - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ boolean hasRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ com.google.cloud.alloydb.v1.CreateInstanceRequests getRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -72,10 +113,13 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -93,8 +137,8 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java index 4fa8a54bb1a3..7cb01b3fa3fe 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponse.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * Created instances.
    * 
@@ -58,6 +80,8 @@ public java.util.List getInstancesList() { return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -65,11 +89,13 @@ public java.util.List getInstancesList() { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -81,6 +107,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Created instances.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Created instances.
    * 
@@ -99,12 +129,12 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,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.cloud.alloydb.v1.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other = + (com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +200,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.BatchCreateInstancesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; } @java.lang.Override @@ -333,14 +366,18 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result = + new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -360,38 +397,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.BatchCreateInstancesRespo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.BatchCreateInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -399,7 +437,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.BatchCreateInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -418,9 +457,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.BatchCreateInstancesRespons 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_); } @@ -452,25 +492,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.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) { @@ -480,21 +521,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * Created instances.
      * 
@@ -509,6 +557,8 @@ public java.util.List getInstancesList() { } } /** + * + * *
      * Created instances.
      * 
@@ -523,6 +573,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Created instances.
      * 
@@ -537,14 +589,15 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -558,6 +611,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -576,6 +631,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -596,14 +653,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,14 +675,15 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -635,6 +694,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -653,6 +714,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -663,8 +726,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); @@ -672,6 +734,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -689,6 +753,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Created instances.
      * 
@@ -706,39 +772,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +817,8 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * Created instances.
      * 
@@ -753,49 +826,54 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +883,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.BatchCreateInstancesResponse) private static final com.google.cloud.alloydb.v1.BatchCreateInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.BatchCreateInstancesResponse(); } @@ -819,27 +897,27 @@ public static com.google.cloud.alloydb.v1.BatchCreateInstancesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +932,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java index 87d6499c2e9f..b3f675f97d33 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/BatchCreateInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface BatchCreateInstancesResponseOrBuilder extends +public interface BatchCreateInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * Created instances.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1.Instance getInstances(int index); /** + * + * *
    * Created instances.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java index e44bba62fcd3..b74673ce29b9 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Cluster.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.Cluster}
  */
-public final class Cluster extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Cluster extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster)
     ClusterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -34,48 +52,51 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.Cluster.class, com.google.cloud.alloydb.v1.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1.Cluster.class,
+            com.google.cloud.alloydb.v1.Cluster.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Cluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The cluster is active and running.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -104,6 +129,8 @@ public enum State
      */
     STOPPED(2),
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -113,6 +140,8 @@ public enum State
      */
     EMPTY(3),
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -121,6 +150,8 @@ public enum State */ CREATING(4), /** + * + * *
      * The cluster is being deleted.
      * 
@@ -129,6 +160,8 @@ public enum State */ DELETING(5), /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -137,6 +170,8 @@ public enum State */ FAILED(6), /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -146,6 +181,8 @@ public enum State
      */
     BOOTSTRAPPING(7),
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -156,6 +193,8 @@ public enum State
      */
     MAINTENANCE(8),
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -167,6 +206,8 @@ public enum State ; /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -175,6 +216,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The cluster is active and running.
      * 
@@ -183,6 +226,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -195,6 +240,8 @@ public enum State
      */
     public static final int STOPPED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -204,6 +251,8 @@ public enum State
      */
     public static final int EMPTY_VALUE = 3;
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -212,6 +261,8 @@ public enum State */ public static final int CREATING_VALUE = 4; /** + * + * *
      * The cluster is being deleted.
      * 
@@ -220,6 +271,8 @@ public enum State */ public static final int DELETING_VALUE = 5; /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -228,6 +281,8 @@ public enum State */ public static final int FAILED_VALUE = 6; /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -237,6 +292,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -247,6 +304,8 @@ public enum State
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -255,7 +314,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,56 +338,63 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return EMPTY; - case 4: return CREATING; - case 5: return DELETING; - case 6: return FAILED; - case 7: return BOOTSTRAPPING; - case 8: return MAINTENANCE; - case 9: return PROMOTING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return EMPTY; + case 4: + return CREATING; + case 5: + return DELETING; + case 6: + return FAILED; + case 7: + return BOOTSTRAPPING; + case 8: + return MAINTENANCE; + case 9: + return PROMOTING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.alloydb.v1.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -347,15 +412,18 @@ private State(int value) { } /** + * + * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Cluster.ClusterType} */ - public enum ClusterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the cluster is unknown.
      * 
@@ -364,6 +432,8 @@ public enum ClusterType */ CLUSTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -372,6 +442,8 @@ public enum ClusterType */ PRIMARY(1), /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -384,6 +456,8 @@ public enum ClusterType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -392,6 +466,8 @@ public enum ClusterType */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -400,6 +476,8 @@ public enum ClusterType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -409,7 +487,6 @@ public enum ClusterType
      */
     public static final int SECONDARY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -434,49 +511,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0: return CLUSTER_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return SECONDARY;
-        default: return null;
+        case 0:
+          return CLUSTER_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return SECONDARY;
+        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<
-        ClusterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ClusterType findValueByNumber(int number) {
-              return ClusterType.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 ClusterType findValueByNumber(int number) {
+            return ClusterType.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.cloud.alloydb.v1.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -493,11 +570,14 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder extends
+  public interface NetworkConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -507,11 +587,16 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -521,13 +606,17 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -539,10 +628,13 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -554,27 +646,30 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString - getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString getAllocatedIpRangeBytes(); } /** + * + * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -582,28 +677,32 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -613,7 +712,10 @@ protected java.lang.Object newInstance(
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -622,14 +724,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -639,17 +742,18 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -658,9 +762,12 @@ public java.lang.String getNetwork() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -672,6 +779,7 @@ public java.lang.String getNetwork() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ @java.lang.Override @@ -680,14 +788,15 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -699,16 +808,15 @@ public java.lang.String getAllocatedIpRange() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -717,6 +825,7 @@ public java.lang.String getAllocatedIpRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,8 +837,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -759,17 +867,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.cloud.alloydb.v1.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1.Cluster.NetworkConfig other = + (com.google.cloud.alloydb.v1.Cluster.NetworkConfig) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getAllocatedIpRange() - .equals(other.getAllocatedIpRange())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -791,89 +898,93 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,39 +994,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Cluster.NetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.NetworkConfig) com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Cluster.NetworkConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -926,9 +1039,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -947,8 +1060,11 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.Cluster.NetworkConfig result = + new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -967,38 +1083,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.NetworkConfig res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Cluster.NetworkConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1.Cluster.NetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -1006,7 +1125,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) + return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1043,22 +1163,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1068,10 +1191,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object network_ = ""; /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1081,14 +1207,16 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1097,6 +1225,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1106,16 +1236,17 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1123,6 +1254,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1132,19 +1265,25 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1154,7 +1293,10 @@ public Builder setNetwork(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1164,6 +1306,8 @@ public Builder clearNetwork() { return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1173,13 +1317,17 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1189,6 +1337,8 @@ public Builder setNetworkBytes( private java.lang.Object allocatedIpRange_ = ""; /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1200,13 +1350,13 @@ public Builder setNetworkBytes(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1215,6 +1365,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1226,15 +1378,14 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1242,6 +1393,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1253,18 +1406,22 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1276,6 +1433,7 @@ public Builder setAllocatedIpRange(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1285,6 +1443,8 @@ public Builder clearAllocatedIpRange() { return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1296,18 +1456,21 @@ public Builder clearAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1320,12 +1483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1.Cluster.NetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.NetworkConfig(); } @@ -1334,27 +1497,28 @@ public static com.google.cloud.alloydb.v1.Cluster.NetworkConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,36 +1533,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SecondaryConfigOrBuilder extends + public interface SecondaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString - getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString getPrimaryClusterNameBytes(); } /** + * + * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1406,49 +1577,55 @@ public interface SecondaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class,
+              com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
+     *
+     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ @java.lang.Override @@ -1457,30 +1634,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1489,6 +1666,7 @@ public java.lang.String getPrimaryClusterName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1500,8 +1678,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1525,15 +1702,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.cloud.alloydb.v1.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other = + (com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName() - .equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1553,89 +1730,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1645,6 +1827,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1652,33 +1836,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Cluster.SecondaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.class,
+                com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1688,9 +1872,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1709,8 +1893,11 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1.Cluster.SecondaryConfig result =
+            new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1726,38 +1913,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig r
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.SecondaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.SecondaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1765,7 +1955,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance())
+          return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1797,17 +1988,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                primaryClusterName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  primaryClusterName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1817,23 +2010,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
+       *
+       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -1842,21 +2038,22 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1864,30 +2061,37 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -1897,24 +2101,29 @@ public Builder clearPrimaryClusterName() { return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1927,12 +2136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1.Cluster.SecondaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.SecondaryConfig(); } @@ -1941,27 +2150,28 @@ public static com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1976,59 +2186,79 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PrimaryConfigOrBuilder extends + public interface PrimaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - java.util.List - getSecondaryClusterNamesList(); + java.util.List getSecondaryClusterNamesList(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); } /** + * + * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2037,76 +2267,92 @@ public interface PrimaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PrimaryConfig() {
-      secondaryClusterNames_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class,
+              com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2114,21 +2360,26 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2140,10 +2391,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2170,15 +2421,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.cloud.alloydb.v1.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other = + (com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList() - .equals(other.getSecondaryClusterNamesList())) return false; + if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2200,89 +2452,93 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2292,6 +2548,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2300,46 +2558,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Cluster.PrimaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.class,
+                com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2358,8 +2615,11 @@ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1.Cluster.PrimaryConfig result =
+            new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2376,38 +2636,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig res
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.PrimaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Cluster.PrimaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2415,7 +2678,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance())
+          return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2452,18 +2716,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSecondaryClusterNamesIsMutable();
-                secondaryClusterNames_.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();
+                  ensureSecondaryClusterNamesIsMutable();
+                  secondaryClusterNames_.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) {
@@ -2473,49 +2739,66 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ =
+              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
+       *
+       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2523,33 +2806,43 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecondaryClusterNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2557,18 +2850,24 @@ public Builder setSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2576,53 +2875,67 @@ public Builder addSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames( - java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2630,6 +2943,7 @@ public Builder addSecondaryClusterNamesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2642,12 +2956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1.Cluster.PrimaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster.PrimaryConfig(); } @@ -2656,27 +2970,28 @@ public static com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2691,19 +3006,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -2719,30 +3037,38 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: return BACKUP_SOURCE; - case 16: return MIGRATION_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 15: + return BACKUP_SOURCE; + case 16: + return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -2750,42 +3076,56 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -2793,39 +3133,51 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1.MigrationSource) source_; + return (com.google.cloud.alloydb.v1.MigrationSource) source_; } return com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1.MigrationSource) source_; + return (com.google.cloud.alloydb.v1.MigrationSource) source_; } return com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2836,6 +3188,7 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -2844,14 +3197,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2862,16 +3216,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -2880,14 +3233,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -2896,29 +3253,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; } } /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -2927,15 +3284,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2944,30 +3305,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2978,11 +3339,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -2990,11 +3355,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3002,11 +3371,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3016,11 +3388,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3028,11 +3404,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -3040,11 +3420,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3054,11 +3437,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3066,11 +3453,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -3078,11 +3469,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3090,32 +3484,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3123,20 +3519,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3148,6 +3545,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3155,17 +3554,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3173,11 +3574,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3187,32 +3588,47 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.State getState() { - com.google.cloud.alloydb.v1.Cluster.State result = com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Cluster.State getState() { + com.google.cloud.alloydb.v1.Cluster.State result = + com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3220,13 +3636,19 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3234,17 +3656,24 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1.Cluster.ClusterType result = com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1.Cluster.ClusterType result = + com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); return result == null ? com.google.cloud.alloydb.v1.Cluster.ClusterType.UNRECOGNIZED : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3252,13 +3681,19 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3266,18 +3701,26 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1.DatabaseVersion result = + com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1.Cluster.NetworkConfig networkConfig_; /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3285,25 +3728,37 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3312,25 +3767,30 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3339,19 +3799,21 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -3360,14 +3822,18 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf } public static final int ETAG_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ @java.lang.Override @@ -3376,29 +3842,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @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 { @@ -3407,32 +3873,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3442,20 +3911,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3469,6 +3939,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3478,17 +3950,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3498,11 +3972,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3512,6 +3986,8 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -3521,6 +3997,7 @@ public java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3531,12 +4008,17 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1.UserPassword initialUser_; /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ @java.lang.Override @@ -3544,34 +4026,49 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1.UserPassword getInitialUser() { - return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() + : initialUser_; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() + : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1.AutomatedBackupPolicy automatedBackupPolicy_; /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3583,6 +4080,7 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -3590,6 +4088,8 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3601,13 +4101,18 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3621,41 +4126,56 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
    * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder
+      getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null
+        ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()
+        : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1.SslConfig sslConfig_;
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -3663,13 +4183,18 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3678,7 +4203,10 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3686,6 +4214,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3694,14 +4224,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3710,21 +4247,30 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -3732,37 +4278,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1.ContinuousBackupConfig continuousBackupConfig_; /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -3770,37 +4334,56 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1.ContinuousBackupInfo continuousBackupInfo_; /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -3808,37 +4391,54 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondaryConfig_; /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -3846,18 +4446,25 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -3865,18 +4472,26 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1.Cluster.PrimaryConfig primaryConfig_; /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -3884,30 +4499,44 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3919,8 +4548,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3939,16 +4567,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -3957,12 +4582,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 12); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -3993,7 +4614,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + if (clusterType_ + != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4024,34 +4646,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4059,71 +4677,65 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.alloydb.v1.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.alloydb.v1.BackupSource) source_); } if (sourceCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.alloydb.v1.MigrationSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.alloydb.v1.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getAutomatedBackupPolicy()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(24, clusterType_); + if (clusterType_ + != com.google.cloud.alloydb.v1.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getContinuousBackupConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getContinuousBackupInfo()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4133,106 +4745,83 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Cluster other = (com.google.cloud.alloydb.v1.Cluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; - } - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + } + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser() - .equals(other.getInitialUser())) return false; + if (!getInitialUser().equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy() - .equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig() - .equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo() - .equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig() - .equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig() - .equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource() - .equals(other.getMigrationSource())) return false; + if (!getMigrationSource().equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4289,8 +4878,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4344,99 +4932,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Cluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Cluster parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1.Cluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Cluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -4445,59 +5037,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Cluster}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Cluster)
       com.google.cloud.alloydb.v1.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Cluster.class, com.google.cloud.alloydb.v1.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1.Cluster.class,
+              com.google.cloud.alloydb.v1.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.Cluster.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4590,9 +5179,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -4612,7 +5201,9 @@ public com.google.cloud.alloydb.v1.Cluster build() {
     @java.lang.Override
     public com.google.cloud.alloydb.v1.Cluster buildPartial() {
       com.google.cloud.alloydb.v1.Cluster result = new com.google.cloud.alloydb.v1.Cluster(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4630,19 +5221,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -4658,9 +5243,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ = networkConfigBuilder_ == null
-            ? networkConfig_
-            : networkConfigBuilder_.build();
+        result.networkConfig_ =
+            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -4676,61 +5260,55 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ = initialUserBuilder_ == null
-            ? initialUser_
-            : initialUserBuilder_.build();
+        result.initialUser_ =
+            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
-            ? automatedBackupPolicy_
-            : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ =
+            automatedBackupPolicyBuilder_ == null
+                ? automatedBackupPolicy_
+                : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null
-            ? sslConfig_
-            : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
-            ? continuousBackupConfig_
-            : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ =
+            continuousBackupConfigBuilder_ == null
+                ? continuousBackupConfig_
+                : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
-            ? continuousBackupInfo_
-            : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ =
+            continuousBackupInfoBuilder_ == null
+                ? continuousBackupInfo_
+                : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ = secondaryConfigBuilder_ == null
-            ? secondaryConfig_
-            : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ =
+            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ = primaryConfigBuilder_ == null
-            ? primaryConfig_
-            : primaryConfigBuilder_.build();
+        result.primaryConfig_ =
+            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 &&
-          migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -4739,38 +5317,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1.Cluster)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.Cluster) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4803,8 +5382,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -4828,8 +5406,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -4862,17 +5439,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Cluster other) {
         mergePrimaryConfig(other.getPrimaryConfig());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case MIGRATION_SOURCE: {
-          mergeMigrationSource(other.getMigrationSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case MIGRATION_SOURCE:
+          {
+            mergeMigrationSource(other.getMigrationSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4900,180 +5480,185 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 64
-            case 72: {
-              databaseVersion_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 72
-            case 82: {
-              network_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 82
-            case 90: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 90
-            case 98: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 98
-            case 104: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 104
-            case 114: {
-              input.readMessage(
-                  getInitialUserFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getMigrationSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 16;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getSslConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 162
-            case 178: {
-              input.readMessage(
-                  getSecondaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x01000000;
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getPrimaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x02000000;
-              break;
-            } // case 186
-            case 192: {
-              clusterType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 192
-            case 218: {
-              input.readMessage(
-                  getContinuousBackupConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getContinuousBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getNetworkConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 234
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 64
+            case 72:
+              {
+                databaseVersion_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 72
+            case 82:
+              {
+                network_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 82
+            case 90:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 98
+            case 104:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 104
+            case 114:
+              {
+                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 16;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(
+                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 162
+            case 178:
+              {
+                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x01000000;
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x02000000;
+                break;
+              } // case 186
+            case 192:
+              {
+                clusterType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 192
+            case 218:
+              {
+                input.readMessage(
+                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(
+                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 234
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5083,12 +5668,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() {
@@ -5101,13 +5686,21 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1.BackupSource,
+            com.google.cloud.alloydb.v1.BackupSource.Builder,
+            com.google.cloud.alloydb.v1.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5115,11 +5708,16 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override @@ -5137,11 +5735,15 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5157,11 +5759,15 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource( com.google.cloud.alloydb.v1.BackupSource.Builder builderForValue) { @@ -5175,18 +5781,25 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 && - source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1.BackupSource.newBuilder((com.google.cloud.alloydb.v1.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 15 + && source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5202,11 +5815,15 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5225,21 +5842,29 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5253,21 +5878,30 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1.BackupSource, + com.google.cloud.alloydb.v1.BackupSource.Builder, + com.google.cloud.alloydb.v1.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BackupSource, + com.google.cloud.alloydb.v1.BackupSource.Builder, + com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1.BackupSource) source_, getParentForChildren(), isClean()); @@ -5279,13 +5913,21 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> migrationSourceBuilder_; + com.google.cloud.alloydb.v1.MigrationSource, + com.google.cloud.alloydb.v1.MigrationSource.Builder, + com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> + migrationSourceBuilder_; /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5293,11 +5935,16 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override @@ -5315,11 +5962,15 @@ public com.google.cloud.alloydb.v1.MigrationSource getMigrationSource() { } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource(com.google.cloud.alloydb.v1.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -5335,11 +5986,15 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1.MigrationSource va return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource( com.google.cloud.alloydb.v1.MigrationSource.Builder builderForValue) { @@ -5353,18 +6008,25 @@ public Builder setMigrationSource( return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 && - source_ != com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1.MigrationSource.newBuilder((com.google.cloud.alloydb.v1.MigrationSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 16 + && source_ != com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1.MigrationSource.newBuilder( + (com.google.cloud.alloydb.v1.MigrationSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5380,11 +6042,15 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1.MigrationSource return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -5403,21 +6069,29 @@ public Builder clearMigrationSource() { return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -5431,21 +6105,30 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1.MigrationSource, + com.google.cloud.alloydb.v1.MigrationSource.Builder, + com.google.cloud.alloydb.v1.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.MigrationSource, com.google.cloud.alloydb.v1.MigrationSource.Builder, com.google.cloud.alloydb.v1.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.MigrationSource, + com.google.cloud.alloydb.v1.MigrationSource.Builder, + com.google.cloud.alloydb.v1.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1.MigrationSource) source_, getParentForChildren(), isClean()); @@ -5458,6 +6141,8 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5468,13 +6153,13 @@ public com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOr
      * 
* * 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; @@ -5483,6 +6168,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5493,15 +6180,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -5509,6 +6195,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5519,18 +6207,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5541,6 +6233,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -5550,6 +6243,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5560,12 +6255,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -5575,18 +6272,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -5595,20 +6294,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -5616,28 +6316,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5647,17 +6354,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -5667,19 +6378,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -5688,21 +6401,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5710,30 +6424,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -5743,18 +6464,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -5764,39 +6489,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -5812,14 +6556,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -5830,17 +6577,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5853,11 +6604,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5870,11 +6625,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -5882,36 +6641,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -5919,39 +6690,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -5967,14 +6757,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -5985,17 +6778,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6008,11 +6805,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6025,11 +6826,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6037,36 +6842,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -6074,39 +6891,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -6122,14 +6958,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -6140,17 +6979,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -6163,11 +7006,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -6180,11 +7027,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -6192,56 +7043,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -6250,10 +7111,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6261,20 +7125,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6286,6 +7151,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6293,17 +7160,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6311,95 +7180,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000100; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -6410,24 +7292,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.State getState() { - com.google.cloud.alloydb.v1.Cluster.State result = com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1.Cluster.State result = + com.google.cloud.alloydb.v1.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Cluster.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -6441,11 +7334,16 @@ public Builder setState(com.google.cloud.alloydb.v1.Cluster.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -6457,6 +7355,8 @@ public Builder clearState() { private int clusterType_ = 0; /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6464,13 +7364,19 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6478,7 +7384,10 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -6489,6 +7398,8 @@ public Builder setClusterTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6496,15 +7407,21 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1.Cluster.ClusterType result = com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); + com.google.cloud.alloydb.v1.Cluster.ClusterType result = + com.google.cloud.alloydb.v1.Cluster.ClusterType.forNumber(clusterType_); return result == null ? com.google.cloud.alloydb.v1.Cluster.ClusterType.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6512,7 +7429,10 @@ public com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The clusterType to set. * @return This builder for chaining. */ @@ -6526,6 +7446,8 @@ public Builder setClusterType(com.google.cloud.alloydb.v1.Cluster.ClusterType va return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6533,7 +7455,10 @@ public Builder setClusterType(com.google.cloud.alloydb.v1.Cluster.ClusterType va
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearClusterType() { @@ -6545,6 +7470,8 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6552,13 +7479,19 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6566,7 +7499,10 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6577,6 +7513,8 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6584,15 +7522,21 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1.DatabaseVersion result = + com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6600,7 +7544,10 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6614,6 +7561,8 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6621,7 +7570,10 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1.DatabaseVersion va
      * be used.
      * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6633,27 +7585,40 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> + networkConfigBuilder_; /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -6669,7 +7634,9 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfi return this; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder builderForValue) { @@ -6683,13 +7650,16 @@ public Builder setNetworkConfig( return this; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - networkConfig_ != null && - networkConfig_ != com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && networkConfig_ != null + && networkConfig_ + != com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -6702,7 +7672,9 @@ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1.Cluster.NetworkCon return this; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -6715,7 +7687,9 @@ public Builder clearNetworkConfig() { return this; } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { bitField0_ |= 0x00001000; @@ -6723,28 +7697,36 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder getNetworkConfi return getNetworkConfigFieldBuilder().getBuilder(); } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null ? - com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } } /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.NetworkConfig, com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), - getParentForChildren(), - isClean()); + networkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), getParentForChildren(), isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -6752,6 +7734,8 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf private java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6760,16 +7744,19 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -6778,6 +7765,8 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6786,18 +7775,20 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -6805,6 +7796,8 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6813,21 +7806,28 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6836,18 +7836,24 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNetwork() { + @java.lang.Deprecated + public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6856,15 +7862,20 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -6874,18 +7885,20 @@ public com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConf private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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; @@ -6894,20 +7907,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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 { @@ -6915,28 +7929,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -6946,17 +7967,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -6964,8 +7989,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -6974,11 +7999,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -6987,10 +8013,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7000,20 +8029,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7027,6 +8057,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7036,17 +8068,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7056,23 +8090,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7081,23 +8117,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7106,17 +8141,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7125,16 +8163,16 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_ ;
+    private boolean reconciling_;
     /**
+     *
+     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7144,6 +8182,7 @@ public Builder putAllAnnotations(
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -7151,6 +8190,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7160,6 +8201,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -7171,6 +8213,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7180,6 +8224,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -7191,42 +8236,61 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder> initialUserBuilder_; + com.google.cloud.alloydb.v1.UserPassword, + com.google.cloud.alloydb.v1.UserPassword.Builder, + com.google.cloud.alloydb.v1.UserPasswordOrBuilder> + initialUserBuilder_; /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ public com.google.cloud.alloydb.v1.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() + : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { if (initialUserBuilder_ == null) { @@ -7242,12 +8306,16 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser( com.google.cloud.alloydb.v1.UserPassword.Builder builderForValue) { @@ -7261,18 +8329,22 @@ public Builder setInitialUser( return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - initialUser_ != null && - initialUser_ != com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && initialUser_ != null + && initialUser_ != com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -7285,12 +8357,16 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1.UserPassword value) return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -7303,12 +8379,16 @@ public Builder clearInitialUser() { return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -7316,38 +8396,50 @@ public com.google.cloud.alloydb.v1.UserPassword.Builder getInitialUserBuilder() return getInitialUserFieldBuilder().getBuilder(); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null ? - com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1.UserPassword.getDefaultInstance() + : initialUser_; } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1.UserPassword, + com.google.cloud.alloydb.v1.UserPassword.Builder, + com.google.cloud.alloydb.v1.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.UserPassword, com.google.cloud.alloydb.v1.UserPassword.Builder, com.google.cloud.alloydb.v1.UserPasswordOrBuilder>( - getInitialUser(), - getParentForChildren(), - isClean()); + initialUserBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.UserPassword, + com.google.cloud.alloydb.v1.UserPassword.Builder, + com.google.cloud.alloydb.v1.UserPasswordOrBuilder>( + getInitialUser(), getParentForChildren(), isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -7355,8 +8447,13 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder private com.google.cloud.alloydb.v1.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1.AutomatedBackupPolicy, + com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, + com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> + automatedBackupPolicyBuilder_; /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7368,12 +8465,15 @@ public com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder
      * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7385,16 +8485,21 @@ public boolean hasAutomatedBackupPolicy() {
      * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7407,7 +8512,8 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolic
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
+    public Builder setAutomatedBackupPolicy(
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7421,6 +8527,8 @@ public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedBac
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7445,6 +8553,8 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7457,11 +8567,13 @@ public Builder setAutomatedBackupPolicy(
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
+    public Builder mergeAutomatedBackupPolicy(
+        com.google.cloud.alloydb.v1.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00040000) != 0) &&
-          automatedBackupPolicy_ != null &&
-          automatedBackupPolicy_ != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00040000) != 0)
+            && automatedBackupPolicy_ != null
+            && automatedBackupPolicy_
+                != com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()) {
           getAutomatedBackupPolicyBuilder().mergeFrom(value);
         } else {
           automatedBackupPolicy_ = value;
@@ -7474,6 +8586,8 @@ public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1.AutomatedB
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7497,6 +8611,8 @@ public Builder clearAutomatedBackupPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7509,12 +8625,15 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() {
+    public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder
+        getAutomatedBackupPolicyBuilder() {
       bitField0_ |= 0x00040000;
       onChanged();
       return getAutomatedBackupPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7527,15 +8646,19 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder getAutomatedBac
      *
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder
+        getAutomatedBackupPolicyOrBuilder() {
       if (automatedBackupPolicyBuilder_ != null) {
         return automatedBackupPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return automatedBackupPolicy_ == null ?
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
+        return automatedBackupPolicy_ == null
+            ? com.google.cloud.alloydb.v1.AutomatedBackupPolicy.getDefaultInstance()
+            : automatedBackupPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7549,14 +8672,17 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa
      * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder> 
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy,
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder,
+            com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>
         getAutomatedBackupPolicyFieldBuilder() {
       if (automatedBackupPolicyBuilder_ == null) {
-        automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.AutomatedBackupPolicy, com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>(
-                getAutomatedBackupPolicy(),
-                getParentForChildren(),
-                isClean());
+        automatedBackupPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy,
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicy.Builder,
+                com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder>(
+                getAutomatedBackupPolicy(), getParentForChildren(), isClean());
         automatedBackupPolicy_ = null;
       }
       return automatedBackupPolicyBuilder_;
@@ -7564,45 +8690,61 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa
 
     private com.google.cloud.alloydb.v1.SslConfig sslConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> sslConfigBuilder_;
+            com.google.cloud.alloydb.v1.SslConfig,
+            com.google.cloud.alloydb.v1.SslConfig.Builder,
+            com.google.cloud.alloydb.v1.SslConfigOrBuilder>
+        sslConfigBuilder_;
     /**
+     *
+     *
      * 
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { + @java.lang.Deprecated + public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7616,14 +8758,16 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig( - com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { + @java.lang.Deprecated + public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -7634,17 +8778,20 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { + @java.lang.Deprecated + public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -7657,13 +8804,16 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder clearSslConfig() { + @java.lang.Deprecated + public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -7674,33 +8824,42 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -7708,14 +8867,17 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> + com.google.cloud.alloydb.v1.SslConfig, + com.google.cloud.alloydb.v1.SslConfig.Builder, + com.google.cloud.alloydb.v1.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SslConfig, + com.google.cloud.alloydb.v1.SslConfig.Builder, + com.google.cloud.alloydb.v1.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -7723,8 +8885,13 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7733,13 +8900,18 @@ public com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBa
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7748,17 +8920,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7767,7 +8946,9 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -7783,6 +8964,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7791,7 +8974,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1.EncryptionConfig.Builder builderForValue) { @@ -7805,6 +8990,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7813,13 +9000,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -7832,6 +9022,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7840,7 +9032,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -7853,6 +9047,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7861,7 +9057,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -7869,6 +9067,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7877,17 +9077,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7896,17 +9101,22 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -7914,39 +9124,58 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -7962,11 +9191,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -7980,17 +9213,21 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -8003,11 +9240,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -8020,11 +9261,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -8032,36 +9277,48 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -8069,41 +9326,61 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private com.google.cloud.alloydb.v1.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupConfig, + com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> + continuousBackupConfigBuilder_; /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig( + com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8117,11 +9394,15 @@ public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1.ContinuousB return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder builderForValue) { @@ -8135,17 +9416,23 @@ public Builder setContinuousBackupConfig( return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig( + com.google.cloud.alloydb.v1.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) && - continuousBackupConfig_ != null && - continuousBackupConfig_ != com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) + && continuousBackupConfig_ != null + && continuousBackupConfig_ + != com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -8158,11 +9445,15 @@ public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1.Continuou return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -8175,48 +9466,66 @@ public Builder clearContinuousBackupConfig() { return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder + getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null ? - com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1.ContinuousBackupConfig, + com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupConfig, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), - getParentForChildren(), - isClean()); + continuousBackupConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.ContinuousBackupConfig, + com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), getParentForChildren(), isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -8224,39 +9533,58 @@ public com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuous private com.google.cloud.alloydb.v1.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupInfo, + com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> + continuousBackupInfoBuilder_; /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { @@ -8272,11 +9600,15 @@ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBac return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder builderForValue) { @@ -8290,17 +9622,23 @@ public Builder setContinuousBackupInfo( return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo( + com.google.cloud.alloydb.v1.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) && - continuousBackupInfo_ != null && - continuousBackupInfo_ != com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) + && continuousBackupInfo_ != null + && continuousBackupInfo_ + != com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -8313,11 +9651,15 @@ public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1.ContinuousB return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -8330,48 +9672,66 @@ public Builder clearContinuousBackupInfo() { return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder + getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null ? - com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1.ContinuousBackupInfo, + com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupInfo, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), - getParentForChildren(), - isClean()); + continuousBackupInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.ContinuousBackupInfo, + com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), getParentForChildren(), isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -8379,34 +9739,47 @@ public com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBa private com.google.cloud.alloydb.v1.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> + secondaryConfigBuilder_; /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8427,6 +9800,8 @@ public Builder setSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.SecondaryC return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8445,6 +9820,8 @@ public Builder setSecondaryConfig( return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8453,9 +9830,10 @@ public Builder setSecondaryConfig( */ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) && - secondaryConfig_ != null && - secondaryConfig_ != com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) + && secondaryConfig_ != null + && secondaryConfig_ + != com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -8468,6 +9846,8 @@ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1.Cluster.Secondar return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8485,6 +9865,8 @@ public Builder clearSecondaryConfig() { return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8497,21 +9879,27 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder getSecondaryC return getSecondaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null ? - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8519,14 +9907,17 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondary * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), - getParentForChildren(), - isClean()); + secondaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), getParentForChildren(), isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -8534,39 +9925,58 @@ public com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondary private com.google.cloud.alloydb.v1.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> + primaryConfigBuilder_; /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -8582,11 +9992,15 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfi return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder builderForValue) { @@ -8600,17 +10014,22 @@ public Builder setPrimaryConfig( return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) && - primaryConfig_ != null && - primaryConfig_ != com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) + && primaryConfig_ != null + && primaryConfig_ + != com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -8623,11 +10042,15 @@ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1.Cluster.PrimaryCon return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -8640,11 +10063,15 @@ public Builder clearPrimaryConfig() { return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; @@ -8652,43 +10079,55 @@ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder getPrimaryConfi return getPrimaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null ? - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), - getParentForChildren(), - isClean()); + primaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), getParentForChildren(), isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8698,12 +10137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Cluster) private static final com.google.cloud.alloydb.v1.Cluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Cluster(); } @@ -8712,27 +10151,27 @@ public static com.google.cloud.alloydb.v1.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8747,6 +10186,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java index 0113bf332791..c4da5e90933c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterOrBuilder.java @@ -1,67 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ClusterOrBuilder extends +public interface ClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Cluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ com.google.cloud.alloydb.v1.BackupSource getBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ com.google.cloud.alloydb.v1.MigrationSource getMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -72,10 +118,13 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -86,135 +135,180 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -223,30 +317,31 @@ public interface ClusterOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -254,40 +349,53 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1.Cluster.State getState(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -295,11 +403,16 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -307,12 +420,17 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ com.google.cloud.alloydb.v1.Cluster.ClusterType getClusterType(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -320,11 +438,16 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -332,27 +455,40 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1.DatabaseVersion getDatabaseVersion(); /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ com.google.cloud.alloydb.v1.Cluster.NetworkConfig getNetworkConfig(); /** - * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -361,13 +497,19 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The network. */ - @java.lang.Deprecated java.lang.String getNetwork(); + @java.lang.Deprecated + java.lang.String getNetwork(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -376,35 +518,45 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=543 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1.Cluster.network is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=543 * @return The bytes for network. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNetworkBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -415,6 +567,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -423,15 +577,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -440,9 +592,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -452,11 +605,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -465,10 +620,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -478,41 +634,58 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ com.google.cloud.alloydb.v1.UserPassword getInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.UserPasswordOrBuilder getInitialUserOrBuilder(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -524,10 +697,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -539,10 +715,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -558,37 +737,50 @@ java.lang.String getAnnotationsOrThrow(
   com.google.cloud.alloydb.v1.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated boolean hasSslConfig(); + @java.lang.Deprecated + boolean hasSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1/resources.proto;l=578 + * + * @deprecated google.cloud.alloydb.v1.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1/resources.proto;l=578 * @return The sslConfig. */ - @java.lang.Deprecated com.google.cloud.alloydb.v1.SslConfig getSslConfig(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1.SslConfig getSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -597,11 +789,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -610,11 +807,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -623,110 +825,162 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1.ContinuousBackupConfig getContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1.ContinuousBackupInfo getContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1.Cluster.SecondaryConfig getSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -736,29 +990,43 @@ java.lang.String getAnnotationsOrThrow( com.google.cloud.alloydb.v1.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ com.google.cloud.alloydb.v1.Cluster.PrimaryConfig getPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java index bb2200844c7f..540dfbc28ebf 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ClusterView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1.ClusterView}
  */
-public enum ClusterView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum ClusterView */ CLUSTER_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -32,6 +52,8 @@ public enum ClusterView
    */
   CLUSTER_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -45,6 +67,8 @@ public enum ClusterView
   ;
 
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -53,6 +77,8 @@ public enum ClusterView */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -63,6 +89,8 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -73,7 +101,6 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,49 +125,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0: return CLUSTER_VIEW_UNSPECIFIED;
-      case 1: return CLUSTER_VIEW_BASIC;
-      case 2: return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default: return null;
+      case 0:
+        return CLUSTER_VIEW_UNSPECIFIED;
+      case 1:
+        return CLUSTER_VIEW_BASIC;
+      case 2:
+        return CLUSTER_VIEW_CONTINUOUS_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<
-      ClusterView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterView findValueByNumber(int number) {
-            return ClusterView.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 ClusterView findValueByNumber(int number) {
+          return ClusterView.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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,4 +183,3 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.ClusterView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
similarity index 71%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
index 4633feb4ab3d..6175453e249d 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
+ *
+ *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ConnectionInfo}
  */
-public final class ConnectionInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ConnectionInfo)
     ConnectionInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
@@ -28,28 +46,32 @@ private ConnectionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ConnectionInfo.class, com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1.ConnectionInfo.class,
+            com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -65,14 +88,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -80,16 +104,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 { @@ -98,9 +121,12 @@ public java.lang.String getName() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -108,6 +134,7 @@ public java.lang.String getName() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -116,14 +143,15 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -131,16 +159,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -149,14 +176,18 @@ public java.lang.String getIpAddress() { } public static final int INSTANCE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ @java.lang.Override @@ -165,29 +196,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -196,6 +227,7 @@ public java.lang.String getInstanceUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -244,19 +275,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.cloud.alloydb.v1.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ConnectionInfo other = (com.google.cloud.alloydb.v1.ConnectionInfo) obj; + com.google.cloud.alloydb.v1.ConnectionInfo other = + (com.google.cloud.alloydb.v1.ConnectionInfo) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getInstanceUid() - .equals(other.getInstanceUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getInstanceUid().equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -279,99 +308,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -379,33 +413,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ConnectionInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ConnectionInfo)
       com.google.cloud.alloydb.v1.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ConnectionInfo.class, com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1.ConnectionInfo.class,
+              com.google.cloud.alloydb.v1.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ConnectionInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -417,9 +450,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -438,8 +471,11 @@ public com.google.cloud.alloydb.v1.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1.ConnectionInfo result = new com.google.cloud.alloydb.v1.ConnectionInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.ConnectionInfo result =
+          new com.google.cloud.alloydb.v1.ConnectionInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -461,38 +497,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ConnectionInfo result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ConnectionInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ConnectionInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -542,27 +579,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 34: {
-              instanceUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 34:
+              {
+                instanceUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -572,10 +613,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -583,13 +627,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; @@ -598,6 +642,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -605,15 +651,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 { @@ -621,6 +666,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -628,18 +675,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -647,6 +698,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -656,6 +708,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -663,12 +717,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -678,6 +734,8 @@ public Builder setNameBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -685,13 +743,13 @@ public Builder setNameBytes(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -700,6 +758,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -707,15 +767,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -723,6 +782,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -730,18 +791,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -749,6 +814,7 @@ public Builder setIpAddress(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -758,6 +824,8 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -765,12 +833,14 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -780,18 +850,20 @@ public Builder setIpAddressBytes( private java.lang.Object instanceUid_ = ""; /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -800,20 +872,21 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -821,28 +894,35 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -852,26 +932,30 @@ public Builder clearInstanceUid() { return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -881,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ConnectionInfo) private static final com.google.cloud.alloydb.v1.ConnectionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ConnectionInfo(); } @@ -895,27 +979,27 @@ public static com.google.cloud.alloydb.v1.ConnectionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -930,6 +1014,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java index 91c6d6674b50..f2e89aef0d2d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ConnectionInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ConnectionInfoOrBuilder extends +public interface ConnectionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -15,10 +33,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -26,12 +47,14 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -39,10 +62,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -50,28 +76,33 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString - getInstanceUidBytes(); + com.google.protobuf.ByteString getInstanceUidBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java index 3dbf54252369..679a5c3cba49 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ContinuousBackupConfig() {
-  }
+
+  private ContinuousBackupConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1.ContinuousBackupConfig.class,
+            com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -74,6 +98,8 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -81,6 +107,7 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -91,6 +118,8 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -99,6 +128,7 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -106,6 +136,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -114,13 +146,18 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -132,10 +169,13 @@ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+    return encryptionConfig_ == null
+        ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()
+        : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +187,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -168,16 +207,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -187,24 +223,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.cloud.alloydb.v1.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1.ContinuousBackupConfig other =
+        (com.google.cloud.alloydb.v1.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled()
-          != other.getEnabled()) return false;
+      if (getEnabled() != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays()
-        != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) 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;
@@ -219,8 +253,7 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -234,98 +267,103 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -333,33 +371,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1.ContinuousBackupConfig.class,
+              com.google.cloud.alloydb.v1.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ContinuousBackupConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +412,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -396,8 +433,11 @@ public com.google.cloud.alloydb.v1.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.ContinuousBackupConfig result =
+          new com.google.cloud.alloydb.v1.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -413,9 +453,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupConfig re
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -424,38 +463,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupConfig re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -463,7 +503,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.ContinuousBackupConfig.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -499,29 +540,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 26: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              recoveryWindowDays_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 26:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                recoveryWindowDays_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -531,15 +575,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -547,11 +595,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -559,11 +610,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -575,11 +629,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -589,8 +646,10 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_ ; + private int recoveryWindowDays_; /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -598,6 +657,7 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -605,6 +665,8 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -612,6 +674,7 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; + * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -623,6 +686,8 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -630,6 +695,7 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; + * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -641,8 +707,13 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1.EncryptionConfig, + com.google.cloud.alloydb.v1.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -651,12 +722,15 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -665,16 +739,21 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -698,6 +777,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -719,6 +800,8 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -730,9 +813,10 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          encryptionConfig_ != null &&
-          encryptionConfig_ != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && encryptionConfig_ != null
+            && encryptionConfig_
+                != com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -745,6 +829,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1.EncryptionConfi
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -765,6 +851,8 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -780,6 +868,8 @@ public com.google.cloud.alloydb.v1.EncryptionConfig.Builder getEncryptionConfigB
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -793,11 +883,14 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null ?
-            com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+        return encryptionConfig_ == null
+            ? com.google.cloud.alloydb.v1.EncryptionConfig.getDefaultInstance()
+            : encryptionConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -808,21 +901,24 @@ public com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder getEncryptionConfig
      * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder> 
+            com.google.cloud.alloydb.v1.EncryptionConfig,
+            com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.EncryptionConfig, com.google.cloud.alloydb.v1.EncryptionConfig.Builder, com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(),
-                getParentForChildren(),
-                isClean());
+        encryptionConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1.EncryptionConfig,
+                com.google.cloud.alloydb.v1.EncryptionConfig.Builder,
+                com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(), getParentForChildren(), isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -832,12 +928,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1.ContinuousBackupConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupConfig();
   }
@@ -846,27 +942,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupConfig getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ContinuousBackupConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ContinuousBackupConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +977,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
index dd79c69a6de4..bf8f1e515287 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupConfigOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
-public interface ContinuousBackupConfigOrBuilder extends
+public interface ContinuousBackupConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -34,11 +58,14 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -47,10 +74,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -59,10 +89,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
similarity index 63%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
index 5e6e37e48550..57d4003e83d9 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/resources.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
+ *
+ *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -11,48 +28,55 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1.ContinuousBackupInfo.class,
+            com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_;
   /**
+   *
+   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -60,40 +84,57 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -101,12 +142,16 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ @java.lang.Override @@ -114,12 +159,15 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -127,10 +175,13 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List schedule_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> + schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -139,12 +190,17 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ @java.lang.Override @@ -153,12 +209,17 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ @java.lang.Override @@ -166,12 +227,17 @@ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -180,26 +246,35 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return schedule_; } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -207,17 +282,23 @@ public com.google.type.DayOfWeek getSchedule(int index) { public int getScheduleValue(int index) { return schedule_.get(index); } + private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -225,32 +306,46 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -291,28 +385,26 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEarliestRestorableTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,28 +414,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1.ContinuousBackupInfo other = + (com.google.cloud.alloydb.v1.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime() - .equals(other.getEnabledTime())) return false; + if (!getEnabledTime().equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime() - .equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -377,99 +467,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -477,33 +572,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1.ContinuousBackupInfo.class,
+              com.google.cloud.alloydb.v1.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.ContinuousBackupInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -529,9 +623,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -550,14 +644,18 @@ public com.google.cloud.alloydb.v1.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1.ContinuousBackupInfo result =
+          new com.google.cloud.alloydb.v1.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -568,19 +666,18 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ContinuousBa
     private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ = enabledTimeBuilder_ == null
-            ? enabledTime_
-            : enabledTimeBuilder_.build();
+        result.enabledTime_ =
+            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
-            ? earliestRestorableTime_
-            : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ =
+            earliestRestorableTimeBuilder_ == null
+                ? earliestRestorableTime_
+                : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -588,38 +685,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupInfo resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,7 +725,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.ContinuousBackupInfo.getDefaultInstance())
+        return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -673,50 +772,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEnabledTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              int tmpRaw = input.readEnum();
-              ensureScheduleIsMutable();
-              schedule_.add(tmpRaw);
-              break;
-            } // case 24
-            case 26: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 24
+            case 26:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureScheduleIsMutable();
+                  schedule_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -726,46 +826,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
+            com.google.cloud.alloydb.v1.EncryptionInfo,
+            com.google.cloud.alloydb.v1.EncryptionInfo.Builder,
+            com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>
+        encryptionInfoBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -781,12 +901,16 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo valu return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1.EncryptionInfo.Builder builderForValue) { @@ -800,18 +924,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && encryptionInfo_ != null + && encryptionInfo_ != com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -824,12 +952,16 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1.EncryptionInfo va return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -842,12 +974,16 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -855,38 +991,50 @@ public com.google.cloud.alloydb.v1.EncryptionInfo.Builder getEncryptionInfoBuild return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.EncryptionInfo, com.google.cloud.alloydb.v1.EncryptionInfo.Builder, com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.EncryptionInfo, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -894,42 +1042,61 @@ public com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBu private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + enabledTimeBuilder_; /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -945,15 +1112,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEnabledTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -964,18 +1134,22 @@ public Builder setEnabledTime( return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - enabledTime_ != null && - enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && enabledTime_ != null + && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -988,12 +1162,16 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1006,12 +1184,16 @@ public Builder clearEnabledTime() { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1019,45 +1201,57 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), - getParentForChildren(), - isClean()); + enabledTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), getParentForChildren(), isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = - java.util.Collections.emptyList(); + private java.util.List schedule_ = java.util.Collections.emptyList(); + private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1065,12 +1259,17 @@ private void ensureScheduleIsMutable() { } } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1078,24 +1277,34 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1103,18 +1312,22 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - int index, com.google.type.DayOfWeek value) { + public Builder setSchedule(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1124,12 +1337,17 @@ public Builder setSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The schedule to add. * @return This builder for chaining. */ @@ -1143,17 +1361,21 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule( - java.lang.Iterable values) { + public Builder addAllSchedule(java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1162,12 +1384,17 @@ public Builder addAllSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1177,25 +1404,34 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1203,30 +1439,39 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue( - int index, int value) { + public Builder setScheduleValue(int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1237,17 +1482,21 @@ public Builder addScheduleValue(int value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue( - java.lang.Iterable values) { + public Builder addAllScheduleValue(java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1258,42 +1507,61 @@ public Builder addAllScheduleValue( private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestRestorableTimeBuilder_; /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1309,12 +1577,16 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1328,18 +1600,22 @@ public Builder setEarliestRestorableTime( return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - earliestRestorableTime_ != null && - earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && earliestRestorableTime_ != null + && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1352,12 +1628,16 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1370,12 +1650,16 @@ public Builder clearEarliestRestorableTime() { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1383,45 +1667,57 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), - getParentForChildren(), - isClean()); + earliestRestorableTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), getParentForChildren(), isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1.ContinuousBackupInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupInfo(); } @@ -1445,27 +1741,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1776,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java index e5bd829f1857..f22f33a370cb 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupInfoOrBuilder.java @@ -1,153 +1,232 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ContinuousBackupInfoOrBuilder extends +public interface ContinuousBackupInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ java.util.List getScheduleList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ int getScheduleCount(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List - getScheduleValueList(); + java.util.List getScheduleValueList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java index 9ded15b4bfd3..8f245d9ce00e 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSource.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ContinuousBackupSource.class, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ @java.lang.Override @@ -62,14 +85,15 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -77,16 +101,15 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -97,11 +120,15 @@ public java.lang.String getCluster() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -109,11 +136,15 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ @java.lang.Override @@ -121,11 +152,14 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -133,6 +167,7 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -165,8 +199,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ContinuousBackupSource other = (com.google.cloud.alloydb.v1.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1.ContinuousBackupSource other = + (com.google.cloud.alloydb.v1.ContinuousBackupSource) obj; - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime() - .equals(other.getPointInTime())) return false; + if (!getPointInTime().equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,131 +245,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ContinuousBackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ContinuousBackupSource) com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ContinuousBackupSource.class, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -373,8 +409,11 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1.ContinuousBackupSource result = new com.google.cloud.alloydb.v1.ContinuousBackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ContinuousBackupSource result = + new com.google.cloud.alloydb.v1.ContinuousBackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -385,9 +424,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupSource re result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = pointInTimeBuilder_ == null - ? pointInTime_ - : pointInTimeBuilder_.build(); + result.pointInTime_ = + pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); } } @@ -395,38 +433,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ContinuousBackupSource re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1.ContinuousBackupSource) other); } else { super.mergeFrom(other); return this; @@ -434,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) + return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -469,24 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPointInTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +537,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object cluster_ = ""; /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -507,13 +551,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -522,6 +566,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -529,15 +575,14 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -545,6 +590,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -552,18 +599,22 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -571,6 +622,7 @@ public Builder setCluster(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCluster() { @@ -580,6 +632,8 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -587,12 +641,14 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -602,39 +658,55 @@ public Builder setClusterBytes( private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + pointInTimeBuilder_; /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -650,14 +722,16 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPointInTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -668,17 +742,20 @@ public Builder setPointInTime( return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - pointInTime_ != null && - pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && pointInTime_ != null + && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -691,11 +768,14 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -708,11 +788,14 @@ public Builder clearPointInTime() { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -720,43 +803,53 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), - getParentForChildren(), - isClean()); + pointInTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), getParentForChildren(), isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +859,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1.ContinuousBackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ContinuousBackupSource(); } @@ -780,27 +873,27 @@ public static com.google.cloud.alloydb.v1.ContinuousBackupSource getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,6 +908,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java index a3d47b453b60..6d3ee704f1a6 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ContinuousBackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface ContinuousBackupSourceOrBuilder extends +public interface ContinuousBackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -15,10 +33,13 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ java.lang.String getCluster(); /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -26,35 +47,46 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - com.google.protobuf.ByteString - getClusterBytes(); + com.google.protobuf.ByteString getClusterBytes(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java index c3194389e907..e44b943e0f50 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; @@ -27,33 +45,40 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateBackupRequest.class, com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateBackupRequest.class, + com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -109,29 +140,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -142,11 +173,15 @@ public java.lang.String getBackupId() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Backup backup_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -154,11 +189,15 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -166,11 +205,14 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { @@ -178,9 +220,12 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +243,7 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +252,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +278,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +297,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +314,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,15 +358,13 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +374,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.cloud.alloydb.v1.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateBackupRequest other = (com.google.cloud.alloydb.v1.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1.CreateBackupRequest other = + (com.google.cloud.alloydb.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +412,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateBackupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.CreateBackupRequest) com.google.cloud.alloydb.v1.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateBackupRequest.class, com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateBackupRequest.class, + com.google.cloud.alloydb.v1.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -519,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; } @java.lang.Override @@ -540,8 +586,11 @@ public com.google.cloud.alloydb.v1.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateBackupRequest result = new com.google.cloud.alloydb.v1.CreateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateBackupRequest result = + new com.google.cloud.alloydb.v1.CreateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +604,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateBackupRequest resul result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +618,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateBackupRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -610,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -658,39 +707,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +753,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +782,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +806,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +848,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +874,20 @@ public Builder setParentBytes( private java.lang.Object backupId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -816,20 +896,21 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -837,28 +918,35 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -868,17 +956,21 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -888,24 +980,35 @@ public Builder setBackupIdBytes( private com.google.cloud.alloydb.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1.Backup getBackup() { @@ -916,11 +1019,14 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { @@ -936,14 +1042,16 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -954,17 +1062,20 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -977,11 +1088,14 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1108,14 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1123,44 @@ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1043,6 +1168,8 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1187,13 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1202,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1221,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1236,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1255,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1288,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1298,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1317,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1332,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1350,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1370,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1387,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1399,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateBackupRequest) private static final com.google.cloud.alloydb.v1.CreateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateBackupRequest(); } @@ -1265,27 +1413,27 @@ public static com.google.cloud.alloydb.v1.CreateBackupRequest getDefaultInstance 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; @@ -1300,6 +1448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java index 9344bc9caf7f..f225ab48b0f0 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateBackupRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateBackupRequestOrBuilder extends +public interface CreateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ java.lang.String getBackupId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1.Backup getBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +135,13 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +159,21 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java index b436aa335717..f6d1feb0f661 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateClusterRequest} */ -public final class CreateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateClusterRequest) CreateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -27,34 +45,41 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateClusterRequest.class, com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateClusterRequest.class, + com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -144,11 +175,15 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -156,11 +191,15 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -168,11 +207,14 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -180,9 +222,12 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +245,7 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +254,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +280,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +299,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +308,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +317,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +361,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +377,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.cloud.alloydb.v1.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateClusterRequest other = (com.google.cloud.alloydb.v1.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1.CreateClusterRequest other = + (com.google.cloud.alloydb.v1.CreateClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +415,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateClusterRequest) com.google.cloud.alloydb.v1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateClusterRequest.class, com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateClusterRequest.class, + com.google.cloud.alloydb.v1.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +568,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -543,8 +589,11 @@ public com.google.cloud.alloydb.v1.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateClusterRequest result = new com.google.cloud.alloydb.v1.CreateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateClusterRequest result = + new com.google.cloud.alloydb.v1.CreateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +607,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateClusterRequest resu result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +621,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateClusterRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +661,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +710,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +756,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +786,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +811,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -783,18 +855,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +882,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -824,20 +904,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -845,28 +926,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -876,17 +964,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +988,55 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -944,14 +1052,16 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -962,17 +1072,20 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -985,11 +1098,14 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1118,14 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1133,46 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1051,6 +1180,8 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1199,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1214,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1233,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1248,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1267,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1300,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1310,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1329,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1344,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1355,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1363,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1372,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1384,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1393,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1402,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1414,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateClusterRequest) private static final com.google.cloud.alloydb.v1.CreateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateClusterRequest(); } @@ -1276,27 +1428,27 @@ public static com.google.cloud.alloydb.v1.CreateClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1463,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java index 07e809e266c2..12c4a87d2150 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateClusterRequestOrBuilder.java @@ -1,82 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateClusterRequestOrBuilder extends +public interface CreateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +137,13 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +161,14 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +176,7 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java index a7d7fa345d35..99ae9454bce8 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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,34 +45,41 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequest.class, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +142,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +175,15 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +191,47 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +249,7 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +258,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +284,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +303,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +312,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +321,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +333,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +365,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +381,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.cloud.alloydb.v1.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateInstanceRequest other = (com.google.cloud.alloydb.v1.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1.CreateInstanceRequest other = + (com.google.cloud.alloydb.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +419,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.CreateInstanceRequest) com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequest.class, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -522,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -543,8 +593,11 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateInstanceRequest result = new com.google.cloud.alloydb.v1.CreateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateInstanceRequest result = + new com.google.cloud.alloydb.v1.CreateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +611,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequest res result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +625,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +665,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +714,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +760,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +790,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +815,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +859,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +886,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +908,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +930,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +968,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +992,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1059,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1080,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1107,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1128,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1144,48 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1193,8 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1212,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1227,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1246,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1261,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1280,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1313,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1323,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1342,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1357,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1368,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1376,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1385,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1397,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1406,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1415,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateInstanceRequest(); } @@ -1276,27 +1441,27 @@ public static com.google.cloud.alloydb.v1.CreateInstanceRequest getDefaultInstan 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; @@ -1311,6 +1476,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java index cef46e0d8c13..000d71d10b0a 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestOrBuilder.java @@ -1,82 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +137,13 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +161,14 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +176,7 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java index 9f7b12a4424b..9c6e69caa978 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequests.java @@ -1,115 +1,157 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequests.class, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List createInstanceRequests_; /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index) { return createInstanceRequests_.get(index); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -136,8 +177,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, createInstanceRequests_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +189,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.cloud.alloydb.v1.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateInstanceRequests other = (com.google.cloud.alloydb.v1.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1.CreateInstanceRequests other = + (com.google.cloud.alloydb.v1.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList() - .equals(other.getCreateInstanceRequestsList())) return false; + if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,131 +220,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateInstanceRequests} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateInstanceRequests) com.google.cloud.alloydb.v1.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateInstanceRequests.class, com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateInstanceRequests.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -338,14 +385,18 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1.CreateInstanceRequests result = new com.google.cloud.alloydb.v1.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1.CreateInstanceRequests result = + new com.google.cloud.alloydb.v1.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.CreateInstanceRequests result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -365,38 +416,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateInstanceRequests re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequests)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateInstanceRequests) other); } else { super.mergeFrom(other); return this; @@ -404,7 +456,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateInstanceRequests.getDefaultInstance()) + return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -423,9 +476,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateInstanceRequests othe createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCreateInstanceRequestsFieldBuilder() : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCreateInstanceRequestsFieldBuilder() + : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -457,25 +511,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -485,29 +541,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List createInstanceRequests_ = - java.util.Collections.emptyList(); + private java.util.List + createInstanceRequests_ = java.util.Collections.emptyList(); + private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); + createInstanceRequests_ = + new java.util.ArrayList( + createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1.CreateInstanceRequest, + com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> + createInstanceRequestsBuilder_; /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -515,12 +583,16 @@ public java.util.List getCrea } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -530,12 +602,16 @@ public int getCreateInstanceRequestsCount() { } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -545,12 +621,16 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceReques } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest value) { @@ -567,12 +647,16 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -586,14 +670,19 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests( + com.google.cloud.alloydb.v1.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -607,12 +696,16 @@ public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1.CreateInsta return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest value) { @@ -629,12 +722,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -648,12 +745,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder builderForValue) { @@ -667,19 +768,22 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllCreateInstanceRequests( java.lang.Iterable values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -687,12 +791,16 @@ public Builder addAllCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -705,12 +813,16 @@ public Builder clearCreateInstanceRequests() { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -723,42 +835,55 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( - int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder + getCreateInstanceRequestsBuilder(int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); } else { + return createInstanceRequests_.get(index); + } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -766,48 +891,68 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInsta } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( - int index) { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder(int index) { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1.CreateInstanceRequest, + com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.CreateInstanceRequest, com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.CreateInstanceRequest, + com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -816,9 +961,9 @@ public com.google.cloud.alloydb.v1.CreateInstanceRequest.Builder addCreateInstan } return createInstanceRequestsBuilder_; } + @java.lang.Override - 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,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1.CreateInstanceRequests DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateInstanceRequests(); } @@ -842,27 +987,27 @@ public static com.google.cloud.alloydb.v1.CreateInstanceRequests getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -877,6 +1022,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..672975e9252a --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,93 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface CreateInstanceRequestsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List getCreateInstanceRequestsList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getCreateInstanceRequestsCount(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java index 36208a010804..a54d6019c664 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -/** - * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} - */ -public final class CreateSecondaryClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} */ +public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -23,34 +37,41 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -59,30 +80,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -91,14 +114,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -107,29 +134,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -140,11 +167,15 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -152,11 +183,15 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -164,11 +199,14 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -176,9 +214,12 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,6 +237,7 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -204,14 +246,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -229,16 +272,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -249,6 +291,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -256,6 +300,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -264,6 +309,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +321,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -308,15 +353,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -326,26 +369,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.cloud.alloydb.v1.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other = + (com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -368,135 +407,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1.CreateSecondaryClusterRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryClusterRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override @@ -535,8 +574,11 @@ public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest result = + new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -550,9 +592,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryClusterReq result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -566,38 +606,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryClusterReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +646,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -653,39 +695,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -695,23 +741,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -720,21 +771,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -742,30 +796,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string 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() { @@ -775,18 +840,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +867,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -816,20 +889,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -837,28 +911,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -868,17 +949,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -888,39 +973,55 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -936,14 +1037,16 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -954,17 +1057,20 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -977,11 +1083,14 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1103,14 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1118,46 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1043,6 +1165,8 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1184,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1199,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1218,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1233,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1252,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1285,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1295,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1314,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,8 +1329,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1202,6 +1340,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1209,6 +1348,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1216,6 +1357,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1227,6 +1369,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1234,6 +1378,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1242,9 +1387,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1254,12 +1399,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) private static final com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest(); } @@ -1268,27 +1413,27 @@ public static com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1303,6 +1448,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java index 3e59b06a5ca7..268b01419c32 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryClusterRequestOrBuilder.java @@ -1,82 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateSecondaryClusterRequestOrBuilder extends +public interface CreateSecondaryClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +137,13 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +161,14 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +176,7 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java index 5709830dea11..9ce8b2ba482e 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -27,34 +46,41 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +123,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +143,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +176,15 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +192,47 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +250,7 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +259,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +285,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +304,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +313,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +322,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +334,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +366,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +382,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.cloud.alloydb.v1.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other = + (com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) 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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +420,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateSecondaryInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override @@ -543,8 +595,11 @@ public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest result = + new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +613,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRe result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +627,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +667,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +716,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +762,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +792,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +817,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +861,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +888,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +910,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +932,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +970,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +994,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1061,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1082,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1109,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1130,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1146,48 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1195,8 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1214,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1229,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1248,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1263,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1282,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1315,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1325,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1344,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1359,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1370,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1378,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1387,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1399,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1408,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1417,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1429,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) private static final com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest(); } @@ -1276,27 +1443,27 @@ public static com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1478,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java index 1aad188052a3..6022078c5ac0 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,82 +1,125 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateSecondaryInstanceRequestOrBuilder extends +public interface CreateSecondaryInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +137,13 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +161,14 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +176,7 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java index 0431bb8e4ca2..cf9e8baabef2 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateUserRequest} */ -public final class CreateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.CreateUserRequest) CreateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -27,33 +45,40 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateUserRequest.class, com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateUserRequest.class, + com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int USER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ @java.lang.Override @@ -109,29 +140,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -142,11 +173,14 @@ public java.lang.String getUserId() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.User user_; /** + * + * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the user field is set. */ @java.lang.Override @@ -154,11 +188,14 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The user. */ @java.lang.Override @@ -166,6 +203,8 @@ public com.google.cloud.alloydb.v1.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being created
    * 
@@ -178,9 +217,12 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +240,7 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +249,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +275,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +294,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +311,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +323,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -309,15 +355,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +371,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.cloud.alloydb.v1.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.CreateUserRequest other = (com.google.cloud.alloydb.v1.CreateUserRequest) obj; + com.google.cloud.alloydb.v1.CreateUserRequest other = + (com.google.cloud.alloydb.v1.CreateUserRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getUserId() - .equals(other.getUserId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getUserId().equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; + if (!getUser().equals(other.getUser())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +409,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.CreateUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.CreateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.CreateUserRequest) com.google.cloud.alloydb.v1.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.CreateUserRequest.class, com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.CreateUserRequest.class, + com.google.cloud.alloydb.v1.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.CreateUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +562,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; } @java.lang.Override @@ -540,8 +583,11 @@ public com.google.cloud.alloydb.v1.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1.CreateUserRequest result = new com.google.cloud.alloydb.v1.CreateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.CreateUserRequest result = + new com.google.cloud.alloydb.v1.CreateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +601,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateUserRequest result) result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +615,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.CreateUserRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.CreateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.CreateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -658,39 +703,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +749,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +778,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +802,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +844,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +870,20 @@ public Builder setParentBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -816,20 +892,21 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -837,28 +914,35 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -868,17 +952,21 @@ public Builder clearUserId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -888,24 +976,35 @@ public Builder setUserIdBytes( private com.google.cloud.alloydb.v1.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1.User getUser() { @@ -916,11 +1015,14 @@ public com.google.cloud.alloydb.v1.User getUser() { } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { @@ -936,14 +1038,16 @@ public Builder setUser(com.google.cloud.alloydb.v1.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -954,17 +1058,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -977,11 +1084,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1104,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1119,44 @@ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1043,6 +1164,8 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1183,13 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1198,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1217,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1232,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1251,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1284,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1294,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1313,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1328,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1346,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1366,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1383,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1395,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.CreateUserRequest) private static final com.google.cloud.alloydb.v1.CreateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.CreateUserRequest(); } @@ -1265,27 +1409,27 @@ public static com.google.cloud.alloydb.v1.CreateUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,6 +1444,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java index f3f80f760b35..2f5fb8b2ccc1 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateUserRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface CreateUserRequestOrBuilder extends +public interface CreateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being created
    * 
* * .google.cloud.alloydb.v1.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The user. */ com.google.cloud.alloydb.v1.User getUser(); /** + * + * *
    * Required. The resource being created
    * 
@@ -75,6 +113,8 @@ public interface CreateUserRequestOrBuilder extends com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +132,13 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +156,21 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java index f02a09d9d8eb..e58efb871140 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DatabaseVersion.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1.DatabaseVersion} */ -public enum DatabaseVersion - implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * This is an unknown database version.
    * 
@@ -21,6 +39,8 @@ public enum DatabaseVersion */ DATABASE_VERSION_UNSPECIFIED(0), /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -30,6 +50,8 @@ public enum DatabaseVersion @java.lang.Deprecated POSTGRES_13(1), /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -41,6 +63,8 @@ public enum DatabaseVersion ; /** + * + * *
    * This is an unknown database version.
    * 
@@ -49,6 +73,8 @@ public enum DatabaseVersion */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -57,6 +83,8 @@ public enum DatabaseVersion */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -65,7 +93,6 @@ public enum DatabaseVersion */ public static final int POSTGRES_14_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,49 +117,49 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: return DATABASE_VERSION_UNSPECIFIED; - case 1: return POSTGRES_13; - case 2: return POSTGRES_14; - default: return null; + case 0: + return DATABASE_VERSION_UNSPECIFIED; + case 1: + return POSTGRES_13; + case 2: + return POSTGRES_14; + 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< - DatabaseVersion> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.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 DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion 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; @@ -148,4 +175,3 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.DatabaseVersion) } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java index e47ba19d4054..fb118f72e1b2 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteBackupRequest.class, com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -182,9 +216,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -192,6 +229,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -200,14 +238,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; } } /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -215,16 +254,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -233,6 +271,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,8 +312,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -288,21 +325,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.cloud.alloydb.v1.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteBackupRequest other = (com.google.cloud.alloydb.v1.DeleteBackupRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1.DeleteBackupRequest other = + (com.google.cloud.alloydb.v1.DeleteBackupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,8 +353,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -328,132 +361,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.DeleteBackupRequest) com.google.cloud.alloydb.v1.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteBackupRequest.class, com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -466,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -487,8 +524,11 @@ public com.google.cloud.alloydb.v1.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteBackupRequest result = new com.google.cloud.alloydb.v1.DeleteBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.DeleteBackupRequest result = + new com.google.cloud.alloydb.v1.DeleteBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteBackupRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +679,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +709,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +734,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string 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() { @@ -712,18 +778,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +805,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +824,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +839,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +858,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +873,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +892,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +925,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +935,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +954,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -883,14 +969,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -898,12 +987,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -915,12 +1007,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -932,6 +1027,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -939,13 +1036,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -954,6 +1051,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -961,15 +1060,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -977,6 +1075,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -984,18 +1084,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1003,6 +1107,7 @@ public Builder setEtag(
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1012,6 +1117,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1019,21 +1126,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1.DeleteBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteBackupRequest(); } @@ -1057,27 +1166,27 @@ public static com.google.cloud.alloydb.v1.DeleteBackupRequest getDefaultInstance 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; @@ -1092,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java index 0947d3af6bbe..ad776c568e8d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteBackupRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteBackupRequestOrBuilder extends +public interface DeleteBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,23 +98,28 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -92,10 +127,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -103,8 +141,8 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java index b3e232ba5df6..bc9a96bbce51 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteClusterRequest.class, com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,11 +273,14 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -248,6 +289,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -295,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,23 +349,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.cloud.alloydb.v1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteClusterRequest other = (com.google.cloud.alloydb.v1.DeleteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getForce() - != other.getForce()) return false; + com.google.cloud.alloydb.v1.DeleteClusterRequest other = + (com.google.cloud.alloydb.v1.DeleteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +380,144 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.DeleteClusterRequest) com.google.cloud.alloydb.v1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteClusterRequest.class, com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.DeleteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -515,8 +552,11 @@ public com.google.cloud.alloydb.v1.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteClusterRequest result = new com.google.cloud.alloydb.v1.DeleteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.DeleteClusterRequest result = + new com.google.cloud.alloydb.v1.DeleteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +584,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteClusterRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +624,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -631,37 +673,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,23 +719,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.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; @@ -696,21 +749,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -718,30 +774,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -751,18 +818,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -772,6 +845,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -789,13 +864,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -804,6 +879,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -821,15 +898,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -837,6 +913,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -854,18 +932,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -883,6 +965,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -892,6 +975,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -909,12 +994,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -924,6 +1011,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -931,13 +1020,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -946,6 +1035,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -953,15 +1044,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -969,6 +1059,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -976,18 +1068,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -995,6 +1091,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1004,6 +1101,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1011,12 +1110,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1024,14 +1125,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1039,12 +1143,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1056,12 +1163,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1071,13 +1181,16 @@ public Builder clearValidateOnly() { return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -1085,11 +1198,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1101,11 +1217,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1114,9 +1233,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1.DeleteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteClusterRequest(); } @@ -1140,27 +1259,27 @@ public static com.google.cloud.alloydb.v1.DeleteClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,6 +1294,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java index 48c59fced8c2..7ae5aa285dd0 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteClusterRequestOrBuilder extends +public interface DeleteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,28 +127,34 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java index c4978361251d..497756d8db5b 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1.DeleteInstanceRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1.DeleteInstanceRequest other = + (com.google.cloud.alloydb.v1.DeleteInstanceRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,142 @@ 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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.DeleteInstanceRequest) com.google.cloud.alloydb.v1.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -466,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -487,8 +524,11 @@ public com.google.cloud.alloydb.v1.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1.DeleteInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.DeleteInstanceRequest result = + new com.google.cloud.alloydb.v1.DeleteInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteInstanceRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +679,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +709,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +734,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -712,18 +778,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +805,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +824,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +839,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +858,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +873,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +892,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +925,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +935,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +954,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +971,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -892,13 +980,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +995,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -914,15 +1004,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1019,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -937,18 +1028,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -956,6 +1051,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1061,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -972,12 +1070,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1085,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1103,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1123,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1140,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteInstanceRequest(); } @@ -1057,27 +1166,27 @@ public static com.google.cloud.alloydb.v1.DeleteInstanceRequest getDefaultInstan 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; @@ -1092,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java index d8c3a03c4d70..fe198cb992f7 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteInstanceRequestOrBuilder extends +public interface DeleteInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -81,10 +113,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -92,18 +127,21 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java index 26bb6a2c8da2..814364224246 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteUserRequest} */ -public final class DeleteUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.DeleteUserRequest) DeleteUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteUserRequest.class, com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteUserRequest.class, + com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.DeleteUserRequest other = (com.google.cloud.alloydb.v1.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1.DeleteUserRequest other = + (com.google.cloud.alloydb.v1.DeleteUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.DeleteUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.DeleteUserRequest) com.google.cloud.alloydb.v1.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.DeleteUserRequest.class, com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1.DeleteUserRequest.class, + com.google.cloud.alloydb.v1.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.DeleteUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; } @java.lang.Override @@ -424,8 +458,11 @@ public com.google.cloud.alloydb.v1.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1.DeleteUserRequest result = new com.google.cloud.alloydb.v1.DeleteUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.DeleteUserRequest result = + new com.google.cloud.alloydb.v1.DeleteUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +484,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.DeleteUserRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.DeleteUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.DeleteUserRequest) other); } else { super.mergeFrom(other); return this; @@ -526,27 +564,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +598,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +628,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +653,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string 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() { @@ -636,18 +697,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +724,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +743,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +758,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +777,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +792,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +811,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +844,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +854,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +873,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +888,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +906,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +926,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +943,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.DeleteUserRequest) private static final com.google.cloud.alloydb.v1.DeleteUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.DeleteUserRequest(); } @@ -879,27 +969,27 @@ public static com.google.cloud.alloydb.v1.DeleteUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1004,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java index 41218093d823..ff78aa8d78bc 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/DeleteUserRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface DeleteUserRequestOrBuilder extends +public interface DeleteUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java index 063bd003a8ad..19e04b39dca1 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.EncryptionConfig.class, com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1.EncryptionConfig.class,
+            com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
+   *
+   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ @java.lang.Override @@ -63,14 +86,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -78,16 +102,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; + * * @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 { @@ -96,6 +119,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -132,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.EncryptionConfig other = (com.google.cloud.alloydb.v1.EncryptionConfig) obj; + com.google.cloud.alloydb.v1.EncryptionConfig other = + (com.google.cloud.alloydb.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; } @@ -159,99 +182,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.EncryptionConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.EncryptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionConfig)
       com.google.cloud.alloydb.v1.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.EncryptionConfig.class, com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1.EncryptionConfig.class,
+              com.google.cloud.alloydb.v1.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.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 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.alloydb.v1.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1.EncryptionConfig result = new com.google.cloud.alloydb.v1.EncryptionConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.EncryptionConfig result =
+          new com.google.cloud.alloydb.v1.EncryptionConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.EncryptionConfig result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1.EncryptionConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.EncryptionConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,17 +435,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              kmsKeyName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,10 +457,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
+     *
+     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -435,13 +471,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; + * * @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; @@ -450,6 +486,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -457,15 +495,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @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 { @@ -473,6 +510,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -480,18 +519,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -499,6 +542,7 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 1; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -508,6 +552,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -515,21 +561,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +587,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.EncryptionConfig) private static final com.google.cloud.alloydb.v1.EncryptionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.EncryptionConfig(); } @@ -553,27 +601,27 @@ public static com.google.cloud.alloydb.v1.EncryptionConfig getDefaultInstance() 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; @@ -588,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java similarity index 56% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java index 1c7437d1d420..2f37e28416ce 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java index 06f67c342475..9ecb078fbc88 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfo.java @@ -1,60 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.EncryptionInfo.class, com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1.EncryptionInfo.class, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); } /** + * + * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.EncryptionInfo.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -63,6 +84,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 will be populated. This is the default state.
@@ -72,6 +95,8 @@ public enum Type
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * The data is encrypted at rest with a key that is managed by the customer.
      * KMS key versions will be populated.
@@ -84,6 +109,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -92,6 +119,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 will be populated. This is the default state.
@@ -101,6 +130,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.
      * KMS key versions will be populated.
@@ -110,7 +141,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(
@@ -135,49 +165,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<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.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;
@@ -197,65 +227,93 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Output only. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1.EncryptionInfo.Type result = com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); + @java.lang.Override + public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); return result == null ? com.google.cloud.alloydb.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { return kmsKeyVersions_; } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -263,21 +321,26 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,9 +352,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -306,9 +369,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.cloud.alloydb.v1.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -326,16 +389,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.cloud.alloydb.v1.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.EncryptionInfo other = (com.google.cloud.alloydb.v1.EncryptionInfo) obj; + com.google.cloud.alloydb.v1.EncryptionInfo other = + (com.google.cloud.alloydb.v1.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList() - .equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,146 +421,149 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.EncryptionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.EncryptionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.EncryptionInfo) com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.EncryptionInfo.class, com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1.EncryptionInfo.class, + com.google.cloud.alloydb.v1.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; } @java.lang.Override @@ -516,8 +582,11 @@ public com.google.cloud.alloydb.v1.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1.EncryptionInfo result = new com.google.cloud.alloydb.v1.EncryptionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.EncryptionInfo result = + new com.google.cloud.alloydb.v1.EncryptionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -537,38 +606,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.EncryptionInfo result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1.EncryptionInfo)other); + return mergeFrom((com.google.cloud.alloydb.v1.EncryptionInfo) other); } else { super.mergeFrom(other); return this; @@ -616,23 +686,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + 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,26 +715,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -672,24 +757,35 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1.EncryptionInfo.Type result = com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); + com.google.cloud.alloydb.v1.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1.EncryptionInfo.Type.forNumber(encryptionType_); return result == null ? com.google.cloud.alloydb.v1.EncryptionInfo.Type.UNRECOGNIZED : result; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -703,11 +799,16 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1.EncryptionInfo.Type return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -719,6 +820,7 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -726,38 +828,52 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -765,33 +881,43 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyVersions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -799,18 +925,24 @@ public Builder setKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -818,53 +950,67 @@ public Builder addKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions( - java.lang.Iterable values) { + public Builder addAllKmsKeyVersions(java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -872,9 +1018,9 @@ public Builder addKmsKeyVersionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.EncryptionInfo) private static final com.google.cloud.alloydb.v1.EncryptionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.EncryptionInfo(); } @@ -898,27 +1044,27 @@ public static com.google.cloud.alloydb.v1.EncryptionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,6 +1079,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..3392eb6dd0e2 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public interface EncryptionInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType(); + + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the kmsKeyVersions. + */ + java.util.List getKmsKeyVersionsList(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); +} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java index 350898bf1193..952af620710d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1.FailoverInstanceRequest other = + (com.google.cloud.alloydb.v1.FailoverInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.FailoverInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.FailoverInstanceRequest) com.google.cloud.alloydb.v1.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.FailoverInstanceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -424,8 +458,11 @@ public com.google.cloud.alloydb.v1.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1.FailoverInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.FailoverInstanceRequest result = + new com.google.cloud.alloydb.v1.FailoverInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +484,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.FailoverInstanceRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.FailoverInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.FailoverInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -486,7 +524,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -526,27 +565,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +599,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +629,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +654,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -636,18 +698,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +725,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +744,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +759,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +778,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +793,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +812,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +845,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +855,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +874,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +889,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +907,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +927,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +944,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1.FailoverInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.FailoverInstanceRequest(); } @@ -879,27 +970,27 @@ public static com.google.cloud.alloydb.v1.FailoverInstanceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java index 2065fa58b27e..bd3f63286a61 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/FailoverInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface FailoverInstanceRequestOrBuilder extends +public interface FailoverInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java index 6fa3484bc85c..b0eac239aef3 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -28,34 +47,41 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class,
+            com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -64,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 name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,9 +124,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -116,6 +147,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -124,14 +156,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -149,16 +182,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -169,6 +201,8 @@ public java.lang.String getRequestId() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -177,7 +211,9 @@ public java.lang.String getRequestId() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ @java.lang.Override @@ -185,6 +221,8 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -193,14 +231,20 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -209,22 +253,29 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ @java.lang.Override @@ -233,29 +284,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -266,6 +317,8 @@ public java.lang.String getPublicKey() { public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; private boolean useMetadataExchange_ = false; /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -273,6 +326,7 @@ public java.lang.String getPublicKey() {
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -281,6 +335,7 @@ public boolean getUseMetadataExchange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,8 +347,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,15 +379,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } if (useMetadataExchange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, useMetadataExchange_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useMetadataExchange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -343,26 +395,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.cloud.alloydb.v1.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other = + (com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration() - .equals(other.getCertDuration())) return false; + if (!getCertDuration().equals(other.getCertDuration())) return false; } - if (!getPublicKey() - .equals(other.getPublicKey())) return false; - if (getUseMetadataExchange() - != other.getUseMetadataExchange()) return false; + if (!getPublicKey().equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -385,106 +433,111 @@ public int hashCode() { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseMetadataExchange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -492,33 +545,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class,
+              com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -536,13 +588,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -557,13 +610,17 @@ public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result =
+          new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.alloydb.v1.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -572,9 +629,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificate
         result.requestId_ = requestId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.certDuration_ = certDurationBuilder_ == null
-            ? certDuration_
-            : certDurationBuilder_.build();
+        result.certDuration_ =
+            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.publicKey_ = publicKey_;
@@ -588,38 +644,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificate
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,7 +684,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest other) {
-      if (other == com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -675,39 +734,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 34: {
-              input.readMessage(
-                  getCertDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            case 42: {
-              publicKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            case 48: {
-              useMetadataExchange_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 34:
+              {
+                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            case 42:
+              {
+                publicKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 42
+            case 48:
+              {
+                useMetadataExchange_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                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) {
@@ -717,23 +780,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -742,21 +810,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -764,30 +835,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -797,18 +879,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -818,6 +906,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -835,13 +925,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -850,6 +940,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -867,15 +959,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -883,6 +974,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -900,18 +993,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -929,6 +1026,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -938,6 +1036,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -955,12 +1055,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -970,8 +1072,13 @@ public Builder setRequestIdBytes( private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + certDurationBuilder_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -980,13 +1087,17 @@ public Builder setRequestIdBytes(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -995,17 +1106,23 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1014,7 +1131,8 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1030,6 +1148,8 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1038,10 +1158,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCertDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1052,6 +1172,8 @@ public Builder setCertDuration( return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1060,13 +1182,14 @@ public Builder setCertDuration(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - certDuration_ != null && - certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && certDuration_ != null + && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1079,6 +1202,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1087,7 +1212,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1100,6 +1226,8 @@ public Builder clearCertDuration() { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1108,7 +1236,8 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000004; @@ -1116,6 +1245,8 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1124,17 +1255,21 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1143,17 +1278,21 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getCertDuration(), - getParentForChildren(), - isClean()); + certDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getCertDuration(), getParentForChildren(), isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1161,18 +1300,20 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1181,20 +1322,21 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1202,28 +1344,35 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKey_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1233,17 +1382,21 @@ public Builder clearPublicKey() { return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000008; @@ -1251,8 +1404,10 @@ public Builder setPublicKeyBytes( return this; } - private boolean useMetadataExchange_ ; + private boolean useMetadataExchange_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1260,6 +1415,7 @@ public Builder setPublicKeyBytes(
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -1267,6 +1423,8 @@ public boolean getUseMetadataExchange() { return useMetadataExchange_; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1274,6 +1432,7 @@ public boolean getUseMetadataExchange() {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The useMetadataExchange to set. * @return This builder for chaining. */ @@ -1285,6 +1444,8 @@ public Builder setUseMetadataExchange(boolean value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1292,6 +1453,7 @@ public Builder setUseMetadataExchange(boolean value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearUseMetadataExchange() { @@ -1300,9 +1462,9 @@ public Builder clearUseMetadataExchange() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1312,12 +1474,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1.GenerateClientCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.GenerateClientCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GenerateClientCertificateRequest(); } @@ -1326,27 +1489,27 @@ public static com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1361,6 +1524,4 @@ public com.google.protobuf.Parser getParserFor public com.google.cloud.alloydb.v1.GenerateClientCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java index fbb1731a7104..2e4ceba13d92 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GenerateClientCertificateRequestOrBuilder extends +public interface GenerateClientCertificateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -82,11 +114,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -95,11 +131,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -108,31 +148,39 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ java.lang.String getPublicKey(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString - getPublicKeyBytes(); + com.google.protobuf.ByteString getPublicKeyBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -140,6 +188,7 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ boolean getUseMetadataExchange(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java index 035c792274e1..2599a16789d0 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponse.java @@ -1,86 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateClientCertificateResponse() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { return pemCertificateChain_; } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -88,29 +119,36 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ @java.lang.Override @@ -119,29 +157,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -150,6 +188,7 @@ public java.lang.String getCaCert() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < pemCertificateChain_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pemCertificateChain_.getRaw(i)); } @@ -197,17 +235,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.cloud.alloydb.v1.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other = + (com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) obj; - if (!getPemCertificateChainList() - .equals(other.getPemCertificateChainList())) return false; - if (!getCaCert() - .equals(other.getCaCert())) return false; + if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; + if (!getCaCert().equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,149 +268,154 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GenerateClientCertificateResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance(); } @@ -388,13 +430,17 @@ public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result = + new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { pemCertificateChain_.makeImmutable(); @@ -409,38 +455,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GenerateClientCertificate public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.GenerateClientCertificateResponse) other); } else { super.mergeFrom(other); return this; @@ -448,7 +495,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.GenerateClientCertificateResponse other) { - if (other == com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance()) + return this; if (!other.pemCertificateChain_.isEmpty()) { if (pemCertificateChain_.isEmpty()) { pemCertificateChain_ = other.pemCertificateChain_; @@ -490,23 +539,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: + { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,10 +568,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -527,38 +581,49 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -566,33 +631,41 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateChain(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000001; @@ -600,18 +673,23 @@ public Builder setPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000001; @@ -619,53 +697,64 @@ public Builder addPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain( - java.lang.Iterable values) { + public Builder addAllPemCertificateChain(java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -676,18 +765,20 @@ public Builder addPemCertificateChainBytes( private java.lang.Object caCert_ = ""; /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -696,20 +787,21 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -717,28 +809,35 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCert(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } caCert_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -748,26 +847,30 @@ public Builder clearCaCert() { return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCertBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -777,12 +880,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1.GenerateClientCertificateResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.GenerateClientCertificateResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GenerateClientCertificateResponse(); } @@ -791,27 +895,27 @@ public static com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -826,6 +930,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java index 0fa68065c2a3..73d18b1923e6 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GenerateClientCertificateResponseOrBuilder.java @@ -1,74 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GenerateClientCertificateResponseOrBuilder extends +public interface GenerateClientCertificateResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - java.util.List - getPemCertificateChainList(); + java.util.List getPemCertificateChainList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString - getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString getPemCertificateChainBytes(int index); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ java.lang.String getCaCert(); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - com.google.protobuf.ByteString - getCaCertBytes(); + com.google.protobuf.ByteString getCaCertBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java similarity index 61% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java index d88f6a87be2e..6d0aee031ce0 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetBackupRequest.class, com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.GetBackupRequest.class, + com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.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 @@ -60,29 +85,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 resource
    * 
* - * string name = 1 [(.google.api.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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -127,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.cloud.alloydb.v1.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetBackupRequest other = (com.google.cloud.alloydb.v1.GetBackupRequest) obj; + com.google.cloud.alloydb.v1.GetBackupRequest other = + (com.google.cloud.alloydb.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; } @@ -154,132 +181,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetBackupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetBackupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.GetBackupRequest) com.google.cloud.alloydb.v1.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetBackupRequest.class, com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.GetBackupRequest.class, + com.google.cloud.alloydb.v1.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -289,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; } @java.lang.Override @@ -310,8 +341,11 @@ public com.google.cloud.alloydb.v1.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.GetBackupRequest result = new com.google.cloud.alloydb.v1.GetBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GetBackupRequest result = + new com.google.cloud.alloydb.v1.GetBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +361,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetBackupRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.GetBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -398,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +455,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.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; @@ -442,20 +484,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.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 { @@ -463,28 +508,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -494,26 +550,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetBackupRequest) private static final com.google.cloud.alloydb.v1.GetBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetBackupRequest(); } @@ -537,27 +599,27 @@ public static com.google.cloud.alloydb.v1.GetBackupRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -572,6 +634,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..1c4a29c2ba01 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface GetBackupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java index 63b3eb4244b8..0bd7dc41e4ae 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetClusterRequest.class, com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.GetClusterRequest.class, + com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,32 +123,44 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1.ClusterView getView() { - com.google.cloud.alloydb.v1.ClusterView result = com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1.ClusterView getView() { + com.google.cloud.alloydb.v1.ClusterView result = + com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +172,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -154,8 +192,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,15 +202,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.cloud.alloydb.v1.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetClusterRequest other = (com.google.cloud.alloydb.v1.GetClusterRequest) obj; + com.google.cloud.alloydb.v1.GetClusterRequest other = + (com.google.cloud.alloydb.v1.GetClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -195,132 +232,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetClusterRequest) com.google.cloud.alloydb.v1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetClusterRequest.class, com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.GetClusterRequest.class, + com.google.cloud.alloydb.v1.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; } @java.lang.Override @@ -352,8 +393,11 @@ public com.google.cloud.alloydb.v1.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.GetClusterRequest result = new com.google.cloud.alloydb.v1.GetClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GetClusterRequest result = + new com.google.cloud.alloydb.v1.GetClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -372,38 +416,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetClusterRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -446,22 +491,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -471,23 +519,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,21 +549,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -518,30 +574,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -551,18 +618,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -572,24 +645,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -600,26 +684,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterView getView() { - com.google.cloud.alloydb.v1.ClusterView result = com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1.ClusterView result = + com.google.cloud.alloydb.v1.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.ClusterView.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -633,12 +728,17 @@ public Builder setView(com.google.cloud.alloydb.v1.ClusterView value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -647,9 +747,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -659,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetClusterRequest) private static final com.google.cloud.alloydb.v1.GetClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetClusterRequest(); } @@ -673,27 +773,27 @@ public static com.google.cloud.alloydb.v1.GetClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,6 +808,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java index f8c20cc1956c..6bd6d01b8949 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetClusterRequestOrBuilder.java @@ -1,51 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetClusterRequestOrBuilder extends +public interface GetClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * .google.cloud.alloydb.v1.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.alloydb.v1.ClusterView getView(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java index f5e273c66135..ff199f3c84e1 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +196,7 @@ public java.lang.String getRequestId() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -207,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.cloud.alloydb.v1.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1.GetConnectionInfoRequest other = + (com.google.cloud.alloydb.v1.GetConnectionInfoRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,131 +269,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetConnectionInfoRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetConnectionInfoRequest) com.google.cloud.alloydb.v1.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetConnectionInfoRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -395,8 +429,11 @@ public com.google.cloud.alloydb.v1.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GetConnectionInfoRequest result = + new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -415,38 +452,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetConnectionInfoRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetConnectionInfoRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.GetConnectionInfoRequest) other); } else { super.mergeFrom(other); return this; @@ -454,7 +492,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -491,22 +530,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,23 +558,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.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; @@ -541,21 +588,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -563,30 +613,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string 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() { @@ -596,18 +657,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -617,6 +684,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -634,13 +703,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -649,6 +718,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,15 +737,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -682,6 +752,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -699,18 +771,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -728,6 +804,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -737,6 +814,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -754,21 +833,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +859,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1.GetConnectionInfoRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetConnectionInfoRequest(); } @@ -792,27 +873,27 @@ public static com.google.cloud.alloydb.v1.GetConnectionInfoRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +908,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java index 192bee19127a..4746efd2f69d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetConnectionInfoRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetConnectionInfoRequestOrBuilder extends +public interface GetConnectionInfoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,8 +98,8 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java index 484c174cc575..94cf4488eb2c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetInstanceRequest.class, com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.GetInstanceRequest.class, + com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,30 +123,40 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1.InstanceView getView() { - com.google.cloud.alloydb.v1.InstanceView result = com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1.InstanceView getView() { + com.google.cloud.alloydb.v1.InstanceView result = + com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,8 +168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -152,8 +188,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,15 +198,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.cloud.alloydb.v1.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetInstanceRequest other = (com.google.cloud.alloydb.v1.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1.GetInstanceRequest other = + (com.google.cloud.alloydb.v1.GetInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -193,132 +228,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetInstanceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.GetInstanceRequest) com.google.cloud.alloydb.v1.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetInstanceRequest.class, com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.GetInstanceRequest.class, + com.google.cloud.alloydb.v1.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -329,9 +368,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; } @java.lang.Override @@ -350,8 +389,11 @@ public com.google.cloud.alloydb.v1.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.GetInstanceRequest result = new com.google.cloud.alloydb.v1.GetInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GetInstanceRequest result = + new com.google.cloud.alloydb.v1.GetInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -370,38 +412,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetInstanceRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -444,22 +487,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,23 +515,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,21 +545,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -516,30 +570,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -549,18 +614,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -570,22 +641,29 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -596,24 +674,31 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceView getView() { - com.google.cloud.alloydb.v1.InstanceView result = com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1.InstanceView result = + com.google.cloud.alloydb.v1.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1.InstanceView.UNRECOGNIZED : result; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -627,11 +712,14 @@ public Builder setView(com.google.cloud.alloydb.v1.InstanceView value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { @@ -640,9 +728,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -652,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetInstanceRequest) private static final com.google.cloud.alloydb.v1.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetInstanceRequest(); } @@ -666,27 +754,27 @@ public static com.google.cloud.alloydb.v1.GetInstanceRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -701,6 +789,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java index 932b8add83ae..147f8cb943dd 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetInstanceRequestOrBuilder.java @@ -1,49 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface GetInstanceRequestOrBuilder extends +public interface GetInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1.InstanceView view = 2; + * * @return The view. */ com.google.cloud.alloydb.v1.InstanceView getView(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java index 144d18186fb5..fa8c838000e2 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetUserRequest} */ -public final class GetUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.GetUserRequest) GetUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetUserRequest.class, com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1.GetUserRequest.class, + com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.GetUserRequest other = (com.google.cloud.alloydb.v1.GetUserRequest) obj; + com.google.cloud.alloydb.v1.GetUserRequest other = + (com.google.cloud.alloydb.v1.GetUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.GetUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.GetUserRequest) com.google.cloud.alloydb.v1.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.GetUserRequest.class, com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1.GetUserRequest.class, + com.google.cloud.alloydb.v1.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.GetUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.alloydb.v1.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1.GetUserRequest result = new com.google.cloud.alloydb.v1.GetUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.GetUserRequest result = + new com.google.cloud.alloydb.v1.GetUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.GetUserRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.GetUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.GetUserRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.GetUserRequest) private static final com.google.cloud.alloydb.v1.GetUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.GetUserRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.alloydb.v1.GetUserRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..4fa7bcbce764 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public interface GetUserRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java index 5785a0fe248d..ba3074460d5c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.InjectFaultRequest} */ -public final class InjectFaultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.InjectFaultRequest) InjectFaultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -27,25 +45,28 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.InjectFaultRequest.class, com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1.InjectFaultRequest.class, + com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); } /** + * + * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -53,9 +74,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.InjectFaultRequest.FaultType}
    */
-  public enum FaultType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The fault type is unknown.
      * 
@@ -64,6 +86,8 @@ public enum FaultType */ FAULT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Stop the VM
      * 
@@ -75,6 +99,8 @@ public enum FaultType ; /** + * + * *
      * The fault type is unknown.
      * 
@@ -83,6 +109,8 @@ public enum FaultType */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Stop the VM
      * 
@@ -91,7 +119,6 @@ public enum FaultType */ public static final int STOP_VM_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,48 +143,47 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: return FAULT_TYPE_UNSPECIFIED; - case 1: return STOP_VM; - default: return null; + case 0: + return FAULT_TYPE_UNSPECIFIED; + case 1: + return STOP_VM; + 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< - FaultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FaultType findValueByNumber(int number) { - return FaultType.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 FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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; @@ -177,39 +203,60 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -218,30 +265,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -250,9 +299,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -270,6 +322,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -278,14 +331,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -303,16 +357,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -323,6 +376,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -330,6 +385,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -338,6 +394,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,9 +406,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (faultType_ != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (faultType_ + != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -372,9 +430,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, faultType_); + if (faultType_ + != com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -383,8 +442,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,20 +452,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.cloud.alloydb.v1.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.InjectFaultRequest other = (com.google.cloud.alloydb.v1.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1.InjectFaultRequest other = + (com.google.cloud.alloydb.v1.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,139 +482,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.InjectFaultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.InjectFaultRequest) com.google.cloud.alloydb.v1.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.InjectFaultRequest.class, com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1.InjectFaultRequest.class, + com.google.cloud.alloydb.v1.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.InjectFaultRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +630,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; } @java.lang.Override @@ -592,8 +651,11 @@ public com.google.cloud.alloydb.v1.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1.InjectFaultRequest result = new com.google.cloud.alloydb.v1.InjectFaultRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.InjectFaultRequest result = + new com.google.cloud.alloydb.v1.InjectFaultRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -618,38 +680,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.InjectFaultRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.InjectFaultRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.InjectFaultRequest) other); } else { super.mergeFrom(other); return this; @@ -700,32 +763,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,26 +803,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int faultType_ = 0; /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -765,24 +845,37 @@ public Builder setFaultTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The faultType to set. * @return This builder for chaining. */ @@ -796,11 +889,16 @@ public Builder setFaultType(com.google.cloud.alloydb.v1.InjectFaultRequest.Fault return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFaultType() { @@ -812,19 +910,23 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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; @@ -833,21 +935,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -855,30 +960,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -888,18 +1004,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -909,6 +1031,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,13 +1050,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -941,6 +1065,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -958,15 +1084,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -974,6 +1099,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -991,18 +1118,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1020,6 +1151,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1029,6 +1161,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1046,12 +1180,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1059,8 +1195,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1068,6 +1206,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,6 +1214,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1082,6 +1223,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1093,6 +1235,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1100,6 +1244,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1108,9 +1253,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1265,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.InjectFaultRequest) private static final com.google.cloud.alloydb.v1.InjectFaultRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.InjectFaultRequest(); } @@ -1134,27 +1279,27 @@ public static com.google.cloud.alloydb.v1.InjectFaultRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1314,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java index 8a39b031e1e6..f5fbcafa828e 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InjectFaultRequestOrBuilder.java @@ -1,54 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface InjectFaultRequestOrBuilder extends +public interface InjectFaultRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ com.google.cloud.alloydb.v1.InjectFaultRequest.FaultType getFaultType(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -66,10 +103,13 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -87,12 +127,14 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -100,6 +142,7 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java index 8eab7dfbf6a6..59494203cf80 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/Instance.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = "";
     displayName_ = "";
@@ -35,20 +53,18 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_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();
@@ -57,28 +73,33 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.Instance.class, com.google.cloud.alloydb.v1.Instance.Builder.class);
+            com.google.cloud.alloydb.v1.Instance.class,
+            com.google.cloud.alloydb.v1.Instance.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -87,6 +108,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The instance is active and running.
      * 
@@ -95,6 +118,8 @@ public enum State */ READY(1), /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -103,6 +128,8 @@ public enum State */ STOPPED(2), /** + * + * *
      * The instance is being created.
      * 
@@ -111,6 +138,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -127,6 +158,8 @@ public enum State */ MAINTENANCE(5), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -138,6 +171,8 @@ public enum State
      */
     FAILED(6),
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -149,6 +184,8 @@ public enum State
      */
     BOOTSTRAPPING(8),
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -160,6 +197,8 @@ public enum State ; /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -168,6 +207,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The instance is active and running.
      * 
@@ -176,6 +217,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -184,6 +227,8 @@ public enum State */ public static final int STOPPED_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -192,6 +237,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -200,6 +247,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -208,6 +257,8 @@ public enum State */ public static final int MAINTENANCE_VALUE = 5; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -219,6 +270,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 6;
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -230,6 +283,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -238,7 +293,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -263,55 +317,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return CREATING; - case 4: return DELETING; - case 5: return MAINTENANCE; - case 6: return FAILED; - case 8: return BOOTSTRAPPING; - case 9: return PROMOTING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return CREATING; + case 4: + return DELETING; + case 5: + return MAINTENANCE; + case 6: + return FAILED; + case 8: + return BOOTSTRAPPING; + case 9: + return PROMOTING; + 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.cloud.alloydb.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; @@ -329,15 +389,18 @@ private State(int value) { } /** + * + * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.Instance.InstanceType} */ - public enum InstanceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the instance is unknown.
      * 
@@ -346,6 +409,8 @@ public enum InstanceType */ INSTANCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -354,6 +419,8 @@ public enum InstanceType */ PRIMARY(1), /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -366,6 +433,8 @@ public enum InstanceType
      */
     READ_POOL(2),
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -378,6 +447,8 @@ public enum InstanceType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the instance is unknown.
      * 
@@ -386,6 +457,8 @@ public enum InstanceType */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -394,6 +467,8 @@ public enum InstanceType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -406,6 +481,8 @@ public enum InstanceType
      */
     public static final int READ_POOL_VALUE = 2;
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -415,7 +492,6 @@ public enum InstanceType
      */
     public static final int SECONDARY_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -440,50 +516,51 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0: return INSTANCE_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return READ_POOL;
-        case 3: return SECONDARY;
-        default: return null;
+        case 0:
+          return INSTANCE_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return READ_POOL;
+        case 3:
+          return SECONDARY;
+        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<
-        InstanceType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public InstanceType findValueByNumber(int number) {
-              return InstanceType.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 InstanceType findValueByNumber(int number) {
+            return InstanceType.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.cloud.alloydb.v1.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -501,6 +578,8 @@ private InstanceType(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -512,9 +591,10 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.Instance.AvailabilityType}
    */
-  public enum AvailabilityType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown Availability type.
      * 
@@ -523,6 +603,8 @@ public enum AvailabilityType */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Zonal available instance.
      * 
@@ -531,6 +613,8 @@ public enum AvailabilityType */ ZONAL(1), /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -542,6 +626,8 @@ public enum AvailabilityType ; /** + * + * *
      * This is an unknown Availability type.
      * 
@@ -550,6 +636,8 @@ public enum AvailabilityType */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Zonal available instance.
      * 
@@ -558,6 +646,8 @@ public enum AvailabilityType */ public static final int ZONAL_VALUE = 1; /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -566,7 +656,6 @@ public enum AvailabilityType */ public static final int REGIONAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -591,39 +680,42 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: return ZONAL; - case 2: return REGIONAL; - default: return null; + case 0: + return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: + return ZONAL; + case 2: + return REGIONAL; + 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< - AvailabilityType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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 AvailabilityType findValueByNumber(int number) { + return AvailabilityType.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.cloud.alloydb.v1.Instance.getDescriptor().getEnumTypes().get(2); } @@ -632,8 +724,7 @@ public AvailabilityType findValueByNumber(int number) { public static AvailabilityType 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; @@ -650,67 +741,77 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder extends + public interface MachineConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ int getCpuCount(); } /** + * + * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.MachineConfig} */ - public static final class MachineConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MachineConfig() { - } + + private MachineConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.MachineConfig.class, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -719,6 +820,7 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -730,8 +832,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -745,8 +846,7 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -756,15 +856,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.cloud.alloydb.v1.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.MachineConfig other = (com.google.cloud.alloydb.v1.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1.Instance.MachineConfig other = + (com.google.cloud.alloydb.v1.Instance.MachineConfig) obj; - if (getCpuCount() - != other.getCpuCount()) return false; + if (getCpuCount() != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -784,89 +884,93 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -876,39 +980,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.MachineConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.MachineConfig) com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.MachineConfig.class, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.MachineConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -918,9 +1024,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -939,8 +1045,11 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.MachineConfig result = new com.google.cloud.alloydb.v1.Instance.MachineConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.Instance.MachineConfig result = + new com.google.cloud.alloydb.v1.Instance.MachineConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -956,38 +1065,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.MachineConfig re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.MachineConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.MachineConfig) other); } else { super.mergeFrom(other); return this; @@ -995,7 +1107,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) + return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1025,17 +1138,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1045,15 +1160,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int cpuCount_ ; + private int cpuCount_; /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -1061,11 +1180,14 @@ public int getCpuCount() { return cpuCount_; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1077,11 +1199,14 @@ public Builder setCpuCount(int value) { return this; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1090,6 +1215,7 @@ public Builder clearCpuCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1102,12 +1228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1.Instance.MachineConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.MachineConfig(); } @@ -1116,27 +1242,28 @@ public static com.google.cloud.alloydb.v1.Instance.MachineConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,74 +1278,91 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NodeOrBuilder extends + public interface NodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.Node) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ java.lang.String getZoneId(); /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString - getZoneIdBytes(); + com.google.protobuf.ByteString getZoneIdBytes(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ java.lang.String getIp(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ - com.google.protobuf.ByteString - getIpBytes(); + com.google.protobuf.ByteString getIpBytes(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1227,10 +1371,13 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The state. */ java.lang.String getState(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1239,12 +1386,14 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); } /** + * + * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1253,15 +1402,16 @@ public interface NodeOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1.Instance.Node}
    */
-  public static final class Node extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Node extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.Node)
       NodeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1271,33 +1421,38 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Instance.Node.class, com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1.Instance.Node.class,
+              com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
+     *
+     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ @java.lang.Override @@ -1306,29 +1461,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1337,14 +1492,18 @@ public java.lang.String getZoneId() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -1353,29 +1512,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1384,14 +1543,18 @@ public java.lang.String getId() { } public static final int IP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ @java.lang.Override @@ -1400,29 +1563,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -1431,9 +1594,12 @@ public java.lang.String getIp() { } public static final int STATE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1442,6 +1608,7 @@ public java.lang.String getIp() {
      * 
* * string state = 4; + * * @return The state. */ @java.lang.Override @@ -1450,14 +1617,15 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1466,16 +1634,15 @@ public java.lang.String getState() {
      * 
* * string state = 4; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1484,6 +1651,7 @@ public java.lang.String getState() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1495,8 +1663,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1538,21 +1705,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.cloud.alloydb.v1.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.Node other = (com.google.cloud.alloydb.v1.Instance.Node) obj; + com.google.cloud.alloydb.v1.Instance.Node other = + (com.google.cloud.alloydb.v1.Instance.Node) obj; - if (!getZoneId() - .equals(other.getZoneId())) return false; - if (!getId() - .equals(other.getId())) return false; - if (!getIp() - .equals(other.getIp())) return false; - if (!getState() - .equals(other.getState())) return false; + if (!getZoneId().equals(other.getZoneId())) return false; + if (!getId().equals(other.getId())) return false; + if (!getIp().equals(other.getIp())) return false; + if (!getState().equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1577,90 +1741,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.Node parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1670,6 +1838,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1678,33 +1848,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1.Instance.Node}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.Node)
         com.google.cloud.alloydb.v1.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1.Instance.Node.class, com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1.Instance.Node.class,
+                com.google.cloud.alloydb.v1.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1.Instance.Node.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1717,9 +1887,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1738,8 +1908,11 @@ public com.google.cloud.alloydb.v1.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1.Instance.Node result = new com.google.cloud.alloydb.v1.Instance.Node(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1.Instance.Node result =
+            new com.google.cloud.alloydb.v1.Instance.Node(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1764,38 +1937,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.Node result) {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1.Instance.Node)other);
+          return mergeFrom((com.google.cloud.alloydb.v1.Instance.Node) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1850,32 +2026,37 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                ip_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                state_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  zoneId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  id_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  ip_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  state_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1885,22 +2066,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
+       *
+       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -1909,20 +2093,21 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1930,28 +2115,35 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -1961,17 +2153,21 @@ public Builder clearZoneId() { return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -1981,18 +2177,20 @@ public Builder setZoneIdBytes( private java.lang.Object id_ = ""; /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2001,20 +2199,21 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2022,28 +2221,35 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -2053,17 +2259,21 @@ public Builder clearId() { return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2073,18 +2283,20 @@ public Builder setIdBytes( private java.lang.Object ip_ = ""; /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2093,20 +2305,21 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The bytes for ip. */ - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -2114,28 +2327,35 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return This builder for chaining. */ public Builder clearIp() { @@ -2145,17 +2365,21 @@ public Builder clearIp() { return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2165,6 +2389,8 @@ public Builder setIpBytes( private java.lang.Object state_ = ""; /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2173,13 +2399,13 @@ public Builder setIpBytes(
        * 
* * string state = 4; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2188,6 +2414,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2196,15 +2424,14 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -2212,6 +2439,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2220,18 +2449,22 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2240,6 +2473,7 @@ public Builder setState(
        * 
* * string state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2249,6 +2483,8 @@ public Builder clearState() { return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2257,18 +2493,21 @@ public Builder clearState() {
        * 
* * string state = 4; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2281,12 +2520,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.Node) private static final com.google.cloud.alloydb.v1.Instance.Node DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.Node(); } @@ -2295,27 +2534,28 @@ public static com.google.cloud.alloydb.v1.Instance.Node getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2330,67 +2570,84 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QueryInsightsInstanceConfigOrBuilder extends + public interface QueryInsightsInstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ int getQueryStringLength(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2398,10 +2655,13 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2409,59 +2669,67 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** + * + * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryInsightsInstanceConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryInsightsInstanceConfig() { - } + + private QueryInsightsInstanceConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2469,12 +2737,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -2485,12 +2756,15 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2498,12 +2772,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -2514,12 +2791,15 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -2530,6 +2810,8 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2537,6 +2819,7 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2544,6 +2827,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2551,6 +2836,7 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2559,6 +2845,7 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2570,8 +2857,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2594,20 +2880,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2617,29 +2899,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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other = + (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() - != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() - != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() - != other.getQueryStringLength()) return false; + if (getQueryStringLength() != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() - != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2654,13 +2933,11 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2674,89 +2951,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + 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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2766,39 +3049,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder.class); } - // Construct using com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.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(); @@ -2811,14 +3097,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + .getDefaultInstance(); } @java.lang.Override @@ -2832,13 +3120,17 @@ public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig build() @java.lang.Override public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result = + new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -2863,46 +3155,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.QueryInsightsIns public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig)other); + return mergeFrom( + (com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig other) { + if (other + == com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -2941,32 +3240,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -2976,16 +3280,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean recordApplicationTags_ ; + private boolean recordApplicationTags_; /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2993,12 +3301,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -3006,12 +3317,15 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3023,12 +3337,15 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3038,14 +3355,17 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_ ; + private boolean recordClientAddress_; /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3053,12 +3373,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -3066,12 +3389,15 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3083,12 +3409,15 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3098,14 +3427,17 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_ ; + private int queryStringLength_; /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -3113,12 +3445,15 @@ public int getQueryStringLength() { return queryStringLength_; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3130,12 +3465,15 @@ public Builder setQueryStringLength(int value) { return this; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3145,8 +3483,10 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_ ; + private int queryPlansPerMinute_; /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3154,6 +3494,7 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3161,6 +3502,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3168,6 +3511,7 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3175,6 +3519,8 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3182,6 +3528,7 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3193,6 +3540,8 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3200,6 +3549,7 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3208,6 +3558,7 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3220,41 +3571,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3266,73 +3620,83 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadPoolConfigOrBuilder extends + public interface ReadPoolConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ int getNodeCount(); } /** + * + * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadPoolConfig() { - } + + private ReadPoolConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3341,6 +3705,7 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3352,8 +3717,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3367,8 +3731,7 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3378,15 +3741,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.cloud.alloydb.v1.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other = + (com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) obj; - if (getNodeCount() - != other.getNodeCount()) return false; + if (getNodeCount() != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3406,89 +3769,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3498,39 +3866,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ReadPoolConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3540,9 +3910,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3561,8 +3931,11 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig result = + new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3578,38 +3951,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.ReadPoolConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.ReadPoolConfig) other); } else { super.mergeFrom(other); return this; @@ -3617,7 +3993,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) + return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -3647,17 +4024,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3667,15 +4046,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3683,11 +4066,14 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -3699,11 +4085,14 @@ public Builder setNodeCount(int value) { return this; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -3712,6 +4101,7 @@ public Builder clearNodeCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3724,12 +4114,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1.Instance.ReadPoolConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.ReadPoolConfig(); } @@ -3738,27 +4128,28 @@ public static com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3773,99 +4164,122 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ClientConnectionConfigOrBuilder extends + public interface ClientConnectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ boolean getRequireConnectors(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ com.google.cloud.alloydb.v1.SslConfig getSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder(); } /** + * + * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClientConnectionConfig() { - } + + private ClientConnectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -3876,11 +4290,16 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.SslConfig sslConfig_; /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -3888,30 +4307,44 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3923,8 +4356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -3941,12 +4373,10 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3956,19 +4386,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.cloud.alloydb.v1.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other = + (com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() - != other.getRequireConnectors()) return false; + if (getRequireConnectors() != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3982,8 +4411,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -3994,89 +4422,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4086,39 +4519,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.Instance.ClientConnectionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4133,13 +4568,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance(); } @@ -4154,21 +4590,23 @@ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result = + new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null - ? sslConfig_ - : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); } } @@ -4176,38 +4614,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance.ClientConnection public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.Instance.ClientConnectionConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig) other); } else { super.mergeFrom(other); return this; @@ -4215,7 +4656,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig other) { - if (other == com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) + return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -4248,24 +4691,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSslConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4275,16 +4719,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean requireConnectors_ ; + private boolean requireConnectors_; /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -4292,12 +4740,15 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -4309,12 +4760,15 @@ public Builder setRequireConnectors(boolean value) { return this; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -4326,39 +4780,58 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> sslConfigBuilder_; + com.google.cloud.alloydb.v1.SslConfig, + com.google.cloud.alloydb.v1.SslConfig.Builder, + com.google.cloud.alloydb.v1.SslConfigOrBuilder> + sslConfigBuilder_; /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ public com.google.cloud.alloydb.v1.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -4374,14 +4847,17 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setSslConfig( - com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { + public Builder setSslConfig(com.google.cloud.alloydb.v1.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -4392,17 +4868,21 @@ public Builder setSslConfig( return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -4415,11 +4895,15 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1.SslConfig value) { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -4432,11 +4916,15 @@ public Builder clearSslConfig() { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -4444,40 +4932,53 @@ public com.google.cloud.alloydb.v1.SslConfig.Builder getSslConfigBuilder() { return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder> + com.google.cloud.alloydb.v1.SslConfig, + com.google.cloud.alloydb.v1.SslConfig.Builder, + com.google.cloud.alloydb.v1.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SslConfig, com.google.cloud.alloydb.v1.SslConfig.Builder, com.google.cloud.alloydb.v1.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SslConfig, + com.google.cloud.alloydb.v1.SslConfig.Builder, + com.google.cloud.alloydb.v1.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4490,12 +4991,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig(); } @@ -4504,27 +5006,28 @@ public static com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4539,13 +5042,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -4559,6 +5064,7 @@ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getDefaultIns
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -4567,14 +5073,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -4588,16 +5095,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -4606,14 +5112,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -4622,29 +5132,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; } } /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -4653,15 +5163,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -4670,30 +5184,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -4704,11 +5218,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -4716,11 +5234,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -4728,11 +5250,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -4742,11 +5267,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -4754,11 +5283,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -4766,11 +5299,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -4780,11 +5316,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -4792,11 +5332,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -4804,11 +5348,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -4816,32 +5363,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -4849,20 +5398,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -4874,6 +5424,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -4881,17 +5433,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -4899,11 +5453,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -4913,64 +5467,93 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Instance.State getState() { - com.google.cloud.alloydb.v1.Instance.State result = com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.State getState() { + com.google.cloud.alloydb.v1.Instance.State result = + com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1.Instance.InstanceType result = + com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1.Instance.MachineConfig machineConfig_; /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -4978,19 +5561,26 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -5000,12 +5590,16 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
-    return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+    return machineConfig_ == null
+        ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()
+        : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5016,12 +5610,16 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5032,17 +5630,25 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1.Instance.AvailabilityType result = com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED + : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5053,6 +5659,7 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ @java.lang.Override @@ -5061,14 +5668,15 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5079,16 +5687,15 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -5097,32 +5704,36 @@ public java.lang.String getGceZone() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; + private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5143,20 +5754,21 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsDatabaseFlags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5181,6 +5793,8 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5201,17 +5815,19 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5232,11 +5848,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5246,12 +5862,17 @@ public java.lang.String getDatabaseFlagsOrThrow(
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1.Instance.Node writableNode_;
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ @java.lang.Override @@ -5259,105 +5880,142 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.Node getWritableNode() { - return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() + : writableNode_; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() + : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private java.util.List nodes_; /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { return nodes_.get(index); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -5365,38 +6023,53 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1.Instance.ReadPoolConfig readPoolConfig_; /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -5404,19 +6077,26 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
@@ -5426,19 +6106,25 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() {
-    return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_;
+    return readPoolConfig_ == null
+        ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()
+        : readPoolConfig_;
   }
 
   public static final int IP_ADDRESS_FIELD_NUMBER = 15;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object ipAddress_ = "";
   /**
+   *
+   *
    * 
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -5447,30 +6133,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -5481,6 +6167,8 @@ public java.lang.String getIpAddress() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -5490,6 +6178,7 @@ public java.lang.String getIpAddress() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -5498,14 +6187,18 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ @java.lang.Override @@ -5514,29 +6207,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @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 { @@ -5545,32 +6238,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_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.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -5580,20 +6276,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -5607,6 +6304,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -5616,17 +6315,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -5636,11 +6337,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5650,11 +6351,16 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -5662,30 +6368,45 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5697,8 +6418,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5717,33 +6437,29 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + if (instanceType_ + != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + if (availabilityType_ + != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDatabaseFlags(), - DatabaseFlagsDefaultEntryHolder.defaultEntry, - 13); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -5756,12 +6472,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 18); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -5793,95 +6505,88 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, instanceType_); + if (instanceType_ + != com.google.cloud.alloydb.v1.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, availabilityType_); + if (availabilityType_ + != com.google.cloud.alloydb.v1.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry - : internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry - databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry : + internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry databaseFlags__ = + DatabaseFlagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getQueryInsightsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); } if (clientConnectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getClientConnectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5891,77 +6596,58 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.Instance)) { return super.equals(obj); } com.google.cloud.alloydb.v1.Instance other = (com.google.cloud.alloydb.v1.Instance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig() - .equals(other.getMachineConfig())) return false; + if (!getMachineConfig().equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone() - .equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals( - other.internalGetDatabaseFlags())) return false; + if (!getGceZone().equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode() - .equals(other.getWritableNode())) return false; + if (!getWritableNode().equals(other.getWritableNode())) return false; } - if (!getNodesList() - .equals(other.getNodesList())) return false; + if (!getNodesList().equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig() - .equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig() - .equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig() - .equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6031,8 +6717,7 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -6048,99 +6733,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Instance parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1.Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -6148,18 +6837,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.Instance)
       com.google.cloud.alloydb.v1.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_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();
@@ -6168,13 +6856,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 18:
           return internalGetAnnotations();
         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();
@@ -6183,28 +6870,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.Instance.class, com.google.cloud.alloydb.v1.Instance.Builder.class);
+              com.google.cloud.alloydb.v1.Instance.class,
+              com.google.cloud.alloydb.v1.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.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();
@@ -6273,9 +6959,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -6296,7 +6982,9 @@ public com.google.cloud.alloydb.v1.Instance build() {
     public com.google.cloud.alloydb.v1.Instance buildPartial() {
       com.google.cloud.alloydb.v1.Instance result = new com.google.cloud.alloydb.v1.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -6325,19 +7013,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -6350,9 +7032,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ = machineConfigBuilder_ == null
-            ? machineConfig_
-            : machineConfigBuilder_.build();
+        result.machineConfig_ =
+            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -6365,19 +7046,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ = writableNodeBuilder_ == null
-            ? writableNode_
-            : writableNodeBuilder_.build();
+        result.writableNode_ =
+            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
-            ? queryInsightsConfig_
-            : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ =
+            queryInsightsConfigBuilder_ == null
+                ? queryInsightsConfig_
+                : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ = readPoolConfigBuilder_ == null
-            ? readPoolConfig_
-            : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ =
+            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -6393,9 +7073,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
-            ? clientConnectionConfig_
-            : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ =
+            clientConnectionConfigBuilder_ == null
+                ? clientConnectionConfig_
+                : clientConnectionConfigBuilder_.build();
       }
     }
 
@@ -6403,38 +7084,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.Instance result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1.Instance)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.Instance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6467,8 +7149,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -6487,8 +7168,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(
-          other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -6511,9 +7191,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodesFieldBuilder() : null;
+            nodesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodesFieldBuilder()
+                    : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -6538,8 +7219,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasClientConnectionConfig()) {
         mergeClientConnectionConfig(other.getClientConnectionConfig());
@@ -6570,158 +7250,172 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 72: {
-              instanceType_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getMachineConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 88: {
-              availabilityType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 88
-            case 98: {
-              gceZone_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 98
-            case 106: {
-              com.google.protobuf.MapEntry
-              databaseFlags__ = input.readMessage(
-                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableDatabaseFlags().getMutableMap().put(
-                  databaseFlags__.getKey(), databaseFlags__.getValue());
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getReadPoolConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 114
-            case 122: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 122
-            case 128: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 128
-            case 138: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 138
-            case 146: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getWritableNodeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 154
-            case 162: {
-              com.google.cloud.alloydb.v1.Instance.Node m =
-                  input.readMessage(
-                      com.google.cloud.alloydb.v1.Instance.Node.parser(),
-                      extensionRegistry);
-              if (nodesBuilder_ == null) {
-                ensureNodesIsMutable();
-                nodes_.add(m);
-              } else {
-                nodesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getQueryInsightsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 170
-            case 186: {
-              input.readMessage(
-                  getClientConnectionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 186
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 72:
+              {
+                instanceType_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 88:
+              {
+                availabilityType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 88
+            case 98:
+              {
+                gceZone_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.protobuf.MapEntry databaseFlags__ =
+                    input.readMessage(
+                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableDatabaseFlags()
+                    .getMutableMap()
+                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 114
+            case 122:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 122
+            case 128:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 128
+            case 138:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 138
+            case 146:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.cloud.alloydb.v1.Instance.Node m =
+                    input.readMessage(
+                        com.google.cloud.alloydb.v1.Instance.Node.parser(), extensionRegistry);
+                if (nodesBuilder_ == null) {
+                  ensureNodesIsMutable();
+                  nodes_.add(m);
+                } else {
+                  nodesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(
+                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 170
+            case 186:
+              {
+                input.readMessage(
+                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 186
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6731,10 +7425,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -6748,13 +7445,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -6763,6 +7460,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -6776,15 +7475,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -6792,6 +7490,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -6805,18 +7505,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -6830,6 +7534,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -6839,6 +7544,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -6852,12 +7559,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6867,18 +7576,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -6887,20 +7598,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -6908,28 +7620,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -6939,17 +7658,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -6959,19 +7682,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -6980,21 +7705,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -7002,30 +7728,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -7035,18 +7768,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7056,39 +7793,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -7104,14 +7860,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7122,17 +7881,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7145,11 +7908,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7162,11 +7929,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -7174,36 +7945,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -7211,39 +7994,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -7259,14 +8061,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -7277,17 +8082,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -7300,11 +8109,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -7317,11 +8130,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -7329,36 +8146,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -7366,39 +8195,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -7414,14 +8262,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -7432,17 +8283,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -7455,11 +8310,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -7472,11 +8331,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -7484,56 +8347,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -7542,10 +8415,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -7553,20 +8429,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -7578,6 +8455,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -7585,17 +8464,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -7603,95 +8484,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -7702,24 +8596,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.State getState() { - com.google.cloud.alloydb.v1.Instance.State result = com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1.Instance.State result = + com.google.cloud.alloydb.v1.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1.Instance.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -7733,11 +8638,16 @@ public Builder setState(com.google.cloud.alloydb.v1.Instance.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -7749,22 +8659,33 @@ public Builder clearState() { private int instanceType_ = 0; /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -7775,24 +8696,37 @@ public Builder setInstanceTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1.Instance.InstanceType result = com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); - return result == null ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.Instance.InstanceType result = + com.google.cloud.alloydb.v1.Instance.InstanceType.forNumber(instanceType_); + return result == null + ? com.google.cloud.alloydb.v1.Instance.InstanceType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The instanceType to set. * @return This builder for chaining. */ @@ -7806,11 +8740,16 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1.Instance.InstanceType return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -7822,36 +8761,49 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> machineConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.MachineConfig, + com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, + com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> + machineConfigBuilder_; /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ public com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7873,6 +8825,8 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineConf
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7892,6 +8846,8 @@ public Builder setMachineConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7901,9 +8857,10 @@ public Builder setMachineConfig(
      */
     public Builder mergeMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0) &&
-          machineConfig_ != null &&
-          machineConfig_ != com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0)
+            && machineConfig_ != null
+            && machineConfig_
+                != com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -7916,6 +8873,8 @@ public Builder mergeMachineConfig(com.google.cloud.alloydb.v1.Instance.MachineCo
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7934,6 +8893,8 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7947,6 +8908,8 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder getMachineConf
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7958,11 +8921,14 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null ?
-            com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+        return machineConfig_ == null
+            ? com.google.cloud.alloydb.v1.Instance.MachineConfig.getDefaultInstance()
+            : machineConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -7971,14 +8937,17 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
      * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder> 
+            com.google.cloud.alloydb.v1.Instance.MachineConfig,
+            com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder,
+            com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.Instance.MachineConfig, com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(),
-                getParentForChildren(),
-                isClean());
+        machineConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1.Instance.MachineConfig,
+                com.google.cloud.alloydb.v1.Instance.MachineConfig.Builder,
+                com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(), getParentForChildren(), isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -7986,6 +8955,8 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
 
     private int availabilityType_ = 0;
     /**
+     *
+     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -7996,12 +8967,16 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8012,6 +8987,7 @@ public com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineCon
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -8022,6 +8998,8 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8032,14 +9010,20 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1.Instance.AvailabilityType result = com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1.Instance.AvailabilityType.UNRECOGNIZED + : result; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8050,10 +9034,12 @@ public com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType(com.google.cloud.alloydb.v1.Instance.AvailabilityType value) { + public Builder setAvailabilityType( + com.google.cloud.alloydb.v1.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -8063,6 +9049,8 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1.Instance.Availabi return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8073,6 +9061,7 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1.Instance.Availabi
      * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -8084,6 +9073,8 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8094,13 +9085,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; + * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -8109,6 +9100,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8119,15 +9112,14 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -8135,6 +9127,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8145,18 +9139,22 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8167,6 +9165,7 @@ public Builder setGceZone(
      * 
* * string gce_zone = 12; + * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -8176,6 +9175,8 @@ public Builder clearGceZone() { return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8186,12 +9187,14 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -8199,8 +9202,8 @@ public Builder setGceZoneBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -8209,11 +9212,12 @@ public Builder setGceZoneBytes( } return databaseFlags_; } + private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = com.google.protobuf.MapField.newMapField( - DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = + com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -8222,10 +9226,13 @@ public Builder setGceZoneBytes( onChanged(); return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8246,20 +9253,21 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getDatabaseFlagsMap()} instead.
-     */
+    /** Use {@link #getDatabaseFlagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8284,6 +9292,8 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8304,17 +9314,19 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8335,23 +9347,25 @@ java.lang.String getDatabaseFlagsOrDefault(
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .clear();
+      internalGetMutableDatabaseFlags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8371,23 +9385,22 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .remove(key);
+    public Builder removeDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableDatabaseFlags() {
+    public java.util.Map getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8407,17 +9420,20 @@ public Builder removeDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .put(key, value);
+    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -8437,52 +9453,69 @@ public Builder putDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(
-        java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .putAll(values);
+    public Builder putAllDatabaseFlags(java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> writableNodeBuilder_;
+            com.google.cloud.alloydb.v1.Instance.Node,
+            com.google.cloud.alloydb.v1.Instance.Node.Builder,
+            com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>
+        writableNodeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ public com.google.cloud.alloydb.v1.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() + : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -8498,12 +9531,16 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode( com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -8517,18 +9554,22 @@ public Builder setWritableNode( return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - writableNode_ != null && - writableNode_ != com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && writableNode_ != null + && writableNode_ != com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -8541,12 +9582,16 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1.Instance.Node value return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -8559,12 +9604,16 @@ public Builder clearWritableNode() { return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -8572,62 +9621,82 @@ public com.google.cloud.alloydb.v1.Instance.Node.Builder getWritableNodeBuilder( return getWritableNodeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null ? - com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance() + : writableNode_; } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1.Instance.Node, + com.google.cloud.alloydb.v1.Instance.Node.Builder, + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( - getWritableNode(), - getParentForChildren(), - isClean()); + writableNodeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.Node, + com.google.cloud.alloydb.v1.Instance.Node.Builder, + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( + getWritableNode(), getParentForChildren(), isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> nodesBuilder_; + com.google.cloud.alloydb.v1.Instance.Node, + com.google.cloud.alloydb.v1.Instance.Node.Builder, + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> + nodesBuilder_; /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -8637,12 +9706,16 @@ public java.util.List getNodesList() } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -8652,12 +9725,16 @@ public int getNodesCount() { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -8667,15 +9744,18 @@ public com.google.cloud.alloydb.v1.Instance.Node getNodes(int index) { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNodes( - int index, com.google.cloud.alloydb.v1.Instance.Node value) { + public Builder setNodes(int index, com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8689,12 +9769,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNodes( int index, com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -8708,12 +9792,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { @@ -8729,15 +9817,18 @@ public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node value) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addNodes( - int index, com.google.cloud.alloydb.v1.Instance.Node value) { + public Builder addNodes(int index, com.google.cloud.alloydb.v1.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8751,15 +9842,18 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addNodes( - com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { + public Builder addNodes(com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); @@ -8770,12 +9864,16 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes( int index, com.google.cloud.alloydb.v1.Instance.Node.Builder builderForValue) { @@ -8789,19 +9887,22 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -8809,12 +9910,16 @@ public Builder addAllNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -8827,12 +9932,16 @@ public Builder clearNodes() { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -8845,42 +9954,53 @@ public Builder removeNodes(int index) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.Instance.Node.Builder getNodesBuilder( - int index) { + public com.google.cloud.alloydb.v1.Instance.Node.Builder getNodesBuilder(int index) { return getNodesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); } else { + return nodes_.get(index); + } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -8888,52 +10008,65 @@ public com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder( - int index) { - return getNodesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder(int index) { + return getNodesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesBuilderList() { + public java.util.List getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1.Instance.Node, + com.google.cloud.alloydb.v1.Instance.Node.Builder, + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.Node, com.google.cloud.alloydb.v1.Instance.Node.Builder, com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( - nodes_, - ((bitField0_ & 0x00004000) != 0), - getParentForChildren(), - isClean()); + nodesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.Node, + com.google.cloud.alloydb.v1.Instance.Node.Builder, + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder>( + nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; @@ -8941,41 +10074,62 @@ public com.google.cloud.alloydb.v1.Instance.Node.Builder addNodesBuilder( private com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> + queryInsightsConfigBuilder_; /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig( + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8989,11 +10143,15 @@ public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.Query return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder setQueryInsightsConfig( com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { @@ -9007,17 +10165,24 @@ public Builder setQueryInsightsConfig( return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig( + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - queryInsightsConfig_ != null && - queryInsightsConfig_ != com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && queryInsightsConfig_ != null + && queryInsightsConfig_ + != com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -9030,11 +10195,15 @@ public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1.Instance.Que return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -9047,48 +10216,66 @@ public Builder clearQueryInsightsConfig() { return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder + getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null ? - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), - getParentForChildren(), - isClean()); + queryInsightsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), getParentForChildren(), isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -9096,36 +10283,49 @@ public com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder private com.google.cloud.alloydb.v1.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> + readPoolConfigBuilder_; /** + * + * *
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
      * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** + * + * *
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9147,6 +10347,8 @@ public Builder setReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPoolCo
       return this;
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9166,6 +10368,8 @@ public Builder setReadPoolConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9175,9 +10379,10 @@ public Builder setReadPoolConfig(
      */
     public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPoolConfig value) {
       if (readPoolConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00010000) != 0) &&
-          readPoolConfig_ != null &&
-          readPoolConfig_ != com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00010000) != 0)
+            && readPoolConfig_ != null
+            && readPoolConfig_
+                != com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()) {
           getReadPoolConfigBuilder().mergeFrom(value);
         } else {
           readPoolConfig_ = value;
@@ -9190,6 +10395,8 @@ public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1.Instance.ReadPool
       return this;
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9208,6 +10415,8 @@ public Builder clearReadPoolConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9221,6 +10430,8 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder getReadPoolCo
       return getReadPoolConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9228,15 +10439,19 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder getReadPoolCo
      *
      * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;
      */
-    public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder
+        getReadPoolConfigOrBuilder() {
       if (readPoolConfigBuilder_ != null) {
         return readPoolConfigBuilder_.getMessageOrBuilder();
       } else {
-        return readPoolConfig_ == null ?
-            com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_;
+        return readPoolConfig_ == null
+            ? com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.getDefaultInstance()
+            : readPoolConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Read pool instance configuration.
      * This is required if the value of instanceType is READ_POOL.
@@ -9245,14 +10460,17 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolC
      * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder> 
+            com.google.cloud.alloydb.v1.Instance.ReadPoolConfig,
+            com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder,
+            com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder>
         getReadPoolConfigFieldBuilder() {
       if (readPoolConfigBuilder_ == null) {
-        readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder>(
-                getReadPoolConfig(),
-                getParentForChildren(),
-                isClean());
+        readPoolConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1.Instance.ReadPoolConfig,
+                com.google.cloud.alloydb.v1.Instance.ReadPoolConfig.Builder,
+                com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder>(
+                getReadPoolConfig(), getParentForChildren(), isClean());
         readPoolConfig_ = null;
       }
       return readPoolConfigBuilder_;
@@ -9260,19 +10478,21 @@ public com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolC
 
     private java.lang.Object ipAddress_ = "";
     /**
+     *
+     *
      * 
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -9281,21 +10501,22 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -9303,30 +10524,37 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -9336,18 +10564,22 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -9355,8 +10587,10 @@ public Builder setIpAddressBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -9366,6 +10600,7 @@ public Builder setIpAddressBytes(
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -9373,6 +10608,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -9382,6 +10619,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -9393,6 +10631,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -9402,6 +10642,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -9413,18 +10654,20 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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; @@ -9433,20 +10676,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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 { @@ -9454,28 +10698,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -9485,17 +10736,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -9503,8 +10758,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -9513,11 +10768,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -9526,10 +10782,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9539,20 +10798,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9566,6 +10826,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9575,17 +10837,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9595,23 +10859,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9620,23 +10886,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9645,17 +10910,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -9664,51 +10932,69 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
+            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig,
+            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder,
+            com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>
+        clientConnectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig( + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9722,11 +11008,15 @@ public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1.Instance.Cl return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -9740,17 +11030,24 @@ public Builder setClientConnectionConfig( return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig( + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - clientConnectionConfig_ != null && - clientConnectionConfig_ != com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && clientConnectionConfig_ != null + && clientConnectionConfig_ + != com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig + .getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -9763,11 +11060,15 @@ public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1.Instance. return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00200000); @@ -9780,55 +11081,73 @@ public Builder clearClientConnectionConfig() { return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder + getClientConnectionConfigBuilder() { bitField0_ |= 0x00200000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null ? - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), - getParentForChildren(), - isClean()); + clientConnectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), getParentForChildren(), isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9838,12 +11157,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.Instance) private static final com.google.cloud.alloydb.v1.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.Instance(); } @@ -9852,27 +11171,27 @@ public static com.google.cloud.alloydb.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; @@ -9887,6 +11206,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java index bae29a203055..f5c76c7d23e9 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -21,10 +39,13 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -38,135 +59,180 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface InstanceOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,79 +273,108 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1.Instance.State getState(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ com.google.cloud.alloydb.v1.Instance.InstanceType getInstanceType(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ com.google.cloud.alloydb.v1.Instance.MachineConfig getMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -289,6 +385,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.alloydb.v1.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -299,10 +397,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -313,11 +414,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ com.google.cloud.alloydb.v1.Instance.AvailabilityType getAvailabilityType(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -328,10 +432,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ java.lang.String getGceZone(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -342,12 +449,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString - getGceZoneBytes(); + com.google.protobuf.ByteString getGceZoneBytes(); /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -369,6 +478,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getDatabaseFlagsCount();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -388,15 +499,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(
-      java.lang.String key);
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  boolean containsDatabaseFlags(java.lang.String key);
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getDatabaseFlags();
+  java.util.Map getDatabaseFlags();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -416,9 +525,10 @@ boolean containsDatabaseFlags(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map
-  getDatabaseFlagsMap();
+  java.util.Map getDatabaseFlagsMap();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -439,11 +549,13 @@ boolean containsDatabaseFlags(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -463,136 +575,187 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ com.google.cloud.alloydb.v1.Instance.Node getWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getNodesList(); + java.util.List getNodesList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1.Instance.Node getNodes(int index); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getNodesCount(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getNodesOrBuilderList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder( - int index); + com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(int index); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * .google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder(); /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
    * 
* * .google.cloud.alloydb.v1.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1.Instance.ReadPoolConfig getReadPoolConfig(); /** + * + * *
    * Read pool instance configuration.
    * This is required if the value of instanceType is READ_POOL.
@@ -603,28 +766,35 @@ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(
   com.google.cloud.alloydb.v1.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -634,31 +804,39 @@ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -669,6 +847,8 @@ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -677,15 +857,13 @@ com.google.cloud.alloydb.v1.Instance.NodeOrBuilder getNodesOrBuilder(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -694,9 +872,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -706,11 +885,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -719,33 +900,47 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1.Instance.ClientConnectionConfig getClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java index 32152cdc8d5f..bad7e3cb0354 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/InstanceView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1.InstanceView}
  */
-public enum InstanceView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum InstanceView */ INSTANCE_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -32,6 +52,8 @@ public enum InstanceView
    */
   INSTANCE_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -44,6 +66,8 @@ public enum InstanceView
   ;
 
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -52,6 +76,8 @@ public enum InstanceView */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -62,6 +88,8 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -71,7 +99,6 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -96,49 +123,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0: return INSTANCE_VIEW_UNSPECIFIED;
-      case 1: return INSTANCE_VIEW_BASIC;
-      case 2: return INSTANCE_VIEW_FULL;
-      default: return null;
+      case 0:
+        return INSTANCE_VIEW_UNSPECIFIED;
+      case 1:
+        return INSTANCE_VIEW_BASIC;
+      case 2:
+        return INSTANCE_VIEW_FULL;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      InstanceView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceView findValueByNumber(int number) {
-            return InstanceView.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 InstanceView findValueByNumber(int number) {
+          return InstanceView.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.cloud.alloydb.v1.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,4 +181,3 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.InstanceView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
similarity index 68%
rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
index b1e84c986178..1b6031e6983b 100644
--- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1/service.proto
 
 package com.google.cloud.alloydb.v1;
 
 /**
+ *
+ *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsRequest.class, com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsRequest.class, + com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Filtering results
    * 
* * 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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListBackupsRequest other = (com.google.cloud.alloydb.v1.ListBackupsRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListBackupsRequest other = + (com.google.cloud.alloydb.v1.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,132 +392,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListBackupsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListBackupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsRequest) com.google.cloud.alloydb.v1.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsRequest.class, com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsRequest.class, + com.google.cloud.alloydb.v1.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1.ListBackupsRequest result = new com.google.cloud.alloydb.v1.ListBackupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ListBackupsRequest result = + new com.google.cloud.alloydb.v1.ListBackupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListBackupsRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsRequest) other); } else { super.mergeFrom(other); return this; @@ -633,37 +678,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +724,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +753,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +777,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string 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() { @@ -749,17 +819,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +843,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +861,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +881,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +901,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -836,20 +923,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -857,28 +945,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +983,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1007,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * 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; @@ -928,20 +1029,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * 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 { @@ -949,28 +1051,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1089,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1113,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1135,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1157,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1195,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListBackupsRequest) private static final com.google.cloud.alloydb.v1.ListBackupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListBackupsRequest(); } @@ -1115,27 +1242,27 @@ public static com.google.cloud.alloydb.v1.ListBackupsRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1277,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java index 361ffb5fa661..e1199f3a50ec 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListBackupsRequestOrBuilder extends +public interface ListBackupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java index b43844555a68..3f86f48fbd62 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsResponse.class, com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsResponse.class, + com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List backups_; /** + * + * *
    * The list of Backup
    * 
@@ -61,6 +82,8 @@ public java.util.List getBackupsList() { return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -68,11 +91,13 @@ public java.util.List getBackupsList() { * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -84,6 +109,8 @@ public int getBackupsCount() { return backups_.size(); } /** + * + * *
    * The list of Backup
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { return backups_.get(index); } /** + * + * *
    * The list of Backup
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListBackupsResponse other = (com.google.cloud.alloydb.v1.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1.ListBackupsResponse other = + (com.google.cloud.alloydb.v1.ListBackupsResponse) obj; - if (!getBackupsList() - .equals(other.getBackupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getBackupsList().equals(other.getBackupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,132 +341,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListBackupsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListBackupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListBackupsResponse) com.google.cloud.alloydb.v1.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListBackupsResponse.class, com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListBackupsResponse.class, + com.google.cloud.alloydb.v1.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1.ListBackupsResponse result = new com.google.cloud.alloydb.v1.ListBackupsResponse(this); + com.google.cloud.alloydb.v1.ListBackupsResponse result = + new com.google.cloud.alloydb.v1.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListBackupsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListBackupsResponse resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListBackupsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance()) + return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListBackupsResponse other) backupsBuilder_ = null; backups_ = other.backups_; bitField0_ = (bitField0_ & ~0x00000001); - backupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getBackupsFieldBuilder() : null; + backupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getBackupsFieldBuilder() + : null; } else { backupsBuilder_.addAllMessages(other.backups_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1.Backup.parser(), - extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1.Backup.parser(), extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,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.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupsBuilder_; + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> + backupsBuilder_; /** + * + * *
      * The list of Backup
      * 
@@ -675,6 +735,8 @@ public java.util.List getBackupsList() { } } /** + * + * *
      * The list of Backup
      * 
@@ -689,6 +751,8 @@ public int getBackupsCount() { } } /** + * + * *
      * The list of Backup
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1.Backup getBackups(int index) { } } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder setBackups( - int index, com.google.cloud.alloydb.v1.Backup value) { + public Builder setBackups(int index, com.google.cloud.alloydb.v1.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -742,6 +809,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -762,14 +831,15 @@ public Builder addBackups(com.google.cloud.alloydb.v1.Backup value) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder addBackups( - int index, com.google.cloud.alloydb.v1.Backup value) { + public Builder addBackups(int index, com.google.cloud.alloydb.v1.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public Builder addBackups( - com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder addBackups(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -819,6 +892,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -829,8 +904,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); @@ -838,6 +912,8 @@ public Builder addAllBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -855,6 +931,8 @@ public Builder clearBackups() { return this; } /** + * + * *
      * The list of Backup
      * 
@@ -872,39 +950,44 @@ public Builder removeBackups(int index) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.Backup.Builder getBackupsBuilder( - int index) { + public com.google.cloud.alloydb.v1.Backup.Builder getBackupsBuilder(int index) { return getBackupsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.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 Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( } } /** + * + * *
      * The list of Backup
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); + return getBackupsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder( - int index) { - return getBackupsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder(int index) { + return getBackupsFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - public java.util.List - getBackupsBuilderList() { + public java.util.List getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( - backups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + backupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder>( + backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); backups_ = null; } return backupsBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1.Backup.Builder addBackupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListBackupsResponse) private static final com.google.cloud.alloydb.v1.ListBackupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListBackupsResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1.ListBackupsResponse getDefaultInstance 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; @@ -1259,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java index fecd09e11c26..b515008806e5 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListBackupsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListBackupsResponseOrBuilder extends +public interface ListBackupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - java.util.List - getBackupsList(); + java.util.List getBackupsList(); /** + * + * *
    * The list of Backup
    * 
@@ -25,6 +44,8 @@ public interface ListBackupsResponseOrBuilder extends */ com.google.cloud.alloydb.v1.Backup getBackups(int index); /** + * + * *
    * The list of Backup
    * 
@@ -33,82 +54,99 @@ public interface ListBackupsResponseOrBuilder extends */ int getBackupsCount(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - java.util.List - getBackupsOrBuilderList(); + java.util.List getBackupsOrBuilderList(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1.Backup backups = 1; */ - com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder( - int index); + com.google.cloud.alloydb.v1.BackupOrBuilder getBackupsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java index e30f9ceb4ae0..d2201b17caf2 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersRequest} */ -public final class ListClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListClustersRequest) ListClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,28 +46,32 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersRequest.class, com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListClustersRequest.class, + com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -81,17 +107,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,14 +146,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,29 +166,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -163,14 +197,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -179,29 +217,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -210,14 +248,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -226,29 +268,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -257,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,8 +340,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_); @@ -318,23 +359,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.cloud.alloydb.v1.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListClustersRequest other = (com.google.cloud.alloydb.v1.ListClustersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListClustersRequest other = + (com.google.cloud.alloydb.v1.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -361,132 +398,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListClustersRequest) com.google.cloud.alloydb.v1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersRequest.class, com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListClustersRequest.class, + com.google.cloud.alloydb.v1.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListClustersRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersRequest_descriptor; } @java.lang.Override @@ -521,8 +562,11 @@ public com.google.cloud.alloydb.v1.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1.ListClustersRequest result = new com.google.cloud.alloydb.v1.ListClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ListClustersRequest result = + new com.google.cloud.alloydb.v1.ListClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -550,38 +594,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListClustersRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListClustersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -589,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -639,37 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,10 +731,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -690,14 +745,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.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; @@ -706,6 +763,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -713,16 +772,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.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 { @@ -730,6 +790,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -737,19 +799,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -757,7 +825,10 @@ public Builder setParent(
      *  * projects/{project}/locations/-
      * 
* - * string 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() { @@ -767,6 +838,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -774,13 +847,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,14 +865,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -803,12 +883,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -820,12 +903,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,18 +923,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -857,20 +945,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -878,28 +967,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -909,17 +1005,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -929,18 +1029,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -949,20 +1051,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -970,28 +1073,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1001,17 +1111,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1021,18 +1135,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1041,20 +1157,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1062,28 +1179,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1093,26 +1217,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1250,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListClustersRequest) private static final com.google.cloud.alloydb.v1.ListClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListClustersRequest(); } @@ -1136,27 +1264,27 @@ public static com.google.cloud.alloydb.v1.ListClustersRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1171,6 +1299,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java index aa4aa7b9aab3..5d3593305402 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListClustersRequestOrBuilder extends +public interface ListClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -15,11 +33,16 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -27,80 +50,100 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java index dab1b5c1f38a..d827df57185b 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersResponse.class, com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListClustersResponse.class, + com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List clusters_; /** + * + * *
    * The list of Cluster
    * 
@@ -61,6 +82,8 @@ public java.util.List getClustersList() { return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -68,11 +91,13 @@ public java.util.List getClustersList() { * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -84,6 +109,8 @@ public int getClustersCount() { return clusters_.size(); } /** + * + * *
    * The list of Cluster
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { return clusters_.get(index); } /** + * + * *
    * The list of Cluster
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListClustersResponse other = (com.google.cloud.alloydb.v1.ListClustersResponse) obj; + com.google.cloud.alloydb.v1.ListClustersResponse other = + (com.google.cloud.alloydb.v1.ListClustersResponse) obj; - if (!getClustersList() - .equals(other.getClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getClustersList().equals(other.getClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,132 +341,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListClustersResponse) com.google.cloud.alloydb.v1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListClustersResponse.class, com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListClustersResponse.class, + com.google.cloud.alloydb.v1.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1.ListClustersResponse result = new com.google.cloud.alloydb.v1.ListClustersResponse(this); + com.google.cloud.alloydb.v1.ListClustersResponse result = + new com.google.cloud.alloydb.v1.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListClustersResponse resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListClustersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance()) + return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListClustersResponse other) clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getClustersFieldBuilder() : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getClustersFieldBuilder() + : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1.Cluster.parser(), - extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clustersBuilder_; + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> + clustersBuilder_; /** + * + * *
      * The list of Cluster
      * 
@@ -675,6 +735,8 @@ public java.util.List getClustersList() { } } /** + * + * *
      * The list of Cluster
      * 
@@ -689,6 +751,8 @@ public int getClustersCount() { } } /** + * + * *
      * The list of Cluster
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1.Cluster getClusters(int index) { } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder setClusters( - int index, com.google.cloud.alloydb.v1.Cluster value) { + public Builder setClusters(int index, com.google.cloud.alloydb.v1.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -742,6 +809,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -762,14 +831,15 @@ public Builder addClusters(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder addClusters( - int index, com.google.cloud.alloydb.v1.Cluster value) { + public Builder addClusters(int index, com.google.cloud.alloydb.v1.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public Builder addClusters( - com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder addClusters(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -819,6 +892,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -829,8 +904,7 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -838,6 +912,8 @@ public Builder addAllClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -855,6 +931,8 @@ public Builder clearClusters() { return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -872,39 +950,44 @@ public Builder removeClusters(int index) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.Cluster.Builder getClustersBuilder( - int index) { + public com.google.cloud.alloydb.v1.Cluster.Builder getClustersBuilder(int index) { return getClustersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); } else { + return clusters_.get(index); + } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( } } /** + * + * *
      * The list of Cluster
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); + return getClustersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder( - int index) { - return getClustersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder(int index) { + return getClustersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - public java.util.List - getClustersBuilderList() { + public java.util.List getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( - clusters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + clustersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder>( + clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1.Cluster.Builder addClustersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListClustersResponse) private static final com.google.cloud.alloydb.v1.ListClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListClustersResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1.ListClustersResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java index 47053fc541a5..4cb4df4d0286 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListClustersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListClustersResponseOrBuilder extends +public interface ListClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - java.util.List - getClustersList(); + java.util.List getClustersList(); /** + * + * *
    * The list of Cluster
    * 
@@ -25,6 +44,8 @@ public interface ListClustersResponseOrBuilder extends */ com.google.cloud.alloydb.v1.Cluster getClusters(int index); /** + * + * *
    * The list of Cluster
    * 
@@ -33,82 +54,99 @@ public interface ListClustersResponseOrBuilder extends */ int getClustersCount(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - java.util.List - getClustersOrBuilderList(); + java.util.List getClustersOrBuilderList(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder( - int index); + com.google.cloud.alloydb.v1.ClusterOrBuilder getClustersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java index 4b5214988e65..911db2cc3918 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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,28 +46,32 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesRequest.class, com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesRequest.class, + com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +133,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +150,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +170,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,14 +201,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,29 +221,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -214,14 +252,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -230,29 +272,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +303,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -302,8 +344,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_); @@ -322,23 +363,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.cloud.alloydb.v1.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListInstancesRequest other = (com.google.cloud.alloydb.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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListInstancesRequest other = + (com.google.cloud.alloydb.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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -365,132 +402,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesRequest) com.google.cloud.alloydb.v1.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesRequest.class, com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesRequest.class, + com.google.cloud.alloydb.v1.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -504,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; } @java.lang.Override @@ -525,8 +566,11 @@ public com.google.cloud.alloydb.v1.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1.ListInstancesRequest result = new com.google.cloud.alloydb.v1.ListInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ListInstancesRequest result = + new com.google.cloud.alloydb.v1.ListInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,38 +598,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListInstancesRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +638,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,10 +735,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -696,14 +751,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,6 +769,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -721,16 +780,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -738,6 +798,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -747,19 +809,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -769,7 +837,10 @@ public Builder setParent(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -779,6 +850,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -788,13 +861,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -802,14 +879,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -817,12 +897,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -834,12 +917,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -851,18 +937,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -871,20 +959,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -892,28 +981,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -923,17 +1019,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -943,18 +1043,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -963,20 +1065,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -984,28 +1087,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1015,17 +1125,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1035,18 +1149,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1055,20 +1171,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1076,28 +1193,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1107,26 +1231,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1136,12 +1264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListInstancesRequest) private static final com.google.cloud.alloydb.v1.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListInstancesRequest(); } @@ -1150,27 +1278,27 @@ public static com.google.cloud.alloydb.v1.ListInstancesRequest getDefaultInstanc 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; @@ -1185,6 +1313,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java index de8bbf43fcc1..841599ebb67d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -17,11 +35,16 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -31,80 +54,100 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java index 49480e79b52a..d772ceb88fff 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesResponse.class, com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesResponse.class, + com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * The list of Instance
    * 
@@ -61,6 +82,8 @@ public java.util.List getInstancesList() { return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -68,11 +91,13 @@ public java.util.List getInstancesList() { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -84,6 +109,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of Instance
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of Instance
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListInstancesResponse other = (com.google.cloud.alloydb.v1.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1.ListInstancesResponse other = + (com.google.cloud.alloydb.v1.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.ListInstancesResponse) com.google.cloud.alloydb.v1.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListInstancesResponse.class, com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1.ListInstancesResponse.class, + com.google.cloud.alloydb.v1.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1.ListInstancesResponse result = new com.google.cloud.alloydb.v1.ListInstancesResponse(this); + com.google.cloud.alloydb.v1.ListInstancesResponse result = + new com.google.cloud.alloydb.v1.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListInstancesResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListInstancesResponse other 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_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * The list of Instance
      * 
@@ -675,6 +735,8 @@ public java.util.List getInstancesList() { } } /** + * + * *
      * The list of Instance
      * 
@@ -689,6 +751,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of Instance
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1.Instance getInstances(int index) { } } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -742,6 +809,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -762,14 +831,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -819,6 +892,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -829,8 +904,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); @@ -838,6 +912,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -855,6 +931,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of Instance
      * 
@@ -872,39 +950,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.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 Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * The list of Instance
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListInstancesResponse) private static final com.google.cloud.alloydb.v1.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListInstancesResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1.ListInstancesResponse getDefaultInstan 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; @@ -1259,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java index 9d8b0ce66746..82594fb287cb 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * The list of Instance
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1.Instance getInstances(int index); /** + * + * *
    * The list of Instance
    * 
@@ -33,82 +54,100 @@ public interface ListInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1.Instance instances = 1; */ - com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java index df2ba18ce5a4..d9290c69d1d2 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +45,32 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -58,7 +81,10 @@ protected java.lang.Object newInstance(
    * flags.
    * 
* - * string parent = 1 [(.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,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -85,17 +112,18 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +134,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +151,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +171,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +250,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other = + (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) 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; } @@ -252,131 +284,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,13 +425,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); } @@ -409,13 +447,17 @@ public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result = + new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,38 +474,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlag public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) other); } else { super.mergeFrom(other); return this; @@ -471,7 +514,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest other) { - if (other == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +556,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,10 +590,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -555,14 +607,16 @@ public Builder mergeFrom(
      * flags.
      * 
* - * string parent = 1 [(.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; @@ -571,6 +625,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -581,16 +637,17 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -598,6 +655,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -608,19 +667,25 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -631,7 +696,10 @@ public Builder setParent(
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -641,6 +709,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -651,13 +721,17 @@ public Builder clearParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -665,14 +739,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -680,12 +757,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -697,12 +777,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -714,18 +797,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -734,20 +819,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -755,28 +841,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -786,26 +879,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +912,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest(); } @@ -829,27 +927,27 @@ public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +962,4 @@ public com.google.protobuf.Parser getParserFo public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java index 64359d4a27f0..81144fc13338 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListSupportedDatabaseFlagsRequestOrBuilder extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -18,11 +36,16 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -33,40 +56,50 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java index ae416a938715..8c14dc287429 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,94 +45,116 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List supportedDatabaseFlags_; /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { return supportedDatabaseFlags_.get(index); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -122,29 +163,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -153,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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 < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -182,8 +223,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, supportedDatabaseFlags_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -196,17 +238,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.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other = + (com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList() - .equals(other.getSupportedDatabaseFlagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,131 +272,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -371,13 +418,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); } @@ -392,14 +440,18 @@ public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result = + new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -411,7 +463,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.ListSupporte } } - private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -422,38 +475,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlag public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) other); } else { super.mergeFrom(other); return this; @@ -461,7 +515,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse other) { - if (other == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) + return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -480,9 +536,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsR supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSupportedDatabaseFlagsFieldBuilder() : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSupportedDatabaseFlagsFieldBuilder() + : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -519,30 +576,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,28 +612,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List supportedDatabaseFlags_ = - java.util.Collections.emptyList(); + private java.util.List + supportedDatabaseFlags_ = java.util.Collections.emptyList(); + private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); + supportedDatabaseFlags_ = + new java.util.ArrayList( + supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> + supportedDatabaseFlagsBuilder_; /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -581,11 +652,14 @@ public java.util.List getSupp } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -595,11 +669,14 @@ public int getSupportedDatabaseFlagsCount() { } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -609,11 +686,14 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFla } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { @@ -630,11 +710,14 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -648,13 +731,17 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -668,11 +755,14 @@ public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1.SupportedDa return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag value) { @@ -689,11 +779,14 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -707,11 +800,14 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder builderForValue) { @@ -725,18 +821,20 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addAllSupportedDatabaseFlags( java.lang.Iterable values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -744,11 +842,14 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -761,11 +862,14 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -778,39 +882,49 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( - int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder + getSupportedDatabaseFlagsBuilder(int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); } else { + return supportedDatabaseFlags_.get(index); + } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -818,45 +932,62 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDa } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( - int index) { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder(int index) { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -868,18 +999,20 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder addSupportedDat private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -888,20 +1021,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,28 +1043,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -940,26 +1081,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,41 +1114,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstance() { + public static com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,9 +1162,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java index 7442c9b675ea..759198a79d7b 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,73 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListSupportedDatabaseFlagsResponseOrBuilder extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List - getSupportedDatabaseFlagsList(); + java.util.List getSupportedDatabaseFlagsList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ int getSupportedDatabaseFlagsCount(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1.SupportedDatabaseFlag supported_database_flags = 1; + * */ com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java index 33e68f14ac84..fb54c913baa7 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersRequest} */ -public final class ListUsersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListUsersRequest) ListUsersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersRequest.class, com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListUsersRequest.class, + com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListUsersRequest other = (com.google.cloud.alloydb.v1.ListUsersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1.ListUsersRequest other = + (com.google.cloud.alloydb.v1.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,132 +392,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListUsersRequest) com.google.cloud.alloydb.v1.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersRequest.class, com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1.ListUsersRequest.class, + com.google.cloud.alloydb.v1.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListUsersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1.ListUsersRequest result = new com.google.cloud.alloydb.v1.ListUsersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.ListUsersRequest result = + new com.google.cloud.alloydb.v1.ListUsersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListUsersRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.ListUsersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListUsersRequest) other); } else { super.mergeFrom(other); return this; @@ -633,37 +678,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +724,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +753,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +777,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string 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() { @@ -749,17 +819,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +843,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +861,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +881,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +901,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -836,20 +923,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -857,28 +945,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +983,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1007,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -928,20 +1029,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -949,28 +1051,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1089,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1113,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1135,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1157,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1195,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListUsersRequest) private static final com.google.cloud.alloydb.v1.ListUsersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListUsersRequest(); } @@ -1115,27 +1242,27 @@ public static com.google.cloud.alloydb.v1.ListUsersRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1277,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java index aae1bdcf6361..46a4d0ab0f21 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListUsersRequestOrBuilder extends +public interface ListUsersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java index 737baf4383c1..df00c67fb628 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersResponse} */ -public final class ListUsersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.ListUsersResponse) ListUsersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersResponse.class, com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListUsersResponse.class, + com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List users_; /** + * + * *
    * The list of User
    * 
@@ -61,6 +82,8 @@ public java.util.List getUsersList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -68,11 +91,13 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -84,6 +109,8 @@ public int getUsersCount() { return users_.size(); } /** + * + * *
    * The list of User
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { return users_.get(index); } /** + * + * *
    * The list of User
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { * repeated .google.cloud.alloydb.v1.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.ListUsersResponse other = (com.google.cloud.alloydb.v1.ListUsersResponse) obj; + com.google.cloud.alloydb.v1.ListUsersResponse other = + (com.google.cloud.alloydb.v1.ListUsersResponse) obj; - if (!getUsersList() - .equals(other.getUsersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getUsersList().equals(other.getUsersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -301,132 +341,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.ListUsersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.ListUsersResponse) com.google.cloud.alloydb.v1.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.ListUsersResponse.class, com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1.ListUsersResponse.class, + com.google.cloud.alloydb.v1.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1.ListUsersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; } @java.lang.Override @@ -466,9 +509,12 @@ public com.google.cloud.alloydb.v1.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1.ListUsersResponse result = new com.google.cloud.alloydb.v1.ListUsersResponse(this); + com.google.cloud.alloydb.v1.ListUsersResponse result = + new com.google.cloud.alloydb.v1.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -500,38 +546,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.ListUsersResponse result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1.ListUsersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1.ListUsersResponse) other); } else { super.mergeFrom(other); return this; @@ -558,9 +605,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.ListUsersResponse other) { usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUsersFieldBuilder() : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUsersFieldBuilder() + : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -607,36 +655,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1.User m = - input.readMessage( - com.google.cloud.alloydb.v1.User.parser(), - extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1.User m = + input.readMessage(com.google.cloud.alloydb.v1.User.parser(), extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +696,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> usersBuilder_; + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> + usersBuilder_; /** + * + * *
      * The list of User
      * 
@@ -675,6 +732,8 @@ public java.util.List getUsersList() { } } /** + * + * *
      * The list of User
      * 
@@ -689,6 +748,8 @@ public int getUsersCount() { } } /** + * + * *
      * The list of User
      * 
@@ -703,14 +764,15 @@ public com.google.cloud.alloydb.v1.User getUsers(int index) { } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder setUsers( - int index, com.google.cloud.alloydb.v1.User value) { + public Builder setUsers(int index, com.google.cloud.alloydb.v1.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,14 +786,15 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder setUsers( - int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUsers(int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.set(index, builderForValue.build()); @@ -742,6 +805,8 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -762,14 +827,15 @@ public Builder addUsers(com.google.cloud.alloydb.v1.User value) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers( - int index, com.google.cloud.alloydb.v1.User value) { + public Builder addUsers(int index, com.google.cloud.alloydb.v1.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +849,15 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers( - com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder addUsers(com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -801,14 +868,15 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public Builder addUsers( - int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder addUsers(int index, com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(index, builderForValue.build()); @@ -819,6 +887,8 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -829,8 +899,7 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -838,6 +907,8 @@ public Builder addAllUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -855,6 +926,8 @@ public Builder clearUsers() { return this; } /** + * + * *
      * The list of User
      * 
@@ -872,39 +945,44 @@ public Builder removeUsers(int index) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.User.Builder getUsersBuilder( - int index) { + public com.google.cloud.alloydb.v1.User.Builder getUsersBuilder(int index) { return getUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index) { if (usersBuilder_ == null) { - return users_.get(index); } else { + return users_.get(index); + } else { return usersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +990,8 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( } } /** + * + * *
      * The list of User
      * 
@@ -919,42 +999,47 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( * repeated .google.cloud.alloydb.v1.User users = 1; */ public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder() { - return getUsersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1.User.getDefaultInstance()); + return getUsersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder( - int index) { - return getUsersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder(int index) { + return getUsersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - public java.util.List - getUsersBuilderList() { + public java.util.List getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( - users_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + usersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder>( + users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; @@ -962,18 +1047,20 @@ public com.google.cloud.alloydb.v1.User.Builder addUsersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1069,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1091,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1129,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1153,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1161,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1205,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1243,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1265,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1324,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.ListUsersResponse) private static final com.google.cloud.alloydb.v1.ListUsersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.ListUsersResponse(); } @@ -1224,27 +1350,27 @@ public static com.google.cloud.alloydb.v1.ListUsersResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1385,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java index dff8928b62a0..ba13ade3c95e 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ListUsersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface ListUsersResponseOrBuilder extends +public interface ListUsersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - java.util.List - getUsersList(); + java.util.List getUsersList(); /** + * + * *
    * The list of User
    * 
@@ -25,6 +44,8 @@ public interface ListUsersResponseOrBuilder extends */ com.google.cloud.alloydb.v1.User getUsers(int index); /** + * + * *
    * The list of User
    * 
@@ -33,82 +54,99 @@ public interface ListUsersResponseOrBuilder extends */ int getUsersCount(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - java.util.List - getUsersOrBuilderList(); + java.util.List getUsersOrBuilderList(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1.User users = 1; */ - com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder( - int index); + com.google.cloud.alloydb.v1.UserOrBuilder getUsersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/LocationName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java index 25a4f88340c8..235b9d3fc6e5 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSource.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.MigrationSource}
  */
-public final class MigrationSource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.MigrationSource)
     MigrationSourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -28,34 +46,38 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.MigrationSource.class, com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1.MigrationSource.class,
+            com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Migration source is unknown.
      * 
@@ -64,6 +86,8 @@ public enum MigrationSourceType */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -75,6 +99,8 @@ public enum MigrationSourceType ; /** + * + * *
      * Migration source is unknown.
      * 
@@ -83,6 +109,8 @@ public enum MigrationSourceType */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -91,7 +119,6 @@ public enum MigrationSourceType */ public static final int DMS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,9 +143,12 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: return DMS; - default: return null; + case 0: + return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: + return DMS; + default: + return null; } } @@ -126,28 +156,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MigrationSourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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 MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.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.cloud.alloydb.v1.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -156,8 +186,7 @@ public MigrationSourceType findValueByNumber(int number) { public static MigrationSourceType 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; @@ -175,15 +204,19 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ @java.lang.Override @@ -192,30 +225,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -224,15 +257,19 @@ public java.lang.String getHostPort() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ @java.lang.Override @@ -241,30 +278,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -275,30 +312,46 @@ public java.lang.String getReferenceId() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null + ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,15 +363,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ + != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -336,9 +391,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, sourceType_); + if (sourceType_ + != com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,17 +405,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.cloud.alloydb.v1.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.MigrationSource other = (com.google.cloud.alloydb.v1.MigrationSource) obj; + com.google.cloud.alloydb.v1.MigrationSource other = + (com.google.cloud.alloydb.v1.MigrationSource) obj; - if (!getHostPort() - .equals(other.getHostPort())) return false; - if (!getReferenceId() - .equals(other.getReferenceId())) return false; + if (!getHostPort().equals(other.getHostPort())) return false; + if (!getReferenceId().equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -382,99 +438,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.MigrationSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -482,33 +543,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.MigrationSource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.MigrationSource)
       com.google.cloud.alloydb.v1.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.MigrationSource.class, com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1.MigrationSource.class,
+              com.google.cloud.alloydb.v1.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.MigrationSource.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -520,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -541,8 +601,11 @@ public com.google.cloud.alloydb.v1.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1.MigrationSource result = new com.google.cloud.alloydb.v1.MigrationSource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.MigrationSource result =
+          new com.google.cloud.alloydb.v1.MigrationSource(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -564,38 +627,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.MigrationSource result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1.MigrationSource)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.MigrationSource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -643,27 +707,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              hostPort_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              referenceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              sourceType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                hostPort_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                referenceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                sourceType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -673,23 +741,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
+     *
+     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -698,21 +769,22 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -720,30 +792,37 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPort(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -753,18 +832,22 @@ public Builder clearHostPort() { return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPortBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -774,19 +857,21 @@ public Builder setHostPortBytes( private java.lang.Object referenceId_ = ""; /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -795,21 +880,22 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -817,30 +903,37 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -850,18 +943,22 @@ public Builder clearReferenceId() { return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -871,22 +968,33 @@ public Builder setReferenceIdBytes( private int sourceType_ = 0; /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -897,28 +1005,42 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null + ? com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType(com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType value) { + public Builder setSourceType( + com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -928,11 +1050,16 @@ public Builder setSourceType(com.google.cloud.alloydb.v1.MigrationSource.Migrati return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -941,9 +1068,9 @@ public Builder clearSourceType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.MigrationSource) private static final com.google.cloud.alloydb.v1.MigrationSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.MigrationSource(); } @@ -967,27 +1094,27 @@ public static com.google.cloud.alloydb.v1.MigrationSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1129,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java index d55207da2965..3cc00444e8c3 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/MigrationSourceOrBuilder.java @@ -1,71 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface MigrationSourceOrBuilder extends +public interface MigrationSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.MigrationSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ java.lang.String getHostPort(); /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString - getHostPortBytes(); + com.google.protobuf.ByteString getHostPortBytes(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ java.lang.String getReferenceId(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString - getReferenceIdBytes(); + com.google.protobuf.ByteString getReferenceIdBytes(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ com.google.cloud.alloydb.v1.MigrationSource.MigrationSourceType getSourceType(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java index a41dc8dd57f0..4b483c7b9a90 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,33 +46,38 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.OperationMetadata.class, com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1.OperationMetadata.class, + com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object requestSpecific_; + public enum RequestSpecificCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; + private RequestSpecificCase(int value) { this.value = value; } @@ -70,29 +93,36 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: return BATCH_CREATE_INSTANCES_METADATA; - case 0: return REQUESTSPECIFIC_NOT_SET; - default: return null; + case 8: + return BATCH_CREATE_INSTANCES_METADATA; + case 0: + return REQUESTSPECIFIC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -100,31 +130,42 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -132,11 +173,15 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatc public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -144,11 +189,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -156,11 +205,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -170,11 +222,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -182,11 +238,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -194,11 +254,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -206,14 +269,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -222,29 +289,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -253,14 +320,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -269,29 +340,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -300,14 +371,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -316,29 +391,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -349,6 +424,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -358,6 +435,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -366,14 +444,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -382,29 +464,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -413,6 +495,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -448,7 +530,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage( + 8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -460,12 +543,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -477,15 +558,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -495,38 +576,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.cloud.alloydb.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.OperationMetadata other = (com.google.cloud.alloydb.v1.OperationMetadata) obj; + com.google.cloud.alloydb.v1.OperationMetadata other = + (com.google.cloud.alloydb.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata() - .equals(other.getBatchCreateInstancesMetadata())) return false; + if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) + return false; break; case 0: default: @@ -557,8 +632,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -574,132 +648,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.OperationMetadata) com.google.cloud.alloydb.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.OperationMetadata.class, com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1.OperationMetadata.class, + com.google.cloud.alloydb.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1.OperationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -728,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -749,8 +827,11 @@ public com.google.cloud.alloydb.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1.OperationMetadata result = new com.google.cloud.alloydb.v1.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.OperationMetadata result = + new com.google.cloud.alloydb.v1.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -759,14 +840,10 @@ public com.google.cloud.alloydb.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -788,8 +865,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.OperationMetadata result) private void buildPartialOneofs(com.google.cloud.alloydb.v1.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && - batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -798,38 +874,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.OperationMetadata re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.alloydb.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -868,13 +945,15 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.OperationMetadata other) { onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: + { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -902,58 +981,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), - extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -963,12 +1046,12 @@ public Builder mergeFrom( } // finally return this; } + private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -981,13 +1064,21 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> + batchCreateInstancesMetadataBuilder_; /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -995,15 +1086,21 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_; @@ -1017,13 +1114,18 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateIn } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1037,11 +1139,15 @@ public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.Batch return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1055,18 +1161,27 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 && - requestSpecific_ != com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) { - requestSpecific_ = com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_) - .mergeFrom(value).buildPartial(); + if (requestSpecificCase_ == 8 + && requestSpecific_ + != com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance()) { + requestSpecific_ = + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.newBuilder( + (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_) + .mergeFrom(value) + .buildPartial(); } else { requestSpecific_ = value; } @@ -1082,11 +1197,15 @@ public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1.Bat return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1105,24 +1224,34 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder + getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1133,21 +1262,31 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatc } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1160,39 +1299,58 @@ public com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatc 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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1208,14 +1366,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1226,17 +1387,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1249,11 +1414,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1266,11 +1435,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1278,36 +1451,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1315,24 +1500,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1343,11 +1539,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1363,14 +1562,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1381,17 +1582,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1404,11 +1608,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1421,11 +1628,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1433,36 +1643,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1470,18 +1688,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1490,20 +1710,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1511,28 +1732,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1542,17 +1770,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1562,18 +1794,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1582,20 +1816,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1603,28 +1838,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1634,17 +1876,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1654,18 +1900,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1674,20 +1922,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1695,28 +1944,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1726,17 +1982,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -1744,8 +2004,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1755,6 +2017,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1762,6 +2025,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1771,6 +2036,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1782,6 +2048,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1791,6 +2059,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1802,18 +2071,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1822,20 +2093,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1843,28 +2115,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1874,26 +2153,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1903,12 +2186,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.OperationMetadata) private static final com.google.cloud.alloydb.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.OperationMetadata(); } @@ -1917,27 +2200,27 @@ public static com.google.cloud.alloydb.v1.OperationMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,6 +2235,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java index a2fedb534ed7..502a0ebb7f8d 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/OperationMetadataOrBuilder.java @@ -1,154 +1,224 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -158,29 +228,35 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); com.google.cloud.alloydb.v1.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java index 13d0b689b329..63205a9bd794 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.PromoteClusterRequest) PromoteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.PromoteClusterRequest.class, com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.PromoteClusterRequest other = (com.google.cloud.alloydb.v1.PromoteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1.PromoteClusterRequest other = + (com.google.cloud.alloydb.v1.PromoteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,142 @@ 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.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.PromoteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.PromoteClusterRequest) com.google.cloud.alloydb.v1.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.PromoteClusterRequest.class, com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.PromoteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -487,8 +524,11 @@ public com.google.cloud.alloydb.v1.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.PromoteClusterRequest result = new com.google.cloud.alloydb.v1.PromoteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.PromoteClusterRequest result = + new com.google.cloud.alloydb.v1.PromoteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.PromoteClusterRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.PromoteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.PromoteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +679,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.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; @@ -657,21 +709,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +734,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string 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() { @@ -712,18 +778,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +805,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +824,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +839,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +858,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +873,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +892,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +925,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +935,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +954,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +971,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -892,13 +980,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +995,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -914,15 +1004,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1019,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -937,18 +1028,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -956,6 +1051,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1061,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -972,12 +1070,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1085,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1103,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1123,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1140,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1.PromoteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.PromoteClusterRequest(); } @@ -1057,27 +1166,27 @@ public static com.google.cloud.alloydb.v1.PromoteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java index 24c5ef04ef37..bf59e25434ef 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/PromoteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface PromoteClusterRequestOrBuilder extends +public interface PromoteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,18 +127,21 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java new file mode 100644 index 000000000000..048c48bc74f7 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java @@ -0,0 +1,904 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_cloud_alloydb_v1_UserPassword_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_User_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_User_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/cloud/alloydb/v1/resources.prot" + + "o\022\027google.cloud.alloydb.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\032\036google/" + + "protobuf/wrappers.proto\032\033google/type/day" + + "ofweek.proto\032\033google/type/timeofday.prot" + + "o\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022\020\n\010passw" + + "ord\030\002 \001(\t\"\346\001\n\017MigrationSource\022\027\n\thost_po" + + "rt\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002 \001(\tB\004\342A" + + "\001\003\022W\n\013source_type\030\003 \001(\0162<.google.cloud.a" + + "lloydb.v1.MigrationSource.MigrationSourc" + + "eTypeB\004\342A\001\003\"E\n\023MigrationSourceType\022%\n!MI" + + "GRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n\003DMS" + + "\020\001\"(\n\020EncryptionConfig\022\024\n\014kms_key_name\030\001" + + " \001(\t\"\210\002\n\016EncryptionInfo\022K\n\017encryption_ty" + + "pe\030\001 \001(\0162,.google.cloud.alloydb.v1.Encry" + + "ptionInfo.TypeB\004\342A\001\003\022K\n\020kms_key_versions" + + "\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkms.googleapis.com" + + "/CryptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPEC" + + "IFIED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037" + + "\n\033CUSTOMER_MANAGED_ENCRYPTION\020\002\"\200\003\n\tSslC" + + "onfig\022B\n\010ssl_mode\030\001 \001(\0162*.google.cloud.a" + + "lloydb.v1.SslConfig.SslModeB\004\342A\001\001\022D\n\tca_" + + "source\030\002 \001(\0162+.google.cloud.alloydb.v1.S" + + "slConfig.CaSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024S" + + "SL_MODE_UNSPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020" + + "\001\032\002\010\001\022\030\n\020SSL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_M" + + "ODE_VERIFY_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED" + + "_AND_ENCRYPTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010" + + "CaSource\022\031\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021C" + + "A_SOURCE_MANAGED\020\001\"\346\006\n\025AutomatedBackupPo" + + "licy\022X\n\017weekly_schedule\030\002 \001(\0132=.google.c" + + "loud.alloydb.v1.AutomatedBackupPolicy.We" + + "eklyScheduleH\000\022a\n\024time_based_retention\030\004" + + " \001(\0132A.google.cloud.alloydb.v1.Automated" + + "BackupPolicy.TimeBasedRetentionH\001\022i\n\030qua" + + "ntity_based_retention\030\005 \001(\0132E.google.clo" + + "ud.alloydb.v1.AutomatedBackupPolicy.Quan" + + "tityBasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210" + + "\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google.proto" + + "buf.Duration\022J\n\021encryption_config\030\010 \001(\0132" + + ").google.cloud.alloydb.v1.EncryptionConf" + + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022J\n\006labels\030\007 \003" + + "(\0132:.google.cloud.alloydb.v1.AutomatedBa" + + "ckupPolicy.LabelsEntry\032k\n\016WeeklySchedule" + + "\022+\n\013start_times\030\001 \003(\0132\026.google.type.Time" + + "OfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google.typ" + + "e.DayOfWeek\032I\n\022TimeBasedRetention\0223\n\020ret" + + "ention_period\030\001 \001(\0132\031.google.protobuf.Du" + + "ration\032\'\n\026QuantityBasedRetention\022\r\n\005coun" + + "t\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretentionB" + + "\n\n\010_enabled\"\236\001\n\026ContinuousBackupConfig\022\024" + + "\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_window_" + + "days\030\004 \001(\005\022D\n\021encryption_config\030\003 \001(\0132)." + + "google.cloud.alloydb.v1.EncryptionConfig" + + "B\n\n\010_enabled\"\212\002\n\024ContinuousBackupInfo\022F\n" + + "\017encryption_info\030\001 \001(\0132\'.google.cloud.al" + + "loydb.v1.EncryptionInfoB\004\342A\001\003\0226\n\014enabled" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.google.type.Da" + + "yOfWeekB\004\342A\001\003\022B\n\030earliest_restorable_tim" + + "e\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\"e\n\014BackupSource\022\030\n\nbackup_uid\030\002 \001(\tB\004\342" + + "A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloy" + + "db.googleapis.com/Backup\"h\n\026ContinuousBa" + + "ckupSource\022\025\n\007cluster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoi" + + "nt_in_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\002\"\302\021\n\007Cluster\022D\n\rbackup_source\030" + + "\017 \001(\0132%.google.cloud.alloydb.v1.BackupSo" + + "urceB\004\342A\001\003H\000\022J\n\020migration_source\030\020 \001(\0132(" + + ".google.cloud.alloydb.v1.MigrationSource" + + "B\004\342A\001\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_" + + "name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_" + + "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022<\n\006la" + + "bels\030\007 \003(\0132,.google.cloud.alloydb.v1.Clu" + + "ster.LabelsEntry\022;\n\005state\030\010 \001(\0162&.google" + + ".cloud.alloydb.v1.Cluster.StateB\004\342A\001\003\022H\n" + + "\014cluster_type\030\030 \001(\0162,.google.cloud.alloy" + + "db.v1.Cluster.ClusterTypeB\004\342A\001\003\022H\n\020datab" + + "ase_version\030\t \001(\0162(.google.cloud.alloydb" + + ".v1.DatabaseVersionB\004\342A\001\001\022L\n\016network_con" + + "fig\030\035 \001(\0132..google.cloud.alloydb.v1.Clus" + + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + + "ork\022\014\n\004etag\030\013 \001(\t\022F\n\013annotations\030\014 \003(\01321" + + ".google.cloud.alloydb.v1.Cluster.Annotat" + + "ionsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003\022A\n\014" + + "initial_user\030\016 \001(\0132%.google.cloud.alloyd" + + "b.v1.UserPasswordB\004\342A\001\004\022O\n\027automated_bac" + + "kup_policy\030\021 \001(\0132..google.cloud.alloydb." + + "v1.AutomatedBackupPolicy\022:\n\nssl_config\030\022" + + " \001(\0132\".google.cloud.alloydb.v1.SslConfig" + + "B\002\030\001\022J\n\021encryption_config\030\023 \001(\0132).google" + + ".cloud.alloydb.v1.EncryptionConfigB\004\342A\001\001" + + "\022F\n\017encryption_info\030\024 \001(\0132\'.google.cloud" + + ".alloydb.v1.EncryptionInfoB\004\342A\001\003\022W\n\030cont" + + "inuous_backup_config\030\033 \001(\0132/.google.clou" + + "d.alloydb.v1.ContinuousBackupConfigB\004\342A\001" + + "\001\022S\n\026continuous_backup_info\030\034 \001(\0132-.goog" + + "le.cloud.alloydb.v1.ContinuousBackupInfo" + + "B\004\342A\001\003\022J\n\020secondary_config\030\026 \001(\01320.googl" + + "e.cloud.alloydb.v1.Cluster.SecondaryConf" + + "ig\022L\n\016primary_config\030\027 \001(\0132..google.clou" + + "d.alloydb.v1.Cluster.PrimaryConfigB\004\342A\001\003" + + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + + "googleapis.com/Cluster\022:projects/{projec" + + "t}/locations/{location}/clusters/{cluste" + + "r}R\001\001B\010\n\006source\"\232\022\n\010Instance\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google." + + "cloud.alloydb.v1.Instance.LabelsEntry\022<\n" + + "\005state\030\010 \001(\0162\'.google.cloud.alloydb.v1.I" + + "nstance.StateB\004\342A\001\003\022K\n\rinstance_type\030\t \001" + + "(\0162..google.cloud.alloydb.v1.Instance.In" + + "stanceTypeB\004\342A\001\002\022G\n\016machine_config\030\n \001(\013" + + "2/.google.cloud.alloydb.v1.Instance.Mach" + + "ineConfig\022M\n\021availability_type\030\013 \001(\01622.g" + + "oogle.cloud.alloydb.v1.Instance.Availabi" + + "lityType\022\020\n\010gce_zone\030\014 \001(\t\022L\n\016database_f" + + "lags\030\r \003(\01324.google.cloud.alloydb.v1.Ins" + + "tance.DatabaseFlagsEntry\022C\n\rwritable_nod" + + "e\030\023 \001(\0132&.google.cloud.alloydb.v1.Instan" + + "ce.NodeB\004\342A\001\003\022;\n\005nodes\030\024 \003(\0132&.google.cl" + + "oud.alloydb.v1.Instance.NodeB\004\342A\001\003\022\\\n\025qu" + + "ery_insights_config\030\025 \001(\0132=.google.cloud" + + ".alloydb.v1.Instance.QueryInsightsInstan" + + "ceConfig\022J\n\020read_pool_config\030\016 \001(\01320.goo" + + "gle.cloud.alloydb.v1.Instance.ReadPoolCo" + + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022G\n\013annot" + + "ations\030\022 \003(\01322.google.cloud.alloydb.v1.I" + + "nstance.AnnotationsEntry\022`\n\030client_conne" + + "ction_config\030\027 \001(\01328.google.cloud.alloyd" + + "b.v1.Instance.ClientConnectionConfigB\004\342A" + + "\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(\005\032>" + + "\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n\n\002i" + + "p\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsights" + + "InstanceConfig\022$\n\027record_application_tag" + + "s\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address\030\003 " + + "\001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r\022#\n" + + "\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n\030_r" + + "ecord_application_tagsB\030\n\026_record_client" + + "_addressB\031\n\027_query_plans_per_minute\032$\n\016R" + + "eadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032x\n\026Cli" + + "entConnectionConfig\022 \n\022require_connector" + + "s\030\001 \001(\010B\004\342A\001\001\022<\n\nssl_config\030\002 \001(\0132\".goog" + + "le.cloud.alloydb.v1.SslConfigB\004\342A\001\001\032-\n\013L" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025" + + "\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOP" + + "PED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAI" + + "NTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020" + + "\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INST" + + "ANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\t" + + "READ_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Availabili" + + "tyType\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020" + + "\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb" + + ".googleapis.com/Instance\022Oprojects/{proj" + + "ect}/locations/{location}/clusters/{clus" + + "ter}/instances/{instance}R\001\001\"\342\001\n\016Connect" + + "ionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(" + + "\tB\004\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A" + + "\207\001\n%alloydb.googleapis.com/ConnectionInf" + + "o\022^projects/{project}/locations/{locatio" + + "n}/clusters/{cluster}/instances/{instanc" + + "e}/connectionInfo\"\267\013\n\006Backup\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\017 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022;\n\006labels\030\006 \003(\0132+.google." + + "cloud.alloydb.v1.Backup.LabelsEntry\022:\n\005s" + + "tate\030\007 \001(\0162%.google.cloud.alloydb.v1.Bac" + + "kup.StateB\004\342A\001\003\0222\n\004type\030\010 \001(\0162$.google.c" + + "loud.alloydb.v1.Backup.Type\022\023\n\013descripti" + + "on\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001\003\022=\n\014c" + + "luster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + + "leapis.com/Cluster\022\031\n\013reconciling\030\013 \001(\010B" + + "\004\342A\001\003\022J\n\021encryption_config\030\014 \001(\0132).googl" + + "e.cloud.alloydb.v1.EncryptionConfigB\004\342A\001" + + "\001\022F\n\017encryption_info\030\r \001(\0132\'.google.clou" + + "d.alloydb.v1.EncryptionInfoB\004\342A\001\003\022\014\n\004eta" + + "g\030\016 \001(\t\022E\n\013annotations\030\020 \003(\01320.google.cl" + + "oud.alloydb.v1.Backup.AnnotationsEntry\022\030" + + "\n\nsize_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030" + + "\023 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "R\n\017expiry_quantity\030\024 \001(\01323.google.cloud." + + "alloydb.v1.Backup.QuantityBasedExpiryB\004\342" + + "A\001\003\022H\n\020database_version\030\026 \001(\0162(.google.c" + + "loud.alloydb.v1.DatabaseVersionB\004\342A\001\003\032Y\n" + + "\023QuantityBasedExpiry\022\035\n\017retention_count\030" + + "\001 \001(\005B\004\342A\001\003\022#\n\025total_retention_count\030\002 \001" + + "(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021" + + "STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATI" + + "NG\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024" + + "\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tA" + + "UTOMATED\020\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb" + + ".googleapis.com/Backup\0228projects/{projec" + + "t}/locations/{location}/backups/{backup}" + + "R\001\001\"\310\006\n\025SupportedDatabaseFlag\022`\n\023string_" + + "restrictions\030\007 \001(\0132A.google.cloud.alloyd" + + "b.v1.SupportedDatabaseFlag.StringRestric" + + "tionsH\000\022b\n\024integer_restrictions\030\010 \001(\0132B." + + "google.cloud.alloydb.v1.SupportedDatabas" + + "eFlag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(" + + "\t\022\021\n\tflag_name\030\002 \001(\t\022L\n\nvalue_type\030\003 \001(\016" + + "28.google.cloud.alloydb.v1.SupportedData" + + "baseFlag.ValueType\022\037\n\027accepts_multiple_v" + + "alues\030\004 \001(\010\022G\n\025supported_db_versions\030\005 \003" + + "(\0162(.google.cloud.alloydb.v1.DatabaseVer" + + "sion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022Str" + + "ingRestrictions\022\026\n\016allowed_values\030\001 \003(\t\032" + + "u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 \001(" + + "\0132\033.google.protobuf.Int64Value\022.\n\tmax_va" + + "lue\030\002 \001(\0132\033.google.protobuf.Int64Value\"U" + + "\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n\004N" + + "ONE\020\004:g\352Ad\n,alloydb.googleapis.com/Suppo" + + "rtedDatabaseFlag\0224projects/{project}/loc" + + "ations/{location}/flags/{flag}B\016\n\014restri" + + "ctions\"\322\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n\010p" + + "assword\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030\004 " + + "\003(\tB\004\342A\001\001\022?\n\tuser_type\030\005 \001(\0162&.google.cl" + + "oud.alloydb.v1.User.UserTypeB\004\342A\001\001\"Q\n\010Us" + + "erType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022\024\n\020ALL" + + "OYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USER\020\002:l\352" + + "Ai\n\033alloydb.googleapis.com/User\022Gproject" + + "s/{project}/locations/{location}/cluster" + + "s/{cluster}/users/{user}R\001\001*^\n\014InstanceV" + + "iew\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023IN" + + "STANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FUL" + + "L\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW_UNSPE" + + "CIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUS" + + "TER_VIEW_CONTINUOUS_BACKUP\020\002*Y\n\017Database" + + "Version\022 \n\034DATABASE_VERSION_UNSPECIFIED\020" + + "\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002B" + + "\262\003\n\033com.google.cloud.alloydb.v1B\016Resourc" + + "esProtoP\001Z5cloud.google.com/go/alloydb/a" + + "piv1/alloydbpb;alloydbpb\252\002\027Google.Cloud." + + "AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032G" + + "oogle::Cloud::AlloyDB::V1\352A\246\001\n(cloudkms." + + "googleapis.com/CryptoKeyVersion\022zproject" + + "s/{project}/locations/{location}/keyRing" + + "s/{key_ring}/cryptoKeys/{crypto_key}/cry" + + "ptoKeyVersions/{crypto_key_version}\352AN\n\036" + + "compute.googleapis.com/Network\022,projects" + + "/{project}/global/networks/{network}b\006pr" + + "oto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_UserPassword_descriptor, + new java.lang.String[] { + "User", "Password", + }); + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor, + new java.lang.String[] { + "HostPort", "ReferenceId", "SourceType", + }); + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyVersions", + }); + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SslConfig_descriptor, + new java.lang.String[] { + "SslMode", "CaSource", + }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { + "WeeklySchedule", + "TimeBasedRetention", + "QuantityBasedRetention", + "Enabled", + "BackupWindow", + "EncryptionConfig", + "Location", + "Labels", + "Schedule", + "Retention", + "Enabled", + }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { + "StartTimes", "DaysOfWeek", + }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { + "RetentionPeriod", + }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { + "Count", + }); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor, + new java.lang.String[] { + "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", + }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor, + new java.lang.String[] { + "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", + }); + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_BackupSource_descriptor, + new java.lang.String[] { + "BackupUid", "BackupName", + }); + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor, + new java.lang.String[] { + "Cluster", "PointInTime", + }); + internal_static_google_cloud_alloydb_v1_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_descriptor, + new java.lang.String[] { + "BackupSource", + "MigrationSource", + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "ClusterType", + "DatabaseVersion", + "NetworkConfig", + "Network", + "Etag", + "Annotations", + "Reconciling", + "InitialUser", + "AutomatedBackupPolicy", + "SslConfig", + "EncryptionConfig", + "EncryptionInfo", + "ContinuousBackupConfig", + "ContinuousBackupInfo", + "SecondaryConfig", + "PrimaryConfig", + "Source", + }); + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { + "Network", "AllocatedIpRange", + }); + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { + "PrimaryClusterName", + }); + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { + "SecondaryClusterNames", + }); + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "InstanceType", + "MachineConfig", + "AvailabilityType", + "GceZone", + "DatabaseFlags", + "WritableNode", + "Nodes", + "QueryInsightsConfig", + "ReadPoolConfig", + "IpAddress", + "Reconciling", + "Etag", + "Annotations", + "ClientConnectionConfig", + }); + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor, + new java.lang.String[] { + "CpuCount", + }); + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor, + new java.lang.String[] { + "ZoneId", "Id", "Ip", "State", + }); + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { + "RecordApplicationTags", + "RecordClientAddress", + "QueryStringLength", + "QueryPlansPerMinute", + "RecordApplicationTags", + "RecordClientAddress", + "QueryPlansPerMinute", + }); + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { + "NodeCount", + }); + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { + "RequireConnectors", "SslConfig", + }); + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor, + new java.lang.String[] { + "Name", "IpAddress", "InstanceUid", + }); + internal_static_google_cloud_alloydb_v1_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "Type", + "Description", + "ClusterUid", + "ClusterName", + "Reconciling", + "EncryptionConfig", + "EncryptionInfo", + "Etag", + "Annotations", + "SizeBytes", + "ExpiryTime", + "ExpiryQuantity", + "DatabaseVersion", + }); + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { + "RetentionCount", "TotalRetentionCount", + }); + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { + "StringRestrictions", + "IntegerRestrictions", + "Name", + "FlagName", + "ValueType", + "AcceptsMultipleValues", + "SupportedDbVersions", + "RequiresDbRestart", + "Restrictions", + }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { + "AllowedValues", + }); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { + "MinValue", "MaxValue", + }); + internal_static_google_cloud_alloydb_v1_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1_User_descriptor, + new java.lang.String[] { + "Name", "Password", "DatabaseRoles", "UserType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java index feb991fb2db3..63470123d64c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -/** - * Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} - */ -public final class RestartInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} */ +public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.RestartInstanceRequest) RestartInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -22,34 +36,41 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.RestartInstanceRequest.class, com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 @@ -58,30 +79,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -90,9 +113,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -110,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -118,14 +145,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -143,16 +171,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -163,12 +190,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -177,6 +207,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,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_); } @@ -215,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,19 +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.cloud.alloydb.v1.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.RestartInstanceRequest other = (com.google.cloud.alloydb.v1.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1.RestartInstanceRequest other = + (com.google.cloud.alloydb.v1.RestartInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,135 +282,134 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1.RestartInstanceRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1.RestartInstanceRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.RestartInstanceRequest) com.google.cloud.alloydb.v1.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.RestartInstanceRequest.class, com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.RestartInstanceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +421,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -416,8 +442,11 @@ public com.google.cloud.alloydb.v1.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.RestartInstanceRequest result = new com.google.cloud.alloydb.v1.RestartInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.RestartInstanceRequest result = + new com.google.cloud.alloydb.v1.RestartInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -439,38 +468,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestartInstanceRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.RestartInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.RestartInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -478,7 +508,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -518,27 +549,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,23 +583,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -573,21 +613,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -595,30 +638,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -628,18 +682,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -649,6 +709,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,13 +728,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -681,6 +743,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -698,15 +762,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -714,6 +777,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -731,18 +796,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -760,6 +829,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -769,6 +839,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -786,12 +858,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -799,14 +873,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -814,12 +891,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -831,12 +911,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -845,9 +928,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -857,12 +940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1.RestartInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.RestartInstanceRequest(); } @@ -871,27 +954,27 @@ public static com.google.cloud.alloydb.v1.RestartInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +989,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java index 43fc53b008f3..dadaeb21438c 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestartInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface RestartInstanceRequestOrBuilder extends +public interface RestartInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java index b6fac2098f27..d49c20ca96c6 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -28,34 +46,39 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ServiceProto
+        .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.RestoreClusterRequest.class, com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1.RestoreClusterRequest.class,
+            com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -71,30 +94,36 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4: return BACKUP_SOURCE;
-        case 8: return CONTINUOUS_BACKUP_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 4:
+          return BACKUP_SOURCE;
+        case 8:
+          return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -102,21 +131,26 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } /** + * + * *
    * Backup source.
    * 
@@ -126,19 +160,22 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1.BackupSource) source_; + return (com.google.cloud.alloydb.v1.BackupSource) source_; } return com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -146,22 +183,27 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance(); } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -170,23 +212,30 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou
    * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder
+      getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-       return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_;
+      return (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -195,30 +244,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -227,14 +278,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -243,29 +298,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -276,11 +331,15 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -288,11 +347,15 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -300,11 +363,14 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -312,9 +378,12 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -332,6 +401,7 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -340,14 +410,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -365,16 +436,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -385,6 +455,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -392,6 +464,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -400,6 +473,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,8 +485,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -450,23 +523,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.alloydb.v1.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -476,35 +549,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.cloud.alloydb.v1.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.RestoreClusterRequest other = (com.google.cloud.alloydb.v1.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1.RestoreClusterRequest other = + (com.google.cloud.alloydb.v1.RestoreClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource() - .equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -531,8 +598,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -551,98 +617,103 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -650,33 +721,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.RestoreClusterRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.RestoreClusterRequest)
       com.google.cloud.alloydb.v1.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.RestoreClusterRequest.class, com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1.RestoreClusterRequest.class,
+              com.google.cloud.alloydb.v1.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.RestoreClusterRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +772,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ServiceProto
+          .internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -723,8 +793,11 @@ public com.google.cloud.alloydb.v1.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1.RestoreClusterRequest result = new com.google.cloud.alloydb.v1.RestoreClusterRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.RestoreClusterRequest result =
+          new com.google.cloud.alloydb.v1.RestoreClusterRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -739,9 +812,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestoreClusterRequest res
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null
-            ? cluster_
-            : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -754,12 +825,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1.RestoreClusterRequest res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 &&
-          continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -768,38 +837,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.RestoreClusterReques
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1.RestoreClusterRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.RestoreClusterRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -807,7 +877,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -830,17 +901,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.RestoreClusterRequest other
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case CONTINUOUS_BACKUP_SOURCE: {
-          mergeContinuousBackupSource(other.getContinuousBackupSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case CONTINUOUS_BACKUP_SOURCE:
+          {
+            mergeContinuousBackupSource(other.getContinuousBackupSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -868,53 +942,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              clusterId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getClusterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 48: {
-              validateOnly_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 48
-            case 66: {
-              input.readMessage(
-                  getContinuousBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 48:
+              {
+                validateOnly_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 48
+            case 66:
+              {
+                input.readMessage(
+                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -924,12 +1001,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() {
@@ -942,13 +1019,19 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1.BackupSource,
+            com.google.cloud.alloydb.v1.BackupSource.Builder,
+            com.google.cloud.alloydb.v1.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -956,11 +1039,14 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override @@ -978,6 +1064,8 @@ public com.google.cloud.alloydb.v1.BackupSource getBackupSource() { } } /** + * + * *
      * Backup source.
      * 
@@ -998,6 +1086,8 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { return this; } /** + * + * *
      * Backup source.
      * 
@@ -1016,6 +1106,8 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Backup source.
      * 
@@ -1024,10 +1116,13 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 && - source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1.BackupSource.newBuilder((com.google.cloud.alloydb.v1.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 4 + && source_ != com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1043,6 +1138,8 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1.BackupSource value) return this; } /** + * + * *
      * Backup source.
      * 
@@ -1066,6 +1163,8 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Backup source.
      * 
@@ -1076,6 +1175,8 @@ public com.google.cloud.alloydb.v1.BackupSource.Builder getBackupSourceBuilder() return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Backup source.
      * 
@@ -1094,6 +1195,8 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } } /** + * + * *
      * Backup source.
      * 
@@ -1101,14 +1204,19 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde * .google.cloud.alloydb.v1.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1.BackupSource, + com.google.cloud.alloydb.v1.BackupSource.Builder, + com.google.cloud.alloydb.v1.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.BackupSource, com.google.cloud.alloydb.v1.BackupSource.Builder, com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.BackupSource, + com.google.cloud.alloydb.v1.BackupSource.Builder, + com.google.cloud.alloydb.v1.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1.BackupSource) source_, getParentForChildren(), isClean()); @@ -1120,14 +1228,20 @@ public com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilde } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1.ContinuousBackupSource, + com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> + continuousBackupSourceBuilder_; /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1135,12 +1249,15 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ @java.lang.Override @@ -1158,6 +1275,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou } } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1165,7 +1284,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSou
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
+    public Builder setContinuousBackupSource(
+        com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
       if (continuousBackupSourceBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1179,6 +1299,8 @@ public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1.ContinuousB
       return this;
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1198,6 +1320,8 @@ public Builder setContinuousBackupSource(
       return this;
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1205,12 +1329,16 @@ public Builder setContinuousBackupSource(
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
+    public Builder mergeContinuousBackupSource(
+        com.google.cloud.alloydb.v1.ContinuousBackupSource value) {
       if (continuousBackupSourceBuilder_ == null) {
-        if (sourceCase_ == 8 &&
-            source_ != com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) {
-          source_ = com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1.ContinuousBackupSource) source_)
-              .mergeFrom(value).buildPartial();
+        if (sourceCase_ == 8
+            && source_ != com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance()) {
+          source_ =
+              com.google.cloud.alloydb.v1.ContinuousBackupSource.newBuilder(
+                      (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           source_ = value;
         }
@@ -1226,6 +1354,8 @@ public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1.Continuou
       return this;
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1250,6 +1380,8 @@ public Builder clearContinuousBackupSource() {
       return this;
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1257,10 +1389,13 @@ public Builder clearContinuousBackupSource() {
      *
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
-    public com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() {
+    public com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder
+        getContinuousBackupSourceBuilder() {
       return getContinuousBackupSourceFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1269,7 +1404,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder getContinuousB
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
     @java.lang.Override
-    public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
+    public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder
+        getContinuousBackupSourceOrBuilder() {
       if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) {
         return continuousBackupSourceBuilder_.getMessageOrBuilder();
       } else {
@@ -1280,6 +1416,8 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuous
       }
     }
     /**
+     *
+     *
      * 
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
@@ -1288,14 +1426,19 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuous
      * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder> 
+            com.google.cloud.alloydb.v1.ContinuousBackupSource,
+            com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder,
+            com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>
         getContinuousBackupSourceFieldBuilder() {
       if (continuousBackupSourceBuilder_ == null) {
         if (!(sourceCase_ == 8)) {
           source_ = com.google.cloud.alloydb.v1.ContinuousBackupSource.getDefaultInstance();
         }
-        continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1.ContinuousBackupSource, com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>(
+        continuousBackupSourceBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1.ContinuousBackupSource,
+                com.google.cloud.alloydb.v1.ContinuousBackupSource.Builder,
+                com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder>(
                 (com.google.cloud.alloydb.v1.ContinuousBackupSource) source_,
                 getParentForChildren(),
                 isClean());
@@ -1308,19 +1451,23 @@ public com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuous
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -1329,21 +1476,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -1351,30 +1501,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -1384,18 +1545,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1405,18 +1572,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1425,20 +1594,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1446,28 +1616,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1477,17 +1654,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1497,39 +1678,55 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1545,14 +1742,16 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1563,17 +1762,20 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1586,11 +1788,14 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1603,11 +1808,14 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1615,36 +1823,46 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1652,6 +1870,8 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1669,13 +1889,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1684,6 +1904,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1701,15 +1923,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1717,6 +1938,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1734,18 +1957,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1763,6 +1990,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1772,6 +2000,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1789,12 +2019,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -1802,8 +2034,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1811,6 +2045,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1818,6 +2053,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1825,6 +2062,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1836,6 +2074,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1843,6 +2083,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1851,9 +2092,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1863,12 +2104,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1.RestoreClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.RestoreClusterRequest(); } @@ -1877,27 +2118,27 @@ public static com.google.cloud.alloydb.v1.RestoreClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1912,6 +2153,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java similarity index 80% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java index 1b56dd4d65a8..23420a25b9d5 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/RestoreClusterRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface RestoreClusterRequestOrBuilder extends +public interface RestoreClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1.BackupSource backup_source = 4; + * * @return The backupSource. */ com.google.cloud.alloydb.v1.BackupSource getBackupSource(); /** + * + * *
    * Backup source.
    * 
@@ -35,26 +59,34 @@ public interface RestoreClusterRequestOrBuilder extends com.google.cloud.alloydb.v1.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1.ContinuousBackupSource getContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -65,75 +97,102 @@ public interface RestoreClusterRequestOrBuilder extends
   com.google.cloud.alloydb.v1.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -151,10 +210,13 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -172,12 +234,14 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -185,6 +249,7 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java new file mode 100644 index 000000000000..aecd3593233c --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java @@ -0,0 +1,979 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/service.proto + +package com.google.cloud.alloydb.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_cloud_alloydb_v1_ListClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1_DeleteUserRequest_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/cloud/alloydb/v1/service.proto\022" + + "\027google.cloud.alloydb.v1\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\'google/cloud/alloyd" + + "b/v1/resources.proto\032#google/longrunning" + + "/operations.proto\032\036google/protobuf/durat" + + "ion.proto\032\033google/protobuf/empty.proto\032 " + + "google/protobuf/field_mask.proto\032\037google" + + "/protobuf/timestamp.proto\032\027google/rpc/st" + + "atus.proto\"\251\001\n\023ListClustersRequest\0227\n\006pa" + + "rent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis." + + "com/Cluster\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\n" + + "page_token\030\003 \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026" + + "\n\010order_by\030\005 \001(\tB\004\342A\001\001\"x\n\024ListClustersRe" + + "sponse\0222\n\010clusters\030\001 \003(\0132 .google.cloud." + + "alloydb.v1.Cluster\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"\204\001\n\021GetClusterR" + + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + + "oogleapis.com/Cluster\0228\n\004view\030\002 \001(\0162$.go" + + "ogle.cloud.alloydb.v1.ClusterViewB\004\342A\001\001\"" + + "\342\001\n\035CreateSecondaryClusterRequest\0227\n\006par" + + "ent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.c" + + "om/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007" + + "cluster\030\003 \001(\0132 .google.cloud.alloydb.v1." + + "ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\006 \001(\010B\004\342A\001\001\"\331\001\n\024CreateC" + + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + + "r_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .goog" + + "le.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nreq" + + "uest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001" + + "(\010B\004\342A\001\001\"\332\001\n\024UpdateClusterRequest\0225\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\004\342A\001\001\0227\n\007cluster\030\002 \001(\0132 .google.cloud" + + ".alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + + "\001\"\371\002\n\025RestoreClusterRequest\022>\n\rbackup_so" + + "urce\030\004 \001(\0132%.google.cloud.alloydb.v1.Bac" + + "kupSourceH\000\022S\n\030continuous_backup_source\030" + + "\010 \001(\0132/.google.cloud.alloydb.v1.Continuo" + + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + + "ster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .g" + + "oogle.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\n" + + "request_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + + "\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstancesR" + + "equest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb" + + ".googleapis.com/Instance\022\027\n\tpage_size\030\002 " + + "\001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030" + + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"{\n\025L" + + "istInstancesResponse\0224\n\tinstances\030\001 \003(\0132" + + "!.google.cloud.alloydb.v1.Instance\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"\201\001\n\022GetInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + + "3\n\004view\030\002 \001(\0162%.google.cloud.alloydb.v1." + + "InstanceView\"\336\001\n\025CreateInstanceRequest\0228" + + "\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googlea" + + "pis.com/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342" + + "A\001\002\0229\n\010instance\030\003 \001(\0132!.google.cloud.all" + + "oydb.v1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001" + + "(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\347\001" + + "\n\036CreateSecondaryInstanceRequest\0228\n\006pare" + + "nt\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googleapis.co" + + "m/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\0229\n" + + "\010instance\030\003 \001(\0132!.google.cloud.alloydb.v" + + "1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A" + + "\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"p\n\026Creat" + + "eInstanceRequests\022V\n\030create_instance_req" + + "uests\030\001 \003(\0132..google.cloud.alloydb.v1.Cr" + + "eateInstanceRequestB\004\342A\001\002\"\272\001\n\033BatchCreat" + + "eInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372" + + "A!\022\037alloydb.googleapis.com/Instance\022G\n\010r" + + "equests\030\002 \001(\0132/.google.cloud.alloydb.v1." + + "CreateInstanceRequestsB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\003 \001(\tB\004\342A\001\001\"T\n\034BatchCreateInstancesRe" + + "sponse\0224\n\tinstances\030\001 \003(\0132!.google.cloud" + + ".alloydb.v1.Instance\"\215\002\n\034BatchCreateInst" + + "ancesMetadata\022\030\n\020instance_targets\030\001 \003(\t\022" + + "f\n\021instance_statuses\030\002 \003(\0132K.google.clou" + + "d.alloydb.v1.BatchCreateInstancesMetadat" + + "a.InstanceStatusesEntry\032k\n\025InstanceStatu" + + "sesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.g" + + "oogle.cloud.alloydb.v1.BatchCreateInstan" + + "ceStatus:\0028\001\"\320\002\n\031BatchCreateInstanceStat" + + "us\022G\n\005state\030\001 \001(\01628.google.cloud.alloydb" + + ".v1.BatchCreateInstanceStatus.State\022\021\n\te" + + "rror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.google.r" + + "pc.Status\022<\n\004type\030\003 \001(\0162..google.cloud.a" + + "lloydb.v1.Instance.InstanceType\"v\n\005State" + + "\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDING_CREAT" + + "E\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING" + + "\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"\335\001\n\025Upda" + + "teInstanceRequest\0225\n\013update_mask\030\001 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\001\0229\n\010inst" + + "ance\030\002 \001(\0132!.google.cloud.alloydb.v1.Ins" + + "tanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n" + + "\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_miss" + + "ing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceReques" + + "t\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.google" + + "apis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342" + + "A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + + "\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest" + + "\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googlea" + + "pis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A" + + "\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\212\002\n\022Inje" + + "ctFaultRequest\022O\n\nfault_type\030\001 \001(\01625.goo" + + "gle.cloud.alloydb.v1.InjectFaultRequest." + + "FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n\037" + + "alloydb.googleapis.com/Instance\022\030\n\nreque" + + "st_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" + + "B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPEC" + + "IFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstance" + + "Request\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb." + + "googleapis.com/Instance\022\030\n\nrequest_id\030\002 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\225" + + "\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&\342" + + "A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + + "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\023ListBa" + + "ckupsResponse\0220\n\007backups\030\001 \003(\0132\037.google." + + "cloud.alloydb.v1.Backup\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020GetBack" + + "upRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloyd" + + "b.googleapis.com/Backup\"\324\001\n\023CreateBackup" + + "Request\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloyd" + + "b.googleapis.com/Backup\022\027\n\tbackup_id\030\002 \001" + + "(\tB\004\342A\001\002\0225\n\006backup\030\003 \001(\0132\037.google.cloud." + + "alloydb.v1.BackupB\004\342A\001\002\022\030\n\nrequest_id\030\004 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\327" + + "\001\n\023UpdateBackupRequest\0225\n\013update_mask\030\001 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225\n" + + "\006backup\030\002 \001(\0132\037.google.cloud.alloydb.v1." + + "BackupB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mis" + + "sing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023DeleteBackupRequest" + + "\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googlea" + + "pis.com/Backup\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001" + + "\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 " + + "\001(\tB\004\342A\001\001\"\221\001\n!ListSupportedDatabaseFlags" + + "Request\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,alloyd" + + "b.googleapis.com/SupportedDatabaseFlag\022\021" + + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001" + + "\n\"ListSupportedDatabaseFlagsResponse\022P\n\030" + + "supported_database_flags\030\001 \003(\0132..google." + + "cloud.alloydb.v1.SupportedDatabaseFlag\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\354\001\n GenerateClie" + + "ntCertificateRequest\0227\n\006parent\030\001 \001(\tB\'\342A" + + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030\n" + + "\nrequest_id\030\002 \001(\tB\004\342A\001\001\0226\n\rcert_duration" + + "\030\004 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001\022" + + "\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_metadat" + + "a_exchange\030\006 \001(\010B\004\342A\001\001\"_\n!GenerateClient" + + "CertificateResponse\022#\n\025pem_certificate_c" + + "hain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"" + + "n\n\030GetConnectionInfoRequest\0228\n\006parent\030\001 " + + "\001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/Ins" + + "tance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\203\003\n\021Oper" + + "ationMetadata\022f\n\037batch_create_instances_" + + "metadata\030\010 \001(\01325.google.cloud.alloydb.v1" + + ".BatchCreateInstancesMetadataB\004\342A\001\003H\000\0225\n" + + "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001(\t" + + "B\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_mes" + + "sage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancellati" + + "on\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342A\001" + + "\003B\022\n\020request_specific\"\251\001\n\020ListUsersReque" + + "st\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.goo" + + "gleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001" + + "\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 " + + "\001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"o\n\021Lis" + + "tUsersResponse\022,\n\005users\030\001 \003(\0132\035.google.c" + + "loud.alloydb.v1.User\022\027\n\017next_page_token\030" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016GetUserReq" + + "uest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.goo" + + "gleapis.com/User\"\312\001\n\021CreateUserRequest\0224" + + "\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.googlea" + + "pis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\002\0221\n\004u" + + "ser\030\003 \001(\0132\035.google.cloud.alloydb.v1.User" + + "B\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvali" + + "date_only\030\005 \001(\010B\004\342A\001\001\"\321\001\n\021UpdateUserRequ" + + "est\0225\n\013update_mask\030\001 \001(\0132\032.google.protob" + + "uf.FieldMaskB\004\342A\001\001\0221\n\004user\030\002 \001(\0132\035.googl" + + "e.cloud.alloydb.v1.UserB\004\342A\001\002\022\030\n\nrequest" + + "_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004" + + "\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"~\n\021Del" + + "eteUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033a" + + "lloydb.googleapis.com/User\022\030\n\nrequest_id" + + "\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001" + + "\0012\3721\n\014AlloyDBAdmin\022\252\001\n\014ListClusters\022,.go" + + "ogle.cloud.alloydb.v1.ListClustersReques" + + "t\032-.google.cloud.alloydb.v1.ListClusters" + + "Response\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=p" + + "rojects/*/locations/*}/clusters\022\227\001\n\nGetC" + + "luster\022*.google.cloud.alloydb.v1.GetClus" + + "terRequest\032 .google.cloud.alloydb.v1.Clu" + + "ster\";\332A\004name\202\323\344\223\002.\022,/v1/{name=projects/" + + "*/locations/*/clusters/*}\022\327\001\n\rCreateClus" + + "ter\022-.google.cloud.alloydb.v1.CreateClus" + + "terRequest\032\035.google.longrunning.Operatio" + + "n\"x\312A\034\n\007Cluster\022\021OperationMetadata\332A\031par" + + "ent,cluster,cluster_id\202\323\344\223\0027\",/v1/{paren" + + "t=projects/*/locations/*}/clusters:\007clus" + + "ter\022\331\001\n\rUpdateCluster\022-.google.cloud.all" + + "oydb.v1.UpdateClusterRequest\032\035.google.lo" + + "ngrunning.Operation\"z\312A\034\n\007Cluster\022\021Opera" + + "tionMetadata\332A\023cluster,update_mask\202\323\344\223\002?" + + "24/v1/{cluster.name=projects/*/locations" + + "/*/clusters/*}:\007cluster\022\307\001\n\rDeleteCluste" + + "r\022-.google.cloud.alloydb.v1.DeleteCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "h\312A*\n\025google.protobuf.Empty\022\021OperationMe" + + "tadata\332A\004name\202\323\344\223\002.*,/v1/{name=projects/" + + "*/locations/*/clusters/*}\022\306\001\n\016PromoteClu" + + "ster\022..google.cloud.alloydb.v1.PromoteCl" + + "usterRequest\032\035.google.longrunning.Operat" + + "ion\"e\312A\034\n\007Cluster\022\021OperationMetadata\332A\004n" + + "ame\202\323\344\223\0029\"4/v1/{name=projects/*/location" + + "s/*/clusters/*}:promote:\001*\022\277\001\n\016RestoreCl" + + "uster\022..google.cloud.alloydb.v1.RestoreC" + + "lusterRequest\032\035.google.longrunning.Opera" + + "tion\"^\312A\034\n\007Cluster\022\021OperationMetadata\202\323\344" + + "\223\0029\"4/v1/{parent=projects/*/locations/*}" + + "/clusters:restore:\001*\022\372\001\n\026CreateSecondary" + + "Cluster\0226.google.cloud.alloydb.v1.Create" + + "SecondaryClusterRequest\032\035.google.longrun" + + "ning.Operation\"\210\001\312A\034\n\007Cluster\022\021Operation" + + "Metadata\332A\031parent,cluster,cluster_id\202\323\344\223" + + "\002G\" * SSL configuration. *
* * Protobuf type {@code google.cloud.alloydb.v1.SslConfig} */ -public final class SslConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SslConfig) SslConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -26,34 +44,38 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SslConfig.class, com.google.cloud.alloydb.v1.SslConfig.Builder.class); + com.google.cloud.alloydb.v1.SslConfig.class, + com.google.cloud.alloydb.v1.SslConfig.Builder.class); } /** + * + * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.SslConfig.SslMode} */ - public enum SslMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -62,6 +84,8 @@ public enum SslMode */ SSL_MODE_UNSPECIFIED(0), /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -71,6 +95,8 @@ public enum SslMode @java.lang.Deprecated SSL_MODE_ALLOW(1), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -82,6 +108,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -93,6 +121,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -101,6 +131,8 @@ public enum SslMode */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -112,6 +144,8 @@ public enum SslMode ; /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -120,6 +154,8 @@ public enum SslMode */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -128,6 +164,8 @@ public enum SslMode */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -138,6 +176,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -148,6 +188,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -156,6 +198,8 @@ public enum SslMode */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -164,7 +208,6 @@ public enum SslMode */ public static final int ENCRYPTED_ONLY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -189,52 +232,55 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: return SSL_MODE_UNSPECIFIED; - case 1: return SSL_MODE_ALLOW; - case 2: return SSL_MODE_REQUIRE; - case 3: return SSL_MODE_VERIFY_CA; - case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: return ENCRYPTED_ONLY; - default: return null; + case 0: + return SSL_MODE_UNSPECIFIED; + case 1: + return SSL_MODE_ALLOW; + case 2: + return SSL_MODE_REQUIRE; + case 3: + return SSL_MODE_VERIFY_CA; + case 4: + return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: + return ENCRYPTED_ONLY; + 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< - SslMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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 SslMode findValueByNumber(int number) { + return SslMode.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.cloud.alloydb.v1.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -252,15 +298,18 @@ private SslMode(int value) { } /** + * + * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.SslConfig.CaSource} */ - public enum CaSource - implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -270,6 +319,8 @@ public enum CaSource
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -281,6 +332,8 @@ public enum CaSource ; /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -290,6 +343,8 @@ public enum CaSource
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -298,7 +353,6 @@ public enum CaSource */ public static final int CA_SOURCE_MANAGED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -323,48 +377,47 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: return CA_SOURCE_UNSPECIFIED; - case 1: return CA_SOURCE_MANAGED; - default: return null; + case 0: + return CA_SOURCE_UNSPECIFIED; + case 1: + return CA_SOURCE_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< - CaSource> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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 CaSource findValueByNumber(int number) { + return CaSource.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.cloud.alloydb.v1.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -384,58 +437,85 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ - @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1.SslConfig.SslMode result = com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); + @java.lang.Override + public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1.SslConfig.SslMode result = + com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.SslMode.UNRECOGNIZED : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ - @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1.SslConfig.CaSource result = com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); + @java.lang.Override + public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1.SslConfig.CaSource result = + com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.CaSource.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,12 +527,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (sslMode_ != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sslMode_ + != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ + != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -464,13 +545,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, sslMode_); + if (sslMode_ + != com.google.cloud.alloydb.v1.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, caSource_); + if (caSource_ + != com.google.cloud.alloydb.v1.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,7 +561,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.cloud.alloydb.v1.SslConfig)) { return super.equals(obj); @@ -509,132 +590,135 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.SslConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1.SslConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.SslConfig 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.cloud.alloydb.v1.SslConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SslConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SslConfig) com.google.cloud.alloydb.v1.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SslConfig.class, com.google.cloud.alloydb.v1.SslConfig.Builder.class); + com.google.cloud.alloydb.v1.SslConfig.class, + com.google.cloud.alloydb.v1.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1.SslConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +729,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; } @java.lang.Override @@ -666,8 +750,11 @@ public com.google.cloud.alloydb.v1.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig buildPartial() { - com.google.cloud.alloydb.v1.SslConfig result = new com.google.cloud.alloydb.v1.SslConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.SslConfig result = + new com.google.cloud.alloydb.v1.SslConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -686,38 +773,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SslConfig result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1.SslConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1.SslConfig) other); } else { super.mergeFrom(other); return this; @@ -758,22 +846,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -783,26 +874,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int sslMode_ = 0; /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -813,24 +916,35 @@ public Builder setSslModeValue(int value) { return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1.SslConfig.SslMode result = com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); + com.google.cloud.alloydb.v1.SslConfig.SslMode result = + com.google.cloud.alloydb.v1.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.SslMode.UNRECOGNIZED : result; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The sslMode to set. * @return This builder for chaining. */ @@ -844,11 +958,16 @@ public Builder setSslMode(com.google.cloud.alloydb.v1.SslConfig.SslMode value) { return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSslMode() { @@ -860,24 +979,35 @@ public Builder clearSslMode() { private int caSource_ = 0; /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -888,26 +1018,37 @@ public Builder setCaSourceValue(int value) { return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1.SslConfig.CaSource result = com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); + com.google.cloud.alloydb.v1.SslConfig.CaSource result = + com.google.cloud.alloydb.v1.SslConfig.CaSource.forNumber(caSource_); return result == null ? com.google.cloud.alloydb.v1.SslConfig.CaSource.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The caSource to set. * @return This builder for chaining. */ @@ -921,12 +1062,17 @@ public Builder setCaSource(com.google.cloud.alloydb.v1.SslConfig.CaSource value) return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCaSource() { @@ -935,9 +1081,9 @@ public Builder clearCaSource() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,12 +1093,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SslConfig) private static final com.google.cloud.alloydb.v1.SslConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SslConfig(); } @@ -961,27 +1107,27 @@ public static com.google.cloud.alloydb.v1.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java new file mode 100644 index 000000000000..f31c410f117c --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SslConfigOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1/resources.proto + +package com.google.cloud.alloydb.v1; + +public interface SslConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sslMode. + */ + com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode(); + + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The caSource. + */ + com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource(); +} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java index be9a338eb921..f1bb07d3e2e7 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -32,25 +50,28 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class,
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown flag type.
      * 
@@ -70,6 +92,8 @@ public enum ValueType */ VALUE_TYPE_UNSPECIFIED(0), /** + * + * *
      * String type flag.
      * 
@@ -78,6 +102,8 @@ public enum ValueType */ STRING(1), /** + * + * *
      * Integer type flag.
      * 
@@ -86,6 +112,8 @@ public enum ValueType */ INTEGER(2), /** + * + * *
      * Float type flag.
      * 
@@ -94,6 +122,8 @@ public enum ValueType */ FLOAT(3), /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -105,6 +135,8 @@ public enum ValueType ; /** + * + * *
      * This is an unknown flag type.
      * 
@@ -113,6 +145,8 @@ public enum ValueType */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * String type flag.
      * 
@@ -121,6 +155,8 @@ public enum ValueType */ public static final int STRING_VALUE = 1; /** + * + * *
      * Integer type flag.
      * 
@@ -129,6 +165,8 @@ public enum ValueType */ public static final int INTEGER_VALUE = 2; /** + * + * *
      * Float type flag.
      * 
@@ -137,6 +175,8 @@ public enum ValueType */ public static final int FLOAT_VALUE = 3; /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -145,7 +185,6 @@ public enum ValueType */ public static final int NONE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,51 +209,55 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: return VALUE_TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INTEGER; - case 3: return FLOAT; - case 4: return NONE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return VALUE_TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INTEGER; + case 3: + return FLOAT; + case 4: + return NONE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValueType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.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 ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDescriptor() + .getEnumTypes() + .get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,132 +274,155 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder extends + public interface StringRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); } /** + * + * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringRestrictions() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -364,21 +430,24 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +459,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -420,15 +488,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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other = + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -450,89 +518,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + 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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -542,62 +616,67 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder.class); } - // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -606,13 +685,17 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions buil @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions buildPartial() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result = + new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -624,46 +707,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Str public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions)other); + return mergeFrom( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other) { - if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions other) { + if (other + == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -700,18 +790,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -721,10 +813,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -732,38 +826,46 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -771,33 +873,39 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -805,18 +913,22 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -824,53 +936,61 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -878,6 +998,7 @@ public Builder addAllowedValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -890,41 +1011,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,35 +1060,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IntegerRestrictionsOrBuilder extends + public interface IntegerRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -974,24 +1107,32 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1001,52 +1142,58 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** + * + * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IntegerRestrictions() { - } + + private IntegerRestrictions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1054,11 +1201,14 @@ public boolean hasMinValue() { return minValue_ != null; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ @java.lang.Override @@ -1066,6 +1216,8 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1080,11 +1232,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1092,11 +1247,14 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ @java.lang.Override @@ -1104,6 +1262,8 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1116,6 +1276,7 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1127,8 +1288,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1145,12 +1305,10 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1160,22 +1318,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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other = + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1202,89 +1359,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + 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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1294,39 +1457,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1345,19 +1512,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1366,23 +1536,23 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions bui @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result = + new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null - ? minValue_ - : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null - ? maxValue_ - : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); } } @@ -1390,46 +1560,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Int public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions)other); + if (other + instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other + == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1462,26 +1640,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMaxValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1491,38 +1668,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + minValueBuilder_; /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } else { return minValueBuilder_.getMessage(); } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1543,14 +1734,15 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1561,6 +1753,8 @@ public Builder setMinValue( return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1569,9 +1763,9 @@ public Builder setMinValue( */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - minValue_ != null && - minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && minValue_ != null + && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1584,6 +1778,8 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1601,6 +1797,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1613,6 +1811,8 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1623,11 +1823,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1635,14 +1838,17 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -1650,34 +1856,47 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + maxValueBuilder_; /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1698,14 +1917,15 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1716,6 +1936,8 @@ public Builder setMaxValue( return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1724,9 +1946,9 @@ public Builder setMaxValue( */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - maxValue_ != null && - maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && maxValue_ != null + && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1739,6 +1961,8 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1756,6 +1980,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1768,6 +1994,8 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1778,11 +2006,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1790,18 +2021,22 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1814,41 +2049,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1860,22 +2099,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int restrictionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object restrictions_; + public enum RestrictionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; + private RestrictionsCase(int value) { this.value = value; } @@ -1891,30 +2134,38 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: return STRING_RESTRICTIONS; - case 8: return INTEGER_RESTRICTIONS; - case 0: return RESTRICTIONS_NOT_SET; - default: return null; + case 7: + return STRING_RESTRICTIONS; + case 8: + return INTEGER_RESTRICTIONS; + case 0: + return RESTRICTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RestrictionsCase - getRestrictionsCase() { - return RestrictionsCase.forNumber( - restrictionsCase_); + public RestrictionsCase getRestrictionsCase() { + return RestrictionsCase.forNumber(restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -1922,42 +2173,60 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -1965,39 +2234,55 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2005,6 +2290,7 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBu
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2013,14 +2299,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2028,16 +2315,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 { @@ -2046,15 +2332,19 @@ public java.lang.String getName() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ @java.lang.Override @@ -2063,30 +2353,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -2098,29 +2388,39 @@ public java.lang.String getFlagName() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2129,36 +2429,49 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List supportedDbVersions_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion> supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion> + supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>() { public com.google.cloud.alloydb.v1.DatabaseVersion convert(java.lang.Integer from) { - com.google.cloud.alloydb.v1.DatabaseVersion result = com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(from); - return result == null ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.DatabaseVersion result = + com.google.cloud.alloydb.v1.DatabaseVersion.forNumber(from); + return result == null + ? com.google.cloud.alloydb.v1.DatabaseVersion.UNRECOGNIZED + : result; } }; /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ @java.lang.Override public java.util.List getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2166,11 +2479,14 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2179,24 +2495,29 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2204,11 +2525,14 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int in public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } + private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2217,6 +2541,7 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -2225,6 +2550,7 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2236,8 +2562,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2245,7 +2570,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2262,10 +2589,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); + output.writeMessage( + 7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + output.writeMessage( + 8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); } getUnknownFields().writeTo(output); } @@ -2282,37 +2611,42 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, valueType_); + if (valueType_ + != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2322,32 +2656,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.cloud.alloydb.v1.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag other = + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFlagName() - .equals(other.getFlagName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFlagName().equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() - != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() - != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions() - .equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions() - .equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2370,15 +2699,13 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2397,98 +2724,103 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2499,33 +2831,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.SupportedDatabaseFlag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.class,
+              com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.SupportedDatabaseFlag.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2549,9 +2880,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2570,15 +2901,19 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1.SupportedDatabaseFlag result =
+          new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2608,12 +2943,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1.SupportedDatabaseFlag res
     private void buildPartialOneofs(com.google.cloud.alloydb.v1.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 &&
-          stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 &&
-          integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2622,38 +2955,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1.SupportedDatabaseFla
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.SupportedDatabaseFlag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2661,7 +2995,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1.SupportedDatabaseFlag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -2692,17 +3027,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1.SupportedDatabaseFlag other
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS: {
-          mergeStringRestrictions(other.getStringRestrictions());
-          break;
-        }
-        case INTEGER_RESTRICTIONS: {
-          mergeIntegerRestrictions(other.getIntegerRestrictions());
-          break;
-        }
-        case RESTRICTIONS_NOT_SET: {
-          break;
-        }
+        case STRING_RESTRICTIONS:
+          {
+            mergeStringRestrictions(other.getStringRestrictions());
+            break;
+          }
+        case INTEGER_RESTRICTIONS:
+          {
+            mergeIntegerRestrictions(other.getIntegerRestrictions());
+            break;
+          }
+        case RESTRICTIONS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2730,68 +3068,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              flagName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 24: {
-              valueType_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 24
-            case 32: {
-              acceptsMultipleValues_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 32
-            case 40: {
-              int tmpRaw = input.readEnum();
-              ensureSupportedDbVersionsIsMutable();
-              supportedDbVersions_.add(tmpRaw);
-              break;
-            } // case 40
-            case 42: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                flagName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 24:
+              {
+                valueType_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 24
+            case 32:
+              {
+                acceptsMultipleValues_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 32
+            case 40:
+              {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 42
-            case 48: {
-              requiresDbRestart_ = input.readBool();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getStringRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getIntegerRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            case 42:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureSupportedDbVersionsIsMutable();
+                  supportedDbVersions_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 42
+            case 48:
+              {
+                requiresDbRestart_ = input.readBool();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(
+                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2801,12 +3147,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-    public RestrictionsCase
-        getRestrictionsCase() {
-      return RestrictionsCase.forNumber(
-          restrictionsCase_);
+
+    public RestrictionsCase getRestrictionsCase() {
+      return RestrictionsCase.forNumber(restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -2819,13 +3165,21 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions,
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder,
+            com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
+        stringRestrictionsBuilder_;
     /**
+     *
+     *
      * 
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2833,35 +3187,49 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder setStringRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2875,14 +3243,19 @@ public Builder setStringRestrictions(com.google.cloud.alloydb.v1.SupportedDataba return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder + builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -2893,18 +3266,29 @@ public Builder setStringRestrictions( return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 && - restrictions_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 7 + && restrictions_ + != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.newBuilder( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -2920,11 +3304,15 @@ public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1.SupportedData return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -2943,50 +3331,74 @@ public Builder clearStringRestrictions() { return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder + getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } - stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) restrictions_, + stringRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -2997,13 +3409,21 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + integerRestrictionsBuilder_; /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3011,35 +3431,49 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3053,14 +3487,19 @@ public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDatab return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder + builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3071,18 +3510,29 @@ public Builder setIntegerRestrictions( return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions( + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 && - restrictions_ != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 8 + && restrictions_ + != com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -3098,11 +3548,15 @@ public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1.SupportedDat return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3121,50 +3575,74 @@ public Builder clearIntegerRestrictions() { return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder + getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } - integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, + integerRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3176,6 +3654,8 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBu private java.lang.Object name_ = ""; /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3183,13 +3663,13 @@ public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBu
      * 
* * 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; @@ -3198,6 +3678,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3205,15 +3687,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 { @@ -3221,6 +3702,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3228,18 +3711,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3247,6 +3734,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3256,6 +3744,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3263,12 +3753,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3278,19 +3770,21 @@ public Builder setNameBytes( private java.lang.Object flagName_ = ""; /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3299,21 +3793,22 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -3321,30 +3816,37 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3354,18 +3856,22 @@ public Builder clearFlagName() { return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3376,13 +3882,16 @@ public Builder setFlagNameBytes( private int valueType_ = 0; /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3394,15 +3903,20 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The valueType to set. * @return This builder for chaining. */ @@ -3417,6 +3931,7 @@ public Builder setValueType(com.google.cloud.alloydb.v1.SupportedDatabaseFlag.Va } /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3426,14 +3941,17 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_ ; + private boolean acceptsMultipleValues_; /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3441,12 +3959,15 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -3458,12 +3979,15 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -3474,7 +3998,8 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -3482,34 +4007,45 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ - public java.util.List getSupportedDbVersionsList() { + public java.util.List + getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -3517,11 +4053,14 @@ public com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -3537,11 +4076,14 @@ public Builder setSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3555,11 +4097,14 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1.DatabaseVersio return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3573,11 +4118,14 @@ public Builder addAllSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -3587,23 +4135,28 @@ public Builder clearSupportedDbVersions() { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -3611,28 +4164,33 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue( - int index, int value) { + public Builder setSupportedDbVersionsValue(int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -3643,16 +4201,18 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue( - java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -3661,8 +4221,10 @@ public Builder addAllSupportedDbVersionsValue( return this; } - private boolean requiresDbRestart_ ; + private boolean requiresDbRestart_; /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3671,6 +4233,7 @@ public Builder addAllSupportedDbVersionsValue(
      * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -3678,6 +4241,8 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3686,6 +4251,7 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; + * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -3697,6 +4263,8 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3705,6 +4273,7 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; + * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -3713,9 +4282,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3725,12 +4294,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1.SupportedDatabaseFlag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.SupportedDatabaseFlag(); } @@ -3739,27 +4308,27 @@ public static com.google.cloud.alloydb.v1.SupportedDatabaseFlag getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3774,6 +4343,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java index 14ced4e0cffe..975df4862979 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/SupportedDatabaseFlagOrBuilder.java @@ -1,67 +1,115 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface SupportedDatabaseFlagOrBuilder extends +public interface SupportedDatabaseFlagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -69,10 +117,13 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -80,105 +131,131 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ java.lang.String getFlagName(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - com.google.protobuf.ByteString - getFlagNameBytes(); + com.google.protobuf.ByteString getFlagNameBytes(); /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ com.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType getValueType(); /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1.DatabaseVersion getSupportedDbVersions(int index); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List - getSupportedDbVersionsValueList(); + java.util.List getSupportedDbVersionsValueList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -187,6 +264,7 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java index fec161d171a2..24137ee94544 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateBackupRequest.class, com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Backup backup_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +196,7 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +250,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,12 +269,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -235,6 +286,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +324,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +346,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.cloud.alloydb.v1.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateBackupRequest other = (com.google.cloud.alloydb.v1.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1.UpdateBackupRequest other = + (com.google.cloud.alloydb.v1.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup() - .equals(other.getBackup())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getBackup().equals(other.getBackup())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +387,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.UpdateBackupRequest) com.google.cloud.alloydb.v1.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateBackupRequest.class, com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -501,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -522,8 +567,11 @@ public com.google.cloud.alloydb.v1.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateBackupRequest result = new com.google.cloud.alloydb.v1.UpdateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.UpdateBackupRequest result = + new com.google.cloud.alloydb.v1.UpdateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +579,10 @@ public com.google.cloud.alloydb.v1.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +599,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateBackupRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +639,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +684,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +730,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -696,13 +750,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -711,17 +769,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -730,7 +794,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -754,10 +821,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +835,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -776,13 +845,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +865,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -803,7 +875,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +889,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -824,7 +899,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +908,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -840,17 +918,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -859,17 +941,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -877,24 +963,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1.Backup getBackup() { @@ -905,11 +1002,14 @@ public com.google.cloud.alloydb.v1.Backup getBackup() { } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { @@ -925,14 +1025,16 @@ public Builder setBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -943,17 +1045,20 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -966,11 +1071,14 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1091,14 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1106,44 @@ public com.google.cloud.alloydb.v1.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; + return backup_ == null ? com.google.cloud.alloydb.v1.Backup.getDefaultInstance() : backup_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder> + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Backup, com.google.cloud.alloydb.v1.Backup.Builder, com.google.cloud.alloydb.v1.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Backup, + com.google.cloud.alloydb.v1.Backup.Builder, + com.google.cloud.alloydb.v1.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1032,6 +1151,8 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1049,13 +1170,13 @@ public com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1064,6 +1185,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1081,15 +1204,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1097,6 +1219,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1114,18 +1238,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1143,6 +1271,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1281,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1169,12 +1300,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1315,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1197,12 +1333,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1214,12 +1353,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1229,14 +1371,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1244,12 +1389,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1261,12 +1409,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1275,9 +1426,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1.UpdateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateBackupRequest(); } @@ -1301,27 +1452,27 @@ public static com.google.cloud.alloydb.v1.UpdateBackupRequest getDefaultInstance 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; @@ -1336,6 +1487,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java index bbcd83fe72ec..7c895288ff3b 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateBackupRequestOrBuilder extends +public interface UpdateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1.Backup getBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,29 +155,35 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java index 9bfb2d7861a2..c892ed76b306 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateClusterRequest.class, com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Cluster cluster_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.alloydb.v1.Cluster getCluster() { return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +196,7 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +250,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +259,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +270,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +287,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +299,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +325,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +347,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.cloud.alloydb.v1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateClusterRequest other = (com.google.cloud.alloydb.v1.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1.UpdateClusterRequest other = + (com.google.cloud.alloydb.v1.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getCluster().equals(other.getCluster())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +388,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UpdateClusterRequest) com.google.cloud.alloydb.v1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateClusterRequest.class, com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.UpdateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +547,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -523,8 +568,11 @@ public com.google.cloud.alloydb.v1.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateClusterRequest result = new com.google.cloud.alloydb.v1.UpdateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.UpdateClusterRequest result = + new com.google.cloud.alloydb.v1.UpdateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +580,10 @@ public com.google.cloud.alloydb.v1.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +600,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateClusterRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +640,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +731,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -697,13 +751,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -712,17 +770,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -731,7 +795,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +812,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -755,10 +822,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +836,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -777,13 +846,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +866,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -804,7 +876,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +890,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -825,7 +900,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +909,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -841,17 +919,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -860,17 +942,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +964,55 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -926,14 +1028,16 @@ public Builder setCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -944,17 +1048,20 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -967,11 +1074,14 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1094,14 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1109,46 @@ public com.google.cloud.alloydb.v1.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder> + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Cluster, com.google.cloud.alloydb.v1.Cluster.Builder, com.google.cloud.alloydb.v1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Cluster, + com.google.cloud.alloydb.v1.Cluster.Builder, + com.google.cloud.alloydb.v1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1033,6 +1156,8 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1175,13 @@ public com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1190,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1209,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1224,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1243,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1276,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1286,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1305,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1320,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1331,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1339,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1348,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1360,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1369,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1379,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1397,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1417,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1434,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1.UpdateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateClusterRequest(); } @@ -1305,27 +1460,27 @@ public static com.google.cloud.alloydb.v1.UpdateClusterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1495,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java index e27c5b44833e..c38552ba96b9 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateClusterRequestOrBuilder extends +public interface UpdateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1.Cluster getCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +155,14 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +170,21 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java index 306850c111d3..12c16c416b0a 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.Instance instance_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -108,33 +142,47 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +200,7 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +209,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +235,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +254,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +263,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +274,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +291,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +303,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +329,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +351,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.cloud.alloydb.v1.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1.UpdateInstanceRequest other = + (com.google.cloud.alloydb.v1.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getInstance().equals(other.getInstance())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +392,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1.UpdateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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.cloud.alloydb.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; } /** + * + * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.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.cloud.alloydb.v1.UpdateInstanceRequest) com.google.cloud.alloydb.v1.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.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(); @@ -502,9 +551,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -523,8 +572,11 @@ public com.google.cloud.alloydb.v1.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1.UpdateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.UpdateInstanceRequest result = + new com.google.cloud.alloydb.v1.UpdateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +584,10 @@ public com.google.cloud.alloydb.v1.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +604,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateInstanceRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +644,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +735,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -697,13 +755,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -712,17 +774,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -731,7 +799,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +816,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -755,10 +826,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +840,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -777,13 +850,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +870,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -804,7 +880,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +894,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -825,7 +904,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +913,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -841,17 +923,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -860,17 +946,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +968,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { @@ -926,14 +1035,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -944,17 +1056,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -967,11 +1083,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1104,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1120,48 @@ public com.google.cloud.alloydb.v1.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder> + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.Instance, com.google.cloud.alloydb.v1.Instance.Builder, com.google.cloud.alloydb.v1.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.Instance, + com.google.cloud.alloydb.v1.Instance.Builder, + com.google.cloud.alloydb.v1.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1033,6 +1169,8 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1188,13 @@ public com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1203,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1222,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1237,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1256,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1289,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1299,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1318,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1333,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1344,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1352,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1361,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1373,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1382,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1392,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1410,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1430,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1447,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1459,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1.UpdateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateInstanceRequest(); } @@ -1305,27 +1473,27 @@ public static com.google.cloud.alloydb.v1.UpdateInstanceRequest getDefaultInstan 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; @@ -1340,6 +1508,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java similarity index 82% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java index efa70c442e9d..b598d3836fb1 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateInstanceRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateInstanceRequestOrBuilder extends +public interface UpdateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1.Instance getInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +155,14 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +170,21 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java index e050f10d88e9..c8ea1f316f3a 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateUserRequest} */ -public final class UpdateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UpdateUserRequest) UpdateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateUserRequest.class, com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateUserRequest.class, + com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1.User user_; /** + * + * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the user field is set. */ @java.lang.Override @@ -108,11 +141,14 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The user. */ @java.lang.Override @@ -120,6 +156,8 @@ public com.google.cloud.alloydb.v1.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being updated
    * 
@@ -132,9 +170,12 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +193,7 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +202,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +228,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +247,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,11 +266,14 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -234,6 +282,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +294,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -272,23 +320,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,29 +342,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.cloud.alloydb.v1.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1.UpdateUserRequest other = (com.google.cloud.alloydb.v1.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1.UpdateUserRequest other = + (com.google.cloud.alloydb.v1.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getUser().equals(other.getUser())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,142 +383,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.UpdateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UpdateUserRequest) com.google.cloud.alloydb.v1.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.UpdateUserRequest.class, com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1.UpdateUserRequest.class, + com.google.cloud.alloydb.v1.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1.UpdateUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ServiceProto.internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ServiceProto + .internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; } @java.lang.Override @@ -521,8 +563,11 @@ public com.google.cloud.alloydb.v1.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1.UpdateUserRequest result = new com.google.cloud.alloydb.v1.UpdateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1.UpdateUserRequest result = + new com.google.cloud.alloydb.v1.UpdateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -530,14 +575,10 @@ public com.google.cloud.alloydb.v1.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -554,38 +595,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UpdateUserRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1.UpdateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1.UpdateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -637,41 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -681,12 +725,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -695,13 +745,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -710,17 +764,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -729,7 +789,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -745,6 +806,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -753,10 +816,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -767,6 +830,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -775,13 +840,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -794,6 +860,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -802,7 +870,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -815,6 +884,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -823,7 +894,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -831,6 +903,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -839,17 +913,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -858,17 +936,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -876,24 +958,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1.User getUser() { @@ -904,11 +997,14 @@ public com.google.cloud.alloydb.v1.User getUser() { } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { @@ -924,14 +1020,16 @@ public Builder setUser(com.google.cloud.alloydb.v1.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -942,17 +1040,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -965,11 +1066,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -982,11 +1086,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -994,36 +1101,44 @@ public com.google.cloud.alloydb.v1.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder> + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1.User, com.google.cloud.alloydb.v1.User.Builder, com.google.cloud.alloydb.v1.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1.User, + com.google.cloud.alloydb.v1.User.Builder, + com.google.cloud.alloydb.v1.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1031,6 +1146,8 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1048,13 +1165,13 @@ public com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1063,6 +1180,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1080,15 +1199,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1096,6 +1214,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1113,18 +1233,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1142,6 +1266,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1151,6 +1276,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1168,12 +1295,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1181,14 +1310,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1196,12 +1328,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1213,12 +1348,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1228,13 +1366,16 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1242,11 +1383,14 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1258,11 +1402,14 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1271,9 +1418,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1430,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UpdateUserRequest) private static final com.google.cloud.alloydb.v1.UpdateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UpdateUserRequest(); } @@ -1297,27 +1444,27 @@ public static com.google.cloud.alloydb.v1.UpdateUserRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1479,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java similarity index 83% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java index 31dff0b2ae06..a1b300fbe957 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UpdateUserRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/service.proto package com.google.cloud.alloydb.v1; -public interface UpdateUserRequestOrBuilder extends +public interface UpdateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -42,29 +68,38 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being updated
    * 
* * .google.cloud.alloydb.v1.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The user. */ com.google.cloud.alloydb.v1.User getUser(); /** + * + * *
    * Required. The resource being updated
    * 
@@ -74,6 +109,8 @@ public interface UpdateUserRequestOrBuilder extends com.google.cloud.alloydb.v1.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +128,13 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,28 +152,34 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java index 33a69af4d1d3..66a4397407ea 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/User.java @@ -1,62 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1.User} */ -public final class User extends - com.google.protobuf.GeneratedMessageV3 implements +public final class User extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.User) UserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private User() { name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.alloydb.v1.User.class, com.google.cloud.alloydb.v1.User.Builder.class); } /** + * + * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1.User.UserType} */ - public enum UserType - implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified user type.
      * 
@@ -65,6 +85,8 @@ public enum UserType */ USER_TYPE_UNSPECIFIED(0), /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -74,6 +96,8 @@ public enum UserType
      */
     ALLOYDB_BUILT_IN(1),
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -85,6 +109,8 @@ public enum UserType ; /** + * + * *
      * Unspecified user type.
      * 
@@ -93,6 +119,8 @@ public enum UserType */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -102,6 +130,8 @@ public enum UserType
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -110,7 +140,6 @@ public enum UserType */ public static final int ALLOYDB_IAM_USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +164,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: return USER_TYPE_UNSPECIFIED; - case 1: return ALLOYDB_BUILT_IN; - case 2: return ALLOYDB_IAM_USER; - default: return null; + case 0: + return USER_TYPE_UNSPECIFIED; + case 1: + return ALLOYDB_BUILT_IN; + case 2: + return ALLOYDB_IAM_USER; + 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< - UserType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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 UserType findValueByNumber(int number) { + return UserType.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.cloud.alloydb.v1.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType 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; @@ -195,15 +224,19 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -212,30 +245,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; } } /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -244,14 +277,18 @@ public java.lang.String getName() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ @java.lang.Override @@ -260,29 +297,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -291,41 +328,50 @@ public java.lang.String getPassword() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { return databaseRoles_; } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -333,47 +379,63 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ - @java.lang.Override public com.google.cloud.alloydb.v1.User.UserType getUserType() { - com.google.cloud.alloydb.v1.User.UserType result = com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); + @java.lang.Override + public com.google.cloud.alloydb.v1.User.UserType getUserType() { + com.google.cloud.alloydb.v1.User.UserType result = + com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,8 +447,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -423,8 +484,7 @@ public int getSerializedSize() { size += 1 * getDatabaseRolesList().size(); } if (userType_ != com.google.cloud.alloydb.v1.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, userType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,19 +494,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.cloud.alloydb.v1.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1.User other = (com.google.cloud.alloydb.v1.User) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; - if (!getDatabaseRolesList() - .equals(other.getDatabaseRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -474,148 +531,150 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.User parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.User parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.User parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1.User parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.User parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.User parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1.User 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.cloud.alloydb.v1.User parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.User parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1.User} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.User) com.google.cloud.alloydb.v1.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1.User.class, com.google.cloud.alloydb.v1.User.Builder.class); + com.google.cloud.alloydb.v1.User.class, + com.google.cloud.alloydb.v1.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1.User.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1.ResourcesProto + .internal_static_google_cloud_alloydb_v1_User_descriptor; } @java.lang.Override @@ -635,7 +694,9 @@ public com.google.cloud.alloydb.v1.User build() { @java.lang.Override public com.google.cloud.alloydb.v1.User buildPartial() { com.google.cloud.alloydb.v1.User result = new com.google.cloud.alloydb.v1.User(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -661,38 +722,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.User result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1.User) { - return mergeFrom((com.google.cloud.alloydb.v1.User)other); + return mergeFrom((com.google.cloud.alloydb.v1.User) other); } else { super.mergeFrom(other); return this; @@ -750,33 +812,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: + { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -786,23 +853,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -811,21 +881,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -833,30 +904,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -866,18 +944,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -887,18 +969,20 @@ public Builder setNameBytes( private java.lang.Object password_ = ""; /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -907,20 +991,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -928,28 +1013,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -959,17 +1051,21 @@ public Builder clearPassword() { return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -979,6 +1075,7 @@ public Builder setPasswordBytes( private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -986,38 +1083,46 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1025,33 +1130,39 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1059,18 +1170,22 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1078,53 +1193,61 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles( - java.lang.Iterable values) { + public Builder addAllDatabaseRoles(java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1135,22 +1258,33 @@ public Builder addDatabaseRolesBytes( private int userType_ = 0; /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1161,24 +1295,35 @@ public Builder setUserTypeValue(int value) { return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1.User.UserType getUserType() { - com.google.cloud.alloydb.v1.User.UserType result = com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1.User.UserType result = + com.google.cloud.alloydb.v1.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1.User.UserType.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The userType to set. * @return This builder for chaining. */ @@ -1192,11 +1337,16 @@ public Builder setUserType(com.google.cloud.alloydb.v1.User.UserType value) { return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearUserType() { @@ -1205,9 +1355,9 @@ public Builder clearUserType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1367,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.User) private static final com.google.cloud.alloydb.v1.User DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.User(); } @@ -1231,27 +1381,27 @@ public static com.google.cloud.alloydb.v1.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1416,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserName.java diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java index 40bbe5f20cf1..1f8f8efc88c9 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserOrBuilder.java @@ -1,114 +1,160 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface UserOrBuilder extends +public interface UserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.User) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - java.util.List - getDatabaseRolesList(); + java.util.List getDatabaseRolesList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString - getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString getDatabaseRolesBytes(int index); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ com.google.cloud.alloydb.v1.User.UserType getUserType(); diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java index 8843b621d9e5..911b268b4d31 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPassword.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; /** + * + * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1.UserPassword}
  */
-public final class UserPassword extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1.UserPassword)
     UserPasswordOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -27,33 +45,38 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1.UserPassword.class, com.google.cloud.alloydb.v1.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1.UserPassword.class,
+            com.google.cloud.alloydb.v1.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
+   *
+   *
    * 
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getUser() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getPassword() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -182,17 +209,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.cloud.alloydb.v1.UserPassword)) { return super.equals(obj); } com.google.cloud.alloydb.v1.UserPassword other = (com.google.cloud.alloydb.v1.UserPassword) obj; - if (!getUser() - .equals(other.getUser())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUser().equals(other.getUser())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,99 +238,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1.UserPassword parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1.UserPassword parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -313,33 +343,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1.UserPassword}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1.UserPassword)
       com.google.cloud.alloydb.v1.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1.UserPassword.class, com.google.cloud.alloydb.v1.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1.UserPassword.class,
+              com.google.cloud.alloydb.v1.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1.UserPassword.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1.ResourcesProto.internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +400,11 @@ public com.google.cloud.alloydb.v1.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1.UserPassword result = new com.google.cloud.alloydb.v1.UserPassword(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1.UserPassword result =
+          new com.google.cloud.alloydb.v1.UserPassword(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -391,38 +423,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1.UserPassword result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1.UserPassword)other);
+        return mergeFrom((com.google.cloud.alloydb.v1.UserPassword) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -467,22 +500,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              user_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              password_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                user_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                password_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -492,22 +528,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
+     *
+     *
      * 
      * The database username.
      * 
* * string user = 1; + * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -516,20 +555,21 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return The bytes for user. */ - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -537,28 +577,35 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return This builder for chaining. */ public Builder clearUser() { @@ -568,17 +615,21 @@ public Builder clearUser() { return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -588,18 +639,20 @@ public Builder setUserBytes( private java.lang.Object password_ = ""; /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -608,20 +661,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -629,28 +683,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -660,26 +721,30 @@ public Builder clearPassword() { return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1.UserPassword) private static final com.google.cloud.alloydb.v1.UserPassword DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1.UserPassword(); } @@ -703,27 +768,27 @@ public static com.google.cloud.alloydb.v1.UserPassword getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +803,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java similarity index 53% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java index 40ac5c720b3a..dc70fc963f7f 100644 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/UserPasswordOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1/resources.proto package com.google.cloud.alloydb.v1; -public interface UserPasswordOrBuilder extends +public interface UserPasswordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.UserPassword) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ java.lang.String getUser(); /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ - com.google.protobuf.ByteString - getUserBytes(); + com.google.protobuf.ByteString getUserBytes(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/resources.proto diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto rename to java-alloydb/proto-google-cloud-alloydb-v1/src/main/proto/google/cloud/alloydb/v1/service.proto diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java index a2c9fe246ecb..59a8539fa4a3 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message describing the user-specified automated backup policy.
  *
@@ -13,56 +30,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class,
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder extends
+  public interface WeeklyScheduleOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -73,9 +94,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesList();
+    java.util.List getStartTimesList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -88,6 +110,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -100,6 +124,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     int getStartTimesCount();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,9 +136,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesOrBuilderList();
+    java.util.List getStartTimesOrBuilderList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -123,10 +150,11 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -135,10 +163,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -147,10 +178,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -159,11 +193,14 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -172,11 +209,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List - getDaysOfWeekValueList(); + java.util.List getDaysOfWeekValueList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -185,12 +224,15 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** + * + * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -203,15 +245,16 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -219,28 +262,32 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class,
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -256,6 +303,8 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -267,11 +316,13 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -287,6 +338,8 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -302,6 +355,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -313,16 +368,18 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
+
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
+
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
+            java.lang.Integer, com.google.type.DayOfWeek>
+        daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -331,6 +388,8 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -339,6 +398,7 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -347,6 +407,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -355,6 +417,7 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ @java.lang.Override @@ -362,6 +425,8 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -370,6 +435,7 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -378,6 +444,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -386,14 +454,16 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return daysOfWeek_; } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -402,6 +472,7 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -409,9 +480,11 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } + private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,8 +496,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -446,20 +518,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,15 +541,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other = + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList() - .equals(other.getStartTimesList())) return false; + if (!getStartTimesList().equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -504,89 +576,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -596,6 +674,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -608,33 +688,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.class,
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -652,19 +734,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule build() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result = buildPartial();
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -673,14 +758,18 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule bui
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result =
+            new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -697,7 +786,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.Automat
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -705,46 +795,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule)other);
+        if (other
+            instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) {
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other
+            == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule
+                .getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -763,9 +861,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getStartTimesFieldBuilder() : null;
+              startTimesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getStartTimesFieldBuilder()
+                      : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -807,42 +906,44 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.type.TimeOfDay m =
-                    input.readMessage(
-                        com.google.type.TimeOfDay.parser(),
-                        extensionRegistry);
-                if (startTimesBuilder_ == null) {
-                  ensureStartTimesIsMutable();
-                  startTimes_.add(m);
-                } else {
-                  startTimesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-              case 16: {
-                int tmpRaw = input.readEnum();
-                ensureDaysOfWeekIsMutable();
-                daysOfWeek_.add(tmpRaw);
-                break;
-              } // case 16
-              case 18: {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while(input.getBytesUntilLimit() > 0) {
+              case 10:
+                {
+                  com.google.type.TimeOfDay m =
+                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+                  if (startTimesBuilder_ == null) {
+                    ensureStartTimesIsMutable();
+                    startTimes_.add(m);
+                  } else {
+                    startTimesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 10
+              case 16:
+                {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 16
+              case 18:
+                {
+                  int length = input.readRawVarint32();
+                  int oldLimit = input.pushLimit(length);
+                  while (input.getBytesUntilLimit() > 0) {
+                    int tmpRaw = input.readEnum();
+                    ensureDaysOfWeekIsMutable();
+                    daysOfWeek_.add(tmpRaw);
+                  }
+                  input.popLimit(oldLimit);
+                  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) {
@@ -852,21 +953,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List startTimes_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
+          startTimesBuilder_;
 
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -885,6 +993,8 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -903,6 +1013,8 @@ public int getStartTimesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -921,6 +1033,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -931,8 +1045,7 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -946,6 +1059,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -956,8 +1071,7 @@ public Builder setStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -968,6 +1082,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -992,6 +1108,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1002,8 +1120,7 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1017,6 +1134,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1027,8 +1146,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1039,6 +1157,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1049,8 +1169,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1061,6 +1180,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1075,8 +1196,7 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1084,6 +1204,8 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1105,6 +1227,8 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1126,6 +1250,8 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1136,11 +1262,12 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
-          int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1151,14 +1278,16 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-          int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);  } else {
+          return startTimes_.get(index);
+        } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1169,8 +1298,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesOrBuilderList() {
+      public java.util.List
+          getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1178,6 +1307,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1189,10 +1320,12 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder().addBuilder(
-            com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder()
+            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1203,12 +1336,13 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
-          int index) {
-        return getStartTimesFieldBuilder().addBuilder(
-            index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
+        return getStartTimesFieldBuilder()
+            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1219,27 +1353,29 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesBuilderList() {
+      public java.util.List getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          startTimesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.type.TimeOfDay,
+                  com.google.type.TimeOfDay.Builder,
+                  com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ =
-        java.util.Collections.emptyList();
+      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
+
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1247,6 +1383,8 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1255,6 +1393,7 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1262,6 +1401,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1270,12 +1411,15 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1284,6 +1428,7 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1291,6 +1436,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1299,12 +1446,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek( - int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1314,6 +1461,8 @@ public Builder setDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1322,6 +1471,7 @@ public Builder setDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1335,6 +1485,8 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1343,6 +1495,7 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1356,6 +1509,8 @@ public Builder addAllDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1364,6 +1519,7 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1373,6 +1529,8 @@ public Builder clearDaysOfWeek() { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1381,13 +1539,15 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1396,6 +1556,7 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1403,6 +1564,8 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1411,18 +1574,20 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue( - int index, int value) { + public Builder setDaysOfWeekValue(int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1431,6 +1596,7 @@ public Builder setDaysOfWeekValue(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1441,6 +1607,8 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1449,11 +1617,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue( - java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1461,6 +1629,7 @@ public Builder addAllDaysOfWeekValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1473,41 +1642,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1519,35 +1692,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TimeBasedRetentionOrBuilder extends + public interface TimeBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
@@ -1557,6 +1739,8 @@ public interface TimeBasedRetentionOrBuilder extends com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** + * + * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1564,46 +1748,51 @@ public interface TimeBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private TimeBasedRetention() {
-    }
+
+    private TimeBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class,
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder
+                  .class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
+     *
+     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1611,18 +1800,25 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } /** + * + * *
      * The retention period.
      * 
@@ -1631,10 +1827,13 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1646,8 +1845,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1661,8 +1859,7 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1672,17 +1869,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other = + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod() - .equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1704,90 +1902,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1797,6 +2006,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -1804,33 +2015,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.class,
+                com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -1844,19 +2057,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1864,19 +2080,23 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
+          buildPartial() {
+        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result =
+            new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ = retentionPeriodBuilder_ == null
-              ? retentionPeriod_
-              : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ =
+              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
         }
       }
 
@@ -1884,46 +2104,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention)other);
+        if (other
+            instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) {
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other
+            == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention
+                .getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -1953,19 +2181,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getRetentionPeriodFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1975,38 +2204,52 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          retentionPeriodBuilder_;
       /**
+       *
+       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** + * + * *
        * The retention period.
        * 
@@ -2027,14 +2270,15 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2045,6 +2289,8 @@ public Builder setRetentionPeriod( return this; } /** + * + * *
        * The retention period.
        * 
@@ -2053,9 +2299,9 @@ public Builder setRetentionPeriod( */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - retentionPeriod_ != null && - retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && retentionPeriod_ != null + && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2068,6 +2314,8 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2085,6 +2333,8 @@ public Builder clearRetentionPeriod() { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2097,6 +2347,8 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** + * + * *
        * The retention period.
        * 
@@ -2107,11 +2359,14 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } } /** + * + * *
        * The retention period.
        * 
@@ -2119,18 +2374,22 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), - getParentForChildren(), - isClean()); + retentionPeriodBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), getParentForChildren(), isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2143,41 +2402,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2189,27 +2452,33 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QuantityBasedRetentionOrBuilder extends + public interface QuantityBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ int getCount(); } /** + * + * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2217,46 +2486,51 @@ public interface QuantityBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedRetention() {
-    }
+
+    private QuantityBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class,
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder
+                  .class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
+     *
+     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2265,6 +2539,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2276,8 +2551,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2291,8 +2565,7 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2302,15 +2575,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj + instanceof + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other = + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2329,90 +2604,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + 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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2422,40 +2708,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
      * 
* - * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention} + * Protobuf type {@code + * google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.class, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .Builder.class); } - // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.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(); @@ -2465,19 +2756,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention build() { - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2485,14 +2779,19 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedReten } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() { - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + buildPartial() { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result = + new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; @@ -2503,46 +2802,56 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention)other); + if (other + instanceof + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) { + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other) { - if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention other) { + if (other + == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance()) return this; if (other.getCount() != 0) { setCount(other.getCount()); } @@ -2572,17 +2881,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - count_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + count_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2592,15 +2903,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int count_ ; + private int count_; /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2608,11 +2923,14 @@ public int getCount() { return count_; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ @@ -2624,11 +2942,14 @@ public Builder setCount(int value) { return this; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -2637,6 +2958,7 @@ public Builder clearCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2649,41 +2971,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy + .QuantityBasedRetention + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2695,22 +3022,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; private int scheduleCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schedule_; + public enum ScheduleCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; + private ScheduleCase(int value) { this.value = value; } @@ -2726,32 +3057,38 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: return WEEKLY_SCHEDULE; - case 0: return SCHEDULE_NOT_SET; - default: return null; + case 2: + return WEEKLY_SCHEDULE; + case 0: + return SCHEDULE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ScheduleCase - getScheduleCase() { - return ScheduleCase.forNumber( - scheduleCase_); + public ScheduleCase getScheduleCase() { + return ScheduleCase.forNumber(scheduleCase_); } private int retentionCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object retention_; + public enum RetentionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; + private RetentionCase(int value) { this.value = value; } @@ -2767,30 +3104,37 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: return TIME_BASED_RETENTION; - case 5: return QUANTITY_BASED_RETENTION; - case 0: return RETENTION_NOT_SET; - default: return null; + case 4: + return TIME_BASED_RETENTION; + case 5: + return QUANTITY_BASED_RETENTION; + case 0: + return RETENTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RetentionCase - getRetentionCase() { - return RetentionCase.forNumber( - retentionCase_); + public RetentionCase getRetentionCase() { + return RetentionCase.forNumber(retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -2798,42 +3142,57 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -2841,42 +3200,60 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -2884,44 +3261,62 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -2929,12 +3324,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -2945,6 +3343,8 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2955,6 +3355,7 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -2962,6 +3363,8 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2972,13 +3375,18 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2992,12 +3400,16 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+    return backupWindow_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_;
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3005,7 +3417,10 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3013,6 +3428,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3020,14 +3437,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3035,17 +3459,24 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3054,6 +3485,7 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -3062,14 +3494,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3078,16 +3511,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; + * * @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 { @@ -3096,32 +3528,34 @@ public java.lang.String getLocation() { } 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3129,20 +3563,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3154,6 +3589,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3161,17 +3598,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3179,11 +3618,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3191,6 +3630,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3202,32 +3642,33 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage(2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage( + 2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage(4, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage( + 4, + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage(5, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + output.writeMessage( + 5, + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3241,41 +3682,45 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) + retention_); } if (retentionCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3285,37 +3730,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.cloud.alloydb.v1alpha.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other = + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow() - .equals(other.getBackupWindow())) return false; + if (!getBackupWindow().equals(other.getBackupWindow())) 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 (!getLocation() - .equals(other.getLocation())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule() - .equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3323,12 +3763,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention() - .equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention() - .equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3346,8 +3784,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3389,98 +3826,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3490,55 +3933,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.AutomatedBackupPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.class,
+              com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3573,9 +4013,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -3594,8 +4034,11 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result =
+          new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3609,14 +4052,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ = backupWindowBuilder_ == null
-            ? backupWindow_
-            : backupWindowBuilder_.build();
+        result.backupWindow_ =
+            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -3631,18 +4072,15 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolic
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 &&
-          weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 &&
-          timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 &&
-          quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -3651,38 +4089,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.AutomatedBackup
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3690,7 +4129,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -3705,30 +4145,34 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE: {
-          mergeWeeklySchedule(other.getWeeklySchedule());
-          break;
-        }
-        case SCHEDULE_NOT_SET: {
-          break;
-        }
+        case WEEKLY_SCHEDULE:
+          {
+            mergeWeeklySchedule(other.getWeeklySchedule());
+            break;
+          }
+        case SCHEDULE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION: {
-          mergeTimeBasedRetention(other.getTimeBasedRetention());
-          break;
-        }
-        case QUANTITY_BASED_RETENTION: {
-          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-          break;
-        }
-        case RETENTION_NOT_SET: {
-          break;
-        }
+        case TIME_BASED_RETENTION:
+          {
+            mergeTimeBasedRetention(other.getTimeBasedRetention());
+            break;
+          }
+        case QUANTITY_BASED_RETENTION:
+          {
+            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+            break;
+          }
+        case RETENTION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3756,66 +4200,70 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getWeeklyScheduleFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              scheduleCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getBackupWindowFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getTimeBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
+                scheduleCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(
+                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3825,12 +4273,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-    public ScheduleCase
-        getScheduleCase() {
-      return ScheduleCase.forNumber(
-          scheduleCase_);
+
+    public ScheduleCase getScheduleCase() {
+      return ScheduleCase.forNumber(scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -3842,10 +4290,9 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-    public RetentionCase
-        getRetentionCase() {
-      return RetentionCase.forNumber(
-          retentionCase_);
+
+    public RetentionCase getRetentionCase() {
+      return RetentionCase.forNumber(retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -3858,13 +4305,20 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule,
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder,
+            com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
+        weeklyScheduleBuilder_;
     /**
+     *
+     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3872,35 +4326,46 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + getWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder setWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3914,14 +4379,18 @@ public Builder setWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBacku return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder + builderForValue) { if (weeklyScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -3932,18 +4401,28 @@ public Builder setWeeklySchedule( return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 && - schedule_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 2 + && schedule_ + != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.newBuilder( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) + schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -3959,11 +4438,14 @@ public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1alpha.AutomatedBac return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -3982,49 +4464,68 @@ public Builder clearWeeklySchedule() { return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder + getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } - weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4036,13 +4537,21 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + timeBasedRetentionBuilder_; /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4050,35 +4559,49 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4092,14 +4615,19 @@ public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedB return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder + builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4110,18 +4638,29 @@ public Builder setTimeBasedRetention( return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 && - retention_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 4 + && retention_ + != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4137,11 +4676,15 @@ public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1alpha.Automate return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4160,50 +4703,74 @@ public Builder clearTimeBasedRetention() { return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder + getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } - timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) retention_, + timeBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention) + retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4214,13 +4781,21 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + quantityBasedRetentionBuilder_; /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4228,35 +4803,49 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4270,14 +4859,19 @@ public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.Automa return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder + builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4288,18 +4882,31 @@ public Builder setQuantityBasedRetention( return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 && - retention_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 5 + && retention_ + != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .newBuilder( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy + .QuantityBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4315,11 +4922,15 @@ public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1alpha.Auto return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4338,50 +4949,76 @@ public Builder clearQuantityBasedRetention() { return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder + getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } - quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) retention_, + quantityBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + .Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy + .QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention) + retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4391,14 +5028,17 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedReten return quantityBasedRetentionBuilder_; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -4406,12 +5046,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -4419,12 +5062,15 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4436,12 +5082,15 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4453,8 +5102,13 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + backupWindowBuilder_; /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4465,12 +5119,15 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4481,16 +5138,21 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4516,6 +5178,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4527,8 +5191,7 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -4539,6 +5202,8 @@ public Builder setBackupWindow(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4552,9 +5217,9 @@ public Builder setBackupWindow(
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          backupWindow_ != null &&
-          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && backupWindow_ != null
+            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -4567,6 +5232,8 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4589,6 +5256,8 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4606,6 +5275,8 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4621,11 +5292,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+        return backupWindow_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : backupWindow_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4638,14 +5312,17 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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>
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(),
-                getParentForChildren(),
-                isClean());
+        backupWindowBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(), getParentForChildren(), isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -4653,8 +5330,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig,
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>
+        encryptionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4662,13 +5344,18 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4676,17 +5363,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4694,7 +5388,9 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4710,6 +5406,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4717,7 +5415,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -4731,6 +5431,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4738,13 +5440,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4757,6 +5462,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4764,7 +5471,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4777,6 +5486,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4784,7 +5495,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -4792,6 +5505,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4799,17 +5514,23 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4817,17 +5538,22 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4835,6 +5561,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC private java.lang.Object location_ = ""; /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4843,13 +5571,13 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
      * 
* * string location = 6; + * * @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; @@ -4858,6 +5586,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4866,15 +5596,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @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 { @@ -4882,6 +5611,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4890,18 +5621,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4910,6 +5645,7 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4919,6 +5655,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4927,12 +5665,14 @@ public Builder clearLocation() {
      * 
* * string location = 6; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -4940,21 +5680,19 @@ public Builder setLocationBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4963,10 +5701,13 @@ public Builder setLocationBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4974,20 +5715,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4999,6 +5741,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5006,17 +5750,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5024,79 +5770,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5106,12 +5854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy(); } @@ -5120,27 +5868,27 @@ public static com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5155,6 +5903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java index db3fc7ef98d7..aef55c9de645 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AutomatedBackupPolicyOrBuilder.java @@ -1,115 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface AutomatedBackupPolicyOrBuilder extends +public interface AutomatedBackupPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -120,10 +187,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -134,10 +204,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -152,6 +225,8 @@ public interface AutomatedBackupPolicyOrBuilder extends
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -159,11 +234,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -171,11 +251,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -183,11 +268,15 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -196,10 +285,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -208,12 +300,14 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -222,30 +316,31 @@ public interface AutomatedBackupPolicyOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -253,19 +348,20 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java index 29326231e93c..d19740b09f03 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Backup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup) BackupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Backup() { name_ = ""; displayName_ = ""; @@ -34,48 +52,51 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Backup.class, com.google.cloud.alloydb.v1alpha.Backup.Builder.class); + com.google.cloud.alloydb.v1alpha.Backup.class, + com.google.cloud.alloydb.v1alpha.Backup.Builder.class); } /** + * + * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Backup.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The backup is ready.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The backup is creating.
      * 
@@ -100,6 +125,8 @@ public enum State */ CREATING(2), /** + * + * *
      * The backup failed.
      * 
@@ -108,6 +135,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The backup is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State ; /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -127,6 +158,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The backup is ready.
      * 
@@ -135,6 +168,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The backup is creating.
      * 
@@ -143,6 +178,8 @@ public enum State */ public static final int CREATING_VALUE = 2; /** + * + * *
      * The backup failed.
      * 
@@ -151,6 +188,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The backup is being deleted.
      * 
@@ -159,7 +198,6 @@ public enum State */ public static final int DELETING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,51 +222,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return CREATING; - case 3: return FAILED; - case 4: return DELETING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return CREATING; + case 3: + return FAILED; + case 4: + return DELETING; + 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.cloud.alloydb.v1alpha.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; @@ -246,15 +286,18 @@ private State(int value) { } /** + * + * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Backup.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Backup Type is unknown.
      * 
@@ -263,6 +306,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -272,6 +317,8 @@ public enum Type
      */
     ON_DEMAND(1),
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -281,6 +328,8 @@ public enum Type
      */
     AUTOMATED(2),
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -293,6 +342,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Backup Type is unknown.
      * 
@@ -301,6 +352,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -310,6 +363,8 @@ public enum Type
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -319,6 +374,8 @@ public enum Type
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -328,7 +385,6 @@ public enum Type
      */
     public static final int CONTINUOUS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -353,50 +409,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return ON_DEMAND;
-        case 2: return AUTOMATED;
-        case 3: return CONTINUOUS;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return ON_DEMAND;
+        case 2:
+          return AUTOMATED;
+        case 3:
+          return CONTINUOUS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.v1alpha.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -413,11 +470,14 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder extends
+  public interface QuantityBasedExpiryOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -425,22 +485,28 @@ public interface QuantityBasedExpiryOrBuilder extends
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ int getRetentionCount(); /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** + * + * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -458,41 +524,44 @@ public interface QuantityBasedExpiryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedExpiry() {
-    }
+
+    private QuantityBasedExpiry() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class,
+              com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -500,6 +569,7 @@ protected java.lang.Object newInstance(
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -510,12 +580,15 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -524,6 +597,7 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -553,12 +626,10 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -568,17 +639,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.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other = + (com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() - != other.getRetentionCount()) return false; - if (getTotalRetentionCount() - != other.getTotalRetentionCount()) return false; + if (getRetentionCount() != other.getRetentionCount()) return false; + if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -600,89 +670,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -692,6 +767,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -709,33 +786,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.class,
+                com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -746,13 +823,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultInstanceForType() {
+      public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry
+          getDefaultInstanceForType() {
         return com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance();
       }
 
@@ -767,13 +845,17 @@ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result =
+            new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.retentionCount_ = retentionCount_;
@@ -787,38 +869,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup.QuantityBased
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry)other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -826,7 +911,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance())
+          return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -859,22 +946,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                retentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 16: {
-                totalRetentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  retentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 16:
+                {
+                  totalRetentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -884,10 +974,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int retentionCount_ ;
+      private int retentionCount_;
       /**
+       *
+       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -895,6 +988,7 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -902,6 +996,8 @@ public int getRetentionCount() { return retentionCount_; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -909,6 +1005,7 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -920,6 +1017,8 @@ public Builder setRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -927,6 +1026,7 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -936,14 +1036,17 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_ ; + private int totalRetentionCount_; /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -951,12 +1054,15 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -968,12 +1074,15 @@ public Builder setTotalRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -982,6 +1091,7 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -994,12 +1104,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry) - private static final com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry(); } @@ -1008,27 +1119,28 @@ public static com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,13 +1155,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1063,6 +1177,7 @@ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getDefaultIns
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1071,14 +1186,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1092,16 +1208,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1110,14 +1225,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1126,29 +1245,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; } } /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1157,15 +1276,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -1174,30 +1297,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1208,11 +1331,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1220,11 +1347,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1232,11 +1363,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1246,11 +1380,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1258,11 +1396,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1270,11 +1412,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1284,11 +1429,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1296,11 +1445,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -1308,11 +1461,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1320,32 +1476,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1353,20 +1511,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1378,6 +1537,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1385,17 +1546,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1403,11 +1566,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @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(); } @@ -1417,64 +1580,90 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.State getState() { - com.google.cloud.alloydb.v1alpha.Backup.State result = com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Backup.State getState() { + com.google.cloud.alloydb.v1alpha.Backup.State result = + com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @return The type. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { - com.google.cloud.alloydb.v1alpha.Backup.Type result = com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { + com.google.cloud.alloydb.v1alpha.Backup.Type result = + com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ @java.lang.Override @@ -1483,29 +1672,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; } } /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @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 { @@ -1514,15 +1703,19 @@ public java.lang.String getDescription() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ @java.lang.Override @@ -1531,30 +1724,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1563,15 +1756,21 @@ public java.lang.String getClusterUid() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ @java.lang.Override @@ -1580,30 +1779,32 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1614,6 +1815,8 @@ public java.lang.String getClusterName() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1622,6 +1825,7 @@ public java.lang.String getClusterName() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -1632,6 +1836,8 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1639,7 +1845,10 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1647,6 +1856,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1654,14 +1865,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1669,21 +1887,30 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1691,38 +1918,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ @java.lang.Override @@ -1731,29 +1975,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @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 { @@ -1762,32 +2006,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1797,20 +2044,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1824,6 +2072,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1833,17 +2083,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1853,11 +2105,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1867,11 +2119,14 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -1882,13 +2137,17 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -1896,13 +2155,17 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ @java.lang.Override @@ -1910,13 +2173,16 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -1926,13 +2192,18 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiryQuantity_; /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -1940,41 +2211,58 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 21; private boolean satisfiesPzs_ = false; /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 21; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -1985,34 +2273,48 @@ public boolean getSatisfiesPzs() { public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = + com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2024,8 +2326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2041,12 +2342,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (state_ != com.google.cloud.alloydb.v1alpha.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2074,12 +2371,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2095,7 +2388,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (satisfiesPzs_ != false) { output.writeBool(21, satisfiesPzs_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2117,30 +2412,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1alpha.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1alpha.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2149,56 +2440,49 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(21, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, satisfiesPzs_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(22, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2208,74 +2492,55 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.Backup other = (com.google.cloud.alloydb.v1alpha.Backup) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getClusterUid() - .equals(other.getClusterUid())) return false; - if (!getClusterName() - .equals(other.getClusterName())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getClusterUid().equals(other.getClusterUid())) return false; + if (!getClusterName().equals(other.getClusterName())) return false; + if (getReconciling() != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; - } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + } + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime() - .equals(other.getExpiryTime())) return false; + if (!getExpiryTime().equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity() - .equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; } - if (getSatisfiesPzs() - != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2321,8 +2586,7 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2338,8 +2602,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2349,8 +2612,7 @@ public int hashCode() { hash = (53 * hash) + getExpiryQuantity().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); hash = (37 * hash) + DATABASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + databaseVersion_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2358,158 +2620,160 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Backup parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Backup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Backup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Backup) com.google.cloud.alloydb.v1alpha.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Backup.class, com.google.cloud.alloydb.v1alpha.Backup.Builder.class); + com.google.cloud.alloydb.v1alpha.Backup.class, + com.google.cloud.alloydb.v1alpha.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -2568,9 +2832,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; } @java.lang.Override @@ -2589,8 +2853,11 @@ public com.google.cloud.alloydb.v1alpha.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup buildPartial() { - com.google.cloud.alloydb.v1alpha.Backup result = new com.google.cloud.alloydb.v1alpha.Backup(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Backup result = + new com.google.cloud.alloydb.v1alpha.Backup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2607,19 +2874,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null - ? deleteTime_ - : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2644,14 +2905,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = encryptionInfoBuilder_ == null - ? encryptionInfo_ - : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = + encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2664,14 +2923,11 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null - ? expiryTime_ - : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = expiryQuantityBuilder_ == null - ? expiryQuantity_ - : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = + expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.satisfiesPzs_ = satisfiesPzs_; @@ -2685,38 +2941,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Backup result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Backup) other); } else { super.mergeFrom(other); return this; @@ -2749,8 +3006,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -2787,8 +3043,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -2831,144 +3086,158 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: { - input.readMessage( - getDeleteTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: { - input.readMessage( - getExpiryTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: { - input.readMessage( - getExpiryQuantityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 168: { - satisfiesPzs_ = input.readBool(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 176: { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00200000; - break; - } // case 176 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: + { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: + { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: + { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: + { + input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: + { + input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 168: + { + satisfiesPzs_ = input.readBool(); + bitField0_ |= 0x00100000; + break; + } // case 168 + case 176: + { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00200000; + break; + } // case 176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2978,10 +3247,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -2995,13 +3267,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -3010,6 +3282,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3023,15 +3297,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3039,6 +3312,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3052,18 +3327,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3077,6 +3356,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3086,6 +3366,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3099,12 +3381,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3114,18 +3398,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3134,20 +3420,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3155,28 +3442,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3186,17 +3480,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3206,19 +3504,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3227,21 +3527,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3249,30 +3550,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3282,18 +3590,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3303,39 +3615,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -3351,14 +3682,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3369,17 +3703,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3392,11 +3730,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3409,11 +3751,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3421,36 +3767,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -3458,39 +3816,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3506,14 +3883,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3524,17 +3904,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3547,11 +3931,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3564,11 +3952,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3576,36 +3968,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -3613,39 +4017,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3661,14 +4084,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -3679,17 +4105,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -3702,11 +4132,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3719,11 +4153,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -3731,56 +4169,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3789,10 +4237,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3800,20 +4251,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3825,6 +4277,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3832,17 +4286,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3850,95 +4306,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3949,24 +4418,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.State getState() { - com.google.cloud.alloydb.v1alpha.Backup.State result = com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Backup.State result = + com.google.cloud.alloydb.v1alpha.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3980,11 +4460,16 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Backup.State value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3996,22 +4481,29 @@ public Builder clearState() { private int type_ = 0; /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -4022,24 +4514,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Backup.Type getType() { - com.google.cloud.alloydb.v1alpha.Backup.Type result = com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1alpha.Backup.Type result = + com.google.cloud.alloydb.v1alpha.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1alpha.Backup.Type.UNRECOGNIZED : result; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4053,11 +4552,14 @@ public Builder setType(com.google.cloud.alloydb.v1alpha.Backup.Type value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @return This builder for chaining. */ public Builder clearType() { @@ -4069,18 +4571,20 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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; @@ -4089,20 +4593,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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 { @@ -4110,28 +4615,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4141,17 +4653,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4161,19 +4677,21 @@ public Builder setDescriptionBytes( private java.lang.Object clusterUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4182,21 +4700,22 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4204,30 +4723,37 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4237,18 +4763,22 @@ public Builder clearClusterUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4258,19 +4788,23 @@ public Builder setClusterUidBytes( private java.lang.Object clusterName_ = ""; /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4279,21 +4813,24 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4301,30 +4838,41 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4334,18 +4882,24 @@ public Builder clearClusterName() { return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4353,8 +4907,10 @@ public Builder setClusterNameBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4363,6 +4919,7 @@ public Builder setClusterNameBytes(
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -4370,6 +4927,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4378,6 +4937,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4389,6 +4949,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4397,6 +4959,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4408,8 +4971,13 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4417,13 +4985,18 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4431,17 +5004,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4449,7 +5029,9 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4465,6 +5047,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4472,7 +5056,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -4486,6 +5072,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4493,13 +5081,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4512,6 +5103,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4519,7 +5112,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4532,6 +5127,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4539,7 +5136,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -4547,6 +5146,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4554,17 +5155,23 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4572,17 +5179,22 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4590,39 +5202,58 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -4638,11 +5269,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -4656,17 +5291,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -4679,11 +5319,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4696,11 +5340,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -4708,36 +5356,48 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -4745,18 +5405,20 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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; @@ -4765,20 +5427,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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 { @@ -4786,28 +5449,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4817,17 +5487,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -4835,8 +5509,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4845,11 +5519,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4858,10 +5533,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4871,20 +5549,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4898,6 +5577,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4907,17 +5588,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4927,23 +5610,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4952,23 +5637,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4977,17 +5661,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4996,21 +5683,22 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_ ;
+    private long sizeBytes_;
     /**
+     *
+     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -5018,11 +5706,14 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -5034,11 +5725,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5050,45 +5744,64 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expiryTimeBuilder_; /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5104,16 +5817,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpiryTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5124,19 +5840,23 @@ public Builder setExpiryTime( return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - expiryTime_ != null && - expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && expiryTime_ != null + && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5149,13 +5869,17 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5168,13 +5892,17 @@ public Builder clearExpiryTime() { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5182,40 +5910,52 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), - getParentForChildren(), - isClean()); + expiryTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), getParentForChildren(), isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5223,47 +5963,67 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> + expiryQuantityBuilder_; /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { + public Builder setExpiryQuantity( + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5277,13 +6037,17 @@ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.Quantit return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -5297,19 +6061,26 @@ public Builder setExpiryQuantity( return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity( + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - expiryQuantity_ != null && - expiryQuantity_ != com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && expiryQuantity_ != null + && expiryQuantity_ + != com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry + .getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -5322,13 +6093,17 @@ public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1alpha.Backup.Quant return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5341,66 +6116,87 @@ public Builder clearExpiryQuantity() { return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder + getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null ? - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), - getParentForChildren(), - isClean()); + expiryQuantityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), getParentForChildren(), isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; } - private boolean satisfiesPzs_ ; + private boolean satisfiesPzs_; /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -5408,11 +6204,14 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; + * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -5424,11 +6223,14 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 21; + * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -5440,26 +6242,37 @@ public Builder clearSatisfiesPzs() { private int databaseVersion_ = 0; /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -5470,28 +6283,41 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); - return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = + com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + return result == null + ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -5505,13 +6331,18 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -5520,9 +6351,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5532,12 +6363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Backup) private static final com.google.cloud.alloydb.v1alpha.Backup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Backup(); } @@ -5546,27 +6377,27 @@ public static com.google.cloud.alloydb.v1alpha.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; @@ -5581,6 +6412,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java index 2e27f1b09d52..c130951879a2 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface BackupOrBuilder extends +public interface BackupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Backup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -21,10 +39,13 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -38,135 +59,180 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface BackupOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,123 +273,161 @@ boolean containsLabels( * map<string, string> labels = 6; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1alpha.Backup.State getState(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1alpha.Backup.Type type = 8; + * * @return The type. */ com.google.cloud.alloydb.v1alpha.Backup.Type getType(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ java.lang.String getClusterUid(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString - getClusterUidBytes(); + com.google.protobuf.ByteString getClusterUidBytes(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ java.lang.String getClusterName(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - com.google.protobuf.ByteString - getClusterNameBytes(); + com.google.protobuf.ByteString getClusterNameBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -331,11 +436,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -343,11 +451,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -355,11 +468,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -367,58 +485,81 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -429,6 +570,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -437,15 +580,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -454,9 +595,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -466,11 +608,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -479,114 +623,154 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry getExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 21; + * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java index f430abbac8e3..8a4e1c3111ff 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BackupSource} */ -public final class BackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BackupSource) BackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -26,28 +44,32 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BackupSource.class, com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.BackupSource.class, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -78,16 +102,15 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -96,15 +119,21 @@ public java.lang.String getBackupUid() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ @java.lang.Override @@ -113,30 +142,32 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -145,6 +176,7 @@ public java.lang.String getBackupName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -187,17 +218,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.BackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BackupSource other = (com.google.cloud.alloydb.v1alpha.BackupSource) obj; + com.google.cloud.alloydb.v1alpha.BackupSource other = + (com.google.cloud.alloydb.v1alpha.BackupSource) obj; - if (!getBackupUid() - .equals(other.getBackupUid())) return false; - if (!getBackupName() - .equals(other.getBackupName())) return false; + if (!getBackupUid().equals(other.getBackupUid())) return false; + if (!getBackupName().equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,132 +248,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BackupSource) com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BackupSource.class, com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.BackupSource.class, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; } @java.lang.Override @@ -375,8 +409,11 @@ public com.google.cloud.alloydb.v1alpha.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource buildPartial() { - com.google.cloud.alloydb.v1alpha.BackupSource result = new com.google.cloud.alloydb.v1alpha.BackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.BackupSource result = + new com.google.cloud.alloydb.v1alpha.BackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +432,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BackupSource result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BackupSource) other); } else { super.mergeFrom(other); return this; @@ -471,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +537,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object backupUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -507,13 +551,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -522,6 +566,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -529,15 +575,14 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -545,6 +590,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -552,18 +599,22 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -571,6 +622,7 @@ public Builder setBackupUid(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -580,6 +632,8 @@ public Builder clearBackupUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -587,12 +641,14 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -602,19 +658,23 @@ public Builder setBackupUidBytes( private java.lang.Object backupName_ = ""; /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -623,21 +683,24 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -645,30 +708,41 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBackupName() { @@ -678,27 +752,33 @@ public Builder clearBackupName() { return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BackupSource) private static final com.google.cloud.alloydb.v1alpha.BackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BackupSource(); } @@ -722,27 +802,27 @@ public static com.google.cloud.alloydb.v1alpha.BackupSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +837,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java similarity index 57% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java index 0c57eb4c18bf..7bb13f4e6727 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface BackupSourceOrBuilder extends +public interface BackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -15,10 +33,13 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ java.lang.String getBackupUid(); /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -26,30 +47,39 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString - getBackupUidBytes(); + com.google.protobuf.ByteString getBackupUidBytes(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ java.lang.String getBackupName(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - com.google.protobuf.ByteString - getBackupNameBytes(); + com.google.protobuf.ByteString getBackupNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java index 046a04cbc338..c3cb8e4b5fe8 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatus.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -24,15 +41,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -41,25 +59,28 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class,
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -68,9 +89,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -79,6 +101,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -88,6 +112,8 @@ public enum State
      */
     PENDING_CREATE(1),
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -96,6 +122,8 @@ public enum State */ READY(2), /** + * + * *
      * The instance is being created.
      * 
@@ -104,6 +132,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -112,6 +142,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -121,6 +153,8 @@ public enum State
      */
     FAILED(5),
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -133,6 +167,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -141,6 +177,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -150,6 +188,8 @@ public enum State
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -158,6 +198,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -166,6 +208,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -174,6 +218,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -183,6 +229,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -192,7 +240,6 @@ public enum State
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -217,53 +264,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PENDING_CREATE;
-        case 2: return READY;
-        case 3: return CREATING;
-        case 4: return DELETING;
-        case 5: return FAILED;
-        case 6: return ROLLED_BACK;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PENDING_CREATE;
+        case 2:
+          return READY;
+        case 3:
+          return CREATING;
+        case 4:
+          return DELETING;
+        case 5:
+          return FAILED;
+        case 6:
+          return ROLLED_BACK;
+        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.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.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;
@@ -283,6 +336,8 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -295,12 +350,16 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -313,23 +372,32 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ @java.lang.Override @@ -338,30 +406,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -372,12 +440,15 @@ public java.lang.String getErrorMsg() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ @java.lang.Override @@ -385,12 +456,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ @java.lang.Override @@ -398,6 +472,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -414,21 +490,29 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override public int getTypeValue() {
+  @java.lang.Override
+  public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
-  @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
-    return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result;
+  @java.lang.Override
+  public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1alpha.Instance.InstanceType result =
+        com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
+    return result == null
+        ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED
+        : result;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -440,15 +524,18 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+    if (type_
+        != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -463,20 +550,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, type_);
+    if (type_
+        != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -486,20 +574,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.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other =
+        (com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg()
-        .equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -529,98 +616,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -641,33 +734,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.class,
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +776,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -705,8 +797,11 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus result =
+          new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -720,9 +815,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceS
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null
-            ? error_
-            : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -733,38 +826,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceS
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -772,7 +866,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -813,34 +908,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              errorMsg_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                errorMsg_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -850,10 +948,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -866,12 +967,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -884,6 +989,7 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -894,6 +1000,8 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -906,14 +1014,20 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -926,10 +1040,12 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State value) { + public Builder setState( + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State value) { if (value == null) { throw new NullPointerException(); } @@ -939,6 +1055,8 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStat return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -951,6 +1069,7 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStat
      * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -962,19 +1081,21 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -983,21 +1104,22 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1005,30 +1127,37 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsg(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1038,18 +1167,22 @@ public Builder clearErrorMsg() { return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1059,26 +1192,33 @@ public Builder setErrorMsgBytes( private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1089,6 +1229,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1110,6 +1252,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1117,8 +1261,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1129,6 +1272,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1138,9 +1283,9 @@ public Builder setError(
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          error_ != null &&
-          error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && error_ != null
+            && error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1153,6 +1298,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1171,6 +1318,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1184,6 +1333,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1195,11 +1346,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1208,14 +1360,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1224,13 +1376,16 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override public int getTypeValue() {
+    @java.lang.Override
+    public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1242,15 +1397,20 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
-      return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result;
+      com.google.cloud.alloydb.v1alpha.Instance.InstanceType result =
+          com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(type_);
+      return result == null
+          ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED
+          : result;
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1265,6 +1425,7 @@ public Builder setType(com.google.cloud.alloydb.v1alpha.Instance.InstanceType va
     }
     /**
      * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1273,9 +1434,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
+
     @java.lang.Override
-    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 +1446,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus();
   }
@@ -1299,27 +1460,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCreateInstanceStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCreateInstanceStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.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,6 +1495,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
similarity index 81%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
index 92770eaf95bf..70fc7a9b0ab9 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstanceStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
-public interface BatchCreateInstanceStatusOrBuilder extends
+public interface BatchCreateInstanceStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -20,10 +38,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -36,53 +57,67 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.State getState(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString - getErrorMsgBytes(); + com.google.protobuf.ByteString getErrorMsgBytes(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -94,11 +129,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
 
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1alpha.Instance.InstanceType getType();
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
similarity index 62%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
index 5ad7bd482378..94aff9b605d5 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
+ *
+ *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -11,57 +28,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class,
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -70,13 +90,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { return instanceTargets_; } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -85,12 +107,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -99,6 +124,7 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -106,6 +132,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -114,41 +142,53 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; + private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -158,23 +198,27 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -184,13 +228,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.Map getInstanceStatusesMap() {
+  public java.util.Map
+      getInstanceStatusesMap() {
     return internalGetInstanceStatuses().getMap();
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -200,20 +249,26 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetInstanceStatuses().getMap();
+  public /* nullable */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus
+      getInstanceStatusesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map
+        map = internalGetInstanceStatuses().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -223,14 +278,18 @@ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOr
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetInstanceStatuses().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -238,6 +297,7 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceSta } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,17 +309,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetInstanceStatuses(), - InstanceStatusesDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -277,15 +332,18 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry entry - : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry - instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + entry : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + instanceStatuses__ = + InstanceStatusesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,17 +353,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.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other = + (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList() - .equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals( - other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -331,98 +388,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -430,73 +493,70 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.class,
+              com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata
+        getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance();
     }
 
@@ -511,13 +571,17 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result =
+          new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result) {
+    private void buildPartial0(
+        com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         instanceTargets_.makeImmutable();
@@ -533,38 +597,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstances
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata other) {
-      if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance())
+        return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -583,8 +650,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMe
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(
-          other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -612,27 +678,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureInstanceTargetsIsMutable();
-              instanceTargets_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              instanceStatuses__ = input.readMessage(
-                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableInstanceStatuses().getMutableMap().put(
-                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureInstanceTargetsIsMutable();
+                instanceTargets_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String,
+                        com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus>
+                    instanceStatuses__ =
+                        input.readMessage(
+                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableInstanceStatuses()
+                    .getMutableMap()
+                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -642,10 +716,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -653,6 +729,8 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -661,14 +739,16 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -677,12 +757,15 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -691,6 +774,7 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -698,6 +782,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -706,14 +792,16 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -722,13 +810,15 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTargets(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -736,6 +826,8 @@ public Builder setInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -744,12 +836,14 @@ public Builder setInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargets(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -757,6 +851,8 @@ public Builder addInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -765,19 +861,20 @@ public Builder addInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets( - java.lang.Iterable values) { + public Builder addAllInstanceTargets(java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -786,16 +883,19 @@ public Builder addAllInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -804,12 +904,14 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; + * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -819,8 +921,11 @@ public Builder addInstanceTargetsBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -828,11 +933,14 @@ public Builder addInstanceTargetsBytes( } return instanceStatuses_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = + com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -841,10 +949,13 @@ public Builder addInstanceTargetsBytes( onChanged(); return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -854,23 +965,28 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -880,13 +996,19 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.Map getInstanceStatusesMap() {
+    public java.util.Map<
+            java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus>
+        getInstanceStatusesMap() {
       return internalGetInstanceStatuses().getMap();
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -896,20 +1018,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetInstanceStatuses().getMap();
+    public /* nullable */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus
+        getInstanceStatusesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map
+          map = internalGetInstanceStatuses().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -919,26 +1047,32 @@ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOr
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetInstanceStatuses().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap() - .clear(); + internalGetMutableInstanceStatuses().getMutableMap().clear(); return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -948,25 +1082,28 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ - public Builder removeInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableInstanceStatuses().getMutableMap() - .remove(key); + public Builder removeInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInstanceStatuses().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> getMutableInstanceStatuses() { bitField0_ |= 0x00000002; return internalGetMutableInstanceStatuses().getMutableMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -976,19 +1113,25 @@ public Builder removeInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putInstanceStatuses( - java.lang.String key, - com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableInstanceStatuses().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableInstanceStatuses().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -998,18 +1141,20 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putAllInstanceStatuses( - java.util.Map values) { - internalGetMutableInstanceStatuses().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableInstanceStatuses().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1019,12 +1164,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata(); } @@ -1033,27 +1179,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1214,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java index 1e9f01145934..4f674743229b 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesMetadataOrBuilder extends +public interface BatchCreateInstancesMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -16,11 +34,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - java.util.List - getInstanceTargetsList(); + java.util.List getInstanceTargetsList(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -29,10 +49,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -41,11 +64,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -54,13 +80,15 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString - getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString getInstanceTargetsBytes(int index); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -70,10 +98,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ int getInstanceStatusesCount(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -83,17 +115,18 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; - */ - boolean containsInstanceStatuses( - java.lang.String key); - /** - * Use {@link #getInstanceStatusesMap()} instead. + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ + boolean containsInstanceStatuses(java.lang.String key); + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -103,11 +136,15 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -117,14 +154,18 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ /* nullable */ -com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue); + com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus defaultValue); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -134,7 +175,9 @@ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOr
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus> instance_statuses = 2; + * */ com.google.cloud.alloydb.v1alpha.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java index 9643cc231962..481dda21adee 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -26,33 +44,40 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 @@ -61,29 +86,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 parent resource.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,11 +121,16 @@ public java.lang.String getParent() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.CreateInstanceRequests requests_; /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ @java.lang.Override @@ -106,33 +138,49 @@ public boolean hasRequests() { return requests_ != null; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests() { - return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() + : requests_; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() + : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,6 +198,7 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -158,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -201,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -250,22 +298,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.cloud.alloydb.v1alpha.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other = + (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests() - .equals(other.getRequests())) return false; + if (!getRequests().equals(other.getRequests())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,131 +337,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance(); } @@ -452,21 +504,23 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result = + new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null - ? requests_ - : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -477,38 +531,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstances public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +571,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,29 +613,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +647,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.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; @@ -612,20 +676,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -633,28 +700,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -664,17 +742,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,39 +768,58 @@ public Builder setParentBytes( private com.google.cloud.alloydb.v1alpha.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> requestsBuilder_; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() + : requests_; } else { return requestsBuilder_.getMessage(); } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -732,11 +835,15 @@ public Builder setRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceReques return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder builderForValue) { @@ -750,17 +857,22 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requests_ != null && - requests_ != com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requests_ != null + && requests_ + != com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -773,11 +885,15 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequ return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -790,11 +906,15 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -802,36 +922,48 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder getReques return getRequestsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null ? - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance() + : requests_; } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder>( - getRequests(), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder>( + getRequests(), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; @@ -839,6 +971,8 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -856,13 +990,13 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getReque
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -871,6 +1005,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -888,15 +1024,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -904,6 +1039,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -921,18 +1058,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -950,6 +1091,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -959,6 +1101,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,21 +1120,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1146,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest(); } @@ -1014,27 +1161,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1196,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java index cfe46ddc93cc..c1a1ef79a539 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesRequestOrBuilder extends +public interface BatchCreateInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 parent resource.
    * 
* - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ boolean hasRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -72,10 +113,13 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -93,8 +137,8 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java index 1be491632f15..59423fbc153a 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponse.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * Created instances.
    * 
@@ -58,6 +80,8 @@ public java.util.List getInstancesLis return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -65,11 +89,13 @@ public java.util.List getInstancesLis * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -81,6 +107,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Created instances.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Created instances.
    * 
@@ -99,12 +129,12 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,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.cloud.alloydb.v1alpha.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other = + (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +200,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,13 +345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance(); } @@ -333,14 +367,18 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result = + new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -352,7 +390,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.BatchCr } } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse result) { int from_bitField0_ = bitField0_; } @@ -360,38 +399,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.BatchCreateInstances public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -399,7 +439,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -418,9 +460,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRe 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_); } @@ -452,25 +495,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.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) { @@ -480,21 +524,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * Created instances.
      * 
@@ -509,6 +560,8 @@ public java.util.List getInstancesLis } } /** + * + * *
      * Created instances.
      * 
@@ -523,6 +576,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Created instances.
      * 
@@ -537,14 +592,15 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -558,6 +614,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -576,6 +634,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -596,14 +656,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,14 +678,15 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -635,6 +697,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -653,6 +717,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -663,8 +729,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); @@ -672,6 +737,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -689,6 +756,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Created instances.
      * 
@@ -706,39 +775,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +820,8 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * Created instances.
      * 
@@ -753,49 +829,55 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +887,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) - private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse(); } @@ -819,27 +902,27 @@ public static com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +937,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java index e2ccf9573564..ef8509e7f1fc 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/BatchCreateInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface BatchCreateInstancesResponseOrBuilder extends +public interface BatchCreateInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * Created instances.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1alpha.Instance getInstances(int index); /** + * + * *
    * Created instances.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java index e95e79a34860..740394b81efa 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Cluster.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster}
  */
-public final class Cluster extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Cluster extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster)
     ClusterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -34,48 +52,51 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.Cluster.class, com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1alpha.Cluster.class,
+            com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Cluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The cluster is active and running.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -104,6 +129,8 @@ public enum State
      */
     STOPPED(2),
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -113,6 +140,8 @@ public enum State
      */
     EMPTY(3),
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -121,6 +150,8 @@ public enum State */ CREATING(4), /** + * + * *
      * The cluster is being deleted.
      * 
@@ -129,6 +160,8 @@ public enum State */ DELETING(5), /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -137,6 +170,8 @@ public enum State */ FAILED(6), /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -146,6 +181,8 @@ public enum State
      */
     BOOTSTRAPPING(7),
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -156,6 +193,8 @@ public enum State
      */
     MAINTENANCE(8),
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -167,6 +206,8 @@ public enum State ; /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -175,6 +216,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The cluster is active and running.
      * 
@@ -183,6 +226,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -195,6 +240,8 @@ public enum State
      */
     public static final int STOPPED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -204,6 +251,8 @@ public enum State
      */
     public static final int EMPTY_VALUE = 3;
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -212,6 +261,8 @@ public enum State */ public static final int CREATING_VALUE = 4; /** + * + * *
      * The cluster is being deleted.
      * 
@@ -220,6 +271,8 @@ public enum State */ public static final int DELETING_VALUE = 5; /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -228,6 +281,8 @@ public enum State */ public static final int FAILED_VALUE = 6; /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -237,6 +292,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -247,6 +304,8 @@ public enum State
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -255,7 +314,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,56 +338,63 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return EMPTY; - case 4: return CREATING; - case 5: return DELETING; - case 6: return FAILED; - case 7: return BOOTSTRAPPING; - case 8: return MAINTENANCE; - case 9: return PROMOTING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return EMPTY; + case 4: + return CREATING; + case 5: + return DELETING; + case 6: + return FAILED; + case 7: + return BOOTSTRAPPING; + case 8: + return MAINTENANCE; + case 9: + return PROMOTING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.alloydb.v1alpha.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -347,15 +412,18 @@ private State(int value) { } /** + * + * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Cluster.ClusterType} */ - public enum ClusterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the cluster is unknown.
      * 
@@ -364,6 +432,8 @@ public enum ClusterType */ CLUSTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -372,6 +442,8 @@ public enum ClusterType */ PRIMARY(1), /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -384,6 +456,8 @@ public enum ClusterType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -392,6 +466,8 @@ public enum ClusterType */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -400,6 +476,8 @@ public enum ClusterType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -409,7 +487,6 @@ public enum ClusterType
      */
     public static final int SECONDARY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -434,49 +511,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0: return CLUSTER_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return SECONDARY;
-        default: return null;
+        case 0:
+          return CLUSTER_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return SECONDARY;
+        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<
-        ClusterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ClusterType findValueByNumber(int number) {
-              return ClusterType.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 ClusterType findValueByNumber(int number) {
+            return ClusterType.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.cloud.alloydb.v1alpha.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -493,11 +570,14 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder extends
+  public interface NetworkConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -507,11 +587,16 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -521,13 +606,17 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -539,10 +628,13 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -554,27 +646,30 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString - getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString getAllocatedIpRangeBytes(); } /** + * + * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -582,28 +677,32 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -613,7 +712,10 @@ protected java.lang.Object newInstance(
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -622,14 +724,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -639,17 +742,18 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -658,9 +762,12 @@ public java.lang.String getNetwork() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -672,6 +779,7 @@ public java.lang.String getNetwork() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ @java.lang.Override @@ -680,14 +788,15 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -699,16 +808,15 @@ public java.lang.String getAllocatedIpRange() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -717,6 +825,7 @@ public java.lang.String getAllocatedIpRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,8 +837,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -759,17 +867,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.cloud.alloydb.v1alpha.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other = + (com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getAllocatedIpRange() - .equals(other.getAllocatedIpRange())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -791,89 +898,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,39 +995,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.NetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -926,9 +1040,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -947,8 +1061,11 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig result = + new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -967,38 +1084,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -1006,7 +1126,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) + return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1043,22 +1164,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1068,10 +1192,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object network_ = ""; /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1081,14 +1208,16 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1097,6 +1226,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1106,16 +1237,17 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1123,6 +1255,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1132,19 +1266,25 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1154,7 +1294,10 @@ public Builder setNetwork(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1164,6 +1307,8 @@ public Builder clearNetwork() { return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1173,13 +1318,17 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1189,6 +1338,8 @@ public Builder setNetworkBytes( private java.lang.Object allocatedIpRange_ = ""; /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1200,13 +1351,13 @@ public Builder setNetworkBytes(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1215,6 +1366,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1226,15 +1379,14 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1242,6 +1394,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1253,18 +1407,22 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1276,6 +1434,7 @@ public Builder setAllocatedIpRange(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1285,6 +1444,8 @@ public Builder clearAllocatedIpRange() { return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1296,18 +1457,21 @@ public Builder clearAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1320,12 +1484,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig(); } @@ -1334,27 +1498,28 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,36 +1534,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SecondaryConfigOrBuilder extends + public interface SecondaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString - getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString getPrimaryClusterNameBytes(); } /** + * + * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1406,49 +1578,55 @@ public interface SecondaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class,
+              com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
+     *
+     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ @java.lang.Override @@ -1457,30 +1635,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1489,6 +1667,7 @@ public java.lang.String getPrimaryClusterName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1500,8 +1679,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1525,15 +1703,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.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other = + (com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName() - .equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1553,89 +1731,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1645,6 +1828,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1652,33 +1837,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.class,
+                com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1688,9 +1873,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1709,8 +1894,11 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig result =
+            new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1726,38 +1914,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryCon
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1765,7 +1956,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance())
+          return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1797,17 +1989,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                primaryClusterName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  primaryClusterName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1817,23 +2011,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
+       *
+       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -1842,21 +2039,22 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1864,30 +2062,37 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -1897,24 +2102,29 @@ public Builder clearPrimaryClusterName() { return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1927,12 +2137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig(); } @@ -1941,27 +2151,28 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1976,59 +2187,79 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PrimaryConfigOrBuilder extends + public interface PrimaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - java.util.List - getSecondaryClusterNamesList(); + java.util.List getSecondaryClusterNamesList(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); } /** + * + * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2037,76 +2268,92 @@ public interface PrimaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PrimaryConfig() {
-      secondaryClusterNames_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class,
+              com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2114,21 +2361,26 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2140,10 +2392,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2170,15 +2422,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.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other = + (com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList() - .equals(other.getSecondaryClusterNamesList())) return false; + if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2200,89 +2453,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2292,6 +2550,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2300,46 +2560,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.class,
+                com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2358,8 +2617,11 @@ public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig result =
+            new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2376,38 +2638,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfi
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2415,7 +2680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance())
+          return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2452,18 +2718,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSecondaryClusterNamesIsMutable();
-                secondaryClusterNames_.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();
+                  ensureSecondaryClusterNamesIsMutable();
+                  secondaryClusterNames_.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) {
@@ -2473,49 +2741,66 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ =
+              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
+       *
+       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2523,33 +2808,43 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecondaryClusterNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2557,18 +2852,24 @@ public Builder setSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2576,53 +2877,67 @@ public Builder addSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames( - java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2630,6 +2945,7 @@ public Builder addSecondaryClusterNamesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2642,12 +2958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig(); } @@ -2656,27 +2972,28 @@ public static com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2691,19 +3008,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -2719,30 +3039,38 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: return BACKUP_SOURCE; - case 16: return MIGRATION_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 15: + return BACKUP_SOURCE; + case 16: + return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -2750,42 +3078,56 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -2793,39 +3135,51 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; + return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; } return com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; + return (com.google.cloud.alloydb.v1alpha.MigrationSource) source_; } return com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2836,6 +3190,7 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -2844,14 +3199,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2862,16 +3218,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -2880,14 +3235,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -2896,29 +3255,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; } } /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -2927,15 +3286,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2944,30 +3307,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2978,11 +3341,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -2990,11 +3357,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3002,11 +3373,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3016,11 +3390,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3028,11 +3406,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -3040,11 +3422,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3054,11 +3439,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3066,11 +3455,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -3078,11 +3471,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3090,32 +3486,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3123,20 +3521,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3148,6 +3547,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3155,17 +3556,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3173,11 +3576,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3187,32 +3590,47 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { - com.google.cloud.alloydb.v1alpha.Cluster.State result = com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { + com.google.cloud.alloydb.v1alpha.Cluster.State result = + com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3220,13 +3638,19 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3234,17 +3658,26 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED + : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3252,13 +3685,19 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3266,18 +3705,26 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = + com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig networkConfig_; /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3285,25 +3732,38 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder + getNetworkConfigOrBuilder() { + return networkConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3312,25 +3772,30 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3339,19 +3804,21 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -3360,14 +3827,18 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor } public static final int ETAG_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ @java.lang.Override @@ -3376,29 +3847,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @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 { @@ -3407,32 +3878,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3442,20 +3916,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3469,6 +3944,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3478,17 +3955,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3498,11 +3977,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3512,6 +3991,8 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -3521,6 +4002,7 @@ public java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3531,12 +4013,17 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1alpha.UserPassword initialUser_; /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ @java.lang.Override @@ -3544,34 +4031,49 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser() { - return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() + : initialUser_; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() + : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automatedBackupPolicy_; /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3583,6 +4085,7 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -3590,6 +4093,8 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3601,13 +4106,18 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3621,41 +4131,56 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup
    * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder
+      getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null
+        ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()
+        : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_;
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -3663,13 +4188,18 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3678,7 +4208,10 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3686,6 +4219,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3694,14 +4229,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3710,21 +4252,30 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -3732,37 +4283,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuousBackupConfig_; /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -3770,37 +4339,56 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuousBackupInfo_; /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -3808,37 +4396,54 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondaryConfig_; /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -3846,18 +4451,25 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -3865,18 +4477,26 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConf * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primaryConfig_; /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -3884,37 +4504,54 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder + getPrimaryConfigOrBuilder() { + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 30; private boolean satisfiesPzs_ = false; /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 30; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -3923,6 +4560,7 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3934,8 +4572,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3954,16 +4591,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1alpha.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -3972,12 +4607,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 12); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -4008,7 +4639,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + if (clusterType_ + != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4042,34 +4675,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1alpha.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1alpha.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4077,75 +4707,69 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); } if (sourceCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.alloydb.v1alpha.MigrationSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.alloydb.v1alpha.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getAutomatedBackupPolicy()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(24, clusterType_); + if (clusterType_ + != com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getContinuousBackupConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getContinuousBackupInfo()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(30, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4155,108 +4779,84 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.Cluster other = (com.google.cloud.alloydb.v1alpha.Cluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; - } - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + } + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser() - .equals(other.getInitialUser())) return false; + if (!getInitialUser().equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy() - .equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig() - .equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo() - .equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig() - .equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig() - .equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; } - if (getSatisfiesPzs() - != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource() - .equals(other.getMigrationSource())) return false; + if (!getMigrationSource().equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4313,8 +4913,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4352,8 +4951,7 @@ public int hashCode() { hash = (53 * hash) + getPrimaryConfig().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); switch (sourceCase_) { case 15: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -4371,99 +4969,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Cluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -4472,59 +5075,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Cluster}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Cluster)
       com.google.cloud.alloydb.v1alpha.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Cluster.class, com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Cluster.class,
+              com.google.cloud.alloydb.v1alpha.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.Cluster.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4618,9 +5218,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -4639,8 +5239,11 @@ public com.google.cloud.alloydb.v1alpha.Cluster build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Cluster buildPartial() {
-      com.google.cloud.alloydb.v1alpha.Cluster result = new com.google.cloud.alloydb.v1alpha.Cluster(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.Cluster result =
+          new com.google.cloud.alloydb.v1alpha.Cluster(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4658,19 +5261,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -4686,9 +5283,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ = networkConfigBuilder_ == null
-            ? networkConfig_
-            : networkConfigBuilder_.build();
+        result.networkConfig_ =
+            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -4704,49 +5300,45 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ = initialUserBuilder_ == null
-            ? initialUser_
-            : initialUserBuilder_.build();
+        result.initialUser_ =
+            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
-            ? automatedBackupPolicy_
-            : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ =
+            automatedBackupPolicyBuilder_ == null
+                ? automatedBackupPolicy_
+                : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null
-            ? sslConfig_
-            : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
-            ? continuousBackupConfig_
-            : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ =
+            continuousBackupConfigBuilder_ == null
+                ? continuousBackupConfig_
+                : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
-            ? continuousBackupInfo_
-            : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ =
+            continuousBackupInfoBuilder_ == null
+                ? continuousBackupInfo_
+                : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ = secondaryConfigBuilder_ == null
-            ? secondaryConfig_
-            : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ =
+            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ = primaryConfigBuilder_ == null
-            ? primaryConfig_
-            : primaryConfigBuilder_.build();
+        result.primaryConfig_ =
+            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x04000000) != 0)) {
         result.satisfiesPzs_ = satisfiesPzs_;
@@ -4756,12 +5348,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Cluster result) {
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 &&
-          migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -4770,38 +5360,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.Cluster result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.Cluster) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4834,8 +5425,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -4859,8 +5449,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -4896,17 +5485,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Cluster other) {
         setSatisfiesPzs(other.getSatisfiesPzs());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case MIGRATION_SOURCE: {
-          mergeMigrationSource(other.getMigrationSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case MIGRATION_SOURCE:
+          {
+            mergeMigrationSource(other.getMigrationSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4934,185 +5526,191 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 64
-            case 72: {
-              databaseVersion_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 72
-            case 82: {
-              network_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 82
-            case 90: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 90
-            case 98: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 98
-            case 104: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 104
-            case 114: {
-              input.readMessage(
-                  getInitialUserFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getMigrationSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 16;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getSslConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 162
-            case 178: {
-              input.readMessage(
-                  getSecondaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x01000000;
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getPrimaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x02000000;
-              break;
-            } // case 186
-            case 192: {
-              clusterType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 192
-            case 218: {
-              input.readMessage(
-                  getContinuousBackupConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getContinuousBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getNetworkConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 234
-            case 240: {
-              satisfiesPzs_ = input.readBool();
-              bitField0_ |= 0x04000000;
-              break;
-            } // case 240
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 64
+            case 72:
+              {
+                databaseVersion_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 72
+            case 82:
+              {
+                network_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 82
+            case 90:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 98
+            case 104:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 104
+            case 114:
+              {
+                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 16;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(
+                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 162
+            case 178:
+              {
+                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x01000000;
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x02000000;
+                break;
+              } // case 186
+            case 192:
+              {
+                clusterType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 192
+            case 218:
+              {
+                input.readMessage(
+                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(
+                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 234
+            case 240:
+              {
+                satisfiesPzs_ = input.readBool();
+                bitField0_ |= 0x04000000;
+                break;
+              } // case 240
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5122,12 +5720,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() {
@@ -5140,13 +5738,21 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1alpha.BackupSource,
+            com.google.cloud.alloydb.v1alpha.BackupSource.Builder,
+            com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5154,11 +5760,16 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override @@ -5176,11 +5787,15 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5196,11 +5811,15 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource val return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource( com.google.cloud.alloydb.v1alpha.BackupSource.Builder builderForValue) { @@ -5214,18 +5833,25 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 && - source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 15 + && source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1alpha.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5241,11 +5867,15 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource v return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5264,21 +5894,29 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5292,21 +5930,30 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.BackupSource, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder, + com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BackupSource, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder, + com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.BackupSource) source_, getParentForChildren(), isClean()); @@ -5318,13 +5965,21 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> migrationSourceBuilder_; + com.google.cloud.alloydb.v1alpha.MigrationSource, + com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, + com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> + migrationSourceBuilder_; /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5332,11 +5987,16 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override @@ -5354,11 +6014,15 @@ public com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource() { } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -5374,11 +6038,15 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSour return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource( com.google.cloud.alloydb.v1alpha.MigrationSource.Builder builderForValue) { @@ -5392,18 +6060,25 @@ public Builder setMigrationSource( return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 && - source_ != com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder((com.google.cloud.alloydb.v1alpha.MigrationSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 16 + && source_ != com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder( + (com.google.cloud.alloydb.v1alpha.MigrationSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5419,11 +6094,15 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1alpha.MigrationSo return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -5442,21 +6121,29 @@ public Builder clearMigrationSource() { return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -5470,21 +6157,30 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.MigrationSource, + com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, + com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.MigrationSource, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.MigrationSource, + com.google.cloud.alloydb.v1alpha.MigrationSource.Builder, + com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.MigrationSource) source_, getParentForChildren(), isClean()); @@ -5497,6 +6193,8 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5507,13 +6205,13 @@ public com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSou
      * 
* * 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; @@ -5522,6 +6220,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5532,15 +6232,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -5548,6 +6247,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5558,18 +6259,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5580,6 +6285,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -5589,6 +6295,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5599,12 +6307,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -5614,18 +6324,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -5634,20 +6346,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -5655,28 +6368,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5686,17 +6406,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -5706,19 +6430,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -5727,21 +6453,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5749,30 +6476,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -5782,18 +6516,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -5803,39 +6541,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -5851,14 +6608,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -5869,17 +6629,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5892,11 +6656,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5909,11 +6677,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -5921,36 +6693,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -5958,39 +6742,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -6006,14 +6809,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -6024,17 +6830,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6047,11 +6857,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6064,11 +6878,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6076,36 +6894,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -6113,39 +6943,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -6161,14 +7010,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -6179,17 +7031,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -6202,11 +7058,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -6219,11 +7079,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -6231,56 +7095,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -6289,10 +7163,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6300,20 +7177,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6325,6 +7203,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6332,17 +7212,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6350,95 +7232,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000100; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -6449,24 +7344,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.State getState() { - com.google.cloud.alloydb.v1alpha.Cluster.State result = com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Cluster.State result = + com.google.cloud.alloydb.v1alpha.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -6480,11 +7386,16 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Cluster.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -6496,6 +7407,8 @@ public Builder clearState() { private int clusterType_ = 0; /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6503,13 +7416,19 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6517,7 +7436,10 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -6528,6 +7450,8 @@ public Builder setClusterTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6535,15 +7459,23 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType result = + com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.forNumber(clusterType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Cluster.ClusterType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6551,7 +7483,10 @@ public com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The clusterType to set. * @return This builder for chaining. */ @@ -6565,6 +7500,8 @@ public Builder setClusterType(com.google.cloud.alloydb.v1alpha.Cluster.ClusterTy return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6572,7 +7509,10 @@ public Builder setClusterType(com.google.cloud.alloydb.v1alpha.Cluster.ClusterTy
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearClusterType() { @@ -6584,6 +7524,8 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6591,13 +7533,19 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6605,7 +7553,10 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6616,6 +7567,8 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6623,15 +7576,23 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); - return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = + com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(databaseVersion_); + return result == null + ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6639,7 +7600,10 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6653,6 +7617,8 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6660,7 +7626,10 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1alpha.DatabaseVersi
      * be used.
      * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6672,27 +7641,40 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> + networkConfigBuilder_; /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -6708,7 +7690,9 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.Network return this; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder builderForValue) { @@ -6722,13 +7706,17 @@ public Builder setNetworkConfig( return this; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { + public Builder mergeNetworkConfig( + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - networkConfig_ != null && - networkConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && networkConfig_ != null + && networkConfig_ + != com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -6741,7 +7729,9 @@ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1alpha.Cluster.Netwo return this; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -6754,36 +7744,48 @@ public Builder clearNetworkConfig() { return this; } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder + getNetworkConfigBuilder() { bitField0_ |= 0x00001000; onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder + getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } } /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), - getParentForChildren(), - isClean()); + networkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), getParentForChildren(), isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -6791,6 +7793,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor private java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6799,16 +7803,19 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -6817,6 +7824,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6825,18 +7834,20 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -6844,6 +7855,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6852,21 +7865,28 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6875,18 +7895,24 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNetwork() { + @java.lang.Deprecated + public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6895,15 +7921,20 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -6913,18 +7944,20 @@ public com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetwor private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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; @@ -6933,20 +7966,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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 { @@ -6954,28 +7988,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -6985,17 +8026,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -7003,8 +8048,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -7013,11 +8058,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -7026,10 +8072,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7039,20 +8088,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7066,6 +8116,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7075,17 +8127,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7095,23 +8149,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7120,23 +8176,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7145,17 +8200,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7164,16 +8222,16 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_ ;
+    private boolean reconciling_;
     /**
+     *
+     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7183,6 +8241,7 @@ public Builder putAllAnnotations(
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -7190,6 +8249,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7199,6 +8260,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -7210,6 +8272,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7219,6 +8283,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -7230,42 +8295,61 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1alpha.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> initialUserBuilder_; + com.google.cloud.alloydb.v1alpha.UserPassword, + com.google.cloud.alloydb.v1alpha.UserPassword.Builder, + com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> + initialUserBuilder_; /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ public com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() + : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword value) { if (initialUserBuilder_ == null) { @@ -7281,12 +8365,16 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword valu return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser( com.google.cloud.alloydb.v1alpha.UserPassword.Builder builderForValue) { @@ -7300,18 +8388,22 @@ public Builder setInitialUser( return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - initialUser_ != null && - initialUser_ != com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && initialUser_ != null + && initialUser_ != com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -7324,12 +8416,16 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1alpha.UserPassword va return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -7342,12 +8438,16 @@ public Builder clearInitialUser() { return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -7355,38 +8455,50 @@ public com.google.cloud.alloydb.v1alpha.UserPassword.Builder getInitialUserBuild return getInitialUserFieldBuilder().getBuilder(); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null ? - com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1alpha.UserPassword.getDefaultInstance() + : initialUser_; } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1alpha.UserPassword, + com.google.cloud.alloydb.v1alpha.UserPassword.Builder, + com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.UserPassword, com.google.cloud.alloydb.v1alpha.UserPassword.Builder, com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder>( - getInitialUser(), - getParentForChildren(), - isClean()); + initialUserBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.UserPassword, + com.google.cloud.alloydb.v1alpha.UserPassword.Builder, + com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder>( + getInitialUser(), getParentForChildren(), isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -7394,8 +8506,13 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu private com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> + automatedBackupPolicyBuilder_; /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7406,13 +8523,17 @@ public com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBu
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * + * * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7423,17 +8544,23 @@ public boolean hasAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * + * * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7444,9 +8571,11 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackup
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ - public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { + public Builder setAutomatedBackupPolicy( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { if (automatedBackupPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7460,6 +8589,8 @@ public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.Automat return this; } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7470,7 +8601,8 @@ public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.Automat
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ public Builder setAutomatedBackupPolicy( com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder builderForValue) { @@ -7484,6 +8616,8 @@ public Builder setAutomatedBackupPolicy( return this; } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7494,13 +8628,16 @@ public Builder setAutomatedBackupPolicy(
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ - public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { + public Builder mergeAutomatedBackupPolicy( + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy value) { if (automatedBackupPolicyBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - automatedBackupPolicy_ != null && - automatedBackupPolicy_ != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && automatedBackupPolicy_ != null + && automatedBackupPolicy_ + != com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance()) { getAutomatedBackupPolicyBuilder().mergeFrom(value); } else { automatedBackupPolicy_ = value; @@ -7513,6 +8650,8 @@ public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.Autom return this; } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7523,7 +8662,8 @@ public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1alpha.Autom
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ public Builder clearAutomatedBackupPolicy() { bitField0_ = (bitField0_ & ~0x00040000); @@ -7536,6 +8676,8 @@ public Builder clearAutomatedBackupPolicy() { return this; } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7546,14 +8688,18 @@ public Builder clearAutomatedBackupPolicy() {
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder + getAutomatedBackupPolicyBuilder() { bitField0_ |= 0x00040000; onChanged(); return getAutomatedBackupPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7564,17 +8710,22 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder getAutomat
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ - public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() { + public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder + getAutomatedBackupPolicyOrBuilder() { if (automatedBackupPolicyBuilder_ != null) { return automatedBackupPolicyBuilder_.getMessageOrBuilder(); } else { - return automatedBackupPolicy_ == null ? - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7585,17 +8736,21 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma
      * documentation for the message type.
      * 
* - * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder> getAutomatedBackupPolicyFieldBuilder() { if (automatedBackupPolicyBuilder_ == null) { - automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder>( - getAutomatedBackupPolicy(), - getParentForChildren(), - isClean()); + automatedBackupPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy.Builder, + com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder>( + getAutomatedBackupPolicy(), getParentForChildren(), isClean()); automatedBackupPolicy_ = null; } return automatedBackupPolicyBuilder_; @@ -7603,45 +8758,61 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> sslConfigBuilder_; + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + sslConfigBuilder_; /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { + @java.lang.Deprecated + public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7655,13 +8826,16 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig( + @java.lang.Deprecated + public Builder setSslConfig( com.google.cloud.alloydb.v1alpha.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); @@ -7673,17 +8847,20 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { + @java.lang.Deprecated + public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -7696,13 +8873,16 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder clearSslConfig() { + @java.lang.Deprecated + public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -7713,33 +8893,42 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -7747,14 +8936,17 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -7762,8 +8954,13 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7772,13 +8969,18 @@ public com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutoma
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7787,17 +8989,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7806,7 +9015,9 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -7822,6 +9033,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7830,7 +9043,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder builderForValue) { @@ -7844,6 +9059,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7852,13 +9069,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -7871,6 +9091,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7879,7 +9101,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -7892,6 +9116,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7900,7 +9126,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -7908,6 +9136,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7916,17 +9146,23 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7935,17 +9171,22 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -7953,39 +9194,58 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -8001,11 +9261,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -8019,17 +9283,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -8042,11 +9311,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -8059,11 +9332,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -8071,36 +9348,48 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -8108,41 +9397,61 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> + continuousBackupConfigBuilder_; /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig( + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8156,11 +9465,15 @@ public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.Contin return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder builderForValue) { @@ -8174,17 +9487,23 @@ public Builder setContinuousBackupConfig( return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig( + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) && - continuousBackupConfig_ != null && - continuousBackupConfig_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) + && continuousBackupConfig_ != null + && continuousBackupConfig_ + != com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -8197,11 +9516,15 @@ public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1alpha.Cont return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -8214,48 +9537,66 @@ public Builder clearContinuousBackupConfig() { return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder + getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null ? - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), - getParentForChildren(), - isClean()); + continuousBackupConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), getParentForChildren(), isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -8263,41 +9604,61 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getConti private com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> + continuousBackupInfoBuilder_; /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { + public Builder setContinuousBackupInfo( + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8311,11 +9672,15 @@ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.Continuo return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder builderForValue) { @@ -8329,17 +9694,23 @@ public Builder setContinuousBackupInfo( return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo( + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) && - continuousBackupInfo_ != null && - continuousBackupInfo_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) + && continuousBackupInfo_ != null + && continuousBackupInfo_ + != com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -8352,11 +9723,15 @@ public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1alpha.Contin return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -8369,48 +9744,66 @@ public Builder clearContinuousBackupInfo() { return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder + getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null ? - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), - getParentForChildren(), - isClean()); + continuousBackupInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), getParentForChildren(), isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -8418,41 +9811,55 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinu private com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> + secondaryConfigBuilder_; /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder setSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { + public Builder setSecondaryConfig( + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8466,6 +9873,8 @@ public Builder setSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.Secon return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8484,17 +9893,21 @@ public Builder setSecondaryConfig( return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { + public Builder mergeSecondaryConfig( + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) && - secondaryConfig_ != null && - secondaryConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) + && secondaryConfig_ != null + && secondaryConfig_ + != com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -8507,6 +9920,8 @@ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.Sec return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8524,33 +9939,42 @@ public Builder clearSecondaryConfig() { return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder + getSecondaryConfigBuilder() { bitField0_ |= 0x01000000; onChanged(); return getSecondaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8558,14 +9982,17 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSeco * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), - getParentForChildren(), - isClean()); + secondaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), getParentForChildren(), isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -8573,39 +10000,58 @@ public com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSeco private com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> + primaryConfigBuilder_; /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -8621,11 +10067,15 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.Primary return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder builderForValue) { @@ -8639,17 +10089,23 @@ public Builder setPrimaryConfig( return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { + public Builder mergePrimaryConfig( + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) && - primaryConfig_ != null && - primaryConfig_ != com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) + && primaryConfig_ != null + && primaryConfig_ + != com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -8662,11 +10118,15 @@ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1alpha.Cluster.Prima return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -8679,60 +10139,81 @@ public Builder clearPrimaryConfig() { return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder + getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; onChanged(); return getPrimaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder + getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), - getParentForChildren(), - isClean()); + primaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), getParentForChildren(), isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } - private boolean satisfiesPzs_ ; + private boolean satisfiesPzs_; /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -8740,11 +10221,14 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; + * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -8756,11 +10240,14 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 30; + * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -8769,9 +10256,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8781,12 +10268,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Cluster) private static final com.google.cloud.alloydb.v1alpha.Cluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Cluster(); } @@ -8795,27 +10282,27 @@ public static com.google.cloud.alloydb.v1alpha.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8830,6 +10317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java index 5c89c56cc9e7..3ba02e0205e7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterOrBuilder.java @@ -1,67 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ClusterOrBuilder extends +public interface ClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Cluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ com.google.cloud.alloydb.v1alpha.MigrationSource getMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -72,10 +118,13 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -86,135 +135,180 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -223,30 +317,31 @@ public interface ClusterOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -254,40 +349,53 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1alpha.Cluster.State getState(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -295,11 +403,16 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -307,12 +420,17 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ com.google.cloud.alloydb.v1alpha.Cluster.ClusterType getClusterType(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -320,11 +438,16 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -332,27 +455,40 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getDatabaseVersion(); /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfig getNetworkConfig(); /** - * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1alpha.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -361,13 +497,19 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated java.lang.String getNetwork(); + @java.lang.Deprecated + java.lang.String getNetwork(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -376,35 +518,45 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.network is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNetworkBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -415,6 +567,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -423,15 +577,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -440,9 +592,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -452,11 +605,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -465,10 +620,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -478,41 +634,58 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ com.google.cloud.alloydb.v1alpha.UserPassword getInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder getInitialUserOrBuilder(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -524,10 +697,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -539,10 +715,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -555,40 +734,54 @@ java.lang.String getAnnotationsOrThrow(
    *
    * .google.cloud.alloydb.v1alpha.AutomatedBackupPolicy automated_backup_policy = 17;
    */
-  com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
+  com.google.cloud.alloydb.v1alpha.AutomatedBackupPolicyOrBuilder
+      getAutomatedBackupPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated boolean hasSslConfig(); + @java.lang.Deprecated + boolean hasSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1alpha/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1alpha.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1alpha/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -597,11 +790,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -610,11 +808,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -623,110 +826,163 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfig getSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -736,38 +992,55 @@ java.lang.String getAnnotationsOrThrow( com.google.cloud.alloydb.v1alpha.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig getPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 30; + * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java index 0c9f2a58134c..2a4dcdd02f3a 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ClusterView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1alpha.ClusterView}
  */
-public enum ClusterView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum ClusterView */ CLUSTER_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -32,6 +52,8 @@ public enum ClusterView
    */
   CLUSTER_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -45,6 +67,8 @@ public enum ClusterView
   ;
 
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -53,6 +77,8 @@ public enum ClusterView */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -63,6 +89,8 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -73,7 +101,6 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,49 +125,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0: return CLUSTER_VIEW_UNSPECIFIED;
-      case 1: return CLUSTER_VIEW_BASIC;
-      case 2: return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default: return null;
+      case 0:
+        return CLUSTER_VIEW_UNSPECIFIED;
+      case 1:
+        return CLUSTER_VIEW_BASIC;
+      case 2:
+        return CLUSTER_VIEW_CONTINUOUS_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<
-      ClusterView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterView findValueByNumber(int number) {
-            return ClusterView.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 ClusterView findValueByNumber(int number) {
+          return ClusterView.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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,4 +183,3 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.ClusterView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
similarity index 70%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
index c6911d33f832..2112e855be77 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
+ *
+ *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ConnectionInfo}
  */
-public final class ConnectionInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ConnectionInfo)
     ConnectionInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
-    pemCertificateChain_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
     instanceUid_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ConnectionInfo.class,
+            com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +89,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 ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -82,16 +105,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 { @@ -100,9 +122,12 @@ public java.lang.String getName() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -110,6 +135,7 @@ public java.lang.String getName() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -118,14 +144,15 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -133,16 +160,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -151,79 +177,106 @@ public java.lang.String getIpAddress() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { return pemCertificateChain_; } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated public int getPemCertificateChainCount() { + @java.lang.Deprecated + public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated + public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int INSTANCE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ @java.lang.Override @@ -232,29 +285,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -263,6 +316,7 @@ public java.lang.String getInstanceUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -322,21 +375,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.cloud.alloydb.v1alpha.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ConnectionInfo other = (com.google.cloud.alloydb.v1alpha.ConnectionInfo) obj; + com.google.cloud.alloydb.v1alpha.ConnectionInfo other = + (com.google.cloud.alloydb.v1alpha.ConnectionInfo) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getPemCertificateChainList() - .equals(other.getPemCertificateChainList())) return false; - if (!getInstanceUid() - .equals(other.getInstanceUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; + if (!getInstanceUid().equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,99 +413,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -463,49 +518,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ConnectionInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ConnectionInfo)
       com.google.cloud.alloydb.v1alpha.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ConnectionInfo.class,
+              com.google.cloud.alloydb.v1alpha.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ConnectionInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
       ipAddress_ = "";
-      pemCertificateChain_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
       instanceUid_ = "";
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -524,8 +577,11 @@ public com.google.cloud.alloydb.v1alpha.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ConnectionInfo result = new com.google.cloud.alloydb.v1alpha.ConnectionInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.ConnectionInfo result =
+          new com.google.cloud.alloydb.v1alpha.ConnectionInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -551,38 +607,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ConnectionInfo resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ConnectionInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ConnectionInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -590,7 +647,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ConnectionInfo other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -642,33 +700,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensurePemCertificateChainIsMutable();
-              pemCertificateChain_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              instanceUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePemCertificateChainIsMutable();
+                pemCertificateChain_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                instanceUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -678,10 +741,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -689,13 +755,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; @@ -704,6 +770,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -711,15 +779,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 { @@ -727,6 +794,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -734,18 +803,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -753,6 +826,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -762,6 +836,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -769,12 +845,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -784,6 +862,8 @@ public Builder setNameBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -791,13 +871,13 @@ public Builder setNameBytes(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -806,6 +886,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -813,15 +895,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -829,6 +910,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -836,18 +919,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -855,6 +942,7 @@ public Builder setIpAddress(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -864,6 +952,8 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -871,12 +961,14 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -886,6 +978,7 @@ public Builder setIpAddressBytes( private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -893,82 +986,111 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated public int getPemCertificateChainCount() { + @java.lang.Deprecated + public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated + public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCertificateChain( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCertificateChain(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000004; @@ -976,20 +1098,27 @@ private void ensurePemCertificateChainIsMutable() { return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addPemCertificateChain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addPemCertificateChain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000004; @@ -997,59 +1126,76 @@ private void ensurePemCertificateChainIsMutable() { return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllPemCertificateChain( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllPemCertificateChain(java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPemCertificateChain() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + @java.lang.Deprecated + public Builder clearPemCertificateChain() { + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addPemCertificateChainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -1060,18 +1206,20 @@ private void ensurePemCertificateChainIsMutable() { private java.lang.Object instanceUid_ = ""; /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -1080,20 +1228,21 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -1101,28 +1250,35 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -1132,26 +1288,30 @@ public Builder clearInstanceUid() { return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1321,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ConnectionInfo) private static final com.google.cloud.alloydb.v1alpha.ConnectionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ConnectionInfo(); } @@ -1175,27 +1335,27 @@ public static com.google.cloud.alloydb.v1alpha.ConnectionInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1210,6 +1370,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java index 641e7de26199..16a8d2c2475e 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ConnectionInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ConnectionInfoOrBuilder extends +public interface ConnectionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -15,10 +33,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -26,12 +47,14 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -39,10 +62,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -50,81 +76,108 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated java.util.List - getPemCertificateChainList(); + @java.lang.Deprecated + java.util.List getPemCertificateChainList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated int getPemCertificateChainCount(); + @java.lang.Deprecated + int getPemCertificateChainCount(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated java.lang.String getPemCertificateChain(int index); + @java.lang.Deprecated + java.lang.String getPemCertificateChain(int index); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1alpha.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1alpha/resources.proto;l=918 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPemCertificateChainBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getPemCertificateChainBytes(int index); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString - getInstanceUidBytes(); + com.google.protobuf.ByteString getInstanceUidBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java index 31ac019b966b..e6b276d08110 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ContinuousBackupConfig() {
-  }
+
+  private ContinuousBackupConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class,
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -74,6 +98,8 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -81,6 +107,7 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -91,6 +118,8 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -99,6 +128,7 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -106,6 +136,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -114,13 +146,18 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -132,10 +169,13 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+    return encryptionConfig_ == null
+        ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()
+        : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +187,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -168,16 +207,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -187,24 +223,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.cloud.alloydb.v1alpha.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other =
+        (com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled()
-          != other.getEnabled()) return false;
+      if (getEnabled() != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays()
-        != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) 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;
@@ -219,8 +253,7 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -234,98 +267,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -333,33 +372,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1alpha.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.class,
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +413,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -396,8 +434,11 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig result =
+          new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -413,9 +454,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupConf
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -424,38 +464,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupConf
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -463,7 +504,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -499,29 +541,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 26: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              recoveryWindowDays_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 26:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                recoveryWindowDays_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -531,15 +576,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -547,11 +596,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -559,11 +611,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -575,11 +630,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -589,8 +647,10 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_ ; + private int recoveryWindowDays_; /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -598,6 +658,7 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -605,6 +666,8 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -612,6 +675,7 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; + * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -623,6 +687,8 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -630,6 +696,7 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; + * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -641,8 +708,13 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1alpha.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1alpha.EncryptionConfig, + com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -651,12 +723,15 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -665,16 +740,21 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -698,6 +778,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionCo
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -719,6 +801,8 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -730,9 +814,10 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          encryptionConfig_ != null &&
-          encryptionConfig_ != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && encryptionConfig_ != null
+            && encryptionConfig_
+                != com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -745,6 +830,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1alpha.Encryption
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -765,6 +852,8 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -780,6 +869,8 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -789,15 +880,19 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder getEncryptionCo
      *
      * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
      */
-    public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder
+        getEncryptionConfigOrBuilder() {
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null ?
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+        return encryptionConfig_ == null
+            ? com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()
+            : encryptionConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -808,21 +903,24 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder getEncryptionC
      * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder> 
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig,
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder, com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(),
-                getParentForChildren(),
-                isClean());
+        encryptionConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1alpha.EncryptionConfig,
+                com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder,
+                com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(), getParentForChildren(), isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -832,12 +930,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig();
   }
@@ -846,27 +944,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getDefault
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ContinuousBackupConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ContinuousBackupConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +979,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1alpha.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
index 8ce1f78f3346..e8b1c5af1a34 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupConfigOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
-public interface ContinuousBackupConfigOrBuilder extends
+public interface ContinuousBackupConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -34,11 +58,14 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -47,10 +74,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -59,10 +89,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1alpha.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1alpha.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
similarity index 63%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
index 1ddbc385d8dd..a647710942c9 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/resources.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
+ *
+ *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -11,48 +28,55 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class,
+            com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_;
   /**
+   *
+   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -60,40 +84,57 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -101,12 +142,16 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ @java.lang.Override @@ -114,12 +159,15 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -127,10 +175,13 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List schedule_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> + schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -139,12 +190,17 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ @java.lang.Override @@ -153,12 +209,17 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ @java.lang.Override @@ -166,12 +227,17 @@ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -180,26 +246,35 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return schedule_; } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -207,17 +282,23 @@ public com.google.type.DayOfWeek getSchedule(int index) { public int getScheduleValue(int index) { return schedule_.get(index); } + private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -225,32 +306,46 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -291,28 +385,26 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEarliestRestorableTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,28 +414,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other = + (com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime() - .equals(other.getEnabledTime())) return false; + if (!getEnabledTime().equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime() - .equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -378,98 +468,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -477,33 +573,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1alpha.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.class,
+              com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -529,9 +624,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -550,14 +645,18 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result =
+          new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -568,19 +667,18 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.Continu
     private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ = enabledTimeBuilder_ == null
-            ? enabledTime_
-            : enabledTimeBuilder_.build();
+        result.enabledTime_ =
+            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
-            ? earliestRestorableTime_
-            : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ =
+            earliestRestorableTimeBuilder_ == null
+                ? earliestRestorableTime_
+                : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -588,38 +686,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,7 +726,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo.getDefaultInstance())
+        return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -673,50 +773,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEnabledTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              int tmpRaw = input.readEnum();
-              ensureScheduleIsMutable();
-              schedule_.add(tmpRaw);
-              break;
-            } // case 24
-            case 26: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 24
+            case 26:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureScheduleIsMutable();
+                  schedule_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -726,46 +827,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1alpha.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
+            com.google.cloud.alloydb.v1alpha.EncryptionInfo,
+            com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder,
+            com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>
+        encryptionInfoBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -781,12 +902,16 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder builderForValue) { @@ -800,18 +925,23 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -824,12 +954,16 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1alpha.EncryptionIn return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -842,12 +976,16 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -855,38 +993,50 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder getEncryptionInfo return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.EncryptionInfo, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.EncryptionInfo, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -894,42 +1044,61 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInf private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + enabledTimeBuilder_; /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -945,15 +1114,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEnabledTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -964,18 +1136,22 @@ public Builder setEnabledTime( return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - enabledTime_ != null && - enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && enabledTime_ != null + && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -988,12 +1164,16 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1006,12 +1186,16 @@ public Builder clearEnabledTime() { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1019,45 +1203,57 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), - getParentForChildren(), - isClean()); + enabledTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), getParentForChildren(), isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = - java.util.Collections.emptyList(); + private java.util.List schedule_ = java.util.Collections.emptyList(); + private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1065,12 +1261,17 @@ private void ensureScheduleIsMutable() { } } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1078,24 +1279,34 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1103,18 +1314,22 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - int index, com.google.type.DayOfWeek value) { + public Builder setSchedule(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1124,12 +1339,17 @@ public Builder setSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The schedule to add. * @return This builder for chaining. */ @@ -1143,17 +1363,21 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule( - java.lang.Iterable values) { + public Builder addAllSchedule(java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1162,12 +1386,17 @@ public Builder addAllSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1177,25 +1406,34 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1203,30 +1441,39 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue( - int index, int value) { + public Builder setScheduleValue(int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1237,17 +1484,21 @@ public Builder addScheduleValue(int value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue( - java.lang.Iterable values) { + public Builder addAllScheduleValue(java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1258,42 +1509,61 @@ public Builder addAllScheduleValue( private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestRestorableTimeBuilder_; /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1309,12 +1579,16 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1328,18 +1602,22 @@ public Builder setEarliestRestorableTime( return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - earliestRestorableTime_ != null && - earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && earliestRestorableTime_ != null + && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1352,12 +1630,16 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1370,12 +1652,16 @@ public Builder clearEarliestRestorableTime() { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1383,45 +1669,57 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), - getParentForChildren(), - isClean()); + earliestRestorableTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), getParentForChildren(), isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1729,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo(); } @@ -1445,27 +1743,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1778,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java index c692caffab6a..2aeb9b646427 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupInfoOrBuilder.java @@ -1,153 +1,232 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ContinuousBackupInfoOrBuilder extends +public interface ContinuousBackupInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1alpha.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ java.util.List getScheduleList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ int getScheduleCount(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List - getScheduleValueList(); + java.util.List getScheduleValueList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java index c63c59e19981..61667c38a5e4 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSource.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ @java.lang.Override @@ -62,14 +85,15 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -77,16 +101,15 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -97,11 +120,15 @@ public java.lang.String getCluster() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -109,11 +136,15 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ @java.lang.Override @@ -121,11 +152,14 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -133,6 +167,7 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -165,8 +199,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1alpha.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other = (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other = + (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) obj; - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime() - .equals(other.getPointInTime())) return false; + if (!getPointInTime().equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,131 +245,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ContinuousBackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ContinuousBackupSource) com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -373,8 +410,11 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource result = new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource result = + new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -385,9 +425,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupSour result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = pointInTimeBuilder_ == null - ? pointInTime_ - : pointInTimeBuilder_.build(); + result.pointInTime_ = + pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); } } @@ -395,38 +434,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ContinuousBackupSour public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) other); } else { super.mergeFrom(other); return this; @@ -434,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) + return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -469,24 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPointInTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +538,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object cluster_ = ""; /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -507,13 +552,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -522,6 +567,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -529,15 +576,14 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -545,6 +591,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -552,18 +600,22 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -571,6 +623,7 @@ public Builder setCluster(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCluster() { @@ -580,6 +633,8 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -587,12 +642,14 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -602,39 +659,55 @@ public Builder setClusterBytes( private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + pointInTimeBuilder_; /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -650,14 +723,16 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPointInTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -668,17 +743,20 @@ public Builder setPointInTime( return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - pointInTime_ != null && - pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && pointInTime_ != null + && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -691,11 +769,14 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -708,11 +789,14 @@ public Builder clearPointInTime() { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -720,43 +804,53 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), - getParentForChildren(), - isClean()); + pointInTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), getParentForChildren(), isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1alpha.ContinuousBackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ContinuousBackupSource(); } @@ -780,27 +874,27 @@ public static com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java index ab0ec39cc8cf..47fe865ee464 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ContinuousBackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface ContinuousBackupSourceOrBuilder extends +public interface ContinuousBackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -15,10 +33,13 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ java.lang.String getCluster(); /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -26,35 +47,46 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - com.google.protobuf.ByteString - getClusterBytes(); + com.google.protobuf.ByteString getClusterBytes(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java index 6a4a10e00d2a..6953150b54bd 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; @@ -27,33 +45,40 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -109,29 +140,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -142,11 +173,16 @@ public java.lang.String getBackupId() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Backup backup_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -154,11 +190,16 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -166,11 +207,15 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { @@ -178,9 +223,12 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +246,7 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +255,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +281,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +300,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +317,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -309,15 +361,13 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +377,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.cloud.alloydb.v1alpha.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateBackupRequest other = (com.google.cloud.alloydb.v1alpha.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateBackupRequest other = + (com.google.cloud.alloydb.v1alpha.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +415,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateBackupRequest) com.google.cloud.alloydb.v1alpha.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, + com.google.cloud.alloydb.v1alpha.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -519,9 +568,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; } @java.lang.Override @@ -540,8 +589,11 @@ public com.google.cloud.alloydb.v1alpha.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateBackupRequest result = new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateBackupRequest result = + new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +607,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateBackupRequest result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +621,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateBackupRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -610,7 +661,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -658,39 +710,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +756,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +785,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +809,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +851,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +877,20 @@ public Builder setParentBytes( private java.lang.Object backupId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -816,20 +899,21 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -837,28 +921,35 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -868,17 +959,21 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -888,39 +983,58 @@ public Builder setBackupIdBytes( private com.google.cloud.alloydb.v1alpha.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { @@ -936,14 +1050,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -954,17 +1071,21 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -977,11 +1098,15 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1119,15 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1135,48 @@ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() + : backup_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1043,6 +1184,8 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1203,13 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1237,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1252,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1271,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1304,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1314,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1333,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1348,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1366,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1386,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1403,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateBackupRequest) private static final com.google.cloud.alloydb.v1alpha.CreateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateBackupRequest(); } @@ -1265,27 +1429,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateBackupRequest getDefaultIns 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; @@ -1300,6 +1464,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java index 7e675d6b8c79..fb3685ab63f7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateBackupRequestOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateBackupRequestOrBuilder extends +public interface CreateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ java.lang.String getBackupId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1alpha.Backup getBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +138,13 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +162,21 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java index 507dcdefa0eb..0c1f7caf4bee 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateClusterRequest} */ -public final class CreateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateClusterRequest) CreateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -27,34 +45,41 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -144,11 +175,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -156,33 +192,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +252,7 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +261,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +287,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +306,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +315,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +324,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +368,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +384,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.cloud.alloydb.v1alpha.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateClusterRequest other = (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateClusterRequest other = + (com.google.cloud.alloydb.v1alpha.CreateClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +422,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateClusterRequest) com.google.cloud.alloydb.v1alpha.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, + com.google.cloud.alloydb.v1alpha.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; } @java.lang.Override @@ -543,8 +597,11 @@ public com.google.cloud.alloydb.v1alpha.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateClusterRequest result = new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateClusterRequest result = + new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +615,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateClusterRequest result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +629,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +718,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +764,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +794,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +819,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -783,18 +863,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +890,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -824,20 +912,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -845,28 +934,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -876,17 +972,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +996,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -944,14 +1063,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -962,17 +1084,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -985,11 +1111,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1132,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1148,48 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1051,6 +1197,8 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1216,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1231,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1250,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1265,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1284,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1317,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1327,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1346,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1361,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1372,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1380,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1389,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1401,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1410,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1419,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateClusterRequest) private static final com.google.cloud.alloydb.v1alpha.CreateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateClusterRequest(); } @@ -1276,27 +1445,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java index 1ce7118643f1..40706ab05fd9 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateClusterRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateClusterRequestOrBuilder extends +public interface CreateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java index d40face69a78..4c1a827e77a1 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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,34 +45,41 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +142,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +175,16 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +192,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +252,7 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +261,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +287,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +306,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +315,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +324,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +368,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +384,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.cloud.alloydb.v1alpha.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other = (com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +422,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.CreateInstanceRequest) com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -522,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -543,8 +597,11 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest result = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +615,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +629,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +718,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +764,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +794,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +819,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +863,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +890,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +912,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +934,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +972,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +996,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1063,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1084,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1111,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1132,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1148,48 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1197,8 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1216,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1231,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1250,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1265,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1284,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1317,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1327,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1346,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1361,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1372,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1380,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1389,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1401,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1410,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1419,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequest(); } @@ -1276,27 +1445,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getDefaultI 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; @@ -1311,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java index 991b613e514b..c266ab4f2202 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java index 00305dfb6505..19969d68074b 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequests.java @@ -1,115 +1,159 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List createInstanceRequests_; + private java.util.List + createInstanceRequests_; /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests( + int index) { return createInstanceRequests_.get(index); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -136,8 +179,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, createInstanceRequests_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +191,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.cloud.alloydb.v1alpha.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other = (com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other = + (com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList() - .equals(other.getCreateInstanceRequestsList())) return false; + if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,131 +222,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateInstanceRequests} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateInstanceRequests) com.google.cloud.alloydb.v1alpha.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +367,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -338,14 +388,18 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result = + new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -365,38 +419,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateInstanceReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequests)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateInstanceRequests) other); } else { super.mergeFrom(other); return this; @@ -404,7 +459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateInstanceRequests.getDefaultInstance()) + return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -423,9 +479,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateInstanceRequests createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCreateInstanceRequestsFieldBuilder() : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCreateInstanceRequestsFieldBuilder() + : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -457,25 +514,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -485,29 +544,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List createInstanceRequests_ = - java.util.Collections.emptyList(); + private java.util.List + createInstanceRequests_ = java.util.Collections.emptyList(); + private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); + createInstanceRequests_ = + new java.util.ArrayList( + createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> + createInstanceRequestsBuilder_; /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -515,12 +586,16 @@ public java.util.List ge } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -530,14 +605,19 @@ public int getCreateInstanceRequestsCount() { } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests( + int index) { if (createInstanceRequestsBuilder_ == null) { return createInstanceRequests_.get(index); } else { @@ -545,12 +625,16 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceR } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { @@ -567,12 +651,16 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -586,14 +674,19 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests( + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -607,12 +700,16 @@ public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1alpha.Create return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest value) { @@ -629,12 +726,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -648,12 +749,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder builderForValue) { @@ -667,19 +772,23 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllCreateInstanceRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -687,12 +796,16 @@ public Builder addAllCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -705,12 +818,16 @@ public Builder clearCreateInstanceRequests() { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -723,42 +840,55 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder + getCreateInstanceRequestsBuilder(int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); } else { + return createInstanceRequests_.get(index); + } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -766,48 +896,68 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreate } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( - int index) { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder(int index) { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -816,9 +966,9 @@ public com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.Builder addCreateI } return createInstanceRequestsBuilder_; } + @java.lang.Override - 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,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1alpha.CreateInstanceRequests DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateInstanceRequests(); } @@ -842,27 +992,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -877,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..762e9983076c --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,94 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface CreateInstanceRequestsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getCreateInstanceRequestsList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getCreateInstanceRequestsCount(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index); +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java index 31e5f39ff4db..5aaeecaecd6c 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -/** - * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} - */ -public final class CreateSecondaryClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} */ +public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -23,34 +37,41 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -59,30 +80,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -91,14 +114,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -107,29 +134,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -140,11 +167,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -152,33 +184,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,6 +244,7 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -204,14 +253,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -229,16 +279,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -249,6 +298,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -256,6 +307,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -264,6 +316,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -308,15 +360,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -326,26 +376,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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other = + (com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -368,135 +414,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +560,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance(); } @@ -535,13 +582,17 @@ public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result = + new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -550,9 +601,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryClust result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -566,38 +615,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryClust public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +655,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -653,39 +705,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -695,23 +751,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -720,21 +781,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -742,30 +806,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string 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() { @@ -775,18 +850,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +877,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -816,20 +899,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -837,28 +921,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -868,17 +959,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -888,39 +983,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -936,14 +1050,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -954,17 +1071,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -977,11 +1098,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1119,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1135,48 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1043,6 +1184,8 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1203,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1237,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1252,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1271,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1304,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1314,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1333,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,8 +1348,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1202,6 +1359,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1209,6 +1367,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1216,6 +1376,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1227,6 +1388,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1234,6 +1397,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1242,9 +1406,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1254,41 +1418,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) - private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest(); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,9 +1466,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java index 5657e068c685..e196ab372a8b 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryClusterRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateSecondaryClusterRequestOrBuilder extends +public interface CreateSecondaryClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java index 14e0e319f990..24790f5227a6 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -27,34 +46,41 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +123,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +143,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +176,16 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +193,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +253,7 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +262,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +288,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +307,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +316,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +325,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,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_); } @@ -312,15 +369,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +385,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.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) 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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +423,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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,13 +577,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance(); } @@ -543,13 +599,17 @@ public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -558,9 +618,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryInsta result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,46 +632,50 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateSecondaryInsta public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest other) { + if (other + == com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +723,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +769,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +799,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +824,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +868,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +895,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +917,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +939,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +977,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +1001,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1068,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1089,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1116,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1137,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1153,48 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1202,8 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1221,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1236,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1255,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1270,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1289,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1322,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1332,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1351,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1366,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1377,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1385,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1394,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1406,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1415,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1424,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,41 +1436,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) - private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest(); } - public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,9 +1484,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java index 4e5028f79f8d..89759e52597b 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateSecondaryInstanceRequestOrBuilder extends +public interface CreateSecondaryInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java index caa484fd965d..cb3fc65b3681 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateUserRequest} */ -public final class CreateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.CreateUserRequest) CreateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -27,33 +45,40 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, + com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int USER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ @java.lang.Override @@ -109,29 +140,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -142,11 +173,15 @@ public java.lang.String getUserId() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.User user_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ @java.lang.Override @@ -154,11 +189,15 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ @java.lang.Override @@ -166,11 +205,14 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { @@ -178,9 +220,12 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +243,7 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +252,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +278,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +297,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +314,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,15 +358,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +374,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.cloud.alloydb.v1alpha.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.CreateUserRequest other = (com.google.cloud.alloydb.v1alpha.CreateUserRequest) obj; + com.google.cloud.alloydb.v1alpha.CreateUserRequest other = + (com.google.cloud.alloydb.v1alpha.CreateUserRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getUserId() - .equals(other.getUserId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getUserId().equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; + if (!getUser().equals(other.getUser())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +412,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.CreateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.CreateUserRequest) com.google.cloud.alloydb.v1alpha.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, + com.google.cloud.alloydb.v1alpha.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.CreateUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; } @java.lang.Override @@ -540,8 +586,11 @@ public com.google.cloud.alloydb.v1alpha.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.CreateUserRequest result = new com.google.cloud.alloydb.v1alpha.CreateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.CreateUserRequest result = + new com.google.cloud.alloydb.v1alpha.CreateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +604,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateUserRequest re result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +618,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.CreateUserRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.CreateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -610,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.CreateUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -658,39 +707,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +753,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +782,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +806,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +848,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +874,20 @@ public Builder setParentBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -816,20 +896,21 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -837,28 +918,35 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -868,17 +956,21 @@ public Builder clearUserId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -888,24 +980,35 @@ public Builder setUserIdBytes( private com.google.cloud.alloydb.v1alpha.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1alpha.User getUser() { @@ -916,11 +1019,14 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { @@ -936,14 +1042,16 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -954,17 +1062,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -977,11 +1088,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1108,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1123,44 @@ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1043,6 +1168,8 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1187,13 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1202,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1221,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1236,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1255,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1288,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1298,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1317,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1332,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1350,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1370,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1387,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1399,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.CreateUserRequest) private static final com.google.cloud.alloydb.v1alpha.CreateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.CreateUserRequest(); } @@ -1265,27 +1413,27 @@ public static com.google.cloud.alloydb.v1alpha.CreateUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,6 +1448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java index a53e7fbae814..a5df6112849f 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateUserRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface CreateUserRequestOrBuilder extends +public interface CreateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ com.google.cloud.alloydb.v1alpha.User getUser(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +135,13 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +159,21 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java index b0716294270b..e0e25b7c9957 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DatabaseVersion.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.DatabaseVersion} */ -public enum DatabaseVersion - implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * This is an unknown database version.
    * 
@@ -21,6 +39,8 @@ public enum DatabaseVersion */ DATABASE_VERSION_UNSPECIFIED(0), /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -30,6 +50,8 @@ public enum DatabaseVersion @java.lang.Deprecated POSTGRES_13(1), /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -38,6 +60,8 @@ public enum DatabaseVersion */ POSTGRES_14(2), /** + * + * *
    * The database version is Postgres 15.
    * 
@@ -49,6 +73,8 @@ public enum DatabaseVersion ; /** + * + * *
    * This is an unknown database version.
    * 
@@ -57,6 +83,8 @@ public enum DatabaseVersion */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -65,6 +93,8 @@ public enum DatabaseVersion */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -73,6 +103,8 @@ public enum DatabaseVersion */ public static final int POSTGRES_14_VALUE = 2; /** + * + * *
    * The database version is Postgres 15.
    * 
@@ -81,7 +113,6 @@ public enum DatabaseVersion */ public static final int POSTGRES_15_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: return DATABASE_VERSION_UNSPECIFIED; - case 1: return POSTGRES_13; - case 2: return POSTGRES_14; - case 3: return POSTGRES_15; - default: return null; + case 0: + return DATABASE_VERSION_UNSPECIFIED; + case 1: + return POSTGRES_13; + case 2: + return POSTGRES_14; + case 3: + return POSTGRES_15; + 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< - DatabaseVersion> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.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 DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion 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; @@ -165,4 +197,3 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.DatabaseVersion) } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java index 66c55fce910a..2eae003040a5 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -182,9 +216,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -192,6 +229,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -200,14 +238,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; } } /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -215,16 +254,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -233,6 +271,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,8 +312,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -288,21 +325,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.cloud.alloydb.v1alpha.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other = (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other = + (com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,8 +353,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -329,131 +362,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteBackupRequest) com.google.cloud.alloydb.v1alpha.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -466,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -487,8 +524,11 @@ public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest result = new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.DeleteBackupRequest result = + new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +679,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +709,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +734,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string 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() { @@ -712,18 +778,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +805,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +824,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +839,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +858,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +873,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +892,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +925,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +935,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +954,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -883,14 +969,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -898,12 +987,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -915,12 +1007,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -932,6 +1027,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -939,13 +1036,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -954,6 +1051,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -961,15 +1060,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -977,6 +1075,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -984,18 +1084,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1003,6 +1107,7 @@ public Builder setEtag(
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1012,6 +1117,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1019,21 +1126,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteBackupRequest(); } @@ -1057,27 +1166,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteBackupRequest getDefaultIns 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; @@ -1092,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java index dfe0434fe1ab..ab86ae068539 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteBackupRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteBackupRequestOrBuilder extends +public interface DeleteBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,23 +98,28 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -92,10 +127,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -103,8 +141,8 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java index d0d2911f8d07..745b149afc13 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,11 +273,14 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -248,6 +289,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -295,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,23 +349,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.cloud.alloydb.v1alpha.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other = (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getForce() - != other.getForce()) return false; + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other = + (com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +380,145 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.DeleteClusterRequest) com.google.cloud.alloydb.v1alpha.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +532,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -515,8 +553,11 @@ public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest result = new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.DeleteClusterRequest result = + new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +585,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +625,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -631,37 +674,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,23 +720,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.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; @@ -696,21 +750,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -718,30 +775,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -751,18 +819,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -772,6 +846,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -789,13 +865,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -804,6 +880,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -821,15 +899,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -837,6 +914,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -854,18 +933,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -883,6 +966,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -892,6 +976,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -909,12 +995,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -924,6 +1012,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -931,13 +1021,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -946,6 +1036,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -953,15 +1045,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -969,6 +1060,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -976,18 +1069,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -995,6 +1092,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1004,6 +1102,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1011,12 +1111,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1024,14 +1126,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1039,12 +1144,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1056,12 +1164,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1071,13 +1182,16 @@ public Builder clearValidateOnly() { return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -1085,11 +1199,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1101,11 +1218,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1114,9 +1234,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteClusterRequest(); } @@ -1140,27 +1260,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,6 +1295,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java index 099d37712afa..5ff82d896a42 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteClusterRequestOrBuilder extends +public interface DeleteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,28 +127,34 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java index fded1925cb82..a1a0c8789733 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1alpha.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,143 @@ 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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.DeleteInstanceRequest) com.google.cloud.alloydb.v1alpha.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -466,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -487,8 +525,11 @@ public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +554,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteInstanceReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +680,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +710,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +735,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -712,18 +779,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +806,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +825,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +840,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +859,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +874,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +893,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +926,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +936,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +955,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +972,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -892,13 +981,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +996,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -914,15 +1005,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1020,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -937,18 +1029,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -956,6 +1052,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1062,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -972,12 +1071,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1086,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1104,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1124,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1141,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest(); } @@ -1057,27 +1167,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest getDefaultI 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; @@ -1092,6 +1202,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java index 68f7fd2c7068..61969929a8dd 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteInstanceRequestOrBuilder extends +public interface DeleteInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -81,10 +113,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -92,18 +127,21 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java index 30a7bad81c5f..3fb79c299cea 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteUserRequest} */ -public final class DeleteUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.DeleteUserRequest) DeleteUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1alpha.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.DeleteUserRequest other = (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1alpha.DeleteUserRequest other = + (com.google.cloud.alloydb.v1alpha.DeleteUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.DeleteUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.DeleteUserRequest) com.google.cloud.alloydb.v1alpha.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, + com.google.cloud.alloydb.v1alpha.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.DeleteUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; } @java.lang.Override @@ -424,8 +458,11 @@ public com.google.cloud.alloydb.v1alpha.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.DeleteUserRequest result = new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.DeleteUserRequest result = + new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +484,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.DeleteUserRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.DeleteUserRequest) other); } else { super.mergeFrom(other); return this; @@ -486,7 +524,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.DeleteUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -526,27 +565,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +599,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +629,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +654,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string 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() { @@ -636,18 +698,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +725,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +744,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +759,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +778,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +793,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +812,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +845,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +855,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +874,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +889,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +907,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +927,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +944,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.DeleteUserRequest) private static final com.google.cloud.alloydb.v1alpha.DeleteUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.DeleteUserRequest(); } @@ -879,27 +970,27 @@ public static com.google.cloud.alloydb.v1alpha.DeleteUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java index 37d41775b763..8bf19858d1dd 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/DeleteUserRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface DeleteUserRequestOrBuilder extends +public interface DeleteUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java index 22f15ae7be80..630f7b6e79f7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig)
     EncryptionConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EncryptionConfig.newBuilder() to construct.
   private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EncryptionConfig() {
     kmsKeyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EncryptionConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.EncryptionConfig.class, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.class,
+            com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
+   *
+   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ @java.lang.Override @@ -63,14 +86,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -78,16 +102,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; + * * @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 { @@ -96,6 +119,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -132,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.EncryptionConfig other = (com.google.cloud.alloydb.v1alpha.EncryptionConfig) obj; + com.google.cloud.alloydb.v1alpha.EncryptionConfig other = + (com.google.cloud.alloydb.v1alpha.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; } @@ -160,98 +183,103 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.EncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.EncryptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionConfig)
       com.google.cloud.alloydb.v1alpha.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.EncryptionConfig.class, com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1alpha.EncryptionConfig.class,
+              com.google.cloud.alloydb.v1alpha.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.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 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.alloydb.v1alpha.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1alpha.EncryptionConfig result = new com.google.cloud.alloydb.v1alpha.EncryptionConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.EncryptionConfig result =
+          new com.google.cloud.alloydb.v1alpha.EncryptionConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.EncryptionConfig res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.EncryptionConfig other) {
-      if (other == com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.EncryptionConfig.getDefaultInstance())
+        return this;
       if (!other.getKmsKeyName().isEmpty()) {
         kmsKeyName_ = other.kmsKeyName_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              kmsKeyName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,10 +458,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
+     *
+     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -435,13 +472,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; + * * @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; @@ -450,6 +487,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -457,15 +496,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @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 { @@ -473,6 +511,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -480,18 +520,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -499,6 +543,7 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 1; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -508,6 +553,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -515,21 +562,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.EncryptionConfig) private static final com.google.cloud.alloydb.v1alpha.EncryptionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.EncryptionConfig(); } @@ -553,27 +602,27 @@ public static com.google.cloud.alloydb.v1alpha.EncryptionConfig getDefaultInstan 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; @@ -588,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java index 213ad1ea57fe..9cc9fa287155 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java index 33ec87d28e98..e7edda29a2f6 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfo.java @@ -1,60 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); } /** + * + * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.EncryptionInfo.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -63,6 +84,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 will be populated. This is the default state.
@@ -72,6 +95,8 @@ public enum Type
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * The data is encrypted at rest with a key that is managed by the customer.
      * KMS key versions will be populated.
@@ -84,6 +109,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -92,6 +119,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 will be populated. This is the default state.
@@ -101,6 +130,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.
      * KMS key versions will be populated.
@@ -110,7 +141,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(
@@ -135,49 +165,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<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.v1alpha.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;
@@ -197,65 +227,95 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Output only. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED + : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { return kmsKeyVersions_; } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -263,21 +323,26 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,9 +354,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -306,9 +371,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -326,16 +391,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.cloud.alloydb.v1alpha.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.EncryptionInfo other = (com.google.cloud.alloydb.v1alpha.EncryptionInfo) obj; + com.google.cloud.alloydb.v1alpha.EncryptionInfo other = + (com.google.cloud.alloydb.v1alpha.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList() - .equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,146 +423,149 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.EncryptionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.EncryptionInfo) com.google.cloud.alloydb.v1alpha.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1alpha.EncryptionInfo.class, + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; } @java.lang.Override @@ -516,8 +584,11 @@ public com.google.cloud.alloydb.v1alpha.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo result = new com.google.cloud.alloydb.v1alpha.EncryptionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.EncryptionInfo result = + new com.google.cloud.alloydb.v1alpha.EncryptionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -537,38 +608,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.EncryptionInfo resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionInfo)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.EncryptionInfo) other); } else { super.mergeFrom(other); return this; @@ -576,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.EncryptionInfo other) { - if (other == com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.EncryptionInfo.getDefaultInstance()) + return this; if (other.encryptionType_ != 0) { setEncryptionTypeValue(other.getEncryptionTypeValue()); } @@ -616,23 +689,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + 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,26 +718,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -672,24 +760,37 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -703,11 +804,16 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1alpha.EncryptionInfo return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -719,6 +825,7 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -726,38 +833,52 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -765,33 +886,43 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyVersions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -799,18 +930,24 @@ public Builder setKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -818,53 +955,67 @@ public Builder addKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions( - java.lang.Iterable values) { + public Builder addAllKmsKeyVersions(java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -872,9 +1023,9 @@ public Builder addKmsKeyVersionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +1035,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.EncryptionInfo) private static final com.google.cloud.alloydb.v1alpha.EncryptionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.EncryptionInfo(); } @@ -898,27 +1049,27 @@ public static com.google.cloud.alloydb.v1alpha.EncryptionInfo getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,6 +1084,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..9f573843aaf6 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface EncryptionInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType(); + + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the kmsKeyVersions. + */ + java.util.List getKmsKeyVersionsList(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java index d09ac349512e..409cde6be3c3 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1alpha.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.FailoverInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) com.google.cloud.alloydb.v1alpha.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -424,8 +459,11 @@ public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +485,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -486,7 +525,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -526,27 +566,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +600,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +630,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +655,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -636,18 +699,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +726,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +745,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +760,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +779,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +794,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +813,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +846,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +856,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +875,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +890,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +908,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +928,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +945,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest(); } @@ -879,27 +971,27 @@ public static com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1006,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java index cf68426e9b67..b0313bc0dba5 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/FailoverInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface FailoverInstanceRequestOrBuilder extends +public interface FailoverInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java index 128a9ca0480e..0a52fd008d3f 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -29,34 +48,41 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class,
+            com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,9 +125,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -117,6 +148,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +157,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,16 +183,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -168,49 +200,55 @@ public java.lang.String getRequestId() { } public static final int PEM_CSR_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pemCsr_ = ""; /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getPemCsr() { + @java.lang.Deprecated + public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; } } /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCsrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -221,6 +259,8 @@ public java.lang.String getRequestId() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -229,7 +269,9 @@ public java.lang.String getRequestId() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ @java.lang.Override @@ -237,6 +279,8 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -245,14 +289,20 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -261,22 +311,29 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ @java.lang.Override @@ -285,29 +342,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -318,6 +375,8 @@ public java.lang.String getPublicKey() { public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; private boolean useMetadataExchange_ = false; /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -325,6 +384,7 @@ public java.lang.String getPublicKey() {
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -333,6 +393,7 @@ public boolean getUseMetadataExchange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +405,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -383,15 +443,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pemCsr_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } if (useMetadataExchange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, useMetadataExchange_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useMetadataExchange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -401,28 +459,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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other = + (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getPemCsr() - .equals(other.getPemCsr())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getPemCsr().equals(other.getPemCsr())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration() - .equals(other.getCertDuration())) return false; + if (!getCertDuration().equals(other.getCertDuration())) return false; } - if (!getPublicKey() - .equals(other.getPublicKey())) return false; - if (getUseMetadataExchange() - != other.getUseMetadataExchange()) return false; + if (!getPublicKey().equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -447,106 +500,112 @@ public int hashCode() { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseMetadataExchange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest 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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + 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.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -554,33 +613,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class,
+              com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.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();
@@ -599,13 +658,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -620,13 +680,17 @@ public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest build()
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result =
+          new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -638,9 +702,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertif
         result.pemCsr_ = pemCsr_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.certDuration_ = certDurationBuilder_ == null
-            ? certDuration_
-            : certDurationBuilder_.build();
+        result.certDuration_ =
+            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.publicKey_ = publicKey_;
@@ -654,46 +717,50 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertif
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other) {
-      if (other == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest other) {
+      if (other
+          == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -746,44 +813,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              pemCsr_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCertDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              publicKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              useMetadataExchange_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                pemCsr_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                publicKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                useMetadataExchange_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -793,23 +865,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -818,21 +895,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -840,30 +920,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -873,18 +964,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -894,6 +991,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -911,13 +1010,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -926,6 +1025,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -943,15 +1044,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -959,6 +1059,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,18 +1078,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1005,6 +1111,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1014,6 +1121,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1031,12 +1140,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1046,20 +1157,23 @@ public Builder setRequestIdBytes( private java.lang.Object pemCsr_ = ""; /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated public java.lang.String getPemCsr() { + @java.lang.Deprecated + public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; @@ -1068,22 +1182,24 @@ public Builder setRequestIdBytes( } } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCsrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -1091,54 +1207,68 @@ public Builder setRequestIdBytes( } } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @param value The pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCsr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCsr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pemCsr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPemCsr() { + @java.lang.Deprecated + public Builder clearPemCsr() { pemCsr_ = getDefaultInstance().getPemCsr(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCsrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pemCsr_ = value; bitField0_ |= 0x00000004; @@ -1148,8 +1278,13 @@ public Builder setRequestIdBytes( private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + certDurationBuilder_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1158,13 +1293,17 @@ public Builder setRequestIdBytes(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1173,17 +1312,23 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1192,7 +1337,8 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1208,6 +1354,8 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1216,10 +1364,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCertDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1230,6 +1378,8 @@ public Builder setCertDuration( return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1238,13 +1388,14 @@ public Builder setCertDuration(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - certDuration_ != null && - certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && certDuration_ != null + && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1257,6 +1408,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1265,7 +1418,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1278,6 +1432,8 @@ public Builder clearCertDuration() { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1286,7 +1442,8 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000008; @@ -1294,6 +1451,8 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1302,17 +1461,21 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1321,17 +1484,21 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getCertDuration(), - getParentForChildren(), - isClean()); + certDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getCertDuration(), getParentForChildren(), isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1339,18 +1506,20 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1359,20 +1528,21 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1380,28 +1550,35 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1411,17 +1588,21 @@ public Builder clearPublicKey() { return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000010; @@ -1429,8 +1610,10 @@ public Builder setPublicKeyBytes( return this; } - private boolean useMetadataExchange_ ; + private boolean useMetadataExchange_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1438,6 +1621,7 @@ public Builder setPublicKeyBytes(
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -1445,6 +1629,8 @@ public boolean getUseMetadataExchange() { return useMetadataExchange_; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1452,6 +1638,7 @@ public boolean getUseMetadataExchange() {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The useMetadataExchange to set. * @return This builder for chaining. */ @@ -1463,6 +1650,8 @@ public Builder setUseMetadataExchange(boolean value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1470,6 +1659,7 @@ public Builder setUseMetadataExchange(boolean value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearUseMetadataExchange() { @@ -1478,9 +1668,9 @@ public Builder clearUseMetadataExchange() { onChanged(); return this; } + @java.lang.Override - 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,41 +1680,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest(); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1536,9 +1728,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java index e37170e6a9fa..a1108ae9b9a7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GenerateClientCertificateRequestOrBuilder extends +public interface GenerateClientCertificateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,36 +98,45 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated java.lang.String getPemCsr(); + @java.lang.Deprecated + java.lang.String getPemCsr(); /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1alpha/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPemCsrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getPemCsrBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -106,11 +145,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -119,11 +162,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -132,31 +179,39 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ java.lang.String getPublicKey(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString - getPublicKeyBytes(); + com.google.protobuf.ByteString getPublicKeyBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -164,6 +219,7 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ boolean getUseMetadataExchange(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java index 0174ba4f0dcd..f6bf2f36464f 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponse.java @@ -1,60 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateClientCertificateResponse() { pemCertificate_ = ""; - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -94,41 +117,53 @@ public java.lang.String getPemCertificate() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { return pemCertificateChain_; } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -136,29 +171,36 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ @java.lang.Override @@ -167,29 +209,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -198,6 +240,7 @@ public java.lang.String getCaCert() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pemCertificate_); } @@ -251,19 +293,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.cloud.alloydb.v1alpha.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other = + (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) obj; - if (!getPemCertificate() - .equals(other.getPemCertificate())) return false; - if (!getPemCertificateChainList() - .equals(other.getPemCertificateChainList())) return false; - if (!getCaCert() - .equals(other.getCaCert())) return false; + if (!getPemCertificate().equals(other.getPemCertificate())) return false; + if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; + if (!getCaCert().equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,151 +329,159 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse 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.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + 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.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.Builder.class); } - // Construct using com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; pemCertificate_ = ""; - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + .getDefaultInstance(); } @java.lang.Override @@ -447,13 +495,17 @@ public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse build( @java.lang.Override public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result = + new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pemCertificate_ = pemCertificate_; @@ -471,46 +523,51 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GenerateClientCertif public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse)other); + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse other) { + if (other + == com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + .getDefaultInstance()) return this; if (!other.getPemCertificate().isEmpty()) { pemCertificate_ = other.pemCertificate_; bitField0_ |= 0x00000001; @@ -557,28 +614,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - pemCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + pemCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: + { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +649,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object pemCertificate_ = ""; /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -612,20 +676,21 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -633,28 +698,35 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pemCertificate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -664,17 +736,21 @@ public Builder clearPemCertificate() { return this; } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000001; @@ -684,6 +760,7 @@ public Builder setPemCertificateBytes( private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -691,38 +768,49 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -730,33 +818,41 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateChain(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000002; @@ -764,18 +860,23 @@ public Builder setPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000002; @@ -783,53 +884,64 @@ public Builder addPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain( - java.lang.Iterable values) { + public Builder addAllPemCertificateChain(java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -840,18 +952,20 @@ public Builder addPemCertificateChainBytes( private java.lang.Object caCert_ = ""; /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -860,20 +974,21 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -881,28 +996,35 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCert(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -912,26 +1034,30 @@ public Builder clearCaCert() { return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCertBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,41 +1067,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse(); } - public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,9 +1115,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java index 7a105d98b1e8..a5af059f09d7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GenerateClientCertificateResponseOrBuilder.java @@ -1,94 +1,134 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GenerateClientCertificateResponseOrBuilder extends +public interface GenerateClientCertificateResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString - getPemCertificateBytes(); + com.google.protobuf.ByteString getPemCertificateBytes(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - java.util.List - getPemCertificateChainList(); + java.util.List getPemCertificateChainList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString - getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString getPemCertificateChainBytes(int index); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ java.lang.String getCaCert(); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - com.google.protobuf.ByteString - getCaCertBytes(); + com.google.protobuf.ByteString getCaCertBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java similarity index 61% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java index c4e965576412..0012326890e7 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest) GetBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, + com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.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 @@ -60,29 +85,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 resource
    * 
* - * string name = 1 [(.google.api.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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -127,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.cloud.alloydb.v1alpha.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetBackupRequest other = (com.google.cloud.alloydb.v1alpha.GetBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.GetBackupRequest other = + (com.google.cloud.alloydb.v1alpha.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; } @@ -155,131 +182,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GetBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetBackupRequest) com.google.cloud.alloydb.v1alpha.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, + com.google.cloud.alloydb.v1alpha.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -289,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; } @java.lang.Override @@ -310,8 +341,11 @@ public com.google.cloud.alloydb.v1alpha.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetBackupRequest result = new com.google.cloud.alloydb.v1alpha.GetBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GetBackupRequest result = + new com.google.cloud.alloydb.v1alpha.GetBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +361,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetBackupRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -366,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -398,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +456,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.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; @@ -442,20 +485,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.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 { @@ -463,28 +509,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -494,26 +551,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetBackupRequest) private static final com.google.cloud.alloydb.v1alpha.GetBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetBackupRequest(); } @@ -537,27 +600,27 @@ public static com.google.cloud.alloydb.v1alpha.GetBackupRequest getDefaultInstan 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; @@ -572,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..f2db1c18180e --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetBackupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java similarity index 61% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java index 3258ccfa2042..5322b276a923 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, + com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,32 +123,46 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterView getView() { - com.google.cloud.alloydb.v1alpha.ClusterView result = com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.ClusterView getView() { + com.google.cloud.alloydb.v1alpha.ClusterView result = + com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,12 +174,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 (view_ != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -153,9 +194,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.alloydb.v1alpha.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,15 +206,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.cloud.alloydb.v1alpha.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetClusterRequest other = (com.google.cloud.alloydb.v1alpha.GetClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.GetClusterRequest other = + (com.google.cloud.alloydb.v1alpha.GetClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -196,131 +237,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetClusterRequest) com.google.cloud.alloydb.v1alpha.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, + com.google.cloud.alloydb.v1alpha.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; } @java.lang.Override @@ -352,8 +397,11 @@ public com.google.cloud.alloydb.v1alpha.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetClusterRequest result = new com.google.cloud.alloydb.v1alpha.GetClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GetClusterRequest result = + new com.google.cloud.alloydb.v1alpha.GetClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -372,38 +420,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetClusterRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +460,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,22 +496,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -471,23 +524,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,21 +554,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -518,30 +579,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -551,18 +623,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -572,24 +650,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -600,26 +689,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterView getView() { - com.google.cloud.alloydb.v1alpha.ClusterView result = com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1alpha.ClusterView result = + com.google.cloud.alloydb.v1alpha.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.ClusterView.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -633,12 +733,17 @@ public Builder setView(com.google.cloud.alloydb.v1alpha.ClusterView value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -647,9 +752,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -659,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetClusterRequest) private static final com.google.cloud.alloydb.v1alpha.GetClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetClusterRequest(); } @@ -673,27 +778,27 @@ public static com.google.cloud.alloydb.v1alpha.GetClusterRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,6 +813,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java new file mode 100644 index 000000000000..b5f6c98a12b4 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java @@ -0,0 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetClusterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.alloydb.v1alpha.ClusterView getView(); +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java index 77eb3e1ccf4c..1c217798a87b 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +196,7 @@ public java.lang.String getRequestId() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -207,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.cloud.alloydb.v1alpha.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other = + (com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetConnectionInfoRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -395,8 +430,11 @@ public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest result = + new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -415,38 +453,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetConnectionInfoReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) other); } else { super.mergeFrom(other); return this; @@ -454,7 +493,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -491,22 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,23 +559,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.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; @@ -541,21 +589,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -563,30 +614,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string 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() { @@ -596,18 +658,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -617,6 +685,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -634,13 +704,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -649,6 +719,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,15 +738,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -682,6 +753,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -699,18 +772,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -728,6 +805,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -737,6 +815,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -754,21 +834,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest(); } @@ -792,27 +874,27 @@ public static com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java index 694083de2563..64f3d7eae50c 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetConnectionInfoRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GetConnectionInfoRequestOrBuilder extends +public interface GetConnectionInfoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,8 +98,8 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java similarity index 64% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java index b6ca47aa344c..396e7f15b1cb 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,30 +123,40 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceView getView() { - com.google.cloud.alloydb.v1alpha.InstanceView result = com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.InstanceView getView() { + com.google.cloud.alloydb.v1alpha.InstanceView result = + com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,12 +168,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 (view_ != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -151,9 +188,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.alloydb.v1alpha.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,15 +200,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetInstanceRequest other = (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.GetInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.GetInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -194,131 +231,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.GetInstanceRequest) com.google.cloud.alloydb.v1alpha.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -329,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; } @java.lang.Override @@ -350,8 +391,11 @@ public com.google.cloud.alloydb.v1alpha.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetInstanceRequest result = new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GetInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -370,38 +414,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetInstanceRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +454,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,22 +490,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,23 +518,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,21 +548,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -516,30 +573,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -549,18 +617,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -570,22 +644,29 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -596,24 +677,31 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceView getView() { - com.google.cloud.alloydb.v1alpha.InstanceView result = com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1alpha.InstanceView result = + com.google.cloud.alloydb.v1alpha.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1alpha.InstanceView.UNRECOGNIZED : result; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -627,11 +715,14 @@ public Builder setView(com.google.cloud.alloydb.v1alpha.InstanceView value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { @@ -640,9 +731,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -652,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetInstanceRequest(); } @@ -666,27 +757,27 @@ public static com.google.cloud.alloydb.v1alpha.GetInstanceRequest getDefaultInst 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; @@ -701,6 +792,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java index 34c3bd039de1..d44370c5a283 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetInstanceRequestOrBuilder.java @@ -1,49 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface GetInstanceRequestOrBuilder extends +public interface GetInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1alpha.InstanceView view = 2; + * * @return The view. */ com.google.cloud.alloydb.v1alpha.InstanceView getView(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java index 7a6b7042a3e9..37d40b99db02 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetUserRequest} */ -public final class GetUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.GetUserRequest) GetUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetUserRequest.class, com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetUserRequest.class, + com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.GetUserRequest other = (com.google.cloud.alloydb.v1alpha.GetUserRequest) obj; + com.google.cloud.alloydb.v1alpha.GetUserRequest other = + (com.google.cloud.alloydb.v1alpha.GetUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.GetUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.GetUserRequest) com.google.cloud.alloydb.v1alpha.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.GetUserRequest.class, com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.GetUserRequest.class, + com.google.cloud.alloydb.v1alpha.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.GetUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.alloydb.v1alpha.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.GetUserRequest result = new com.google.cloud.alloydb.v1alpha.GetUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.GetUserRequest result = + new com.google.cloud.alloydb.v1alpha.GetUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.GetUserRequest resul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.GetUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.GetUserRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.GetUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +436,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +458,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +488,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +513,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +557,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.GetUserRequest) private static final com.google.cloud.alloydb.v1alpha.GetUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.GetUserRequest(); } @@ -544,27 +607,27 @@ public static com.google.cloud.alloydb.v1alpha.GetUserRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..d8b6ff01f6e1 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface GetUserRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java index 29ddc98c68b4..f5a19d8ea692 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.InjectFaultRequest} */ -public final class InjectFaultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.InjectFaultRequest) InjectFaultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -27,25 +45,28 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); } /** + * + * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -53,9 +74,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType}
    */
-  public enum FaultType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The fault type is unknown.
      * 
@@ -64,6 +86,8 @@ public enum FaultType */ FAULT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Stop the VM
      * 
@@ -75,6 +99,8 @@ public enum FaultType ; /** + * + * *
      * The fault type is unknown.
      * 
@@ -83,6 +109,8 @@ public enum FaultType */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Stop the VM
      * 
@@ -91,7 +119,6 @@ public enum FaultType */ public static final int STOP_VM_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,48 +143,49 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: return FAULT_TYPE_UNSPECIFIED; - case 1: return STOP_VM; - default: return null; + case 0: + return FAULT_TYPE_UNSPECIFIED; + case 1: + return STOP_VM; + 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< - FaultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FaultType findValueByNumber(int number) { - return FaultType.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 FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1alpha.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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; @@ -177,39 +205,60 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -218,30 +267,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -250,9 +301,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -270,6 +324,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -278,14 +333,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -303,16 +359,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -323,6 +378,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -330,6 +387,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -338,6 +396,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,9 +408,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (faultType_ != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (faultType_ + != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -372,9 +432,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, faultType_); + if (faultType_ + != com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -383,8 +444,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,20 +454,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.cloud.alloydb.v1alpha.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.InjectFaultRequest other = (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1alpha.InjectFaultRequest other = + (com.google.cloud.alloydb.v1alpha.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,139 +484,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.InjectFaultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.InjectFaultRequest) com.google.cloud.alloydb.v1alpha.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.InjectFaultRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +632,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; } @java.lang.Override @@ -592,8 +653,11 @@ public com.google.cloud.alloydb.v1alpha.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest result = new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.InjectFaultRequest result = + new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -618,38 +682,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.InjectFaultRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.InjectFaultRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.InjectFaultRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +722,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.InjectFaultRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance()) + return this; if (other.faultType_ != 0) { setFaultTypeValue(other.getFaultTypeValue()); } @@ -700,32 +766,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,26 +806,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int faultType_ = 0; /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -765,28 +848,42 @@ public Builder setFaultTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The faultType to set. * @return This builder for chaining. */ - public Builder setFaultType(com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType value) { + public Builder setFaultType( + com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType value) { if (value == null) { throw new NullPointerException(); } @@ -796,11 +893,16 @@ public Builder setFaultType(com.google.cloud.alloydb.v1alpha.InjectFaultRequest. return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFaultType() { @@ -812,19 +914,23 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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; @@ -833,21 +939,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -855,30 +964,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -888,18 +1008,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -909,6 +1035,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,13 +1054,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -941,6 +1069,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -958,15 +1088,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -974,6 +1103,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -991,18 +1122,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1020,6 +1155,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1029,6 +1165,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1046,12 +1184,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1059,8 +1199,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1068,6 +1210,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,6 +1218,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1082,6 +1227,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1093,6 +1239,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1100,6 +1248,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1108,9 +1257,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.InjectFaultRequest) private static final com.google.cloud.alloydb.v1alpha.InjectFaultRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.InjectFaultRequest(); } @@ -1134,27 +1283,27 @@ public static com.google.cloud.alloydb.v1alpha.InjectFaultRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1318,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java index a23d2903d873..3a15e5e5394d 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InjectFaultRequestOrBuilder.java @@ -1,54 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface InjectFaultRequestOrBuilder extends +public interface InjectFaultRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ com.google.cloud.alloydb.v1alpha.InjectFaultRequest.FaultType getFaultType(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -66,10 +103,13 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -87,12 +127,14 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -100,6 +142,7 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java index d0571a71234e..6235f3269740 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/Instance.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance)
     InstanceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -35,20 +53,18 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_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();
@@ -57,28 +73,33 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.Instance.class, com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
+            com.google.cloud.alloydb.v1alpha.Instance.class,
+            com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -87,6 +108,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The instance is active and running.
      * 
@@ -95,6 +118,8 @@ public enum State */ READY(1), /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -103,6 +128,8 @@ public enum State */ STOPPED(2), /** + * + * *
      * The instance is being created.
      * 
@@ -111,6 +138,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -127,6 +158,8 @@ public enum State */ MAINTENANCE(5), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -138,6 +171,8 @@ public enum State
      */
     FAILED(6),
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -149,6 +184,8 @@ public enum State
      */
     BOOTSTRAPPING(8),
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -160,6 +197,8 @@ public enum State ; /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -168,6 +207,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The instance is active and running.
      * 
@@ -176,6 +217,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -184,6 +227,8 @@ public enum State */ public static final int STOPPED_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -192,6 +237,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -200,6 +247,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -208,6 +257,8 @@ public enum State */ public static final int MAINTENANCE_VALUE = 5; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -219,6 +270,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 6;
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -230,6 +283,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -238,7 +293,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -263,55 +317,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return CREATING; - case 4: return DELETING; - case 5: return MAINTENANCE; - case 6: return FAILED; - case 8: return BOOTSTRAPPING; - case 9: return PROMOTING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return CREATING; + case 4: + return DELETING; + case 5: + return MAINTENANCE; + case 6: + return FAILED; + case 8: + return BOOTSTRAPPING; + case 9: + return PROMOTING; + 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.cloud.alloydb.v1alpha.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; @@ -329,15 +389,18 @@ private State(int value) { } /** + * + * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.InstanceType} */ - public enum InstanceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the instance is unknown.
      * 
@@ -346,6 +409,8 @@ public enum InstanceType */ INSTANCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -354,6 +419,8 @@ public enum InstanceType */ PRIMARY(1), /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -366,6 +433,8 @@ public enum InstanceType
      */
     READ_POOL(2),
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -378,6 +447,8 @@ public enum InstanceType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the instance is unknown.
      * 
@@ -386,6 +457,8 @@ public enum InstanceType */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -394,6 +467,8 @@ public enum InstanceType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -406,6 +481,8 @@ public enum InstanceType
      */
     public static final int READ_POOL_VALUE = 2;
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -415,7 +492,6 @@ public enum InstanceType
      */
     public static final int SECONDARY_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -440,50 +516,51 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0: return INSTANCE_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return READ_POOL;
-        case 3: return SECONDARY;
-        default: return null;
+        case 0:
+          return INSTANCE_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return READ_POOL;
+        case 3:
+          return SECONDARY;
+        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<
-        InstanceType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public InstanceType findValueByNumber(int number) {
-              return InstanceType.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 InstanceType findValueByNumber(int number) {
+            return InstanceType.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.cloud.alloydb.v1alpha.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -501,6 +578,8 @@ private InstanceType(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -512,9 +591,10 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.AvailabilityType}
    */
-  public enum AvailabilityType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown Availability type.
      * 
@@ -523,6 +603,8 @@ public enum AvailabilityType */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Zonal available instance.
      * 
@@ -531,6 +613,8 @@ public enum AvailabilityType */ ZONAL(1), /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -542,6 +626,8 @@ public enum AvailabilityType ; /** + * + * *
      * This is an unknown Availability type.
      * 
@@ -550,6 +636,8 @@ public enum AvailabilityType */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Zonal available instance.
      * 
@@ -558,6 +646,8 @@ public enum AvailabilityType */ public static final int ZONAL_VALUE = 1; /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -566,7 +656,6 @@ public enum AvailabilityType */ public static final int REGIONAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -591,39 +680,42 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: return ZONAL; - case 2: return REGIONAL; - default: return null; + case 0: + return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: + return ZONAL; + case 2: + return REGIONAL; + 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< - AvailabilityType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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 AvailabilityType findValueByNumber(int number) { + return AvailabilityType.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.cloud.alloydb.v1alpha.Instance.getDescriptor().getEnumTypes().get(2); } @@ -632,8 +724,7 @@ public AvailabilityType findValueByNumber(int number) { public static AvailabilityType 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; @@ -650,67 +741,77 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder extends + public interface MachineConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ int getCpuCount(); } /** + * + * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.MachineConfig} */ - public static final class MachineConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MachineConfig() { - } + + private MachineConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -719,6 +820,7 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -730,8 +832,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -745,8 +846,7 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -756,15 +856,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.cloud.alloydb.v1alpha.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other = (com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other = + (com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) obj; - if (getCpuCount() - != other.getCpuCount()) return false; + if (getCpuCount() != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -784,89 +884,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -876,39 +981,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.MachineConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.MachineConfig) com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -918,9 +1025,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -939,8 +1046,11 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig result = new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig result = + new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -956,38 +1066,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.MachineConf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.MachineConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.MachineConfig) other); } else { super.mergeFrom(other); return this; @@ -995,7 +1108,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) + return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1025,17 +1139,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1045,15 +1161,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int cpuCount_ ; + private int cpuCount_; /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -1061,11 +1181,14 @@ public int getCpuCount() { return cpuCount_; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1077,11 +1200,14 @@ public Builder setCpuCount(int value) { return this; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1090,6 +1216,7 @@ public Builder clearCpuCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1102,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1alpha.Instance.MachineConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.MachineConfig(); } @@ -1116,27 +1243,28 @@ public static com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,74 +1279,91 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NodeOrBuilder extends + public interface NodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.Node) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ java.lang.String getZoneId(); /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString - getZoneIdBytes(); + com.google.protobuf.ByteString getZoneIdBytes(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ java.lang.String getIp(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ - com.google.protobuf.ByteString - getIpBytes(); + com.google.protobuf.ByteString getIpBytes(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1227,10 +1372,13 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The state. */ java.lang.String getState(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1239,12 +1387,14 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); } /** + * + * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1253,15 +1403,16 @@ public interface NodeOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.Node}
    */
-  public static final class Node extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Node extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.Node)
       NodeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1271,33 +1422,38 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Instance.Node.class, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Instance.Node.class,
+              com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
+     *
+     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ @java.lang.Override @@ -1306,29 +1462,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1337,14 +1493,18 @@ public java.lang.String getZoneId() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -1353,29 +1513,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1384,14 +1544,18 @@ public java.lang.String getId() { } public static final int IP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ @java.lang.Override @@ -1400,29 +1564,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -1431,9 +1595,12 @@ public java.lang.String getIp() { } public static final int STATE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1442,6 +1609,7 @@ public java.lang.String getIp() {
      * 
* * string state = 4; + * * @return The state. */ @java.lang.Override @@ -1450,14 +1618,15 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1466,16 +1635,15 @@ public java.lang.String getState() {
      * 
* * string state = 4; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1484,6 +1652,7 @@ public java.lang.String getState() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1495,8 +1664,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1538,21 +1706,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.cloud.alloydb.v1alpha.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.Node other = (com.google.cloud.alloydb.v1alpha.Instance.Node) obj; + com.google.cloud.alloydb.v1alpha.Instance.Node other = + (com.google.cloud.alloydb.v1alpha.Instance.Node) obj; - if (!getZoneId() - .equals(other.getZoneId())) return false; - if (!getId() - .equals(other.getId())) return false; - if (!getIp() - .equals(other.getIp())) return false; - if (!getState() - .equals(other.getState())) return false; + if (!getZoneId().equals(other.getZoneId())) return false; + if (!getId().equals(other.getId())) return false; + if (!getIp().equals(other.getIp())) return false; + if (!getState().equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1577,90 +1742,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.Node parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1670,6 +1839,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1678,33 +1849,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.Node}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.Node)
         com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1alpha.Instance.Node.class, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1alpha.Instance.Node.class,
+                com.google.cloud.alloydb.v1alpha.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1alpha.Instance.Node.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1717,9 +1888,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1alpha.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1738,8 +1909,11 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1alpha.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1alpha.Instance.Node result = new com.google.cloud.alloydb.v1alpha.Instance.Node(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1alpha.Instance.Node result =
+            new com.google.cloud.alloydb.v1alpha.Instance.Node(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1764,38 +1938,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.Node result
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1alpha.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.Node)other);
+          return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.Node) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1803,7 +1980,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.Node other) {
-        if (other == com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance())
+          return this;
         if (!other.getZoneId().isEmpty()) {
           zoneId_ = other.zoneId_;
           bitField0_ |= 0x00000001;
@@ -1850,32 +2028,37 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                ip_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                state_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  zoneId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  id_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  ip_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  state_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1885,22 +2068,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
+       *
+       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -1909,20 +2095,21 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1930,28 +2117,35 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -1961,17 +2155,21 @@ public Builder clearZoneId() { return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -1981,18 +2179,20 @@ public Builder setZoneIdBytes( private java.lang.Object id_ = ""; /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2001,20 +2201,21 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2022,28 +2223,35 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -2053,17 +2261,21 @@ public Builder clearId() { return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2073,18 +2285,20 @@ public Builder setIdBytes( private java.lang.Object ip_ = ""; /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2093,20 +2307,21 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The bytes for ip. */ - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -2114,28 +2329,35 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return This builder for chaining. */ public Builder clearIp() { @@ -2145,17 +2367,21 @@ public Builder clearIp() { return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2165,6 +2391,8 @@ public Builder setIpBytes( private java.lang.Object state_ = ""; /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2173,13 +2401,13 @@ public Builder setIpBytes(
        * 
* * string state = 4; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2188,6 +2416,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2196,15 +2426,14 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -2212,6 +2441,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2220,18 +2451,22 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2240,6 +2475,7 @@ public Builder setState(
        * 
* * string state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2249,6 +2485,8 @@ public Builder clearState() { return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2257,18 +2495,21 @@ public Builder clearState() {
        * 
* * string state = 4; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2281,12 +2522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.Node) private static final com.google.cloud.alloydb.v1alpha.Instance.Node DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.Node(); } @@ -2295,27 +2536,28 @@ public static com.google.cloud.alloydb.v1alpha.Instance.Node getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2330,67 +2572,84 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QueryInsightsInstanceConfigOrBuilder extends + public interface QueryInsightsInstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ int getQueryStringLength(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2398,10 +2657,13 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2409,59 +2671,67 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** + * + * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryInsightsInstanceConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryInsightsInstanceConfig() { - } + + private QueryInsightsInstanceConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2469,12 +2739,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -2485,12 +2758,15 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2498,12 +2774,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -2514,12 +2793,15 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -2530,6 +2812,8 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2537,6 +2821,7 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2544,6 +2829,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2551,6 +2838,7 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2559,6 +2847,7 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2570,8 +2859,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2594,20 +2882,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2617,29 +2901,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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other = + (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() - != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() - != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() - != other.getQueryStringLength()) return false; + if (getQueryStringLength() != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() - != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2654,13 +2935,11 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2674,89 +2953,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + 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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2766,39 +3051,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.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(); @@ -2811,19 +3100,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig build() { - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = buildPartial(); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2832,13 +3124,17 @@ public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig bui @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result = + new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -2863,46 +3159,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.QueryInsigh public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig)other); + if (other + instanceof com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) { + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig other) { + if (other + == com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -2941,32 +3245,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -2976,16 +3285,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean recordApplicationTags_ ; + private boolean recordApplicationTags_; /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2993,12 +3306,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -3006,12 +3322,15 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3023,12 +3342,15 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3038,14 +3360,17 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_ ; + private boolean recordClientAddress_; /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3053,12 +3378,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -3066,12 +3394,15 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3083,12 +3414,15 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3098,14 +3432,17 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_ ; + private int queryStringLength_; /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -3113,12 +3450,15 @@ public int getQueryStringLength() { return queryStringLength_; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3130,12 +3470,15 @@ public Builder setQueryStringLength(int value) { return this; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3145,8 +3488,10 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_ ; + private int queryPlansPerMinute_; /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3154,6 +3499,7 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3161,6 +3507,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3168,6 +3516,7 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3175,6 +3524,8 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3182,6 +3533,7 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3193,6 +3545,8 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3200,6 +3554,7 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3208,6 +3563,7 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3220,41 +3576,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3266,73 +3626,83 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadPoolConfigOrBuilder extends + public interface ReadPoolConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ int getNodeCount(); } /** + * + * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadPoolConfig() { - } + + private ReadPoolConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3341,6 +3711,7 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3352,8 +3723,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3367,8 +3737,7 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3378,15 +3747,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.cloud.alloydb.v1alpha.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other = + (com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) obj; - if (getNodeCount() - != other.getNodeCount()) return false; + if (getNodeCount() != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3406,89 +3775,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3498,39 +3872,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3540,9 +3916,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3561,8 +3937,11 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig result = + new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3578,38 +3957,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) other); } else { super.mergeFrom(other); return this; @@ -3617,7 +3999,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) + return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -3647,17 +4030,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3667,15 +4052,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3683,11 +4072,14 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -3699,11 +4091,14 @@ public Builder setNodeCount(int value) { return this; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -3712,6 +4107,7 @@ public Builder clearNodeCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3724,12 +4120,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig(); } @@ -3738,27 +4134,28 @@ public static com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3773,82 +4170,95 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdatePolicyOrBuilder extends + public interface UpdatePolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode(); } /** + * + * *
    * Policy to be used while updating the instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy} */ - public static final class UpdatePolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdatePolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) UpdatePolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicy.newBuilder() to construct. private UpdatePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdatePolicy() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); } /** + * + * *
      * Specifies the available modes of update.
      * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Mode is unknown.
        * 
@@ -3857,6 +4267,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * Least disruptive way to apply the update.
        * 
@@ -3865,6 +4277,8 @@ public enum Mode */ DEFAULT(1), /** + * + * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -3877,6 +4291,8 @@ public enum Mode
       ;
 
       /**
+       *
+       *
        * 
        * Mode is unknown.
        * 
@@ -3885,6 +4301,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Least disruptive way to apply the update.
        * 
@@ -3893,6 +4311,8 @@ public enum Mode */ public static final int DEFAULT_VALUE = 1; /** + * + * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -3902,7 +4322,6 @@ public enum Mode
        */
       public static final int FORCE_APPLY_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3927,49 +4346,51 @@ public static Mode valueOf(int value) {
        */
       public static Mode forNumber(int value) {
         switch (value) {
-          case 0: return MODE_UNSPECIFIED;
-          case 1: return DEFAULT;
-          case 2: return FORCE_APPLY;
-          default: return null;
+          case 0:
+            return MODE_UNSPECIFIED;
+          case 1:
+            return DEFAULT;
+          case 2:
+            return FORCE_APPLY;
+          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<
-          Mode> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Mode findValueByNumber(int number) {
-                return Mode.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 Mode findValueByNumber(int number) {
+              return Mode.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.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Mode[] VALUES = values();
 
-      public static Mode valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Mode 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;
@@ -3989,30 +4410,42 @@ private Mode(int value) {
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_ = 0;
     /**
+     *
+     *
      * 
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4024,9 +4457,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (mode_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (mode_ + != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, mode_); } getUnknownFields().writeTo(output); @@ -4038,9 +4472,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, mode_); + if (mode_ + != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4050,12 +4485,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.cloud.alloydb.v1alpha.Instance.UpdatePolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other = (com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) obj; + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other = + (com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4077,89 +4513,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4169,39 +4610,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Policy to be used while updating the instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.UpdatePolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.class, + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4211,9 +4654,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; } @java.lang.Override @@ -4232,8 +4675,11 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy result = new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy result = + new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4249,38 +4695,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolic public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.UpdatePolicy) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) other); } else { super.mergeFrom(other); return this; @@ -4288,7 +4737,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) + return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -4318,17 +4768,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4338,26 +4790,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int mode_ = 0; /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -4368,24 +4828,33 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode result = + com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -4399,11 +4868,14 @@ public Builder setMode(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mo return this; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Mode mode = 1; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -4412,6 +4884,7 @@ public Builder clearMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4424,12 +4897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.UpdatePolicy) private static final com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy(); } @@ -4438,27 +4911,28 @@ public static com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4473,99 +4947,122 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ClientConnectionConfigOrBuilder extends + public interface ClientConnectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ boolean getRequireConnectors(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder(); } /** + * + * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClientConnectionConfig() { - } + + private ClientConnectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -4576,11 +5073,16 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -4588,30 +5090,44 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4623,8 +5139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -4641,12 +5156,10 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4656,19 +5169,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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other = + (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() - != other.getRequireConnectors()) return false; + if (getRequireConnectors() != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4682,8 +5194,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -4694,89 +5205,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig 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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + 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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4786,39 +5303,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder.class); } - // Construct using com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.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(); @@ -4833,14 +5353,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + .getDefaultInstance(); } @java.lang.Override @@ -4854,21 +5376,23 @@ public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig build() @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result = + new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null - ? sslConfig_ - : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); } } @@ -4876,46 +5400,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance.ClientConne public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig)other); + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other) { - if (other == com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig other) { + if (other + == com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + .getDefaultInstance()) return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -4948,24 +5479,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSslConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4975,16 +5507,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean requireConnectors_ ; + private boolean requireConnectors_; /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -4992,12 +5528,15 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -5009,12 +5548,15 @@ public Builder setRequireConnectors(boolean value) { return this; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -5026,39 +5568,58 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1alpha.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> sslConfigBuilder_; + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + sslConfigBuilder_; /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ public com.google.cloud.alloydb.v1alpha.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -5074,11 +5635,15 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSslConfig( com.google.cloud.alloydb.v1alpha.SslConfig.Builder builderForValue) { @@ -5092,17 +5657,21 @@ public Builder setSslConfig( return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -5115,11 +5684,15 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1alpha.SslConfig value) return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5132,11 +5705,15 @@ public Builder clearSslConfig() { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -5144,40 +5721,53 @@ public com.google.cloud.alloydb.v1alpha.SslConfig.Builder getSslConfigBuilder() return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SslConfig, com.google.cloud.alloydb.v1alpha.SslConfig.Builder, com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SslConfig, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder, + com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5190,41 +5780,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig(); } - public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5236,16 +5829,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5259,6 +5855,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getDefau
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -5267,14 +5864,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5288,16 +5886,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -5306,14 +5903,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -5322,29 +5923,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; } } /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -5353,15 +5954,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -5370,30 +5975,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5404,11 +6009,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5416,11 +6025,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5428,11 +6041,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -5442,11 +6058,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5454,11 +6074,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -5466,11 +6090,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -5480,11 +6107,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -5492,11 +6123,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -5504,11 +6139,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -5516,32 +6154,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5549,20 +6189,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5574,6 +6215,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5581,17 +6224,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5599,11 +6244,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5613,64 +6258,95 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.State getState() { - com.google.cloud.alloydb.v1alpha.Instance.State result = com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Instance.State getState() { + com.google.cloud.alloydb.v1alpha.Instance.State result = + com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = + com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED + : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1alpha.Instance.MachineConfig machineConfig_; /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -5678,19 +6354,26 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -5699,13 +6382,18 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig(
    * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
-    return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+  public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder
+      getMachineConfigOrBuilder() {
+    return machineConfig_ == null
+        ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()
+        : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5716,12 +6404,16 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5732,17 +6424,25 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED + : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5753,6 +6453,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ @java.lang.Override @@ -5761,14 +6462,15 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5779,16 +6481,15 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -5797,32 +6498,36 @@ public java.lang.String getGceZone() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; + private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5843,20 +6548,21 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsDatabaseFlags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5881,6 +6587,8 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5901,17 +6609,19 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5932,11 +6642,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5946,12 +6656,17 @@ public java.lang.String getDatabaseFlagsOrThrow(
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1alpha.Instance.Node writableNode_;
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ @java.lang.Override @@ -5959,105 +6674,144 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode() { - return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() + : writableNode_; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() + : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private java.util.List nodes_; /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { return nodes_.get(index); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; - private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; + private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + queryInsightsConfig_; /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -6065,37 +6819,55 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + getQueryInsightsConfig() { + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig readPoolConfig_; /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -6103,18 +6875,25 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } /** + * + * *
    * Read pool specific config.
    * 
@@ -6122,20 +6901,27 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfi * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder + getReadPoolConfigOrBuilder() { + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } public static final int IP_ADDRESS_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -6144,30 +6930,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -6178,6 +6964,8 @@ public java.lang.String getIpAddress() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -6187,6 +6975,7 @@ public java.lang.String getIpAddress() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -6195,14 +6984,18 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ @java.lang.Override @@ -6211,29 +7004,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @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 { @@ -6242,32 +7035,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_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.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6277,20 +7073,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6304,6 +7101,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6313,17 +7112,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6333,11 +7134,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6347,6 +7148,8 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int UPDATE_POLICY_FIELD_NUMBER = 22;
   private com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy updatePolicy_;
   /**
+   *
+   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6355,6 +7158,7 @@ public java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ @java.lang.Override @@ -6362,6 +7166,8 @@ public boolean hasUpdatePolicy() { return updatePolicy_ != null; } /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6370,13 +7176,18 @@ public boolean hasUpdatePolicy() {
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy() { - return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; + return updatePolicy_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() + : updatePolicy_; } /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6387,18 +7198,26 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy()
    * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
-    return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
+  public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder
+      getUpdatePolicyOrBuilder() {
+    return updatePolicy_ == null
+        ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()
+        : updatePolicy_;
   }
 
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -6406,37 +7225,55 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + getClientConnectionConfig() { + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } public static final int SATISFIES_PZS_FIELD_NUMBER = 24; private boolean satisfiesPzs_ = false; /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 24; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -6445,6 +7282,7 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6456,8 +7294,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6476,33 +7313,29 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1alpha.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + if (instanceType_ + != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + if (availabilityType_ + != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDatabaseFlags(), - DatabaseFlagsDefaultEntryHolder.defaultEntry, - 13); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -6515,12 +7348,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 18); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -6558,103 +7387,94 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1alpha.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, instanceType_); + if (instanceType_ + != com.google.cloud.alloydb.v1alpha.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, availabilityType_); + if (availabilityType_ + != com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry - : internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry - databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry : + internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry databaseFlags__ = + DatabaseFlagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getQueryInsightsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); } if (updatePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getUpdatePolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getUpdatePolicy()); } if (clientConnectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getClientConnectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); } if (satisfiesPzs_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(24, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(24, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6664,85 +7484,65 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.Instance)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.Instance other = (com.google.cloud.alloydb.v1alpha.Instance) obj; + com.google.cloud.alloydb.v1alpha.Instance other = + (com.google.cloud.alloydb.v1alpha.Instance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig() - .equals(other.getMachineConfig())) return false; + if (!getMachineConfig().equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone() - .equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals( - other.internalGetDatabaseFlags())) return false; + if (!getGceZone().equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode() - .equals(other.getWritableNode())) return false; + if (!getWritableNode().equals(other.getWritableNode())) return false; } - if (!getNodesList() - .equals(other.getNodesList())) return false; + if (!getNodesList().equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig() - .equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig() - .equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasUpdatePolicy() != other.hasUpdatePolicy()) return false; if (hasUpdatePolicy()) { - if (!getUpdatePolicy() - .equals(other.getUpdatePolicy())) return false; + if (!getUpdatePolicy().equals(other.getUpdatePolicy())) return false; } if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig() - .equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; } - if (getSatisfiesPzs() - != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6811,8 +7611,7 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -6828,106 +7627,110 @@ public int hashCode() { hash = (53 * hash) + getClientConnectionConfig().hashCode(); } hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.alloydb.v1alpha.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -6935,18 +7738,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.Instance)
       com.google.cloud.alloydb.v1alpha.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_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();
@@ -6955,13 +7757,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 18:
           return internalGetAnnotations();
         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();
@@ -6970,28 +7771,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.Instance.class, com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
+              com.google.cloud.alloydb.v1alpha.Instance.class,
+              com.google.cloud.alloydb.v1alpha.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.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();
@@ -7066,9 +7866,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -7087,9 +7887,12 @@ public com.google.cloud.alloydb.v1alpha.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.Instance buildPartial() {
-      com.google.cloud.alloydb.v1alpha.Instance result = new com.google.cloud.alloydb.v1alpha.Instance(this);
+      com.google.cloud.alloydb.v1alpha.Instance result =
+          new com.google.cloud.alloydb.v1alpha.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -7118,19 +7921,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7143,9 +7940,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ = machineConfigBuilder_ == null
-            ? machineConfig_
-            : machineConfigBuilder_.build();
+        result.machineConfig_ =
+            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -7158,19 +7954,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ = writableNodeBuilder_ == null
-            ? writableNode_
-            : writableNodeBuilder_.build();
+        result.writableNode_ =
+            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
-            ? queryInsightsConfig_
-            : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ =
+            queryInsightsConfigBuilder_ == null
+                ? queryInsightsConfig_
+                : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ = readPoolConfigBuilder_ == null
-            ? readPoolConfig_
-            : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ =
+            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -7186,14 +7981,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.updatePolicy_ = updatePolicyBuilder_ == null
-            ? updatePolicy_
-            : updatePolicyBuilder_.build();
+        result.updatePolicy_ =
+            updatePolicyBuilder_ == null ? updatePolicy_ : updatePolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
-            ? clientConnectionConfig_
-            : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ =
+            clientConnectionConfigBuilder_ == null
+                ? clientConnectionConfig_
+                : clientConnectionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
         result.satisfiesPzs_ = satisfiesPzs_;
@@ -7204,38 +7999,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.Instance result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.Instance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7268,8 +8064,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -7288,8 +8083,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(
-          other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -7312,9 +8106,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodesFieldBuilder() : null;
+            nodesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodesFieldBuilder()
+                    : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -7339,8 +8134,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasUpdatePolicy()) {
         mergeUpdatePolicy(other.getUpdatePolicy());
@@ -7377,170 +8171,184 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 72: {
-              instanceType_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getMachineConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 88: {
-              availabilityType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 88
-            case 98: {
-              gceZone_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 98
-            case 106: {
-              com.google.protobuf.MapEntry
-              databaseFlags__ = input.readMessage(
-                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableDatabaseFlags().getMutableMap().put(
-                  databaseFlags__.getKey(), databaseFlags__.getValue());
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getReadPoolConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 114
-            case 122: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 122
-            case 128: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 128
-            case 138: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 138
-            case 146: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getWritableNodeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 154
-            case 162: {
-              com.google.cloud.alloydb.v1alpha.Instance.Node m =
-                  input.readMessage(
-                      com.google.cloud.alloydb.v1alpha.Instance.Node.parser(),
-                      extensionRegistry);
-              if (nodesBuilder_ == null) {
-                ensureNodesIsMutable();
-                nodes_.add(m);
-              } else {
-                nodesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getQueryInsightsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getUpdatePolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getClientConnectionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 186
-            case 192: {
-              satisfiesPzs_ = input.readBool();
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 192
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 72:
+              {
+                instanceType_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 88:
+              {
+                availabilityType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 88
+            case 98:
+              {
+                gceZone_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.protobuf.MapEntry databaseFlags__ =
+                    input.readMessage(
+                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableDatabaseFlags()
+                    .getMutableMap()
+                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 114
+            case 122:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 122
+            case 128:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 128
+            case 138:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 138
+            case 146:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.cloud.alloydb.v1alpha.Instance.Node m =
+                    input.readMessage(
+                        com.google.cloud.alloydb.v1alpha.Instance.Node.parser(), extensionRegistry);
+                if (nodesBuilder_ == null) {
+                  ensureNodesIsMutable();
+                  nodes_.add(m);
+                } else {
+                  nodesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(
+                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(getUpdatePolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(
+                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 186
+            case 192:
+              {
+                satisfiesPzs_ = input.readBool();
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 192
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7550,10 +8358,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7567,13 +8378,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -7582,6 +8393,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7595,15 +8408,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -7611,6 +8423,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7624,18 +8438,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7649,6 +8467,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -7658,6 +8477,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7671,12 +8492,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -7686,18 +8509,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -7706,20 +8531,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -7727,28 +8553,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -7758,17 +8591,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -7778,19 +8615,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -7799,21 +8638,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -7821,30 +8661,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -7854,18 +8701,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7875,39 +8726,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -7923,14 +8793,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7941,17 +8814,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7964,11 +8841,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7981,11 +8862,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -7993,36 +8878,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -8030,39 +8927,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8078,14 +8994,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8096,17 +9015,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8119,11 +9042,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -8136,11 +9063,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -8148,36 +9079,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -8185,39 +9128,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -8233,14 +9195,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -8251,17 +9216,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -8274,11 +9243,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -8291,11 +9264,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -8303,56 +9280,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -8361,10 +9348,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8372,20 +9362,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8397,6 +9388,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8404,17 +9397,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8422,95 +9417,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8521,24 +9529,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.State getState() { - com.google.cloud.alloydb.v1alpha.Instance.State result = com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1alpha.Instance.State result = + com.google.cloud.alloydb.v1alpha.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1alpha.Instance.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -8552,11 +9571,16 @@ public Builder setState(com.google.cloud.alloydb.v1alpha.Instance.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -8568,22 +9592,33 @@ public Builder clearState() { private int instanceType_ = 0; /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -8594,24 +9629,37 @@ public Builder setInstanceTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.Instance.InstanceType result = + com.google.cloud.alloydb.v1alpha.Instance.InstanceType.forNumber(instanceType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.InstanceType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The instanceType to set. * @return This builder for chaining. */ @@ -8625,11 +9673,16 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1alpha.Instance.Instanc return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -8641,36 +9694,49 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1alpha.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> machineConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, + com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> + machineConfigBuilder_; /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8692,6 +9758,8 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1alpha.Instance.Machin
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8711,6 +9779,8 @@ public Builder setMachineConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8718,11 +9788,13 @@ public Builder setMachineConfig(
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public Builder mergeMachineConfig(com.google.cloud.alloydb.v1alpha.Instance.MachineConfig value) {
+    public Builder mergeMachineConfig(
+        com.google.cloud.alloydb.v1alpha.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0) &&
-          machineConfig_ != null &&
-          machineConfig_ != com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0)
+            && machineConfig_ != null
+            && machineConfig_
+                != com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -8735,6 +9807,8 @@ public Builder mergeMachineConfig(com.google.cloud.alloydb.v1alpha.Instance.Mach
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8753,6 +9827,8 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8760,12 +9836,15 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder getMachineConfigBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder
+        getMachineConfigBuilder() {
       bitField0_ |= 0x00000200;
       onChanged();
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8773,15 +9852,19 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder getMachin
      *
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder
+        getMachineConfigOrBuilder() {
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null ?
-            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+        return machineConfig_ == null
+            ? com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.getDefaultInstance()
+            : machineConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8790,14 +9873,17 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
      * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder> 
+            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig,
+            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder,
+            com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.MachineConfig, com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(),
-                getParentForChildren(),
-                isClean());
+        machineConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1alpha.Instance.MachineConfig,
+                com.google.cloud.alloydb.v1alpha.Instance.MachineConfig.Builder,
+                com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(), getParentForChildren(), isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -8805,6 +9891,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
 
     private int availabilityType_ = 0;
     /**
+     *
+     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8815,12 +9903,16 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8831,6 +9923,7 @@ public com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachi
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -8841,6 +9934,8 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8851,14 +9946,20 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType.UNRECOGNIZED + : result; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8869,10 +9970,12 @@ public com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilit
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType(com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType value) { + public Builder setAvailabilityType( + com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -8882,6 +9985,8 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1alpha.Instance.Ava return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8892,6 +9997,7 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1alpha.Instance.Ava
      * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -8903,6 +10009,8 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8913,13 +10021,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; + * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -8928,6 +10036,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8938,15 +10048,14 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -8954,6 +10063,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8964,18 +10075,22 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8986,6 +10101,7 @@ public Builder setGceZone(
      * 
* * string gce_zone = 12; + * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -8995,6 +10111,8 @@ public Builder clearGceZone() { return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -9005,12 +10123,14 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -9018,8 +10138,8 @@ public Builder setGceZoneBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -9028,11 +10148,12 @@ public Builder setGceZoneBytes( } return databaseFlags_; } + private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = com.google.protobuf.MapField.newMapField( - DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = + com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -9041,10 +10162,13 @@ public Builder setGceZoneBytes( onChanged(); return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9065,20 +10189,21 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getDatabaseFlagsMap()} instead.
-     */
+    /** Use {@link #getDatabaseFlagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9103,6 +10228,8 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9123,17 +10250,19 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9154,23 +10283,25 @@ java.lang.String getDatabaseFlagsOrDefault(
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .clear();
+      internalGetMutableDatabaseFlags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9190,23 +10321,22 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .remove(key);
+    public Builder removeDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableDatabaseFlags() {
+    public java.util.Map getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9226,17 +10356,20 @@ public Builder removeDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .put(key, value);
+    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9256,52 +10389,69 @@ public Builder putDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(
-        java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .putAll(values);
+    public Builder putAllDatabaseFlags(java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1alpha.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> writableNodeBuilder_;
+            com.google.cloud.alloydb.v1alpha.Instance.Node,
+            com.google.cloud.alloydb.v1alpha.Instance.Node.Builder,
+            com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>
+        writableNodeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ public com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() + : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -9317,12 +10467,16 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node va return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode( com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -9336,18 +10490,23 @@ public Builder setWritableNode( return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - writableNode_ != null && - writableNode_ != com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && writableNode_ != null + && writableNode_ + != com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -9360,12 +10519,16 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1alpha.Instance.Node return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -9378,12 +10541,16 @@ public Builder clearWritableNode() { return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -9391,62 +10558,82 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getWritableNodeBui return getWritableNodeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance() + : writableNode_; } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.Node, + com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( - getWritableNode(), - getParentForChildren(), - isClean()); + writableNodeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.Node, + com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( + getWritableNode(), getParentForChildren(), isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> nodesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.Node, + com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> + nodesBuilder_; /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -9456,12 +10643,16 @@ public java.util.List getNodesLi } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -9471,12 +10662,16 @@ public int getNodesCount() { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -9486,15 +10681,18 @@ public com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index) { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNodes( - int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { + public Builder setNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9508,12 +10706,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNodes( int index, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -9527,12 +10729,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes(com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { @@ -9548,15 +10754,18 @@ public Builder addNodes(com.google.cloud.alloydb.v1alpha.Instance.Node value) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addNodes( - int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { + public Builder addNodes(int index, com.google.cloud.alloydb.v1alpha.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9570,12 +10779,16 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes( com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -9589,12 +10802,16 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes( int index, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder builderForValue) { @@ -9608,19 +10825,22 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -9628,12 +10848,16 @@ public Builder addAllNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -9646,12 +10870,16 @@ public Builder clearNodes() { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -9664,42 +10892,53 @@ public Builder removeNodes(int index) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getNodesBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder getNodesBuilder(int index) { return getNodesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); } else { + return nodes_.get(index); + } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -9707,94 +10946,131 @@ public com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder( - int index) { - return getNodesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Node.Builder addNodesBuilder(int index) { + return getNodesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.Node, + com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.Node, com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( - nodes_, - ((bitField0_ & 0x00004000) != 0), - getParentForChildren(), - isClean()); + nodesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.Node, + com.google.cloud.alloydb.v1alpha.Instance.Node.Builder, + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder>( + nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; } - private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; + private com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> + queryInsightsConfigBuilder_; /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + .getDefaultInstance() + : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig( + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9808,14 +11084,19 @@ public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instance. return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder + builderForValue) { if (queryInsightsConfigBuilder_ == null) { queryInsightsConfig_ = builderForValue.build(); } else { @@ -9826,17 +11107,24 @@ public Builder setQueryInsightsConfig( return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig( + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - queryInsightsConfig_ != null && - queryInsightsConfig_ != com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && queryInsightsConfig_ != null + && queryInsightsConfig_ + != com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -9849,11 +11137,15 @@ public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1alpha.Instanc return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -9866,48 +11158,67 @@ public Builder clearQueryInsightsConfig() { return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder + getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig + .getDefaultInstance() + : queryInsightsConfig_; } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), - getParentForChildren(), - isClean()); + queryInsightsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), getParentForChildren(), isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -9915,41 +11226,55 @@ public com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBu private com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> + readPoolConfigBuilder_; /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder setReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { + public Builder setReadPoolConfig( + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9963,6 +11288,8 @@ public Builder setReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.ReadP return this; } /** + * + * *
      * Read pool specific config.
      * 
@@ -9981,17 +11308,21 @@ public Builder setReadPoolConfig( return this; } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { + public Builder mergeReadPoolConfig( + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - readPoolConfig_ != null && - readPoolConfig_ != com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && readPoolConfig_ != null + && readPoolConfig_ + != com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance()) { getReadPoolConfigBuilder().mergeFrom(value); } else { readPoolConfig_ = value; @@ -10004,6 +11335,8 @@ public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1alpha.Instance.Rea return this; } /** + * + * *
      * Read pool specific config.
      * 
@@ -10021,33 +11354,42 @@ public Builder clearReadPoolConfig() { return this; } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder + getReadPoolConfigBuilder() { bitField0_ |= 0x00010000; onChanged(); return getReadPoolConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder + getReadPoolConfigOrBuilder() { if (readPoolConfigBuilder_ != null) { return readPoolConfigBuilder_.getMessageOrBuilder(); } else { - return readPoolConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } } /** + * + * *
      * Read pool specific config.
      * 
@@ -10055,14 +11397,17 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getRead * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder> getReadPoolConfigFieldBuilder() { if (readPoolConfigBuilder_ == null) { - readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder>( - getReadPoolConfig(), - getParentForChildren(), - isClean()); + readPoolConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder>( + getReadPoolConfig(), getParentForChildren(), isClean()); readPoolConfig_ = null; } return readPoolConfigBuilder_; @@ -10070,19 +11415,21 @@ public com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getRead private java.lang.Object ipAddress_ = ""; /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -10091,21 +11438,22 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -10113,30 +11461,37 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -10146,18 +11501,22 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -10165,8 +11524,10 @@ public Builder setIpAddressBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10176,6 +11537,7 @@ public Builder setIpAddressBytes(
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -10183,6 +11545,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10192,6 +11556,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -10203,6 +11568,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10212,6 +11579,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -10223,18 +11591,20 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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; @@ -10243,20 +11613,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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 { @@ -10264,28 +11635,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -10295,17 +11673,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -10313,8 +11695,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -10323,11 +11705,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -10336,10 +11719,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10349,20 +11735,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10376,6 +11763,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10385,17 +11774,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10405,23 +11796,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10430,23 +11823,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10455,17 +11847,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10474,18 +11869,21 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy updatePolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder> updatePolicyBuilder_;
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>
+        updatePolicyBuilder_;
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10494,12 +11892,15 @@ public Builder putAllAnnotations(
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ public boolean hasUpdatePolicy() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10508,16 +11909,21 @@ public boolean hasUpdatePolicy() {
      * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy() { if (updatePolicyBuilder_ == null) { - return updatePolicy_ == null ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; + return updatePolicy_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() + : updatePolicy_; } else { return updatePolicyBuilder_.getMessage(); } } /** + * + * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10541,6 +11947,8 @@ public Builder setUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.UpdateP
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10562,6 +11970,8 @@ public Builder setUpdatePolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10573,9 +11983,10 @@ public Builder setUpdatePolicy(
      */
     public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy value) {
       if (updatePolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00200000) != 0) &&
-          updatePolicy_ != null &&
-          updatePolicy_ != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00200000) != 0)
+            && updatePolicy_ != null
+            && updatePolicy_
+                != com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()) {
           getUpdatePolicyBuilder().mergeFrom(value);
         } else {
           updatePolicy_ = value;
@@ -10588,6 +11999,8 @@ public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1alpha.Instance.Updat
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10608,6 +12021,8 @@ public Builder clearUpdatePolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10623,6 +12038,8 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder getUpdateP
       return getUpdatePolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10632,15 +12049,19 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder getUpdateP
      *
      * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
      */
-    public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder
+        getUpdatePolicyOrBuilder() {
       if (updatePolicyBuilder_ != null) {
         return updatePolicyBuilder_.getMessageOrBuilder();
       } else {
-        return updatePolicy_ == null ?
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
+        return updatePolicy_ == null
+            ? com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.getDefaultInstance()
+            : updatePolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10651,56 +12072,81 @@ public com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdate
      * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder> 
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
+            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>
         getUpdatePolicyFieldBuilder() {
       if (updatePolicyBuilder_ == null) {
-        updatePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>(
-                getUpdatePolicy(),
-                getParentForChildren(),
-                isClean());
+        updatePolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy,
+                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy.Builder,
+                com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder>(
+                getUpdatePolicy(), getParentForChildren(), isClean());
         updatePolicy_ = null;
       }
       return updatePolicyBuilder_;
     }
 
-    private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig clientConnectionConfig_;
+    private com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig
+        clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
+            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig,
+            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder,
+            com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>
+        clientConnectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig( + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10714,11 +12160,15 @@ public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Instan return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -10732,17 +12182,24 @@ public Builder setClientConnectionConfig( return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig( + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) && - clientConnectionConfig_ != null && - clientConnectionConfig_ != com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) + && clientConnectionConfig_ != null + && clientConnectionConfig_ + != com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig + .getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -10755,11 +12212,15 @@ public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1alpha.Inst return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -10772,60 +12233,81 @@ public Builder clearClientConnectionConfig() { return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder + getClientConnectionConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), - getParentForChildren(), - isClean()); + clientConnectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), getParentForChildren(), isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } - private boolean satisfiesPzs_ ; + private boolean satisfiesPzs_; /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -10833,11 +12315,14 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; + * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -10849,11 +12334,14 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** + * + * *
      * Reserved for future use.
      * 
* * bool satisfies_pzs = 24; + * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -10862,9 +12350,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10874,12 +12362,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.Instance) private static final com.google.cloud.alloydb.v1alpha.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.Instance(); } @@ -10888,27 +12376,27 @@ public static com.google.cloud.alloydb.v1alpha.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; @@ -10923,6 +12411,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java index e978218c81d6..ddf64aaf66ed 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -21,10 +39,13 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -38,135 +59,180 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface InstanceOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,79 +273,108 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1alpha.Instance.State getState(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ com.google.cloud.alloydb.v1alpha.Instance.InstanceType getInstanceType(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ com.google.cloud.alloydb.v1alpha.Instance.MachineConfig getMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -289,6 +385,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.alloydb.v1alpha.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -299,10 +397,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -313,11 +414,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ com.google.cloud.alloydb.v1alpha.Instance.AvailabilityType getAvailabilityType(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -328,10 +432,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ java.lang.String getGceZone(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -342,12 +449,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString - getGceZoneBytes(); + com.google.protobuf.ByteString getGceZoneBytes(); /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -369,6 +478,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getDatabaseFlagsCount();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -388,15 +499,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(
-      java.lang.String key);
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  boolean containsDatabaseFlags(java.lang.String key);
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getDatabaseFlags();
+  java.util.Map getDatabaseFlags();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -416,9 +525,10 @@ boolean containsDatabaseFlags(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map
-  getDatabaseFlagsMap();
+  java.util.Map getDatabaseFlagsMap();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -439,11 +549,13 @@ boolean containsDatabaseFlags(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -463,134 +575,188 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ com.google.cloud.alloydb.v1alpha.Instance.Node getWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getNodesList(); + java.util.List getNodesList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1alpha.Instance.Node getNodes(int index); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getNodesCount(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getNodesOrBuilderList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1alpha.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(int index); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder(); /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfig getReadPoolConfig(); /** + * + * *
    * Read pool specific config.
    * 
@@ -600,28 +766,35 @@ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder( com.google.cloud.alloydb.v1alpha.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder(); /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -631,31 +804,39 @@ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -666,6 +847,8 @@ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -674,15 +857,13 @@ com.google.cloud.alloydb.v1alpha.Instance.NodeOrBuilder getNodesOrBuilder(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -691,9 +872,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -703,11 +885,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -716,10 +900,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -728,10 +913,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ boolean hasUpdatePolicy(); /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -740,10 +928,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1alpha.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicy getUpdatePolicy(); /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -756,38 +947,56 @@ java.lang.String getAnnotationsOrThrow(
   com.google.cloud.alloydb.v1alpha.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig getClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1alpha.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder(); /** + * + * *
    * Reserved for future use.
    * 
* * bool satisfies_pzs = 24; + * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java index 5f738ac1ab81..182163036890 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/InstanceView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1alpha.InstanceView}
  */
-public enum InstanceView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum InstanceView */ INSTANCE_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -32,6 +52,8 @@ public enum InstanceView
    */
   INSTANCE_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -44,6 +66,8 @@ public enum InstanceView
   ;
 
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -52,6 +76,8 @@ public enum InstanceView */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -62,6 +88,8 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -71,7 +99,6 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -96,49 +123,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0: return INSTANCE_VIEW_UNSPECIFIED;
-      case 1: return INSTANCE_VIEW_BASIC;
-      case 2: return INSTANCE_VIEW_FULL;
-      default: return null;
+      case 0:
+        return INSTANCE_VIEW_UNSPECIFIED;
+      case 1:
+        return INSTANCE_VIEW_BASIC;
+      case 2:
+        return INSTANCE_VIEW_FULL;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      InstanceView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceView findValueByNumber(int number) {
-            return InstanceView.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 InstanceView findValueByNumber(int number) {
+          return InstanceView.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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,4 +181,3 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.InstanceView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
similarity index 68%
rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
index 258bfe97ebf0..e3c0b92b52ae 100644
--- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1alpha/service.proto
 
 package com.google.cloud.alloydb.v1alpha;
 
 /**
+ *
+ *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Filtering results
    * 
* * 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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1alpha.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListBackupsRequest other = (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListBackupsRequest other = + (com.google.cloud.alloydb.v1alpha.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +393,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsRequest) com.google.cloud.alloydb.v1alpha.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, + com.google.cloud.alloydb.v1alpha.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1alpha.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListBackupsRequest result = new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ListBackupsRequest result = + new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListBackupsRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +725,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +754,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +778,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string 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() { @@ -749,17 +820,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +844,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +862,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +882,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +902,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -836,20 +924,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -857,28 +946,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +984,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1008,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * 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; @@ -928,20 +1030,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * 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 { @@ -949,28 +1052,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1090,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1114,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1136,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1158,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1196,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListBackupsRequest) private static final com.google.cloud.alloydb.v1alpha.ListBackupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListBackupsRequest(); } @@ -1115,27 +1243,27 @@ public static com.google.cloud.alloydb.v1alpha.ListBackupsRequest getDefaultInst 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; @@ -1150,6 +1278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java index 46c6bbcc6dfa..cf587e128f24 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListBackupsRequestOrBuilder extends +public interface ListBackupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java index 4cc967e9da40..91d2e96c1c4d 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List backups_; /** + * + * *
    * The list of Backup
    * 
@@ -61,6 +82,8 @@ public java.util.List getBackupsList() return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -68,11 +91,13 @@ public java.util.List getBackupsList() * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -84,6 +109,8 @@ public int getBackupsCount() { return backups_.size(); } /** + * + * *
    * The list of Backup
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { return backups_.get(index); } /** + * + * *
    * The list of Backup
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListBackupsResponse other = (com.google.cloud.alloydb.v1alpha.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1alpha.ListBackupsResponse other = + (com.google.cloud.alloydb.v1alpha.ListBackupsResponse) obj; - if (!getBackupsList() - .equals(other.getBackupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getBackupsList().equals(other.getBackupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListBackupsResponse) com.google.cloud.alloydb.v1alpha.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, + com.google.cloud.alloydb.v1alpha.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1alpha.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListBackupsResponse result = new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(this); + com.google.cloud.alloydb.v1alpha.ListBackupsResponse result = + new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListBackupsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListBackupsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListBackupsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance()) + return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListBackupsResponse ot 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_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Backup.parser(), - extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Backup.parser(), extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,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.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupsBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + backupsBuilder_; /** + * + * *
      * The list of Backup
      * 
@@ -675,6 +735,8 @@ public java.util.List getBackupsList() } } /** + * + * *
      * The list of Backup
      * 
@@ -689,6 +751,8 @@ public int getBackupsCount() { } } /** + * + * *
      * The list of Backup
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackups(int index) { } } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder setBackups( - int index, com.google.cloud.alloydb.v1alpha.Backup value) { + public Builder setBackups(int index, com.google.cloud.alloydb.v1alpha.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -742,6 +809,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -762,14 +831,15 @@ public Builder addBackups(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder addBackups( - int index, com.google.cloud.alloydb.v1alpha.Backup value) { + public Builder addBackups(int index, com.google.cloud.alloydb.v1alpha.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public Builder addBackups( - com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder addBackups(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -819,6 +892,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -829,8 +904,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); @@ -838,6 +912,8 @@ public Builder addAllBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -855,6 +931,8 @@ public Builder clearBackups() { return this; } /** + * + * *
      * The list of Backup
      * 
@@ -872,39 +950,44 @@ public Builder removeBackups(int index) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupsBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupsBuilder(int index) { return getBackupsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index) { if (backupsBuilder_ == null) { - return backups_.get(index); } else { + return backups_.get(index); + } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( } } /** + * + * *
      * The list of Backup
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); + return getBackupsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder( - int index) { - return getBackupsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder(int index) { + return getBackupsFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - public java.util.List - getBackupsBuilderList() { + public java.util.List getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - backups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + backupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); backups_ = null; } return backupsBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1alpha.Backup.Builder addBackupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListBackupsResponse) private static final com.google.cloud.alloydb.v1alpha.ListBackupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListBackupsResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1alpha.ListBackupsResponse getDefaultIns 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; @@ -1259,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java index 23d6ea3f2f1f..77ea4f21b996 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListBackupsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListBackupsResponseOrBuilder extends +public interface ListBackupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - java.util.List - getBackupsList(); + java.util.List getBackupsList(); /** + * + * *
    * The list of Backup
    * 
@@ -25,6 +44,8 @@ public interface ListBackupsResponseOrBuilder extends */ com.google.cloud.alloydb.v1alpha.Backup getBackups(int index); /** + * + * *
    * The list of Backup
    * 
@@ -33,82 +54,100 @@ public interface ListBackupsResponseOrBuilder extends */ int getBackupsCount(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - java.util.List + java.util.List getBackupsOrBuilderList(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1alpha.Backup backups = 1; */ - com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java index 4acb53d2c6df..e0b0473c95d0 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersRequest} */ -public final class ListClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListClustersRequest) ListClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,28 +46,32 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, + com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -81,17 +107,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,14 +146,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,29 +166,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -163,14 +197,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -179,29 +217,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -210,14 +248,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -226,29 +268,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -257,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,8 +340,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_); @@ -318,23 +359,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.cloud.alloydb.v1alpha.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListClustersRequest other = (com.google.cloud.alloydb.v1alpha.ListClustersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListClustersRequest other = + (com.google.cloud.alloydb.v1alpha.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,131 +399,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListClustersRequest) com.google.cloud.alloydb.v1alpha.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, + com.google.cloud.alloydb.v1alpha.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListClustersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; } @java.lang.Override @@ -521,8 +562,11 @@ public com.google.cloud.alloydb.v1alpha.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListClustersRequest result = new com.google.cloud.alloydb.v1alpha.ListClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ListClustersRequest result = + new com.google.cloud.alloydb.v1alpha.ListClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -550,38 +594,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListClustersRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -589,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -639,37 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,10 +731,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -690,14 +745,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.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; @@ -706,6 +763,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -713,16 +772,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.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 { @@ -730,6 +790,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -737,19 +799,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -757,7 +825,10 @@ public Builder setParent(
      *  * projects/{project}/locations/-
      * 
* - * string 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() { @@ -767,6 +838,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -774,13 +847,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,14 +865,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -803,12 +883,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -820,12 +903,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,18 +923,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -857,20 +945,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -878,28 +967,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -909,17 +1005,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -929,18 +1029,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -949,20 +1051,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -970,28 +1073,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1001,17 +1111,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1021,18 +1135,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1041,20 +1157,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1062,28 +1179,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1093,26 +1217,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1250,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListClustersRequest) private static final com.google.cloud.alloydb.v1alpha.ListClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListClustersRequest(); } @@ -1136,27 +1264,27 @@ public static com.google.cloud.alloydb.v1alpha.ListClustersRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1171,6 +1299,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java index 849cd987ce08..d1e21c4bc047 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListClustersRequestOrBuilder extends +public interface ListClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -15,11 +33,16 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -27,80 +50,100 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java index 7a3fab731ee4..635635f2a149 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, + com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List clusters_; /** + * + * *
    * The list of Cluster
    * 
@@ -61,6 +82,8 @@ public java.util.List getClustersList( return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -68,11 +91,13 @@ public java.util.List getClustersList( * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -84,6 +109,8 @@ public int getClustersCount() { return clusters_.size(); } /** + * + * *
    * The list of Cluster
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { return clusters_.get(index); } /** + * + * *
    * The list of Cluster
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListClustersResponse other = (com.google.cloud.alloydb.v1alpha.ListClustersResponse) obj; + com.google.cloud.alloydb.v1alpha.ListClustersResponse other = + (com.google.cloud.alloydb.v1alpha.ListClustersResponse) obj; - if (!getClustersList() - .equals(other.getClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getClustersList().equals(other.getClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListClustersResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListClustersResponse) com.google.cloud.alloydb.v1alpha.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, + com.google.cloud.alloydb.v1alpha.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; } @java.lang.Override @@ -466,14 +510,18 @@ public com.google.cloud.alloydb.v1alpha.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListClustersResponse result = new com.google.cloud.alloydb.v1alpha.ListClustersResponse(this); + com.google.cloud.alloydb.v1alpha.ListClustersResponse result = + new com.google.cloud.alloydb.v1alpha.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -500,38 +548,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListClustersResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance()) + return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -558,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListClustersResponse o clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getClustersFieldBuilder() : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getClustersFieldBuilder() + : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -607,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Cluster.parser(), - extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clustersBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + clustersBuilder_; /** + * + * *
      * The list of Cluster
      * 
@@ -675,6 +736,8 @@ public java.util.List getClustersList( } } /** + * + * *
      * The list of Cluster
      * 
@@ -689,6 +752,8 @@ public int getClustersCount() { } } /** + * + * *
      * The list of Cluster
      * 
@@ -703,14 +768,15 @@ public com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index) { } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder setClusters( - int index, com.google.cloud.alloydb.v1alpha.Cluster value) { + public Builder setClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +790,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -742,6 +810,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -762,14 +832,15 @@ public Builder addClusters(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder addClusters( - int index, com.google.cloud.alloydb.v1alpha.Cluster value) { + public Builder addClusters(int index, com.google.cloud.alloydb.v1alpha.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +854,15 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public Builder addClusters( - com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder addClusters(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -801,6 +873,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -819,6 +893,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -829,8 +905,7 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -838,6 +913,8 @@ public Builder addAllClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -855,6 +932,8 @@ public Builder clearClusters() { return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -872,39 +951,44 @@ public Builder removeClusters(int index) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClustersBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClustersBuilder(int index) { return getClustersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); } else { + return clusters_.get(index); + } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +996,8 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( } } /** + * + * *
      * The list of Cluster
      * 
@@ -919,42 +1005,48 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); + return getClustersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder( - int index) { - return getClustersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder(int index) { + return getClustersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - public java.util.List - getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - clusters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + clustersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; @@ -962,18 +1054,20 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder addClustersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1076,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1098,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1136,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1160,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1168,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1212,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1250,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1272,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1331,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListClustersResponse) private static final com.google.cloud.alloydb.v1alpha.ListClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListClustersResponse(); } @@ -1224,27 +1357,27 @@ public static com.google.cloud.alloydb.v1alpha.ListClustersResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java index 7182e5c7ac59..a707c608a391 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListClustersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListClustersResponseOrBuilder extends +public interface ListClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - java.util.List - getClustersList(); + java.util.List getClustersList(); /** + * + * *
    * The list of Cluster
    * 
@@ -25,6 +44,8 @@ public interface ListClustersResponseOrBuilder extends */ com.google.cloud.alloydb.v1alpha.Cluster getClusters(int index); /** + * + * *
    * The list of Cluster
    * 
@@ -33,82 +54,100 @@ public interface ListClustersResponseOrBuilder extends */ int getClustersCount(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1alpha.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClustersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java index d8285b522eb0..05f09feecaf6 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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,28 +46,32 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +133,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +150,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +170,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,14 +201,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,29 +221,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -214,14 +252,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -230,29 +272,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +303,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -302,8 +344,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_); @@ -322,23 +363,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.cloud.alloydb.v1alpha.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListInstancesRequest other = (com.google.cloud.alloydb.v1alpha.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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListInstancesRequest other = + (com.google.cloud.alloydb.v1alpha.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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,131 +403,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesRequest) com.google.cloud.alloydb.v1alpha.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, + com.google.cloud.alloydb.v1alpha.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -504,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; } @java.lang.Override @@ -525,8 +567,11 @@ public com.google.cloud.alloydb.v1alpha.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListInstancesRequest result = new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ListInstancesRequest result = + new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,38 +599,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListInstancesRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +639,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,37 +690,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,10 +736,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -696,14 +752,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,6 +770,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -721,16 +781,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -738,6 +799,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -747,19 +810,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -769,7 +838,10 @@ public Builder setParent(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -779,6 +851,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -788,13 +862,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -802,14 +880,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -817,12 +898,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -834,12 +918,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -851,18 +938,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -871,20 +960,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -892,28 +982,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -923,17 +1020,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -943,18 +1044,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -963,20 +1066,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -984,28 +1088,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1015,17 +1126,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1035,18 +1150,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1055,20 +1172,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1076,28 +1194,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1107,26 +1232,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1136,12 +1265,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListInstancesRequest) private static final com.google.cloud.alloydb.v1alpha.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListInstancesRequest(); } @@ -1150,27 +1279,27 @@ public static com.google.cloud.alloydb.v1alpha.ListInstancesRequest getDefaultIn 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; @@ -1185,6 +1314,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java index 0ee66e9492a4..30d19852ee3f 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -17,11 +35,16 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -31,80 +54,100 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java index 2b7869c933bc..17ed930aaf1e 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * The list of Instance
    * 
@@ -61,6 +82,8 @@ public java.util.List getInstancesLis return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -68,11 +91,13 @@ public java.util.List getInstancesLis * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -84,6 +109,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of Instance
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of Instance
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListInstancesResponse other = (com.google.cloud.alloydb.v1alpha.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1alpha.ListInstancesResponse other = + (com.google.cloud.alloydb.v1alpha.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.ListInstancesResponse) com.google.cloud.alloydb.v1alpha.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, + com.google.cloud.alloydb.v1alpha.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -439,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; } @java.lang.Override @@ -466,14 +510,18 @@ public com.google.cloud.alloydb.v1alpha.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListInstancesResponse result = new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(this); + com.google.cloud.alloydb.v1alpha.ListInstancesResponse result = + new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -500,38 +548,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListInstancesRespons public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -558,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListInstancesResponse 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_); } @@ -607,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * The list of Instance
      * 
@@ -675,6 +736,8 @@ public java.util.List getInstancesLis } } /** + * + * *
      * The list of Instance
      * 
@@ -689,6 +752,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of Instance
      * 
@@ -703,14 +768,15 @@ public com.google.cloud.alloydb.v1alpha.Instance getInstances(int index) { } } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +790,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -742,6 +810,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -762,14 +832,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1alpha.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1alpha.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +854,15 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -801,6 +873,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -819,6 +893,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -829,8 +905,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); @@ -838,6 +913,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -855,6 +932,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of Instance
      * 
@@ -872,39 +951,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +996,8 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * The list of Instance
      * 
@@ -919,42 +1005,48 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -962,18 +1054,20 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1076,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1098,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1136,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1160,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1168,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1212,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1250,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1272,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1331,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListInstancesResponse) private static final com.google.cloud.alloydb.v1alpha.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListInstancesResponse(); } @@ -1224,27 +1357,27 @@ public static com.google.cloud.alloydb.v1alpha.ListInstancesResponse getDefaultI 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; @@ -1259,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java index 970d5b981b11..f8432aa0012a 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * The list of Instance
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1alpha.Instance getInstances(int index); /** + * + * *
    * The list of Instance
    * 
@@ -33,82 +54,100 @@ public interface ListInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1alpha.Instance instances = 1; */ - com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java index 014e79dd82cc..6d788173b439 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +45,32 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -58,7 +81,10 @@ protected java.lang.Object newInstance(
    * flags.
    * 
* - * string parent = 1 [(.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,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -85,17 +112,18 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +134,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +151,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +171,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +250,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other = + (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) 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; } @@ -252,131 +284,138 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.Builder.class); } - // Construct using com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.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(); @@ -388,14 +427,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + .getDefaultInstance(); } @java.lang.Override @@ -409,13 +450,17 @@ public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest build( @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result = + new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +477,51 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabas public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest)other); + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest other) { + if (other + == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +561,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,10 +595,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -555,14 +612,16 @@ public Builder mergeFrom(
      * flags.
      * 
* - * string parent = 1 [(.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; @@ -571,6 +630,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -581,16 +642,17 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -598,6 +660,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -608,19 +672,25 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -631,7 +701,10 @@ public Builder setParent(
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -641,6 +714,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -651,13 +726,17 @@ public Builder clearParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -665,14 +744,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -680,12 +762,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -697,12 +782,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -714,18 +802,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -734,20 +824,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -755,28 +846,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -786,26 +884,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,41 +917,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest(); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,9 +965,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java index bbf42cbff296..73a9c6ae1809 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListSupportedDatabaseFlagsRequestOrBuilder extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -18,11 +36,16 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -33,40 +56,50 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java similarity index 61% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java index 8edb38a78329..884461a5b380 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,94 +45,123 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List supportedDatabaseFlags_; + private java.util.List + supportedDatabaseFlags_; /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags( + int index) { return supportedDatabaseFlags_.get(index); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -122,29 +170,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -153,6 +201,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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 { for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -182,8 +230,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, supportedDatabaseFlags_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -196,17 +245,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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other = + (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList() - .equals(other.getSupportedDatabaseFlagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,131 +279,138 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + 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.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.Builder.class); } - // Construct using com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.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(); @@ -371,14 +427,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + .getDefaultInstance(); } @java.lang.Override @@ -392,14 +450,18 @@ public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse build @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result = + new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -411,7 +473,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListSup } } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -422,46 +485,51 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListSupportedDatabas public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse)other); + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse other) { + if (other + == com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + .getDefaultInstance()) return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -480,9 +548,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseF supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSupportedDatabaseFlagsFieldBuilder() : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSupportedDatabaseFlagsFieldBuilder() + : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -519,30 +588,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,28 +624,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List supportedDatabaseFlags_ = - java.util.Collections.emptyList(); + private java.util.List + supportedDatabaseFlags_ = java.util.Collections.emptyList(); + private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); + supportedDatabaseFlags_ = + new java.util.ArrayList( + supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> + supportedDatabaseFlagsBuilder_; /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -581,11 +665,15 @@ public java.util.List ge } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -595,13 +683,18 @@ public int getSupportedDatabaseFlagsCount() { } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags( + int index) { if (supportedDatabaseFlagsBuilder_ == null) { return supportedDatabaseFlags_.get(index); } else { @@ -609,11 +702,15 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDataba } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { @@ -630,11 +727,15 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -648,13 +749,18 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -668,11 +774,15 @@ public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.Suppor return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag value) { @@ -689,11 +799,15 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -707,11 +821,15 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder builderForValue) { @@ -725,18 +843,22 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addAllSupportedDatabaseFlags( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -744,11 +866,15 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -761,11 +887,15 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -778,39 +908,52 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder + getSupportedDatabaseFlagsBuilder(int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); } else { + return supportedDatabaseFlags_.get(index); + } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -818,45 +961,65 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSuppor } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( - int index) { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder(int index) { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -868,18 +1031,20 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder addSupport private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -888,20 +1053,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,28 +1075,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -940,26 +1113,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,41 +1146,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,9 +1194,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 50% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java index fc6467c85e47..b13fcd201364 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,73 +1,114 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListSupportedDatabaseFlagsResponseOrBuilder extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List + java.util.List getSupportedDatabaseFlagsList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ int getSupportedDatabaseFlagsCount(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag supported_database_flags = 1; + * */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java index 5d12f46c816a..9a7d2e83b150 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersRequest} */ -public final class ListUsersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListUsersRequest) ListUsersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, + com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1alpha.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListUsersRequest other = (com.google.cloud.alloydb.v1alpha.ListUsersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1alpha.ListUsersRequest other = + (com.google.cloud.alloydb.v1alpha.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +393,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListUsersRequest) com.google.cloud.alloydb.v1alpha.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, + com.google.cloud.alloydb.v1alpha.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListUsersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1alpha.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.ListUsersRequest result = new com.google.cloud.alloydb.v1alpha.ListUsersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.ListUsersRequest result = + new com.google.cloud.alloydb.v1alpha.ListUsersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListUsersRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +725,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +754,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +778,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string 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() { @@ -749,17 +820,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +844,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +862,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +882,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +902,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -836,20 +924,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -857,28 +946,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +984,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1008,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -928,20 +1030,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -949,28 +1052,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1090,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1114,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1136,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1158,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1196,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListUsersRequest) private static final com.google.cloud.alloydb.v1alpha.ListUsersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListUsersRequest(); } @@ -1115,27 +1243,27 @@ public static com.google.cloud.alloydb.v1alpha.ListUsersRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java index cdb91a0c8a2a..f071ca7f557c 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListUsersRequestOrBuilder extends +public interface ListUsersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java index 142d5e062661..cdaadca052f1 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersResponse} */ -public final class ListUsersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.ListUsersResponse) ListUsersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, + com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List users_; /** + * + * *
    * The list of User
    * 
@@ -61,6 +82,8 @@ public java.util.List getUsersList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -68,11 +91,13 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -84,6 +109,8 @@ public int getUsersCount() { return users_.size(); } /** + * + * *
    * The list of User
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { return users_.get(index); } /** + * + * *
    * The list of User
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1alpha.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.ListUsersResponse other = (com.google.cloud.alloydb.v1alpha.ListUsersResponse) obj; + com.google.cloud.alloydb.v1alpha.ListUsersResponse other = + (com.google.cloud.alloydb.v1alpha.ListUsersResponse) obj; - if (!getUsersList() - .equals(other.getUsersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getUsersList().equals(other.getUsersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.ListUsersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.ListUsersResponse) com.google.cloud.alloydb.v1alpha.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, + com.google.cloud.alloydb.v1alpha.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.ListUsersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1alpha.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1alpha.ListUsersResponse result = new com.google.cloud.alloydb.v1alpha.ListUsersResponse(this); + com.google.cloud.alloydb.v1alpha.ListUsersResponse result = + new com.google.cloud.alloydb.v1alpha.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.ListUsersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1alpha.ListUsersResponse result) { if (usersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.ListUsersResponse re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.ListUsersResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersResponse other) { - if (other == com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance()) + return this; if (usersBuilder_ == null) { if (!other.users_.isEmpty()) { if (users_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.ListUsersResponse othe usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUsersFieldBuilder() : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUsersFieldBuilder() + : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1alpha.User m = - input.readMessage( - com.google.cloud.alloydb.v1alpha.User.parser(), - extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1alpha.User m = + input.readMessage( + com.google.cloud.alloydb.v1alpha.User.parser(), extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> usersBuilder_; + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> + usersBuilder_; /** + * + * *
      * The list of User
      * 
@@ -675,6 +735,8 @@ public java.util.List getUsersList() { } } /** + * + * *
      * The list of User
      * 
@@ -689,6 +751,8 @@ public int getUsersCount() { } } /** + * + * *
      * The list of User
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1alpha.User getUsers(int index) { } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder setUsers( - int index, com.google.cloud.alloydb.v1alpha.User value) { + public Builder setUsers(int index, com.google.cloud.alloydb.v1alpha.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -742,6 +809,8 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -762,14 +831,15 @@ public Builder addUsers(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder addUsers( - int index, com.google.cloud.alloydb.v1alpha.User value) { + public Builder addUsers(int index, com.google.cloud.alloydb.v1alpha.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public Builder addUsers( - com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder addUsers(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -819,6 +892,8 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -829,8 +904,7 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -838,6 +912,8 @@ public Builder addAllUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -855,6 +931,8 @@ public Builder clearUsers() { return this; } /** + * + * *
      * The list of User
      * 
@@ -872,39 +950,44 @@ public Builder removeUsers(int index) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.User.Builder getUsersBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.User.Builder getUsersBuilder(int index) { return getUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index) { if (usersBuilder_ == null) { - return users_.get(index); } else { + return users_.get(index); + } else { return usersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( } } /** + * + * *
      * The list of User
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder() { - return getUsersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); + return getUsersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder( - int index) { - return getUsersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder(int index) { + return getUsersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - public java.util.List - getUsersBuilderList() { + public java.util.List getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - users_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + usersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1alpha.User.Builder addUsersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.ListUsersResponse) private static final com.google.cloud.alloydb.v1alpha.ListUsersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.ListUsersResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1alpha.ListUsersResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java index 777c7e3a07fb..1ef9cfc50948 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ListUsersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface ListUsersResponseOrBuilder extends +public interface ListUsersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - java.util.List - getUsersList(); + java.util.List getUsersList(); /** + * + * *
    * The list of User
    * 
@@ -25,6 +44,8 @@ public interface ListUsersResponseOrBuilder extends */ com.google.cloud.alloydb.v1alpha.User getUsers(int index); /** + * + * *
    * The list of User
    * 
@@ -33,82 +54,99 @@ public interface ListUsersResponseOrBuilder extends */ int getUsersCount(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - java.util.List - getUsersOrBuilderList(); + java.util.List getUsersOrBuilderList(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1alpha.User users = 1; */ - com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder( - int index); + com.google.cloud.alloydb.v1alpha.UserOrBuilder getUsersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/LocationName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java index 0bb92ef40ad7..48b03a329957 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSource.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.MigrationSource}
  */
-public final class MigrationSource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.MigrationSource)
     MigrationSourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -28,34 +46,38 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.MigrationSource.class, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1alpha.MigrationSource.class,
+            com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Migration source is unknown.
      * 
@@ -64,6 +86,8 @@ public enum MigrationSourceType */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -75,6 +99,8 @@ public enum MigrationSourceType ; /** + * + * *
      * Migration source is unknown.
      * 
@@ -83,6 +109,8 @@ public enum MigrationSourceType */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -91,7 +119,6 @@ public enum MigrationSourceType */ public static final int DMS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,9 +143,12 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: return DMS; - default: return null; + case 0: + return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: + return DMS; + default: + return null; } } @@ -126,28 +156,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MigrationSourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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 MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.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.cloud.alloydb.v1alpha.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -156,8 +186,7 @@ public MigrationSourceType findValueByNumber(int number) { public static MigrationSourceType 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; @@ -175,15 +204,19 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ @java.lang.Override @@ -192,30 +225,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -224,15 +257,19 @@ public java.lang.String getHostPort() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ @java.lang.Override @@ -241,30 +278,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -275,30 +312,46 @@ public java.lang.String getReferenceId() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,15 +363,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ + != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -336,9 +391,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, sourceType_); + if (sourceType_ + != com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,17 +405,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.cloud.alloydb.v1alpha.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.MigrationSource other = (com.google.cloud.alloydb.v1alpha.MigrationSource) obj; + com.google.cloud.alloydb.v1alpha.MigrationSource other = + (com.google.cloud.alloydb.v1alpha.MigrationSource) obj; - if (!getHostPort() - .equals(other.getHostPort())) return false; - if (!getReferenceId() - .equals(other.getReferenceId())) return false; + if (!getHostPort().equals(other.getHostPort())) return false; + if (!getReferenceId().equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -382,99 +438,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.MigrationSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -482,33 +543,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.MigrationSource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.MigrationSource)
       com.google.cloud.alloydb.v1alpha.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.MigrationSource.class, com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1alpha.MigrationSource.class,
+              com.google.cloud.alloydb.v1alpha.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.MigrationSource.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -520,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -541,8 +601,11 @@ public com.google.cloud.alloydb.v1alpha.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1alpha.MigrationSource result = new com.google.cloud.alloydb.v1alpha.MigrationSource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.MigrationSource result =
+          new com.google.cloud.alloydb.v1alpha.MigrationSource(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -564,38 +627,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.MigrationSource resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.MigrationSource)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.MigrationSource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -603,7 +667,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.MigrationSource other) {
-      if (other == com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.MigrationSource.getDefaultInstance())
+        return this;
       if (!other.getHostPort().isEmpty()) {
         hostPort_ = other.hostPort_;
         bitField0_ |= 0x00000001;
@@ -643,27 +708,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              hostPort_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              referenceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              sourceType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                hostPort_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                referenceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                sourceType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -673,23 +742,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
+     *
+     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -698,21 +770,22 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -720,30 +793,37 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPort(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -753,18 +833,22 @@ public Builder clearHostPort() { return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPortBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -774,19 +858,21 @@ public Builder setHostPortBytes( private java.lang.Object referenceId_ = ""; /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -795,21 +881,22 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -817,30 +904,37 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -850,18 +944,22 @@ public Builder clearReferenceId() { return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -871,22 +969,33 @@ public Builder setReferenceIdBytes( private int sourceType_ = 0; /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -897,28 +1006,43 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.forNumber( + sourceType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType(com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType value) { + public Builder setSourceType( + com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -928,11 +1052,16 @@ public Builder setSourceType(com.google.cloud.alloydb.v1alpha.MigrationSource.Mi return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -941,9 +1070,9 @@ public Builder clearSourceType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.MigrationSource) private static final com.google.cloud.alloydb.v1alpha.MigrationSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.MigrationSource(); } @@ -967,27 +1096,27 @@ public static com.google.cloud.alloydb.v1alpha.MigrationSource getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java index 5c4e7523c69b..ec33f4b0a263 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/MigrationSourceOrBuilder.java @@ -1,71 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface MigrationSourceOrBuilder extends +public interface MigrationSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.MigrationSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ java.lang.String getHostPort(); /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString - getHostPortBytes(); + com.google.protobuf.ByteString getHostPortBytes(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ java.lang.String getReferenceId(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString - getReferenceIdBytes(); + com.google.protobuf.ByteString getReferenceIdBytes(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ com.google.cloud.alloydb.v1alpha.MigrationSource.MigrationSourceType getSourceType(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java index 030bcc19c55e..b0340273b89a 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,33 +46,38 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.OperationMetadata.class, com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1alpha.OperationMetadata.class, + com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object requestSpecific_; + public enum RequestSpecificCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; + private RequestSpecificCase(int value) { this.value = value; } @@ -70,29 +93,36 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: return BATCH_CREATE_INSTANCES_METADATA; - case 0: return REQUESTSPECIFIC_NOT_SET; - default: return null; + case 8: + return BATCH_CREATE_INSTANCES_METADATA; + case 0: + return REQUESTSPECIFIC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -100,31 +130,42 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -132,11 +173,15 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder ge public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -144,11 +189,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -156,11 +205,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -170,11 +222,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -182,11 +238,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -194,11 +254,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -206,14 +269,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -222,29 +289,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -253,14 +320,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -269,29 +340,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -300,14 +371,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -316,29 +391,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -349,6 +424,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -358,6 +435,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -366,14 +444,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -382,29 +464,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -413,6 +495,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -448,7 +530,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage( + 8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -460,12 +543,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -477,15 +558,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -495,38 +576,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.cloud.alloydb.v1alpha.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.OperationMetadata other = (com.google.cloud.alloydb.v1alpha.OperationMetadata) obj; + com.google.cloud.alloydb.v1alpha.OperationMetadata other = + (com.google.cloud.alloydb.v1alpha.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata() - .equals(other.getBatchCreateInstancesMetadata())) return false; + if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) + return false; break; case 0: default: @@ -557,8 +632,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -575,131 +649,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.OperationMetadata) com.google.cloud.alloydb.v1alpha.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.OperationMetadata.class, com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1alpha.OperationMetadata.class, + com.google.cloud.alloydb.v1alpha.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.OperationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -728,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; } @java.lang.Override @@ -749,8 +827,11 @@ public com.google.cloud.alloydb.v1alpha.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1alpha.OperationMetadata result = new com.google.cloud.alloydb.v1alpha.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.OperationMetadata result = + new com.google.cloud.alloydb.v1alpha.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -759,14 +840,10 @@ public com.google.cloud.alloydb.v1alpha.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -788,8 +865,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.OperationMetadata re private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && - batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -798,38 +874,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.OperationMetada public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.OperationMetadata)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -837,7 +914,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.OperationMetadata other) { - if (other == com.google.cloud.alloydb.v1alpha.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -868,13 +946,15 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.OperationMetadata othe onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: + { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -902,58 +982,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), - extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -963,12 +1047,12 @@ public Builder mergeFrom( } // finally return this; } + private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -981,13 +1065,21 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> + batchCreateInstancesMetadataBuilder_; /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -995,15 +1087,21 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_; @@ -1017,13 +1115,18 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCre } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1037,11 +1140,15 @@ public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alpha. return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1055,18 +1162,29 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 && - requestSpecific_ != com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance()) { - requestSpecific_ = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_) - .mergeFrom(value).buildPartial(); + if (requestSpecificCase_ == 8 + && requestSpecific_ + != com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata + .getDefaultInstance()) { + requestSpecific_ = + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.newBuilder( + (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) + requestSpecific_) + .mergeFrom(value) + .buildPartial(); } else { requestSpecific_ = value; } @@ -1082,11 +1200,15 @@ public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1alph return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1105,24 +1227,34 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder + getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1133,21 +1265,31 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder ge } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1160,39 +1302,58 @@ public com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder ge 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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1208,14 +1369,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1226,17 +1390,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1249,11 +1417,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1266,11 +1438,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1278,36 +1454,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1315,24 +1503,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1343,11 +1542,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1363,14 +1565,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1381,17 +1585,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1404,11 +1611,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1421,11 +1631,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1433,36 +1646,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1470,18 +1691,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1490,20 +1713,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1511,28 +1735,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1542,17 +1773,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1562,18 +1797,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1582,20 +1819,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1603,28 +1841,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1634,17 +1879,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1654,18 +1903,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1674,20 +1925,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1695,28 +1947,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1726,17 +1985,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -1744,8 +2007,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1755,6 +2020,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1762,6 +2028,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1771,6 +2039,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1782,6 +2051,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1791,6 +2062,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1802,18 +2074,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1822,20 +2096,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1843,28 +2118,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1874,26 +2156,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1903,12 +2189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.OperationMetadata) private static final com.google.cloud.alloydb.v1alpha.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.OperationMetadata(); } @@ -1917,27 +2203,27 @@ public static com.google.cloud.alloydb.v1alpha.OperationMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,6 +2238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java index 9c6da1f96dc4..1d958d893b2e 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/OperationMetadataOrBuilder.java @@ -1,154 +1,224 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1alpha.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -158,29 +228,35 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); com.google.cloud.alloydb.v1alpha.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java index b18943d0ca84..541c150dcf43 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.PromoteClusterRequest) PromoteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1alpha.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other = (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other = + (com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,143 @@ 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.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.PromoteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.PromoteClusterRequest) com.google.cloud.alloydb.v1alpha.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -487,8 +525,11 @@ public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest result = new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.PromoteClusterRequest result = + new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +554,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.PromoteClusterReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +680,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.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; @@ -657,21 +710,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +735,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string 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() { @@ -712,18 +779,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +806,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +825,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +840,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +859,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +874,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +893,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +926,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +936,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +955,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +972,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -892,13 +981,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +996,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -914,15 +1005,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1020,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -937,18 +1029,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -956,6 +1052,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1062,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -972,12 +1071,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1086,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1104,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1124,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1141,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1alpha.PromoteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.PromoteClusterRequest(); } @@ -1057,27 +1167,27 @@ public static com.google.cloud.alloydb.v1alpha.PromoteClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1202,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java index 9875f4c51ea1..ecb288bc558e 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/PromoteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface PromoteClusterRequestOrBuilder extends +public interface PromoteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,18 +127,21 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java new file mode 100644 index 000000000000..928a78555334 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java @@ -0,0 +1,936 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_cloud_alloydb_v1alpha_UserPassword_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_User_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/cloud/alloydb/v1alpha/resources" + + ".proto\022\034google.cloud.alloydb.v1alpha\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032\036google/protobuf/durati" + + "on.proto\032\037google/protobuf/timestamp.prot" + + "o\032\036google/protobuf/wrappers.proto\032\033googl" + + "e/type/dayofweek.proto\032\033google/type/time" + + "ofday.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(" + + "\t\022\020\n\010password\030\002 \001(\t\"\353\001\n\017MigrationSource\022" + + "\027\n\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id" + + "\030\002 \001(\tB\004\342A\001\003\022\\\n\013source_type\030\003 \001(\0162A.goog" + + "le.cloud.alloydb.v1alpha.MigrationSource" + + ".MigrationSourceTypeB\004\342A\001\003\"E\n\023MigrationS" + + "ourceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPE" + + "CIFIED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n" + + "\014kms_key_name\030\001 \001(\t\"\215\002\n\016EncryptionInfo\022P" + + "\n\017encryption_type\030\001 \001(\01621.google.cloud.a" + + "lloydb.v1alpha.EncryptionInfo.TypeB\004\342A\001\003" + + "\022K\n\020kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(clo" + + "udkms.googleapis.com/CryptoKeyVersion\"\\\n" + + "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" + + "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" + + "NCRYPTION\020\002\"\212\003\n\tSslConfig\022G\n\010ssl_mode\030\001 " + + "\001(\0162/.google.cloud.alloydb.v1alpha.SslCo" + + "nfig.SslModeB\004\342A\001\001\022I\n\tca_source\030\002 \001(\01620." + + "google.cloud.alloydb.v1alpha.SslConfig.C" + + "aSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UN" + + "SPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020S" + + "SL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY" + + "_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRY" + + "PTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031" + + "\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_M" + + "ANAGED\020\001\"\377\006\n\025AutomatedBackupPolicy\022]\n\017we" + + "ekly_schedule\030\002 \001(\0132B.google.cloud.alloy" + + "db.v1alpha.AutomatedBackupPolicy.WeeklyS" + + "cheduleH\000\022f\n\024time_based_retention\030\004 \001(\0132" + + "F.google.cloud.alloydb.v1alpha.Automated" + + "BackupPolicy.TimeBasedRetentionH\001\022n\n\030qua" + + "ntity_based_retention\030\005 \001(\0132J.google.clo" + + "ud.alloydb.v1alpha.AutomatedBackupPolicy" + + ".QuantityBasedRetentionH\001\022\024\n\007enabled\030\001 \001" + + "(\010H\002\210\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google." + + "protobuf.Duration\022O\n\021encryption_config\030\010" + + " \001(\0132..google.cloud.alloydb.v1alpha.Encr" + + "yptionConfigB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022O\n\006" + + "labels\030\007 \003(\0132?.google.cloud.alloydb.v1al" + + "pha.AutomatedBackupPolicy.LabelsEntry\032k\n" + + "\016WeeklySchedule\022+\n\013start_times\030\001 \003(\0132\026.g" + + "oogle.type.TimeOfDay\022,\n\014days_of_week\030\002 \003" + + "(\0162\026.google.type.DayOfWeek\032I\n\022TimeBasedR" + + "etention\0223\n\020retention_period\030\001 \001(\0132\031.goo" + + "gle.protobuf.Duration\032\'\n\026QuantityBasedRe" + + "tention\022\r\n\005count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010schedul" + + "eB\013\n\tretentionB\n\n\010_enabled\"\243\001\n\026Continuou" + + "sBackupConfig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024r" + + "ecovery_window_days\030\004 \001(\005\022I\n\021encryption_" + + "config\030\003 \001(\0132..google.cloud.alloydb.v1al" + + "pha.EncryptionConfigB\n\n\010_enabled\"\217\002\n\024Con" + + "tinuousBackupInfo\022K\n\017encryption_info\030\001 \001" + + "(\0132,.google.cloud.alloydb.v1alpha.Encryp" + + "tionInfoB\004\342A\001\003\0226\n\014enabled_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\022.\n\010schedu" + + "le\030\003 \003(\0162\026.google.type.DayOfWeekB\004\342A\001\003\022B" + + "\n\030earliest_restorable_time\030\004 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\"e\n\014BackupSour" + + "ce\022\030\n\nbackup_uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_n" + + "ame\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.c" + + "om/Backup\"h\n\026ContinuousBackupSource\022\025\n\007c" + + "luster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\002\"\256\022\n\007" + + "Cluster\022I\n\rbackup_source\030\017 \001(\0132*.google." + + "cloud.alloydb.v1alpha.BackupSourceB\004\342A\001\003" + + "H\000\022O\n\020migration_source\030\020 \001(\0132-.google.cl" + + "oud.alloydb.v1alpha.MigrationSourceB\004\342A\001" + + "\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030" + + "\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + + "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels\030" + + "\007 \003(\01321.google.cloud.alloydb.v1alpha.Clu" + + "ster.LabelsEntry\022@\n\005state\030\010 \001(\0162+.google" + + ".cloud.alloydb.v1alpha.Cluster.StateB\004\342A" + + "\001\003\022M\n\014cluster_type\030\030 \001(\01621.google.cloud." + + "alloydb.v1alpha.Cluster.ClusterTypeB\004\342A\001" + + "\003\022M\n\020database_version\030\t \001(\0162-.google.clo" + + "ud.alloydb.v1alpha.DatabaseVersionB\004\342A\001\001" + + "\022Q\n\016network_config\030\035 \001(\01323.google.cloud." + + "alloydb.v1alpha.Cluster.NetworkConfigB\004\342" + + "A\001\001\022:\n\007network\030\n \001(\tB)\030\001\342A\001\002\372A \n\036compute" + + ".googleapis.com/Network\022\014\n\004etag\030\013 \001(\t\022K\n" + + "\013annotations\030\014 \003(\01326.google.cloud.alloyd" + + "b.v1alpha.Cluster.AnnotationsEntry\022\031\n\013re" + + "conciling\030\r \001(\010B\004\342A\001\003\022F\n\014initial_user\030\016 " + + "\001(\0132*.google.cloud.alloydb.v1alpha.UserP" + + "asswordB\004\342A\001\004\022T\n\027automated_backup_policy" + + "\030\021 \001(\01323.google.cloud.alloydb.v1alpha.Au" + + "tomatedBackupPolicy\022?\n\nssl_config\030\022 \001(\0132" + + "\'.google.cloud.alloydb.v1alpha.SslConfig" + + "B\002\030\001\022O\n\021encryption_config\030\023 \001(\0132..google" + + ".cloud.alloydb.v1alpha.EncryptionConfigB" + + "\004\342A\001\001\022K\n\017encryption_info\030\024 \001(\0132,.google." + + "cloud.alloydb.v1alpha.EncryptionInfoB\004\342A" + + "\001\003\022\\\n\030continuous_backup_config\030\033 \001(\01324.g" + + "oogle.cloud.alloydb.v1alpha.ContinuousBa" + + "ckupConfigB\004\342A\001\001\022X\n\026continuous_backup_in" + + "fo\030\034 \001(\01322.google.cloud.alloydb.v1alpha." + + "ContinuousBackupInfoB\004\342A\001\003\022O\n\020secondary_" + + "config\030\026 \001(\01325.google.cloud.alloydb.v1al" + + "pha.Cluster.SecondaryConfig\022Q\n\016primary_c" + + "onfig\030\027 \001(\01323.google.cloud.alloydb.v1alp" + + "ha.Cluster.PrimaryConfigB\004\342A\001\003\022\025\n\rsatisf" + + "ies_pzs\030\036 \001(\010\032k\n\rNetworkConfig\0228\n\007networ" + + "k\030\001 \001(\tB\'\342A\001\002\372A \n\036compute.googleapis.com" + + "/Network\022 \n\022allocated_ip_range\030\002 \001(\tB\004\342A" + + "\001\001\032/\n\017SecondaryConfig\022\034\n\024primary_cluster" + + "_name\030\001 \001(\t\0326\n\rPrimaryConfig\022%\n\027secondar" + + "y_cluster_names\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020An" + + "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CR" + + "EATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBO" + + "OTSTRAPPING\020\007\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOT" + + "ING\020\t\"G\n\013ClusterType\022\034\n\030CLUSTER_TYPE_UNS" + + "PECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b" + + "\352A_\n\036alloydb.googleapis.com/Cluster\022:pro" + + "jects/{project}/locations/{location}/clu" + + "sters/{cluster}R\001\001B\010\n\006source\"\323\024\n\010Instanc" + + "e\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 " + + "\001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + + "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + + "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\022B\n\006labels\030\007 " + + "\003(\01322.google.cloud.alloydb.v1alpha.Insta" + + "nce.LabelsEntry\022A\n\005state\030\010 \001(\0162,.google." + + "cloud.alloydb.v1alpha.Instance.StateB\004\342A" + + "\001\003\022P\n\rinstance_type\030\t \001(\01623.google.cloud" + + ".alloydb.v1alpha.Instance.InstanceTypeB\004" + + "\342A\001\002\022L\n\016machine_config\030\n \001(\01324.google.cl" + + "oud.alloydb.v1alpha.Instance.MachineConf" + + "ig\022R\n\021availability_type\030\013 \001(\01627.google.c" + + "loud.alloydb.v1alpha.Instance.Availabili" + + "tyType\022\020\n\010gce_zone\030\014 \001(\t\022Q\n\016database_fla" + + "gs\030\r \003(\01329.google.cloud.alloydb.v1alpha." + + "Instance.DatabaseFlagsEntry\022H\n\rwritable_" + + "node\030\023 \001(\0132+.google.cloud.alloydb.v1alph" + + "a.Instance.NodeB\004\342A\001\003\022@\n\005nodes\030\024 \003(\0132+.g" + + "oogle.cloud.alloydb.v1alpha.Instance.Nod" + + "eB\004\342A\001\003\022a\n\025query_insights_config\030\025 \001(\0132B" + + ".google.cloud.alloydb.v1alpha.Instance.Q" + + "ueryInsightsInstanceConfig\022O\n\020read_pool_" + + "config\030\016 \001(\01325.google.cloud.alloydb.v1al" + + "pha.Instance.ReadPoolConfig\022\030\n\nip_addres" + + "s\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\020 \001(\010B\004\342A\001\003" + + "\022\014\n\004etag\030\021 \001(\t\022L\n\013annotations\030\022 \003(\01327.go" + + "ogle.cloud.alloydb.v1alpha.Instance.Anno" + + "tationsEntry\022J\n\rupdate_policy\030\026 \001(\01323.go" + + "ogle.cloud.alloydb.v1alpha.Instance.Upda" + + "tePolicy\022e\n\030client_connection_config\030\027 \001" + + "(\0132=.google.cloud.alloydb.v1alpha.Instan" + + "ce.ClientConnectionConfigB\004\342A\001\001\022\025\n\rsatis" + + "fies_pzs\030\030 \001(\010\032\"\n\rMachineConfig\022\021\n\tcpu_c" + + "ount\030\001 \001(\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002i" + + "d\030\002 \001(\t\022\n\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033Q" + + "ueryInsightsInstanceConfig\022$\n\027record_app" + + "lication_tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_clien" + + "t_address\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_len" + + "gth\030\004 \001(\r\022#\n\026query_plans_per_minute\030\005 \001(" + + "\rH\002\210\001\001B\032\n\030_record_application_tagsB\030\n\026_r" + + "ecord_client_addressB\031\n\027_query_plans_per" + + "_minute\032$\n\016ReadPoolConfig\022\022\n\nnode_count\030" + + "\001 \001(\005\032\222\001\n\014UpdatePolicy\022F\n\004mode\030\001 \001(\01628.g" + + "oogle.cloud.alloydb.v1alpha.Instance.Upd" + + "atePolicy.Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFI" + + "ED\020\000\022\013\n\007DEFAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032}\n\026Cl" + + "ientConnectionConfig\022 \n\022require_connecto" + + "rs\030\001 \001(\010B\004\342A\001\001\022A\n\nssl_config\030\002 \001(\0132\'.goo" + + "gle.cloud.alloydb.v1alpha.SslConfigB\004\342A\001" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013" + + "\n\007STOPPED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022" + + "\017\n\013MAINTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRA" + + "PPING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035" + + "\n\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY" + + "\020\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Avai" + + "labilityType\022!\n\035AVAILABILITY_TYPE_UNSPEC" + + "IFIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037a" + + "lloydb.googleapis.com/Instance\022Oprojects" + + "/{project}/locations/{location}/clusters" + + "/{cluster}/instances/{instance}R\001\001\"\211\002\n\016C" + + "onnectionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_addres" + + "s\030\002 \001(\tB\004\342A\001\003\022%\n\025pem_certificate_chain\030\003" + + " \003(\tB\006\030\001\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003" + + ":\213\001\352A\207\001\n%alloydb.googleapis.com/Connecti" + + "onInfo\022^projects/{project}/locations/{lo" + + "cation}/clusters/{cluster}/instances/{in" + + "stance}/connectionInfo\"\366\013\n\006Backup\022\022\n\004nam" + + "e\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003u" + + "id\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update_" + + "time\030\005 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\003\0225\n\013delete_time\030\017 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\01320.go" + + "ogle.cloud.alloydb.v1alpha.Backup.Labels" + + "Entry\022?\n\005state\030\007 \001(\0162*.google.cloud.allo" + + "ydb.v1alpha.Backup.StateB\004\342A\001\003\0227\n\004type\030\010" + + " \001(\0162).google.cloud.alloydb.v1alpha.Back" + + "up.Type\022\023\n\013description\030\t \001(\t\022\031\n\013cluster_" + + "uid\030\022 \001(\tB\004\342A\001\003\022=\n\014cluster_name\030\n \001(\tB\'\342" + + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\031" + + "\n\013reconciling\030\013 \001(\010B\004\342A\001\003\022O\n\021encryption_" + + "config\030\014 \001(\0132..google.cloud.alloydb.v1al" + + "pha.EncryptionConfigB\004\342A\001\001\022K\n\017encryption" + + "_info\030\r \001(\0132,.google.cloud.alloydb.v1alp" + + "ha.EncryptionInfoB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022J\n" + + "\013annotations\030\020 \003(\01325.google.cloud.alloyd" + + "b.v1alpha.Backup.AnnotationsEntry\022\030\n\nsiz" + + "e_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030\023 \001(\013" + + "2\032.google.protobuf.TimestampB\004\342A\001\003\022W\n\017ex" + + "piry_quantity\030\024 \001(\01328.google.cloud.alloy" + + "db.v1alpha.Backup.QuantityBasedExpiryB\004\342" + + "A\001\003\022\025\n\rsatisfies_pzs\030\025 \001(\010\022M\n\020database_v" + + "ersion\030\026 \001(\0162-.google.cloud.alloydb.v1al" + + "pha.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBas" + + "edExpiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022" + + "#\n\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAIL" + + "ED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016" + + "\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis." + + "com/Backup\0228projects/{project}/locations" + + "/{location}/backups/{backup}R\001\001\"\334\006\n\025Supp" + + "ortedDatabaseFlag\022e\n\023string_restrictions" + + "\030\007 \001(\0132F.google.cloud.alloydb.v1alpha.Su" + + "pportedDatabaseFlag.StringRestrictionsH\000" + + "\022g\n\024integer_restrictions\030\010 \001(\0132G.google." + + "cloud.alloydb.v1alpha.SupportedDatabaseF" + + "lag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022" + + "\021\n\tflag_name\030\002 \001(\t\022Q\n\nvalue_type\030\003 \001(\0162=" + + ".google.cloud.alloydb.v1alpha.SupportedD" + + "atabaseFlag.ValueType\022\037\n\027accepts_multipl" + + "e_values\030\004 \001(\010\022L\n\025supported_db_versions\030" + + "\005 \003(\0162-.google.cloud.alloydb.v1alpha.Dat" + + "abaseVersion\022\033\n\023requires_db_restart\030\006 \001(" + + "\010\032,\n\022StringRestrictions\022\026\n\016allowed_value" + + "s\030\001 \003(\t\032u\n\023IntegerRestrictions\022.\n\tmin_va" + + "lue\030\001 \001(\0132\033.google.protobuf.Int64Value\022." + + "\n\tmax_value\030\002 \001(\0132\033.google.protobuf.Int6" + + "4Value\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPEC" + + "IFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOA" + + "T\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloydb.googleapis.c" + + "om/SupportedDatabaseFlag\0224projects/{proj" + + "ect}/locations/{location}/flags/{flag}B\016" + + "\n\014restrictions\"\327\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\022\026\n\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_" + + "roles\030\004 \003(\tB\004\342A\001\001\022D\n\tuser_type\030\005 \001(\0162+.g" + + "oogle.cloud.alloydb.v1alpha.User.UserTyp" + + "eB\004\342A\001\001\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECI" + + "FIED\020\000\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_" + + "IAM_USER\020\002:l\352Ai\n\033alloydb.googleapis.com/" + + "User\022Gprojects/{project}/locations/{loca" + + "tion}/clusters/{cluster}/users/{user}R\001\001" + + "*^\n\014InstanceView\022\035\n\031INSTANCE_VIEW_UNSPEC" + + "IFIED\020\000\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INST" + + "ANCE_VIEW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUST" + + "ER_VIEW_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BA" + + "SIC\020\001\022\"\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020" + + "\002*j\n\017DatabaseVersion\022 \n\034DATABASE_VERSION" + + "_UNSPECIFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013P" + + "OSTGRES_14\020\002\022\017\n\013POSTGRES_15\020\003B\313\003\n com.go" + + "ogle.cloud.alloydb.v1alphaB\016ResourcesPro" + + "toP\001Z:cloud.google.com/go/alloydb/apiv1a" + + "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud." + + "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V" + + "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha" + + "\352A\246\001\n(cloudkms.googleapis.com/CryptoKeyV" + + "ersion\022zprojects/{project}/locations/{lo" + + "cation}/keyRings/{key_ring}/cryptoKeys/{" + + "crypto_key}/cryptoKeyVersions/{crypto_ke" + + "y_version}\352AN\n\036compute.googleapis.com/Ne" + + "twork\022,projects/{project}/global/network" + + "s/{network}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor, + new java.lang.String[] { + "User", "Password", + }); + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor, + new java.lang.String[] { + "HostPort", "ReferenceId", "SourceType", + }); + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyVersions", + }); + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor, + new java.lang.String[] { + "SslMode", "CaSource", + }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { + "WeeklySchedule", + "TimeBasedRetention", + "QuantityBasedRetention", + "Enabled", + "BackupWindow", + "EncryptionConfig", + "Location", + "Labels", + "Schedule", + "Retention", + "Enabled", + }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { + "StartTimes", "DaysOfWeek", + }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { + "RetentionPeriod", + }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { + "Count", + }); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor, + new java.lang.String[] { + "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", + }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor, + new java.lang.String[] { + "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", + }); + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor, + new java.lang.String[] { + "BackupUid", "BackupName", + }); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor, + new java.lang.String[] { + "Cluster", "PointInTime", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor, + new java.lang.String[] { + "BackupSource", + "MigrationSource", + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "ClusterType", + "DatabaseVersion", + "NetworkConfig", + "Network", + "Etag", + "Annotations", + "Reconciling", + "InitialUser", + "AutomatedBackupPolicy", + "SslConfig", + "EncryptionConfig", + "EncryptionInfo", + "ContinuousBackupConfig", + "ContinuousBackupInfo", + "SecondaryConfig", + "PrimaryConfig", + "SatisfiesPzs", + "Source", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { + "Network", "AllocatedIpRange", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { + "PrimaryClusterName", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { + "SecondaryClusterNames", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "InstanceType", + "MachineConfig", + "AvailabilityType", + "GceZone", + "DatabaseFlags", + "WritableNode", + "Nodes", + "QueryInsightsConfig", + "ReadPoolConfig", + "IpAddress", + "Reconciling", + "Etag", + "Annotations", + "UpdatePolicy", + "ClientConnectionConfig", + "SatisfiesPzs", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor, + new java.lang.String[] { + "CpuCount", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor, + new java.lang.String[] { + "ZoneId", "Id", "Ip", "State", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { + "RecordApplicationTags", + "RecordClientAddress", + "QueryStringLength", + "QueryPlansPerMinute", + "RecordApplicationTags", + "RecordClientAddress", + "QueryPlansPerMinute", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { + "NodeCount", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor, + new java.lang.String[] { + "Mode", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { + "RequireConnectors", "SslConfig", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor, + new java.lang.String[] { + "Name", "IpAddress", "PemCertificateChain", "InstanceUid", + }); + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "Type", + "Description", + "ClusterUid", + "ClusterName", + "Reconciling", + "EncryptionConfig", + "EncryptionInfo", + "Etag", + "Annotations", + "SizeBytes", + "ExpiryTime", + "ExpiryQuantity", + "SatisfiesPzs", + "DatabaseVersion", + }); + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { + "RetentionCount", "TotalRetentionCount", + }); + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { + "StringRestrictions", + "IntegerRestrictions", + "Name", + "FlagName", + "ValueType", + "AcceptsMultipleValues", + "SupportedDbVersions", + "RequiresDbRestart", + "Restrictions", + }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { + "AllowedValues", + }); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { + "MinValue", "MaxValue", + }); + internal_static_google_cloud_alloydb_v1alpha_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_User_descriptor, + new java.lang.String[] { + "Name", "Password", "DatabaseRoles", "UserType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java index fef2e23777cd..04447d4ec1b6 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -/** - * Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} - */ -public final class RestartInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} */ +public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.RestartInstanceRequest) RestartInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -22,34 +36,41 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 @@ -58,30 +79,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -90,9 +113,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -110,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -118,14 +145,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -143,16 +171,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -163,12 +190,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -177,6 +207,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,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_); } @@ -215,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,19 +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.cloud.alloydb.v1alpha.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other = (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,135 +282,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1alpha.RestartInstanceRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1alpha.RestartInstanceRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.RestartInstanceRequest) com.google.cloud.alloydb.v1alpha.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -416,8 +443,11 @@ public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest result = new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.RestartInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -439,38 +469,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestartInstanceReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -478,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -518,27 +550,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,23 +584,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -573,21 +614,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -595,30 +639,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -628,18 +683,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -649,6 +710,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,13 +729,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -681,6 +744,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -698,15 +763,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -714,6 +778,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -731,18 +797,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -760,6 +830,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -769,6 +840,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -786,12 +859,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -799,14 +874,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -814,12 +892,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -831,12 +912,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -845,9 +929,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -857,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.RestartInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.RestartInstanceRequest(); } @@ -871,27 +955,27 @@ public static com.google.cloud.alloydb.v1alpha.RestartInstanceRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +990,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java index 2898ccdac6d3..0bba45e5e5f3 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestartInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface RestartInstanceRequestOrBuilder extends +public interface RestartInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java index 97e03e0a1980..a6359f5f4ee5 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -28,34 +46,39 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ServiceProto
+        .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class,
+            com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -71,30 +94,36 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4: return BACKUP_SOURCE;
-        case 8: return CONTINUOUS_BACKUP_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 4:
+          return BACKUP_SOURCE;
+        case 8:
+          return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -102,21 +131,26 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } /** + * + * *
    * Backup source.
    * 
@@ -126,19 +160,22 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.BackupSource) source_; } return com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -146,22 +183,27 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance(); } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -170,23 +212,30 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBack
    * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder
+      getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-       return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_;
+      return (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -195,30 +244,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -227,14 +278,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -243,29 +298,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -276,11 +331,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -288,33 +348,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -332,6 +408,7 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -340,14 +417,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -365,16 +443,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -385,6 +462,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -392,6 +471,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -400,6 +480,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,8 +492,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -450,23 +530,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.alloydb.v1alpha.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -476,35 +556,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.cloud.alloydb.v1alpha.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other = (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other = + (com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource() - .equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -531,8 +605,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -551,98 +624,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -650,33 +729,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.RestoreClusterRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.RestoreClusterRequest)
       com.google.cloud.alloydb.v1alpha.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class,
+              com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +780,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ServiceProto
+          .internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -723,8 +801,11 @@ public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result = new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result =
+          new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -739,9 +820,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestoreClusterReques
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null
-            ? cluster_
-            : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -754,12 +833,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.RestoreClusterReques
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 &&
-          continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -768,38 +845,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.RestoreClusterR
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -807,7 +885,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -830,17 +909,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case CONTINUOUS_BACKUP_SOURCE: {
-          mergeContinuousBackupSource(other.getContinuousBackupSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case CONTINUOUS_BACKUP_SOURCE:
+          {
+            mergeContinuousBackupSource(other.getContinuousBackupSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -868,53 +950,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              clusterId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getClusterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 48: {
-              validateOnly_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 48
-            case 66: {
-              input.readMessage(
-                  getContinuousBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 48:
+              {
+                validateOnly_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 48
+            case 66:
+              {
+                input.readMessage(
+                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -924,12 +1009,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() {
@@ -942,13 +1027,19 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1alpha.BackupSource,
+            com.google.cloud.alloydb.v1alpha.BackupSource.Builder,
+            com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -956,11 +1047,14 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override @@ -978,6 +1072,8 @@ public com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource() { } } /** + * + * *
      * Backup source.
      * 
@@ -998,6 +1094,8 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource val return this; } /** + * + * *
      * Backup source.
      * 
@@ -1016,6 +1114,8 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Backup source.
      * 
@@ -1024,10 +1124,13 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 && - source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 4 + && source_ != com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1alpha.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1alpha.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1043,6 +1146,8 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1alpha.BackupSource v return this; } /** + * + * *
      * Backup source.
      * 
@@ -1066,6 +1171,8 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Backup source.
      * 
@@ -1076,6 +1183,8 @@ public com.google.cloud.alloydb.v1alpha.BackupSource.Builder getBackupSourceBuil return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Backup source.
      * 
@@ -1094,6 +1203,8 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } } /** + * + * *
      * Backup source.
      * 
@@ -1101,14 +1212,19 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.BackupSource, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder, + com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1alpha.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.BackupSource, com.google.cloud.alloydb.v1alpha.BackupSource.Builder, com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.BackupSource, + com.google.cloud.alloydb.v1alpha.BackupSource.Builder, + com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.BackupSource) source_, getParentForChildren(), isClean()); @@ -1120,14 +1236,21 @@ public com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> + continuousBackupSourceBuilder_; /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1135,12 +1258,16 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * + * * @return The continuousBackupSource. */ @java.lang.Override @@ -1158,14 +1285,18 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBack } } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ - public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { + public Builder setContinuousBackupSource( + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1179,12 +1310,15 @@ public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1alpha.Contin return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ public Builder setContinuousBackupSource( com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder builderForValue) { @@ -1198,19 +1332,27 @@ public Builder setContinuousBackupSource( return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ - public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { + public Builder mergeContinuousBackupSource( + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { - if (sourceCase_ == 8 && - source_ != com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 8 + && source_ + != com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.newBuilder( + (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1226,12 +1368,15 @@ public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1alpha.Cont return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ public Builder clearContinuousBackupSource() { if (continuousBackupSourceBuilder_ == null) { @@ -1250,26 +1395,34 @@ public Builder clearContinuousBackupSource() { return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ - public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder + getContinuousBackupSourceBuilder() { return getContinuousBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() { + public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder + getContinuousBackupSourceOrBuilder() { if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) { return continuousBackupSourceBuilder_.getMessageOrBuilder(); } else { @@ -1280,22 +1433,30 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getConti } } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder> getContinuousBackupSourceFieldBuilder() { if (continuousBackupSourceBuilder_ == null) { if (!(sourceCase_ == 8)) { source_ = com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.getDefaultInstance(); } - continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder>( + continuousBackupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder>( (com.google.cloud.alloydb.v1alpha.ContinuousBackupSource) source_, getParentForChildren(), isClean()); @@ -1308,19 +1469,23 @@ public com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getConti private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -1329,21 +1494,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -1351,30 +1519,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -1384,18 +1563,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1405,18 +1590,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1425,20 +1612,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1446,28 +1634,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1477,17 +1672,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1497,39 +1696,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -1545,14 +1763,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1563,17 +1784,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1586,11 +1811,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1603,11 +1832,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1615,36 +1848,48 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1652,6 +1897,8 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1669,13 +1916,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1684,6 +1931,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1701,15 +1950,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1717,6 +1965,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1734,18 +1984,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1763,6 +2017,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1772,6 +2027,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1789,12 +2046,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -1802,8 +2061,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1811,6 +2072,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1818,6 +2080,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1825,6 +2089,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1836,6 +2101,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1843,6 +2110,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1851,9 +2119,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1863,12 +2131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1alpha.RestoreClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.RestoreClusterRequest(); } @@ -1877,27 +2145,27 @@ public static com.google.cloud.alloydb.v1alpha.RestoreClusterRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1912,6 +2180,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java index 0f04bc3875d4..c7bbf32125f4 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/RestoreClusterRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface RestoreClusterRequestOrBuilder extends +public interface RestoreClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1alpha.BackupSource backup_source = 4; + * * @return The backupSource. */ com.google.cloud.alloydb.v1alpha.BackupSource getBackupSource(); /** + * + * *
    * Backup source.
    * 
@@ -35,26 +59,34 @@ public interface RestoreClusterRequestOrBuilder extends com.google.cloud.alloydb.v1alpha.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1alpha.ContinuousBackupSource getContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -62,78 +94,109 @@ public interface RestoreClusterRequestOrBuilder extends
    *
    * .google.cloud.alloydb.v1alpha.ContinuousBackupSource continuous_backup_source = 8;
    */
-  com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
+  com.google.cloud.alloydb.v1alpha.ContinuousBackupSourceOrBuilder
+      getContinuousBackupSourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -151,10 +214,13 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -172,12 +238,14 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -185,6 +253,7 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java new file mode 100644 index 000000000000..3dad463d7709 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java @@ -0,0 +1,995 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/service.proto + +package com.google.cloud.alloydb.v1alpha; + +public final class ServiceProto { + private ServiceProto() {} + + 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_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_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/cloud/alloydb/v1alpha/service.p" + + "roto\022\034google.cloud.alloydb.v1alpha\032\034goog" + + "le/api/annotations.proto\032\027google/api/cli" + + "ent.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032,google/cl" + + "oud/alloydb/v1alpha/resources.proto\032#goo" + + "gle/longrunning/operations.proto\032\036google" + + "/protobuf/duration.proto\032\033google/protobu" + + "f/empty.proto\032 google/protobuf/field_mas" + + "k.proto\032\037google/protobuf/timestamp.proto" + + "\032\027google/rpc/status.proto\"\251\001\n\023ListCluste" + + "rsRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036allo" + + "ydb.googleapis.com/Cluster\022\027\n\tpage_size\030" + + "\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filte" + + "r\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}\n" + + "\024ListClustersResponse\0227\n\010clusters\030\001 \003(\0132" + + "%.google.cloud.alloydb.v1alpha.Cluster\022\027" + + "\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003" + + " \003(\t\"\211\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\t" + + "B\'\342A\001\002\372A \n\036alloydb.googleapis.com/Cluste" + + "r\022=\n\004view\030\002 \001(\0162).google.cloud.alloydb.v" + + "1alpha.ClusterViewB\004\342A\001\001\"\347\001\n\035CreateSecon" + + "daryClusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002" + + "\372A \022\036alloydb.googleapis.com/Cluster\022\030\n\nc" + + "luster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%" + + ".google.cloud.alloydb.v1alpha.ClusterB\004\342" + + "A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + + "e_only\030\006 \001(\010B\004\342A\001\001\"\336\001\n\024CreateClusterRequ" + + "est\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.go" + + "ogleapis.com/Cluster\022\030\n\ncluster_id\030\002 \001(\t" + + "B\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%.google.cloud.a" + + "lloydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342" + + "A\001\001\"\337\001\n\024UpdateClusterRequest\0225\n\013update_m" + + "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + + "A\001\001\022<\n\007cluster\030\002 \001(\0132%.google.cloud.allo" + + "ydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + + "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + + "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + + "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + + "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + + "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + + "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + + "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + + "\001\"\210\003\n\025RestoreClusterRequest\022C\n\rbackup_so" + + "urce\030\004 \001(\0132*.google.cloud.alloydb.v1alph" + + "a.BackupSourceH\000\022X\n\030continuous_backup_so" + + "urce\030\010 \001(\01324.google.cloud.alloydb.v1alph" + + "a.ContinuousBackupSourceH\000\0227\n\006parent\030\001 \001" + + "(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.com/Clus" + + "ter\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster" + + "\030\003 \001(\0132%.google.cloud.alloydb.v1alpha.Cl" + + "usterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n" + + "\rvalidate_only\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n" + + "\024ListInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342" + + "A\001\002\372A!\022\037alloydb.googleapis.com/Instance\022" + + "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003" + + " \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" + + " \001(\tB\004\342A\001\001\"\200\001\n\025ListInstancesResponse\0229\n\t" + + "instances\030\001 \003(\0132&.google.cloud.alloydb.v" + + "1alpha.Instance\022\027\n\017next_page_token\030\002 \001(\t" + + "\022\023\n\013unreachable\030\003 \003(\t\"\206\001\n\022GetInstanceReq" + + "uest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.goo" + + "gleapis.com/Instance\0228\n\004view\030\002 \001(\0162*.goo" + + "gle.cloud.alloydb.v1alpha.InstanceView\"\343" + + "\001\n\025CreateInstanceRequest\0228\n\006parent\030\001 \001(\t" + + "B(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instan" + + "ce\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instanc" + + "e\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.I" + + "nstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\354\001\n\036CreateS" + + "econdaryInstanceRequest\0228\n\006parent\030\001 \001(\tB" + + "(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instanc" + + "e\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instance" + + "\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.In" + + "stanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"u\n\026CreateIns" + + "tanceRequests\022[\n\030create_instance_request" + + "s\030\001 \003(\01323.google.cloud.alloydb.v1alpha.C" + + "reateInstanceRequestB\004\342A\001\002\"\277\001\n\033BatchCrea" + + "teInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002" + + "\372A!\022\037alloydb.googleapis.com/Instance\022L\n\010" + + "requests\030\002 \001(\01324.google.cloud.alloydb.v1" + + "alpha.CreateInstanceRequestsB\004\342A\001\002\022\030\n\nre" + + "quest_id\030\003 \001(\tB\004\342A\001\001\"Y\n\034BatchCreateInsta" + + "ncesResponse\0229\n\tinstances\030\001 \003(\0132&.google" + + ".cloud.alloydb.v1alpha.Instance\"\227\002\n\034Batc" + + "hCreateInstancesMetadata\022\030\n\020instance_tar" + + "gets\030\001 \003(\t\022k\n\021instance_statuses\030\002 \003(\0132P." + + "google.cloud.alloydb.v1alpha.BatchCreate" + + "InstancesMetadata.InstanceStatusesEntry\032" + + "p\n\025InstanceStatusesEntry\022\013\n\003key\030\001 \001(\t\022F\n" + + "\005value\030\002 \001(\01327.google.cloud.alloydb.v1al" + + "pha.BatchCreateInstanceStatus:\0028\001\"\332\002\n\031Ba" + + "tchCreateInstanceStatus\022L\n\005state\030\001 \001(\0162=" + + ".google.cloud.alloydb.v1alpha.BatchCreat" + + "eInstanceStatus.State\022\021\n\terror_msg\030\002 \001(\t" + + "\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\022A\n\004t" + + "ype\030\003 \001(\01623.google.cloud.alloydb.v1alpha" + + ".Instance.InstanceType\"v\n\005State\022\025\n\021STATE" + + "_UNSPECIFIED\020\000\022\022\n\016PENDING_CREATE\020\001\022\t\n\005RE" + + "ADY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006FAI" + + "LED\020\005\022\017\n\013ROLLED_BACK\020\006\"\342\001\n\025UpdateInstanc" + + "eRequest\0225\n\013update_mask\030\001 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\001\022>\n\010instance\030\002 \001(" + + "\0132&.google.cloud.alloydb.v1alpha.Instanc" + + "eB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030" + + "\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceRequest\0226\n" + + "\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022" + + "\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" + + "(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest\0226\n\004" + + "name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis." + + "com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033" + + "\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\217\002\n\022InjectFa" + + "ultRequest\022T\n\nfault_type\030\001 \001(\0162:.google." + + "cloud.alloydb.v1alpha.InjectFaultRequest" + + ".FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n" + + "\037alloydb.googleapis.com/Instance\022\030\n\nrequ" + + "est_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(" + + "\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPE" + + "CIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstanc" + + "eRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb" + + ".googleapis.com/Instance\022\030\n\nrequest_id\030\002" + + " \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"" + + "\225\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&" + + "\342A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\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\022\020\n\010order_by\030\005 \001(\t\"z\n\023ListB" + + "ackupsResponse\0225\n\007backups\030\001 \003(\0132$.google" + + ".cloud.alloydb.v1alpha.Backup\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020G" + + "etBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035" + + "alloydb.googleapis.com/Backup\"\331\001\n\023Create" + + "BackupRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035" + + "alloydb.googleapis.com/Backup\022\027\n\tbackup_" + + "id\030\002 \001(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\0132$.google." + + "cloud.alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nre" + + "quest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 " + + "\001(\010B\004\342A\001\001\"\334\001\n\023UpdateBackupRequest\0225\n\013upd" + + "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + + "skB\004\342A\001\001\022:\n\006backup\030\002 \001(\0132$.google.cloud." + + "alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nrequest_" + + "id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342" + + "A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023Del" + + "eteBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n" + + "\035alloydb.googleapis.com/Backup\022\030\n\nreques" + + "t_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B" + + "\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001\n!ListSuppor" + + "tedDatabaseFlagsRequest\022E\n\006parent\030\001 \001(\tB" + + "5\342A\001\002\372A.\022,alloydb.googleapis.com/Support" + + "edDatabaseFlag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + + "e_token\030\003 \001(\t\"\224\001\n\"ListSupportedDatabaseF" + + "lagsResponse\022U\n\030supported_database_flags" + + "\030\001 \003(\01323.google.cloud.alloydb.v1alpha.Su" + + "pportedDatabaseFlag\022\027\n\017next_page_token\030\002" + + " \001(\t\"\205\002\n GenerateClientCertificateReques" + + "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + + "leapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(\tB\004" + + "\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001\0226\n\rcert_du" + + "ration\030\004 \001(\0132\031.google.protobuf.DurationB" + + "\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_m" + + "etadata_exchange\030\006 \001(\010B\004\342A\001\001\"~\n!Generate" + + "ClientCertificateResponse\022\035\n\017pem_certifi" + + "cate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certificate_chai" + + "n\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"n\n\030" + + "GetConnectionInfoRequest\0228\n\006parent\030\001 \001(\t" + + "B(\342A\001\002\372A!\n\037alloydb.googleapis.com/Instan" + + "ce\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\210\003\n\021Operati" + + "onMetadata\022k\n\037batch_create_instances_met" + + "adata\030\010 \001(\0132:.google.cloud.alloydb.v1alp" + + "ha.BatchCreateInstancesMetadataB\004\342A\001\003H\000\022" + + "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + + "(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_m" + + "essage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancella" + + "tion\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342" + + "A\001\003B\022\n\020request_specific\"\251\001\n\020ListUsersReq" + + "uest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.g" + + "oogleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342" + + "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030" + + "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"t\n\021L" + + "istUsersResponse\0221\n\005users\030\001 \003(\0132\".google" + + ".cloud.alloydb.v1alpha.User\022\027\n\017next_page" + + "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016Get" + + "UserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033allo" + + "ydb.googleapis.com/User\"\317\001\n\021CreateUserRe" + + "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb." + + "googleapis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A" + + "\001\002\0226\n\004user\030\003 \001(\0132\".google.cloud.alloydb." + + "v1alpha.UserB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004" + + "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\021Up" + + "dateUserRequest\0225\n\013update_mask\030\001 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\004\342A\001\001\0226\n\004user\030\002" + + " \001(\0132\".google.cloud.alloydb.v1alpha.User" + + "B\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvali" + + "date_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005" + + " \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222\n\004name\030" + + "\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapis.com/U" + + "ser\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + + "e_only\030\003 \001(\010B\004\342A\001\0012\3614\n\014AlloyDBAdmin\022\271\001\n\014" + + "ListClusters\0221.google.cloud.alloydb.v1al" + + "pha.ListClustersRequest\0322.google.cloud.a" + + "lloydb.v1alpha.ListClustersResponse\"B\332A\006" + + "parent\202\323\344\223\0023\0221/v1alpha/{parent=projects/" + + "*/locations/*}/clusters\022\246\001\n\nGetCluster\022/" + + ".google.cloud.alloydb.v1alpha.GetCluster" + + "Request\032%.google.cloud.alloydb.v1alpha.C" + + "luster\"@\332A\004name\202\323\344\223\0023\0221/v1alpha/{name=pr" + + "ojects/*/locations/*/clusters/*}\022\341\001\n\rCre" + + "ateCluster\0222.google.cloud.alloydb.v1alph" + + "a.CreateClusterRequest\032\035.google.longrunn" + + "ing.Operation\"}\312A\034\n\007Cluster\022\021OperationMe" + + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002<" + + "\"1/v1alpha/{parent=projects/*/locations/" + + "*}/clusters:\007cluster\022\343\001\n\rUpdateCluster\0222" + + ".google.cloud.alloydb.v1alpha.UpdateClus" + + "terRequest\032\035.google.longrunning.Operatio" + + "n\"\177\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clu" + + "ster,update_mask\202\323\344\223\002D29/v1alpha/{cluste" + + "r.name=projects/*/locations/*/clusters/*" + + "}:\007cluster\022\321\001\n\rDeleteCluster\0222.google.cl" + + "oud.alloydb.v1alpha.DeleteClusterRequest" + + "\032\035.google.longrunning.Operation\"m\312A*\n\025go" + + "ogle.protobuf.Empty\022\021OperationMetadata\332A" + + "\004name\202\323\344\223\0023*1/v1alpha/{name=projects/*/l" + + "ocations/*/clusters/*}\022\320\001\n\016PromoteCluste" + + "r\0223.google.cloud.alloydb.v1alpha.Promote" + + "ClusterRequest\032\035.google.longrunning.Oper" + + "ation\"j\312A\034\n\007Cluster\022\021OperationMetadata\332A" + + "\004name\202\323\344\223\002>\"9/v1alpha/{name=projects/*/l" + + "ocations/*/clusters/*}:promote:\001*\022\311\001\n\016Re" + + "storeCluster\0223.google.cloud.alloydb.v1al" + + "pha.RestoreClusterRequest\032\035.google.longr" + + "unning.Operation\"c\312A\034\n\007Cluster\022\021Operatio" + + "nMetadata\202\323\344\223\002>\"9/v1alpha/{parent=projec" + + "ts/*/locations/*}/clusters:restore:\001*\022\204\002" + + "\n\026CreateSecondaryCluster\022;.google.cloud." + + "alloydb.v1alpha.CreateSecondaryClusterRe" + + "quest\032\035.google.longrunning.Operation\"\215\001\312" + + "A\034\n\007Cluster\022\021OperationMetadata\332A\031parent," + + "cluster,cluster_id\202\323\344\223\002L\"A/v1alpha/{pare" + + "nt=projects/*/locations/*}/clusters:crea" + + "tesecondary:\007cluster\022\310\001\n\rListInstances\0222" + + ".google.cloud.alloydb.v1alpha.ListInstan" + + "cesRequest\0323.google.cloud.alloydb.v1alph" + + "a.ListInstancesResponse\"N\332A\006parent\202\323\344\223\002?" + + "\022=/v1alpha/{parent=projects/*/locations/" + + "*/clusters/*}/instances\022\265\001\n\013GetInstance\022" + + "0.google.cloud.alloydb.v1alpha.GetInstan" + + "ceRequest\032&.google.cloud.alloydb.v1alpha" + + ".Instance\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name" + + "=projects/*/locations/*/clusters/*/insta" + + "nces/*}\022\364\001\n\016CreateInstance\0223.google.clou" + + "d.alloydb.v1alpha.CreateInstanceRequest\032" + + "\035.google.longrunning.Operation\"\215\001\312A\035\n\010In" + + "stance\022\021OperationMetadata\332A\033parent,insta" + + "nce,instance_id\202\323\344\223\002I\"=/v1alpha/{parent=" + + "projects/*/locations/*/clusters/*}/insta" + + "nces:\010instance\022\226\002\n\027CreateSecondaryInstan" + + "ce\022<.google.cloud.alloydb.v1alpha.Create" + + "SecondaryInstanceRequest\032\035.google.longru" + + "nning.Operation\"\235\001\312A\035\n\010Instance\022\021Operati" + + "onMetadata\332A\033parent,instance,instance_id" + + "\202\323\344\223\002Y\"M/v1alpha/{parent=projects/*/loca" + + "tions/*/clusters/*}/instances:createseco" + + "ndary:\010instance\022\202\002\n\024BatchCreateInstances" + + "\0229.google.cloud.alloydb.v1alpha.BatchCre" + + "ateInstancesRequest\032\035.google.longrunning" + + ".Operation\"\217\001\312A1\n\034BatchCreateInstancesRe" + + "sponse\022\021OperationMetadata\202\323\344\223\002U\"I/v1alph" + + "a/{parent=projects/*/locations/*/cluster" + + "s/*}/instances:batchCreate:\010requests\022\366\001\n" + + "\016UpdateInstance\0223.google.cloud.alloydb.v" + + "1alpha.UpdateInstanceRequest\032\035.google.lo" + + "ngrunning.Operation\"\217\001\312A\035\n\010Instance\022\021Ope" + + "rationMetadata\332A\024instance,update_mask\202\323\344" + + "\223\002R2F/v1alpha/{instance.name=projects/*/" + + "locations/*/clusters/*/instances/*}:\010ins" + + "tance\022\337\001\n\016DeleteInstance\0223.google.cloud." + + "alloydb.v1alpha.DeleteInstanceRequest\032\035." + + "google.longrunning.Operation\"y\312A*\n\025googl" + + "e.protobuf.Empty\022\021OperationMetadata\332A\004na" + + "me\202\323\344\223\002?*=/v1alpha/{name=projects/*/loca" + + "tions/*/clusters/*/instances/*}\022\342\001\n\020Fail" + + "overInstance\0225.google.cloud.alloydb.v1al" + + "pha.FailoverInstanceRequest\032\035.google.lon" + + "grunning.Operation\"x\312A\035\n\010Instance\022\021Opera" + + "tionMetadata\332A\004name\202\323\344\223\002K\"F/v1alpha/{nam" + + "e=projects/*/locations/*/clusters/*/inst" + + "ances/*}:failover:\001*\022\347\001\n\013InjectFault\0220.g" + + "oogle.cloud.alloydb.v1alpha.InjectFaultR" + + "equest\032\035.google.longrunning.Operation\"\206\001" + + "\312A\035\n\010Instance\022\021OperationMetadata\332A\017fault" + + "_type,name\202\323\344\223\002N\"I/v1alpha/{name=project" + + "s/*/locations/*/clusters/*/instances/*}:" + + "injectFault:\001*\022\337\001\n\017RestartInstance\0224.goo" + + "gle.cloud.alloydb.v1alpha.RestartInstanc" + + "eRequest\032\035.google.longrunning.Operation\"" + + "w\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" + + "\202\323\344\223\002J\"E/v1alpha/{name=projects/*/locati" + + "ons/*/clusters/*/instances/*}:restart:\001*" + + "\022\265\001\n\013ListBackups\0220.google.cloud.alloydb." + + "v1alpha.ListBackupsRequest\0321.google.clou" + + "d.alloydb.v1alpha.ListBackupsResponse\"A\332" + + "A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=project" + + "s/*/locations/*}/backups\022\242\001\n\tGetBackup\022." + + ".google.cloud.alloydb.v1alpha.GetBackupR" + + "equest\032$.google.cloud.alloydb.v1alpha.Ba" + + "ckup\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=proj" + + "ects/*/locations/*/backups/*}\022\332\001\n\014Create" + + "Backup\0221.google.cloud.alloydb.v1alpha.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"x\312A\033\n\006Backup\022\021OperationMetadata" + + "\332A\027parent,backup,backup_id\202\323\344\223\002:\"0/v1alp" + + "ha/{parent=projects/*/locations/*}/backu" + + "ps:\006backup\022\334\001\n\014UpdateBackup\0221.google.clo" + + "ud.alloydb.v1alpha.UpdateBackupRequest\032\035" + + ".google.longrunning.Operation\"z\312A\033\n\006Back" + + "up\022\021OperationMetadata\332A\022backup,update_ma" + + "sk\202\323\344\223\002A27/v1alpha/{backup.name=projects" + + "/*/locations/*/backups/*}:\006backup\022\316\001\n\014De" + + "leteBackup\0221.google.cloud.alloydb.v1alph" + + "a.DeleteBackupRequest\032\035.google.longrunni" + + "ng.Operation\"l\312A*\n\025google.protobuf.Empty" + + "\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1alp" + + "ha/{name=projects/*/locations/*/backups/" + + "*}\022\361\001\n\032ListSupportedDatabaseFlags\022?.goog" + + "le.cloud.alloydb.v1alpha.ListSupportedDa" + + "tabaseFlagsRequest\032@.google.cloud.alloyd" + + "b.v1alpha.ListSupportedDatabaseFlagsResp" + + "onse\"P\332A\006parent\202\323\344\223\002A\022?/v1alpha/{parent=" + + "projects/*/locations/*}/supportedDatabas" + + "eFlags\022\377\001\n\031GenerateClientCertificate\022>.g" + + "oogle.cloud.alloydb.v1alpha.GenerateClie" + + "ntCertificateRequest\032?.google.cloud.allo" + + "ydb.v1alpha.GenerateClientCertificateRes" + + "ponse\"a\332A\006parent\202\323\344\223\002R\"M/v1alpha/{parent" + + "=projects/*/locations/*/clusters/*}:gene" + + "rateClientCertificate:\001*\022\332\001\n\021GetConnecti" + + "onInfo\0226.google.cloud.alloydb.v1alpha.Ge" + + "tConnectionInfoRequest\032,.google.cloud.al" + + "loydb.v1alpha.ConnectionInfo\"_\332A\006parent\202" + + "\323\344\223\002P\022N/v1alpha/{parent=projects/*/locat" + + "ions/*/clusters/*/instances/*}/connectio" + + "nInfo\022\270\001\n\tListUsers\022..google.cloud.alloy" + + "db.v1alpha.ListUsersRequest\032/.google.clo" + + "ud.alloydb.v1alpha.ListUsersResponse\"J\332A" + + "\006parent\202\323\344\223\002;\0229/v1alpha/{parent=projects" + + "/*/locations/*/clusters/*}/users\022\245\001\n\007Get" + + "User\022,.google.cloud.alloydb.v1alpha.GetU" + + "serRequest\032\".google.cloud.alloydb.v1alph" + + "a.User\"H\332A\004name\202\323\344\223\002;\0229/v1alpha/{name=pr" + + "ojects/*/locations/*/clusters/*/users/*}" + + "\022\300\001\n\nCreateUser\022/.google.cloud.alloydb.v" + + "1alpha.CreateUserRequest\032\".google.cloud." + + "alloydb.v1alpha.User\"]\332A\023parent,user,use" + + "r_id\202\323\344\223\002A\"9/v1alpha/{parent=projects/*/" + + "locations/*/clusters/*}/users:\004user\022\302\001\n\n" + + "UpdateUser\022/.google.cloud.alloydb.v1alph" + + "a.UpdateUserRequest\032\".google.cloud.alloy" + + "db.v1alpha.User\"_\332A\020user,update_mask\202\323\344\223" + + "\002F2>/v1alpha/{user.name=projects/*/locat" + + "ions/*/clusters/*/users/*}:\004user\022\237\001\n\nDel" + + "eteUser\022/.google.cloud.alloydb.v1alpha.D" + + "eleteUserRequest\032\026.google.protobuf.Empty" + + "\"H\332A\004name\202\323\344\223\002;*9/v1alpha/{name=projects" + + "/*/locations/*/clusters/*/users/*}\032J\312A\026a" + + "lloydb.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB\316\001\n com.g" + + "oogle.cloud.alloydb.v1alphaB\014ServiceProt" + + "oP\001Z:cloud.google.com/go/alloydb/apiv1al" + + "pha/alloydbpb;alloydbpb\252\002\034Google.Cloud.A" + + "lloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V1" + + "alpha\352\002\037Google::Cloud::AlloyDB::V1alphab" + + "\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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor, + new java.lang.String[] { + "Clusters", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", "Force", + }); + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor, + new java.lang.String[] { + "BackupSource", + "ContinuousBackupSource", + "Parent", + "ClusterId", + "Cluster", + "RequestId", + "ValidateOnly", + "Source", + }); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor, + new java.lang.String[] { + "CreateInstanceRequests", + }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", "RequestId", + }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", + }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor, + new java.lang.String[] { + "InstanceTargets", "InstanceStatuses", + }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor, + new java.lang.String[] { + "State", "ErrorMsg", "Error", "Type", + }); + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor, + new java.lang.String[] { + "FaultType", "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor, + new java.lang.String[] { + "Backups", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor, + new java.lang.String[] { + "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor, + new java.lang.String[] { + "SupportedDatabaseFlags", "NextPageToken", + }); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", + }); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor, + new java.lang.String[] { + "PemCertificate", "PemCertificateChain", "CaCert", + }); + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestId", + }); + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor, + new java.lang.String[] { + "BatchCreateInstancesMetadata", + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + "RequestSpecific", + }); + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor, + new java.lang.String[] { + "Users", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor, + new java.lang.String[] { + "Parent", "UserId", "User", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java index f48692d8a5c6..397b72fb9998 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * SSL configuration.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SslConfig} */ -public final class SslConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SslConfig) SslConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -26,34 +44,38 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SslConfig.class, com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.SslConfig.class, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); } /** + * + * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.SslConfig.SslMode} */ - public enum SslMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -62,6 +84,8 @@ public enum SslMode */ SSL_MODE_UNSPECIFIED(0), /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -71,6 +95,8 @@ public enum SslMode @java.lang.Deprecated SSL_MODE_ALLOW(1), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -82,6 +108,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -93,6 +121,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -101,6 +131,8 @@ public enum SslMode */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -112,6 +144,8 @@ public enum SslMode ; /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -120,6 +154,8 @@ public enum SslMode */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -128,6 +164,8 @@ public enum SslMode */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -138,6 +176,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -148,6 +188,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -156,6 +198,8 @@ public enum SslMode */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -164,7 +208,6 @@ public enum SslMode */ public static final int ENCRYPTED_ONLY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -189,52 +232,55 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: return SSL_MODE_UNSPECIFIED; - case 1: return SSL_MODE_ALLOW; - case 2: return SSL_MODE_REQUIRE; - case 3: return SSL_MODE_VERIFY_CA; - case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: return ENCRYPTED_ONLY; - default: return null; + case 0: + return SSL_MODE_UNSPECIFIED; + case 1: + return SSL_MODE_ALLOW; + case 2: + return SSL_MODE_REQUIRE; + case 3: + return SSL_MODE_VERIFY_CA; + case 4: + return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: + return ENCRYPTED_ONLY; + 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< - SslMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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 SslMode findValueByNumber(int number) { + return SslMode.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.cloud.alloydb.v1alpha.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -252,15 +298,18 @@ private SslMode(int value) { } /** + * + * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.SslConfig.CaSource} */ - public enum CaSource - implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -270,6 +319,8 @@ public enum CaSource
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -281,6 +332,8 @@ public enum CaSource ; /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -290,6 +343,8 @@ public enum CaSource
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -298,7 +353,6 @@ public enum CaSource */ public static final int CA_SOURCE_MANAGED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -323,48 +377,47 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: return CA_SOURCE_UNSPECIFIED; - case 1: return CA_SOURCE_MANAGED; - default: return null; + case 0: + return CA_SOURCE_UNSPECIFIED; + case 1: + return CA_SOURCE_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< - CaSource> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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 CaSource findValueByNumber(int number) { + return CaSource.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.cloud.alloydb.v1alpha.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -384,58 +437,89 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); - return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED + : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); - return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,12 +531,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (sslMode_ != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sslMode_ + != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ + != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -464,13 +549,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, sslMode_); + if (sslMode_ + != com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, caSource_); + if (caSource_ + != com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,12 +565,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.cloud.alloydb.v1alpha.SslConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SslConfig other = (com.google.cloud.alloydb.v1alpha.SslConfig) obj; + com.google.cloud.alloydb.v1alpha.SslConfig other = + (com.google.cloud.alloydb.v1alpha.SslConfig) obj; if (sslMode_ != other.sslMode_) return false; if (caSource_ != other.caSource_) return false; @@ -509,132 +595,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.SslConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SslConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SslConfig) com.google.cloud.alloydb.v1alpha.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SslConfig.class, com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); + com.google.cloud.alloydb.v1alpha.SslConfig.class, + com.google.cloud.alloydb.v1alpha.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.SslConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; } @java.lang.Override @@ -666,8 +756,11 @@ public com.google.cloud.alloydb.v1alpha.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig buildPartial() { - com.google.cloud.alloydb.v1alpha.SslConfig result = new com.google.cloud.alloydb.v1alpha.SslConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.SslConfig result = + new com.google.cloud.alloydb.v1alpha.SslConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -686,38 +779,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SslConfig result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.SslConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.SslConfig) other); } else { super.mergeFrom(other); return this; @@ -758,22 +852,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -783,26 +880,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int sslMode_ = 0; /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -813,24 +922,37 @@ public Builder setSslModeValue(int value) { return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); - return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode result = + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.forNumber(sslMode_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.SslMode.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The sslMode to set. * @return This builder for chaining. */ @@ -844,11 +966,16 @@ public Builder setSslMode(com.google.cloud.alloydb.v1alpha.SslConfig.SslMode val return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSslMode() { @@ -860,24 +987,35 @@ public Builder clearSslMode() { private int caSource_ = 0; /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -888,26 +1026,39 @@ public Builder setCaSourceValue(int value) { return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); - return result == null ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource result = + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.forNumber(caSource_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SslConfig.CaSource.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The caSource to set. * @return This builder for chaining. */ @@ -921,12 +1072,17 @@ public Builder setCaSource(com.google.cloud.alloydb.v1alpha.SslConfig.CaSource v return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCaSource() { @@ -935,9 +1091,9 @@ public Builder clearCaSource() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,12 +1103,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SslConfig) private static final com.google.cloud.alloydb.v1alpha.SslConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SslConfig(); } @@ -961,27 +1117,27 @@ public static com.google.cloud.alloydb.v1alpha.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,6 +1152,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java new file mode 100644 index 000000000000..7d26c55879c8 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1alpha/resources.proto + +package com.google.cloud.alloydb.v1alpha; + +public interface SslConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sslMode. + */ + com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode(); + + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The caSource. + */ + com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource(); +} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java index dcbce3cda90d..8df7a21fa408 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -32,25 +50,28 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class,
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown flag type.
      * 
@@ -70,6 +92,8 @@ public enum ValueType */ VALUE_TYPE_UNSPECIFIED(0), /** + * + * *
      * String type flag.
      * 
@@ -78,6 +102,8 @@ public enum ValueType */ STRING(1), /** + * + * *
      * Integer type flag.
      * 
@@ -86,6 +112,8 @@ public enum ValueType */ INTEGER(2), /** + * + * *
      * Float type flag.
      * 
@@ -94,6 +122,8 @@ public enum ValueType */ FLOAT(3), /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -105,6 +135,8 @@ public enum ValueType ; /** + * + * *
      * This is an unknown flag type.
      * 
@@ -113,6 +145,8 @@ public enum ValueType */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * String type flag.
      * 
@@ -121,6 +155,8 @@ public enum ValueType */ public static final int STRING_VALUE = 1; /** + * + * *
      * Integer type flag.
      * 
@@ -129,6 +165,8 @@ public enum ValueType */ public static final int INTEGER_VALUE = 2; /** + * + * *
      * Float type flag.
      * 
@@ -137,6 +175,8 @@ public enum ValueType */ public static final int FLOAT_VALUE = 3; /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -145,7 +185,6 @@ public enum ValueType */ public static final int NONE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,51 +209,55 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: return VALUE_TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INTEGER; - case 3: return FLOAT; - case 4: return NONE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return VALUE_TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INTEGER; + case 3: + return FLOAT; + case 4: + return NONE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValueType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.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 ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDescriptor() + .getEnumTypes() + .get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,132 +274,156 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder extends + public interface StringRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); } /** + * + * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringRestrictions() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder + .class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -364,21 +431,24 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +460,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -420,15 +489,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other = + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -449,90 +519,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -542,62 +623,68 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -605,14 +692,19 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions buildPartial() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + buildPartial() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result = + new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -624,46 +716,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFla public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions)other); + if (other + instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) { + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other) { - if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions other) { + if (other + == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -700,18 +800,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -721,10 +823,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -732,38 +836,46 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -771,33 +883,39 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -805,18 +923,22 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -824,53 +946,61 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -878,6 +1008,7 @@ public Builder addAllowedValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -890,41 +1021,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,35 +1071,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IntegerRestrictionsOrBuilder extends + public interface IntegerRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -974,24 +1118,32 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1001,52 +1153,59 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** + * + * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IntegerRestrictions() { - } + + private IntegerRestrictions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder + .class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1054,11 +1213,14 @@ public boolean hasMinValue() { return minValue_ != null; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ @java.lang.Override @@ -1066,6 +1228,8 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1080,11 +1244,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1092,11 +1259,14 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ @java.lang.Override @@ -1104,6 +1274,8 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1116,6 +1288,7 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1127,8 +1300,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1145,12 +1317,10 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1160,22 +1330,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other = + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1201,90 +1371,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + 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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1294,39 +1475,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1345,19 +1530,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1365,24 +1553,25 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestriction } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + buildPartial() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result = + new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null - ? minValue_ - : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null - ? maxValue_ - : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); } } @@ -1390,46 +1579,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFla public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions)other); + if (other + instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other + == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1462,26 +1659,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMaxValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1491,38 +1687,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + minValueBuilder_; /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } else { return minValueBuilder_.getMessage(); } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1543,14 +1753,15 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1561,6 +1772,8 @@ public Builder setMinValue( return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1569,9 +1782,9 @@ public Builder setMinValue( */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - minValue_ != null && - minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && minValue_ != null + && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1584,6 +1797,8 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1601,6 +1816,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1613,6 +1830,8 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1623,11 +1842,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1635,14 +1857,17 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -1650,34 +1875,47 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + maxValueBuilder_; /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1698,14 +1936,15 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1716,6 +1955,8 @@ public Builder setMaxValue( return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1724,9 +1965,9 @@ public Builder setMaxValue( */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - maxValue_ != null && - maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && maxValue_ != null + && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1739,6 +1980,8 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1756,6 +1999,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1768,6 +2013,8 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1778,11 +2025,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1790,18 +2040,22 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1814,41 +2068,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1860,22 +2118,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int restrictionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object restrictions_; + public enum RestrictionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; + private RestrictionsCase(int value) { this.value = value; } @@ -1891,30 +2153,38 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: return STRING_RESTRICTIONS; - case 8: return INTEGER_RESTRICTIONS; - case 0: return RESTRICTIONS_NOT_SET; - default: return null; + case 7: + return STRING_RESTRICTIONS; + case 8: + return INTEGER_RESTRICTIONS; + case 0: + return RESTRICTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RestrictionsCase - getRestrictionsCase() { - return RestrictionsCase.forNumber( - restrictionsCase_); + public RestrictionsCase getRestrictionsCase() { + return RestrictionsCase.forNumber(restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -1922,42 +2192,62 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -1965,39 +2255,57 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2005,6 +2313,7 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestriction
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2013,14 +2322,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2028,16 +2338,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 { @@ -2046,15 +2355,19 @@ public java.lang.String getName() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ @java.lang.Override @@ -2063,30 +2376,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -2098,29 +2411,39 @@ public java.lang.String getFlagName() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2129,36 +2452,51 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List supportedDbVersions_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion> supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion> + supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>() { - public com.google.cloud.alloydb.v1alpha.DatabaseVersion convert(java.lang.Integer from) { - com.google.cloud.alloydb.v1alpha.DatabaseVersion result = com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(from); - return result == null ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED : result; + public com.google.cloud.alloydb.v1alpha.DatabaseVersion convert( + java.lang.Integer from) { + com.google.cloud.alloydb.v1alpha.DatabaseVersion result = + com.google.cloud.alloydb.v1alpha.DatabaseVersion.forNumber(from); + return result == null + ? com.google.cloud.alloydb.v1alpha.DatabaseVersion.UNRECOGNIZED + : result; } }; /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ @java.lang.Override - public java.util.List getSupportedDbVersionsList() { + public java.util.List + getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2166,11 +2504,14 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2179,24 +2520,29 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(i return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2204,11 +2550,14 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(i public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } + private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2217,6 +2566,7 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -2225,6 +2575,7 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2236,8 +2587,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2245,7 +2595,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2262,10 +2614,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_); + output.writeMessage( + 7, + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + output.writeMessage( + 8, + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_); } getUnknownFields().writeTo(output); } @@ -2282,37 +2640,43 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, valueType_); + if (valueType_ + != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_); } if (restrictionsCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2322,32 +2686,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.cloud.alloydb.v1alpha.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other = + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFlagName() - .equals(other.getFlagName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFlagName().equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() - != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() - != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions() - .equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions() - .equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2370,15 +2729,13 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2397,98 +2754,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2499,33 +2862,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.SupportedDatabaseFlag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.class,
+              com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2549,9 +2911,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2570,15 +2932,19 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result =
+          new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2608,12 +2974,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFla
     private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 &&
-          stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 &&
-          integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2622,38 +2986,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1alpha.SupportedDataba
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2661,7 +3026,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -2692,17 +3058,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS: {
-          mergeStringRestrictions(other.getStringRestrictions());
-          break;
-        }
-        case INTEGER_RESTRICTIONS: {
-          mergeIntegerRestrictions(other.getIntegerRestrictions());
-          break;
-        }
-        case RESTRICTIONS_NOT_SET: {
-          break;
-        }
+        case STRING_RESTRICTIONS:
+          {
+            mergeStringRestrictions(other.getStringRestrictions());
+            break;
+          }
+        case INTEGER_RESTRICTIONS:
+          {
+            mergeIntegerRestrictions(other.getIntegerRestrictions());
+            break;
+          }
+        case RESTRICTIONS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2730,68 +3099,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              flagName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 24: {
-              valueType_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 24
-            case 32: {
-              acceptsMultipleValues_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 32
-            case 40: {
-              int tmpRaw = input.readEnum();
-              ensureSupportedDbVersionsIsMutable();
-              supportedDbVersions_.add(tmpRaw);
-              break;
-            } // case 40
-            case 42: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                flagName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 24:
+              {
+                valueType_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 24
+            case 32:
+              {
+                acceptsMultipleValues_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 32
+            case 40:
+              {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 42
-            case 48: {
-              requiresDbRestart_ = input.readBool();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getStringRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getIntegerRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            case 42:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureSupportedDbVersionsIsMutable();
+                  supportedDbVersions_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 42
+            case 48:
+              {
+                requiresDbRestart_ = input.readBool();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(
+                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2801,12 +3178,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-    public RestrictionsCase
-        getRestrictionsCase() {
-      return RestrictionsCase.forNumber(
-          restrictionsCase_);
+
+    public RestrictionsCase getRestrictionsCase() {
+      return RestrictionsCase.forNumber(restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -2819,13 +3196,21 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions,
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder,
+            com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
+        stringRestrictionsBuilder_;
     /**
+     *
+     *
      * 
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2833,35 +3218,49 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder setStringRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2875,14 +3274,19 @@ public Builder setStringRestrictions(com.google.cloud.alloydb.v1alpha.SupportedD return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder + builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -2893,18 +3297,29 @@ public Builder setStringRestrictions( return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 && - restrictions_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 7 + && restrictions_ + != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.newBuilder( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -2920,11 +3335,15 @@ public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1alpha.Supporte return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -2943,50 +3362,74 @@ public Builder clearStringRestrictions() { return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder + getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } - stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) restrictions_, + stringRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -2997,13 +3440,21 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + integerRestrictionsBuilder_; /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3011,35 +3462,49 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3053,14 +3518,19 @@ public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1alpha.Supported return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder + builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3071,18 +3541,29 @@ public Builder setIntegerRestrictions( return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 && - restrictions_ != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 8 + && restrictions_ + != com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -3098,11 +3579,15 @@ public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1alpha.Support return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3121,50 +3606,75 @@ public Builder clearIntegerRestrictions() { return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder + getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } - integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, + integerRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag + .IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3176,6 +3686,8 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestriction private java.lang.Object name_ = ""; /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3183,13 +3695,13 @@ public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestriction
      * 
* * 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; @@ -3198,6 +3710,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3205,15 +3719,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 { @@ -3221,6 +3734,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3228,18 +3743,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3247,6 +3766,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3256,6 +3776,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3263,12 +3785,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3278,19 +3802,21 @@ public Builder setNameBytes( private java.lang.Object flagName_ = ""; /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3299,21 +3825,22 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -3321,30 +3848,37 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3354,18 +3888,22 @@ public Builder clearFlagName() { return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3376,13 +3914,16 @@ public Builder setFlagNameBytes( private int valueType_ = 0; /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3394,19 +3935,25 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The valueType to set. * @return This builder for chaining. */ - public Builder setValueType(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value) { + public Builder setValueType( + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value) { if (value == null) { throw new NullPointerException(); } @@ -3417,6 +3964,7 @@ public Builder setValueType(com.google.cloud.alloydb.v1alpha.SupportedDatabaseFl } /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3426,14 +3974,17 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_ ; + private boolean acceptsMultipleValues_; /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3441,12 +3992,15 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -3458,12 +4012,15 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -3474,7 +4031,8 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -3482,34 +4040,48 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @return A list containing the supportedDbVersions. */ - public java.util.List getSupportedDbVersionsList() { + public java.util.List + getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1alpha.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -3517,11 +4089,15 @@ public com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(i return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -3537,11 +4113,15 @@ public Builder setSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3555,11 +4135,15 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1alpha.DatabaseV return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3573,11 +4157,15 @@ public Builder addAllSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -3587,23 +4175,30 @@ public Builder clearSupportedDbVersions() { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -3611,28 +4206,35 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue( - int index, int value) { + public Builder setSupportedDbVersionsValue(int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -3643,16 +4245,19 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* - * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * + * * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue( - java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -3661,8 +4266,10 @@ public Builder addAllSupportedDbVersionsValue( return this; } - private boolean requiresDbRestart_ ; + private boolean requiresDbRestart_; /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3671,6 +4278,7 @@ public Builder addAllSupportedDbVersionsValue(
      * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -3678,6 +4286,8 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3686,6 +4296,7 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; + * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -3697,6 +4308,8 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3705,6 +4318,7 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; + * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -3713,9 +4327,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3725,12 +4339,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag(); } @@ -3739,27 +4353,27 @@ public static com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3774,6 +4388,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java index 0655608c349a..24160539101d 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SupportedDatabaseFlagOrBuilder.java @@ -1,67 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface SupportedDatabaseFlagOrBuilder extends +public interface SupportedDatabaseFlagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -69,10 +118,13 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -80,105 +132,131 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ java.lang.String getFlagName(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - com.google.protobuf.ByteString - getFlagNameBytes(); + com.google.protobuf.ByteString getFlagNameBytes(); /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ com.google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType getValueType(); /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1alpha.DatabaseVersion getSupportedDbVersions(int index); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List - getSupportedDbVersionsValueList(); + java.util.List getSupportedDbVersionsValueList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -187,6 +265,7 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java index 21bc62c4b605..a1a22509603c 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Backup backup_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -108,11 +143,16 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -120,11 +160,15 @@ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { @@ -132,9 +176,12 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +199,7 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +208,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +234,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +253,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,12 +272,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -235,6 +289,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +327,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +349,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.cloud.alloydb.v1alpha.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other = (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other = + (com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup() - .equals(other.getBackup())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getBackup().equals(other.getBackup())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +390,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateBackupRequest) com.google.cloud.alloydb.v1alpha.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -501,9 +549,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -522,8 +570,11 @@ public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result = new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result = + new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +582,10 @@ public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +602,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +642,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +687,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +733,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -696,13 +753,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -711,17 +772,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -730,7 +797,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +814,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -754,10 +824,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +838,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -776,13 +848,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +868,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -803,7 +878,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +892,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -824,7 +902,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +911,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -840,17 +921,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -859,17 +944,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -877,39 +966,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1alpha.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { @@ -925,14 +1033,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1alpha.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -943,17 +1054,21 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -966,11 +1081,15 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1alpha.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1102,15 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1118,48 @@ public com.google.cloud.alloydb.v1alpha.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance() + : backup_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder> + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Backup, com.google.cloud.alloydb.v1alpha.Backup.Builder, com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Backup, + com.google.cloud.alloydb.v1alpha.Backup.Builder, + com.google.cloud.alloydb.v1alpha.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1032,6 +1167,8 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1049,13 +1186,13 @@ public com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1064,6 +1201,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1081,15 +1220,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1097,6 +1235,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1114,18 +1254,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1143,6 +1287,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1297,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1169,12 +1316,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1331,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1197,12 +1349,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1214,12 +1369,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1229,14 +1387,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1244,12 +1405,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1261,12 +1425,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1275,9 +1442,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1454,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateBackupRequest(); } @@ -1301,27 +1468,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateBackupRequest getDefaultIns 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; @@ -1336,6 +1503,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java index e67456bb02ef..8e3ec62f5744 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateBackupRequestOrBuilder extends +public interface UpdateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1alpha.Backup getBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,29 +158,35 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java index 95a91e690f9a..bb022cf3f06d 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UpdateClusterRequest) UpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Cluster cluster_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +203,7 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +257,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +266,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +277,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +294,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +332,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +354,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.cloud.alloydb.v1alpha.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other = (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other = + (com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getCluster().equals(other.getCluster())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +395,145 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UpdateClusterRequest) com.google.cloud.alloydb.v1alpha.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -523,8 +576,11 @@ public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result = new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result = + new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +588,10 @@ public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +608,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +693,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +739,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -697,13 +759,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -712,17 +778,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -731,7 +803,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +820,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -755,10 +830,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +844,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -777,13 +854,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -804,7 +884,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +898,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -825,7 +908,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +917,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -841,17 +927,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -860,17 +950,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +972,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1alpha.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { @@ -926,14 +1039,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1alpha.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -944,17 +1060,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -967,11 +1087,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1alpha.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1108,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1124,48 @@ public com.google.cloud.alloydb.v1alpha.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Cluster, com.google.cloud.alloydb.v1alpha.Cluster.Builder, com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Cluster, + com.google.cloud.alloydb.v1alpha.Cluster.Builder, + com.google.cloud.alloydb.v1alpha.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1033,6 +1173,8 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1192,13 @@ public com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1207,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1260,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1293,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1303,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1322,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1337,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1348,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1356,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1365,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1377,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1386,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1396,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1414,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1434,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1451,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateClusterRequest(); } @@ -1305,27 +1477,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java index 1d25e49ea121..b873a9e224b2 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateClusterRequestOrBuilder extends +public interface UpdateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1alpha.Cluster getCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +158,14 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +173,21 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java index 69d9caa43f75..8893c12206cd 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.Instance instance_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +203,7 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +257,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +266,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +277,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +294,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +332,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +354,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.cloud.alloydb.v1alpha.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other = + (com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getInstance().equals(other.getInstance())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +395,145 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1alpha.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; } /** + * + * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.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.cloud.alloydb.v1alpha.UpdateInstanceRequest) com.google.cloud.alloydb.v1alpha.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.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(); @@ -502,9 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -523,8 +576,11 @@ public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result = + new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +588,10 @@ public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +608,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateInstanceReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +693,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +739,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -697,13 +759,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -712,17 +778,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -731,7 +803,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +820,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -755,10 +830,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +844,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -777,13 +854,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -804,7 +884,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +898,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -825,7 +908,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +917,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -841,17 +927,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -860,17 +950,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +972,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1alpha.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { @@ -926,14 +1039,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1alpha.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -944,17 +1060,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -967,11 +1087,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1alpha.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1108,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1124,48 @@ public com.google.cloud.alloydb.v1alpha.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.Instance, com.google.cloud.alloydb.v1alpha.Instance.Builder, com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.Instance, + com.google.cloud.alloydb.v1alpha.Instance.Builder, + com.google.cloud.alloydb.v1alpha.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1033,6 +1173,8 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1192,13 @@ public com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1207,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1260,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1293,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1303,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1322,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1337,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1348,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1356,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1365,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1377,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1386,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1396,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1414,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1434,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1451,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest(); } @@ -1305,27 +1477,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest getDefaultI 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; @@ -1340,6 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java index 2de1f58fc191..477925940d57 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateInstanceRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateInstanceRequestOrBuilder extends +public interface UpdateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1alpha.Instance getInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1alpha.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +158,14 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +173,21 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java index 80bbf2274580..740d1e60d4bc 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateUserRequest} */ -public final class UpdateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UpdateUserRequest) UpdateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1alpha.User user_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +196,7 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +250,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,11 +269,14 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -234,6 +285,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -272,23 +323,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,29 +345,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.cloud.alloydb.v1alpha.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UpdateUserRequest other = (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1alpha.UpdateUserRequest other = + (com.google.cloud.alloydb.v1alpha.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getUser().equals(other.getUser())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,142 +386,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.UpdateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UpdateUserRequest) com.google.cloud.alloydb.v1alpha.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, + com.google.cloud.alloydb.v1alpha.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.UpdateUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ServiceProto + .internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; } @java.lang.Override @@ -521,8 +566,11 @@ public com.google.cloud.alloydb.v1alpha.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1alpha.UpdateUserRequest result = new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.UpdateUserRequest result = + new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -530,14 +578,10 @@ public com.google.cloud.alloydb.v1alpha.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -554,38 +598,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UpdateUserRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.UpdateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +638,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1alpha.UpdateUserRequest other) { - if (other == com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -637,41 +683,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -681,12 +729,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -695,13 +749,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -710,17 +768,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -729,7 +793,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -745,6 +810,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -753,10 +820,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -767,6 +834,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -775,13 +844,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -794,6 +864,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -802,7 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -815,6 +888,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -823,7 +898,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -831,6 +907,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -839,17 +917,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -858,17 +940,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -876,24 +962,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1alpha.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1alpha.User getUser() { @@ -904,11 +1001,14 @@ public com.google.cloud.alloydb.v1alpha.User getUser() { } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { @@ -924,14 +1024,16 @@ public Builder setUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1alpha.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -942,17 +1044,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1alpha.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -965,11 +1070,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1alpha.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -982,11 +1090,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -994,36 +1105,44 @@ public com.google.cloud.alloydb.v1alpha.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1alpha.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder> + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1alpha.User, com.google.cloud.alloydb.v1alpha.User.Builder, com.google.cloud.alloydb.v1alpha.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1alpha.User, + com.google.cloud.alloydb.v1alpha.User.Builder, + com.google.cloud.alloydb.v1alpha.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1031,6 +1150,8 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1048,13 +1169,13 @@ public com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1063,6 +1184,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1080,15 +1203,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1096,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1113,18 +1237,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1142,6 +1270,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1151,6 +1280,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1168,12 +1299,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1181,14 +1314,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1196,12 +1332,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1213,12 +1352,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1228,13 +1370,16 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1242,11 +1387,14 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1258,11 +1406,14 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1271,9 +1422,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1434,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UpdateUserRequest) private static final com.google.cloud.alloydb.v1alpha.UpdateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UpdateUserRequest(); } @@ -1297,27 +1448,27 @@ public static com.google.cloud.alloydb.v1alpha.UpdateUserRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1483,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java index fcb24736331e..a38bf5d0ecb4 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UpdateUserRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/service.proto package com.google.cloud.alloydb.v1alpha; -public interface UpdateUserRequestOrBuilder extends +public interface UpdateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ com.google.cloud.alloydb.v1alpha.User getUser(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1alpha.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1alpha.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,28 +155,34 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java index 3d5a7b900ff9..184951add8bd 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/User.java @@ -1,62 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.User} */ -public final class User extends - com.google.protobuf.GeneratedMessageV3 implements +public final class User extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.User) UserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private User() { name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.User.class, com.google.cloud.alloydb.v1alpha.User.Builder.class); + com.google.cloud.alloydb.v1alpha.User.class, + com.google.cloud.alloydb.v1alpha.User.Builder.class); } /** + * + * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1alpha.User.UserType} */ - public enum UserType - implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified user type.
      * 
@@ -65,6 +86,8 @@ public enum UserType */ USER_TYPE_UNSPECIFIED(0), /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -74,6 +97,8 @@ public enum UserType
      */
     ALLOYDB_BUILT_IN(1),
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -85,6 +110,8 @@ public enum UserType ; /** + * + * *
      * Unspecified user type.
      * 
@@ -93,6 +120,8 @@ public enum UserType */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -102,6 +131,8 @@ public enum UserType
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -110,7 +141,6 @@ public enum UserType */ public static final int ALLOYDB_IAM_USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +165,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: return USER_TYPE_UNSPECIFIED; - case 1: return ALLOYDB_BUILT_IN; - case 2: return ALLOYDB_IAM_USER; - default: return null; + case 0: + return USER_TYPE_UNSPECIFIED; + case 1: + return ALLOYDB_BUILT_IN; + case 2: + return ALLOYDB_IAM_USER; + 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< - UserType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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 UserType findValueByNumber(int number) { + return UserType.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.cloud.alloydb.v1alpha.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType 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; @@ -195,15 +225,19 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -212,30 +246,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; } } /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -244,14 +278,18 @@ public java.lang.String getName() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ @java.lang.Override @@ -260,29 +298,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -291,41 +329,50 @@ public java.lang.String getPassword() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { return databaseRoles_; } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -333,47 +380,63 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ - @java.lang.Override public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { - com.google.cloud.alloydb.v1alpha.User.UserType result = com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); + @java.lang.Override + public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { + com.google.cloud.alloydb.v1alpha.User.UserType result = + com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1alpha.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,8 +448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -396,7 +458,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < databaseRoles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, databaseRoles_.getRaw(i)); } - if (userType_ != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + if (userType_ + != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, userType_); } getUnknownFields().writeTo(output); @@ -422,9 +485,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getDatabaseRolesList().size(); } - if (userType_ != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, userType_); + if (userType_ + != com.google.cloud.alloydb.v1alpha.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,19 +497,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.cloud.alloydb.v1alpha.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1alpha.User other = (com.google.cloud.alloydb.v1alpha.User) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; - if (!getDatabaseRolesList() - .equals(other.getDatabaseRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -474,148 +534,150 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.User parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.User parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1alpha.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1alpha.User 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.cloud.alloydb.v1alpha.User parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1alpha.User} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.User) com.google.cloud.alloydb.v1alpha.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1alpha.User.class, com.google.cloud.alloydb.v1alpha.User.Builder.class); + com.google.cloud.alloydb.v1alpha.User.class, + com.google.cloud.alloydb.v1alpha.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1alpha.User.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1alpha.ResourcesProto + .internal_static_google_cloud_alloydb_v1alpha_User_descriptor; } @java.lang.Override @@ -634,8 +696,11 @@ public com.google.cloud.alloydb.v1alpha.User build() { @java.lang.Override public com.google.cloud.alloydb.v1alpha.User buildPartial() { - com.google.cloud.alloydb.v1alpha.User result = new com.google.cloud.alloydb.v1alpha.User(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1alpha.User result = + new com.google.cloud.alloydb.v1alpha.User(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -661,38 +726,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.User result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1alpha.User) { - return mergeFrom((com.google.cloud.alloydb.v1alpha.User)other); + return mergeFrom((com.google.cloud.alloydb.v1alpha.User) other); } else { super.mergeFrom(other); return this; @@ -750,33 +816,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: + { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -786,23 +857,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -811,21 +885,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -833,30 +908,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -866,18 +948,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -887,18 +973,20 @@ public Builder setNameBytes( private java.lang.Object password_ = ""; /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -907,20 +995,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -928,28 +1017,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -959,17 +1055,21 @@ public Builder clearPassword() { return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -979,6 +1079,7 @@ public Builder setPasswordBytes( private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -986,38 +1087,46 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1025,33 +1134,39 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1059,18 +1174,22 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1078,53 +1197,61 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles( - java.lang.Iterable values) { + public Builder addAllDatabaseRoles(java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1135,22 +1262,33 @@ public Builder addDatabaseRolesBytes( private int userType_ = 0; /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1161,24 +1299,35 @@ public Builder setUserTypeValue(int value) { return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1alpha.User.UserType getUserType() { - com.google.cloud.alloydb.v1alpha.User.UserType result = com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1alpha.User.UserType result = + com.google.cloud.alloydb.v1alpha.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1alpha.User.UserType.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The userType to set. * @return This builder for chaining. */ @@ -1192,11 +1341,16 @@ public Builder setUserType(com.google.cloud.alloydb.v1alpha.User.UserType value) return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearUserType() { @@ -1205,9 +1359,9 @@ public Builder clearUserType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1371,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.User) private static final com.google.cloud.alloydb.v1alpha.User DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.User(); } @@ -1231,27 +1385,27 @@ public static com.google.cloud.alloydb.v1alpha.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1420,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserName.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java index c3a33e4710c7..85ca3a86f2d8 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserOrBuilder.java @@ -1,114 +1,160 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface UserOrBuilder extends +public interface UserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.User) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - java.util.List - getDatabaseRolesList(); + java.util.List getDatabaseRolesList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString - getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString getDatabaseRolesBytes(int index); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1alpha.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ com.google.cloud.alloydb.v1alpha.User.UserType getUserType(); diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java index 472e426aea5f..d94bafddc552 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPassword.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; /** + * + * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1alpha.UserPassword}
  */
-public final class UserPassword extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1alpha.UserPassword)
     UserPasswordOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -27,33 +45,38 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1alpha.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1alpha.UserPassword.class, com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1alpha.UserPassword.class,
+            com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
+   *
+   *
    * 
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getUser() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getPassword() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -182,17 +209,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.cloud.alloydb.v1alpha.UserPassword)) { return super.equals(obj); } - com.google.cloud.alloydb.v1alpha.UserPassword other = (com.google.cloud.alloydb.v1alpha.UserPassword) obj; + com.google.cloud.alloydb.v1alpha.UserPassword other = + (com.google.cloud.alloydb.v1alpha.UserPassword) obj; - if (!getUser() - .equals(other.getUser())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUser().equals(other.getUser())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,99 +239,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1alpha.UserPassword parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1alpha.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1alpha.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -313,33 +344,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1alpha.UserPassword}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1alpha.UserPassword)
       com.google.cloud.alloydb.v1alpha.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1alpha.UserPassword.class, com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1alpha.UserPassword.class,
+              com.google.cloud.alloydb.v1alpha.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1alpha.UserPassword.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1alpha.ResourcesProto.internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1alpha.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +401,11 @@ public com.google.cloud.alloydb.v1alpha.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1alpha.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1alpha.UserPassword result = new com.google.cloud.alloydb.v1alpha.UserPassword(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1alpha.UserPassword result =
+          new com.google.cloud.alloydb.v1alpha.UserPassword(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -391,38 +424,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1alpha.UserPassword result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1alpha.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1alpha.UserPassword)other);
+        return mergeFrom((com.google.cloud.alloydb.v1alpha.UserPassword) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -467,22 +501,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              user_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              password_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                user_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                password_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -492,22 +529,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
+     *
+     *
      * 
      * The database username.
      * 
* * string user = 1; + * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -516,20 +556,21 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return The bytes for user. */ - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -537,28 +578,35 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return This builder for chaining. */ public Builder clearUser() { @@ -568,17 +616,21 @@ public Builder clearUser() { return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -588,18 +640,20 @@ public Builder setUserBytes( private java.lang.Object password_ = ""; /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -608,20 +662,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -629,28 +684,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -660,26 +722,30 @@ public Builder clearPassword() { return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1alpha.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1alpha.UserPassword) private static final com.google.cloud.alloydb.v1alpha.UserPassword DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1alpha.UserPassword(); } @@ -703,27 +769,27 @@ public static com.google.cloud.alloydb.v1alpha.UserPassword getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1alpha.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java similarity index 53% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java index 0d95e6906e69..1524d633349f 100644 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/UserPasswordOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1alpha/resources.proto package com.google.cloud.alloydb.v1alpha; -public interface UserPasswordOrBuilder extends +public interface UserPasswordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.UserPassword) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ java.lang.String getUser(); /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ - com.google.protobuf.ByteString - getUserBytes(); + com.google.protobuf.ByteString getUserBytes(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/resources.proto diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto rename to java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/proto/google/cloud/alloydb/v1alpha/service.proto diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java index 36010edfd162..986d255aa9d3 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message describing the user-specified automated backup policy.
  *
@@ -13,56 +30,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy}
  */
-public final class AutomatedBackupPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutomatedBackupPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy)
     AutomatedBackupPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutomatedBackupPolicy.newBuilder() to construct.
   private AutomatedBackupPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutomatedBackupPolicy() {
     location_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutomatedBackupPolicy();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class,
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
   }
 
-  public interface WeeklyScheduleOrBuilder extends
+  public interface WeeklyScheduleOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -73,9 +94,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesList();
+    java.util.List getStartTimesList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -88,6 +110,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     com.google.type.TimeOfDay getStartTimes(int index);
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -100,6 +124,8 @@ public interface WeeklyScheduleOrBuilder extends
      */
     int getStartTimesCount();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -110,9 +136,10 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    java.util.List 
-        getStartTimesOrBuilderList();
+    java.util.List getStartTimesOrBuilderList();
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -123,10 +150,11 @@ public interface WeeklyScheduleOrBuilder extends
      *
      * repeated .google.type.TimeOfDay start_times = 1;
      */
-    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index);
+    com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index);
 
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -135,10 +163,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ java.util.List getDaysOfWeekList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -147,10 +178,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ int getDaysOfWeekCount(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -159,11 +193,14 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ com.google.type.DayOfWeek getDaysOfWeek(int index); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -172,11 +209,13 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - java.util.List - getDaysOfWeekValueList(); + java.util.List getDaysOfWeekValueList(); /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -185,12 +224,15 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ int getDaysOfWeekValue(int index); } /** + * + * *
    * A weekly schedule starts a backup at prescribed start times within a
    * day, for the specified days of the week.
@@ -203,15 +245,16 @@ com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule}
    */
-  public static final class WeeklySchedule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class WeeklySchedule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
       WeeklyScheduleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use WeeklySchedule.newBuilder() to construct.
     private WeeklySchedule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private WeeklySchedule() {
       startTimes_ = java.util.Collections.emptyList();
       daysOfWeek_ = java.util.Collections.emptyList();
@@ -219,28 +262,32 @@ private WeeklySchedule() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new WeeklySchedule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class,
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
     }
 
     public static final int START_TIMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private java.util.List startTimes_;
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -256,6 +303,8 @@ public java.util.List getStartTimesList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -267,11 +316,13 @@ public java.util.List getStartTimesList() {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List
         getStartTimesOrBuilderList() {
       return startTimes_;
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -287,6 +338,8 @@ public int getStartTimesCount() {
       return startTimes_.size();
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -302,6 +355,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
       return startTimes_.get(index);
     }
     /**
+     *
+     *
      * 
      * The times during the day to start a backup. The start times are assumed
      * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -313,16 +368,18 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
      * repeated .google.type.TimeOfDay start_times = 1;
      */
     @java.lang.Override
-    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-        int index) {
+    public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
       return startTimes_.get(index);
     }
 
     public static final int DAYS_OF_WEEK_FIELD_NUMBER = 2;
+
     @SuppressWarnings("serial")
     private java.util.List daysOfWeek_;
+
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.type.DayOfWeek> daysOfWeek_converter_ =
+            java.lang.Integer, com.google.type.DayOfWeek>
+        daysOfWeek_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.type.DayOfWeek>() {
               public com.google.type.DayOfWeek convert(java.lang.Integer from) {
@@ -331,6 +388,8 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
               }
             };
     /**
+     *
+     *
      * 
      * The days of the week to perform a backup.
      *
@@ -339,6 +398,7 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ @java.lang.Override @@ -347,6 +407,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -355,6 +417,7 @@ public java.util.List getDaysOfWeekList() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ @java.lang.Override @@ -362,6 +425,8 @@ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -370,6 +435,7 @@ public int getDaysOfWeekCount() {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -378,6 +444,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -386,14 +454,16 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ @java.lang.Override - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return daysOfWeek_; } /** + * + * *
      * The days of the week to perform a backup.
      *
@@ -402,6 +472,7 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
      * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -409,9 +480,11 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } + private int daysOfWeekMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,8 +496,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < startTimes_.size(); i++) { output.writeMessage(1, startTimes_.get(i)); @@ -446,20 +518,20 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < startTimes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, startTimes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, startTimes_.get(i)); } { int dataSize = 0; for (int i = 0; i < daysOfWeek_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(daysOfWeek_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(daysOfWeek_.get(i)); } size += dataSize; - if (!getDaysOfWeekList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }daysOfWeekMemoizedSerializedSize = dataSize; + if (!getDaysOfWeekList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + daysOfWeekMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,15 +541,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other = + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) obj; - if (!getStartTimesList() - .equals(other.getStartTimesList())) return false; + if (!getStartTimesList().equals(other.getStartTimesList())) return false; if (!daysOfWeek_.equals(other.daysOfWeek_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -504,89 +576,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -596,6 +674,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A weekly schedule starts a backup at prescribed start times within a
      * day, for the specified days of the week.
@@ -608,33 +688,34 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)
         com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.class,
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder.class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.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();
@@ -652,19 +733,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance();
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule build() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result = buildPartial();
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -673,14 +757,18 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule buil
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule buildPartial() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(this);
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result =
+            new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartialRepeatedFields(
+          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
         if (startTimesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             startTimes_ = java.util.Collections.unmodifiableList(startTimes_);
@@ -697,7 +785,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.Automate
         result.daysOfWeek_ = daysOfWeek_;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule result) {
         int from_bitField0_ = bitField0_;
       }
 
@@ -705,46 +794,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule)other);
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other) {
-        if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule other) {
+        if (other
+            == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
+                .getDefaultInstance()) return this;
         if (startTimesBuilder_ == null) {
           if (!other.startTimes_.isEmpty()) {
             if (startTimes_.isEmpty()) {
@@ -763,9 +859,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.W
               startTimesBuilder_ = null;
               startTimes_ = other.startTimes_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              startTimesBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getStartTimesFieldBuilder() : null;
+              startTimesBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getStartTimesFieldBuilder()
+                      : null;
             } else {
               startTimesBuilder_.addAllMessages(other.startTimes_);
             }
@@ -807,42 +904,44 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                com.google.type.TimeOfDay m =
-                    input.readMessage(
-                        com.google.type.TimeOfDay.parser(),
-                        extensionRegistry);
-                if (startTimesBuilder_ == null) {
-                  ensureStartTimesIsMutable();
-                  startTimes_.add(m);
-                } else {
-                  startTimesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-              case 16: {
-                int tmpRaw = input.readEnum();
-                ensureDaysOfWeekIsMutable();
-                daysOfWeek_.add(tmpRaw);
-                break;
-              } // case 16
-              case 18: {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while(input.getBytesUntilLimit() > 0) {
+              case 10:
+                {
+                  com.google.type.TimeOfDay m =
+                      input.readMessage(com.google.type.TimeOfDay.parser(), extensionRegistry);
+                  if (startTimesBuilder_ == null) {
+                    ensureStartTimesIsMutable();
+                    startTimes_.add(m);
+                  } else {
+                    startTimesBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 10
+              case 16:
+                {
                   int tmpRaw = input.readEnum();
                   ensureDaysOfWeekIsMutable();
                   daysOfWeek_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 16
+              case 18:
+                {
+                  int length = input.readRawVarint32();
+                  int oldLimit = input.pushLimit(length);
+                  while (input.getBytesUntilLimit() > 0) {
+                    int tmpRaw = input.readEnum();
+                    ensureDaysOfWeekIsMutable();
+                    daysOfWeek_.add(tmpRaw);
+                  }
+                  input.popLimit(oldLimit);
+                  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) {
@@ -852,21 +951,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List startTimes_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureStartTimesIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           startTimes_ = new java.util.ArrayList(startTimes_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> startTimesBuilder_;
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
+          startTimesBuilder_;
 
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -885,6 +991,8 @@ public java.util.List getStartTimesList() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -903,6 +1011,8 @@ public int getStartTimesCount() {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -921,6 +1031,8 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -931,8 +1043,7 @@ public com.google.type.TimeOfDay getStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -946,6 +1057,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -956,8 +1069,7 @@ public Builder setStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder setStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder setStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.set(index, builderForValue.build());
@@ -968,6 +1080,8 @@ public Builder setStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -992,6 +1106,8 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1002,8 +1118,7 @@ public Builder addStartTimes(com.google.type.TimeOfDay value) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay value) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay value) {
         if (startTimesBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1017,6 +1132,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1027,8 +1144,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(builderForValue.build());
@@ -1039,6 +1155,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1049,8 +1167,7 @@ public Builder addStartTimes(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public Builder addStartTimes(
-          int index, com.google.type.TimeOfDay.Builder builderForValue) {
+      public Builder addStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
           startTimes_.add(index, builderForValue.build());
@@ -1061,6 +1178,8 @@ public Builder addStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1075,8 +1194,7 @@ public Builder addAllStartTimes(
           java.lang.Iterable values) {
         if (startTimesBuilder_ == null) {
           ensureStartTimesIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(
-              values, startTimes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, startTimes_);
           onChanged();
         } else {
           startTimesBuilder_.addAllMessages(values);
@@ -1084,6 +1202,8 @@ public Builder addAllStartTimes(
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1105,6 +1225,8 @@ public Builder clearStartTimes() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1126,6 +1248,8 @@ public Builder removeStartTimes(int index) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1136,11 +1260,12 @@ public Builder removeStartTimes(int index) {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
-          int index) {
+      public com.google.type.TimeOfDay.Builder getStartTimesBuilder(int index) {
         return getStartTimesFieldBuilder().getBuilder(index);
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1151,14 +1276,16 @@ public com.google.type.TimeOfDay.Builder getStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
-          int index) {
+      public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index) {
         if (startTimesBuilder_ == null) {
-          return startTimes_.get(index);  } else {
+          return startTimes_.get(index);
+        } else {
           return startTimesBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1169,8 +1296,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesOrBuilderList() {
+      public java.util.List
+          getStartTimesOrBuilderList() {
         if (startTimesBuilder_ != null) {
           return startTimesBuilder_.getMessageOrBuilderList();
         } else {
@@ -1178,6 +1305,8 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1189,10 +1318,12 @@ public com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(
        * repeated .google.type.TimeOfDay start_times = 1;
        */
       public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
-        return getStartTimesFieldBuilder().addBuilder(
-            com.google.type.TimeOfDay.getDefaultInstance());
+        return getStartTimesFieldBuilder()
+            .addBuilder(com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1203,12 +1334,13 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder() {
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
-          int index) {
-        return getStartTimesFieldBuilder().addBuilder(
-            index, com.google.type.TimeOfDay.getDefaultInstance());
+      public com.google.type.TimeOfDay.Builder addStartTimesBuilder(int index) {
+        return getStartTimesFieldBuilder()
+            .addBuilder(index, com.google.type.TimeOfDay.getDefaultInstance());
       }
       /**
+       *
+       *
        * 
        * The times during the day to start a backup. The start times are assumed
        * to be in UTC and to be an exact hour (e.g., 04:00:00).
@@ -1219,27 +1351,29 @@ public com.google.type.TimeOfDay.Builder addStartTimesBuilder(
        *
        * repeated .google.type.TimeOfDay start_times = 1;
        */
-      public java.util.List 
-           getStartTimesBuilderList() {
+      public java.util.List getStartTimesBuilderList() {
         return getStartTimesFieldBuilder().getBuilderList();
       }
+
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder> 
+              com.google.type.TimeOfDay,
+              com.google.type.TimeOfDay.Builder,
+              com.google.type.TimeOfDayOrBuilder>
           getStartTimesFieldBuilder() {
         if (startTimesBuilder_ == null) {
-          startTimesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.type.TimeOfDay, com.google.type.TimeOfDay.Builder, com.google.type.TimeOfDayOrBuilder>(
-                  startTimes_,
-                  ((bitField0_ & 0x00000001) != 0),
-                  getParentForChildren(),
-                  isClean());
+          startTimesBuilder_ =
+              new com.google.protobuf.RepeatedFieldBuilderV3<
+                  com.google.type.TimeOfDay,
+                  com.google.type.TimeOfDay.Builder,
+                  com.google.type.TimeOfDayOrBuilder>(
+                  startTimes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
           startTimes_ = null;
         }
         return startTimesBuilder_;
       }
 
-      private java.util.List daysOfWeek_ =
-        java.util.Collections.emptyList();
+      private java.util.List daysOfWeek_ = java.util.Collections.emptyList();
+
       private void ensureDaysOfWeekIsMutable() {
         if (!((bitField0_ & 0x00000002) != 0)) {
           daysOfWeek_ = new java.util.ArrayList(daysOfWeek_);
@@ -1247,6 +1381,8 @@ private void ensureDaysOfWeekIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * The days of the week to perform a backup.
        *
@@ -1255,6 +1391,7 @@ private void ensureDaysOfWeekIsMutable() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the daysOfWeek. */ public java.util.List getDaysOfWeekList() { @@ -1262,6 +1399,8 @@ public java.util.List getDaysOfWeekList() { java.lang.Integer, com.google.type.DayOfWeek>(daysOfWeek_, daysOfWeek_converter_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1270,12 +1409,15 @@ public java.util.List getDaysOfWeekList() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return The count of daysOfWeek. */ public int getDaysOfWeekCount() { return daysOfWeek_.size(); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1284,6 +1426,7 @@ public int getDaysOfWeekCount() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the element to return. * @return The daysOfWeek at the given index. */ @@ -1291,6 +1434,8 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) { return daysOfWeek_converter_.convert(daysOfWeek_.get(index)); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1299,12 +1444,12 @@ public com.google.type.DayOfWeek getDaysOfWeek(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeek( - int index, com.google.type.DayOfWeek value) { + public Builder setDaysOfWeek(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1314,6 +1459,8 @@ public Builder setDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1322,6 +1469,7 @@ public Builder setDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The daysOfWeek to add. * @return This builder for chaining. */ @@ -1335,6 +1483,8 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1343,6 +1493,7 @@ public Builder addDaysOfWeek(com.google.type.DayOfWeek value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The daysOfWeek to add. * @return This builder for chaining. */ @@ -1356,6 +1507,8 @@ public Builder addAllDaysOfWeek( return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1364,6 +1517,7 @@ public Builder addAllDaysOfWeek(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return This builder for chaining. */ public Builder clearDaysOfWeek() { @@ -1373,6 +1527,8 @@ public Builder clearDaysOfWeek() { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1381,13 +1537,15 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @return A list containing the enum numeric values on the wire for daysOfWeek. */ - public java.util.List - getDaysOfWeekValueList() { + public java.util.List getDaysOfWeekValueList() { return java.util.Collections.unmodifiableList(daysOfWeek_); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1396,6 +1554,7 @@ public Builder clearDaysOfWeek() {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of daysOfWeek at the given index. */ @@ -1403,6 +1562,8 @@ public int getDaysOfWeekValue(int index) { return daysOfWeek_.get(index); } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1411,18 +1572,20 @@ public int getDaysOfWeekValue(int index) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for daysOfWeek to set. * @return This builder for chaining. */ - public Builder setDaysOfWeekValue( - int index, int value) { + public Builder setDaysOfWeekValue(int index, int value) { ensureDaysOfWeekIsMutable(); daysOfWeek_.set(index, value); onChanged(); return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1431,6 +1594,7 @@ public Builder setDaysOfWeekValue(
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param value The enum numeric value on the wire for daysOfWeek to add. * @return This builder for chaining. */ @@ -1441,6 +1605,8 @@ public Builder addDaysOfWeekValue(int value) { return this; } /** + * + * *
        * The days of the week to perform a backup.
        *
@@ -1449,11 +1615,11 @@ public Builder addDaysOfWeekValue(int value) {
        * 
* * repeated .google.type.DayOfWeek days_of_week = 2; + * * @param values The enum numeric values on the wire for daysOfWeek to add. * @return This builder for chaining. */ - public Builder addAllDaysOfWeekValue( - java.lang.Iterable values) { + public Builder addAllDaysOfWeekValue(java.lang.Iterable values) { ensureDaysOfWeekIsMutable(); for (int value : values) { daysOfWeek_.add(value); @@ -1461,6 +1627,7 @@ public Builder addAllDaysOfWeekValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1473,41 +1640,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WeeklySchedule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WeeklySchedule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1519,35 +1689,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface TimeBasedRetentionOrBuilder extends + public interface TimeBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** + * + * *
      * The retention period.
      * 
@@ -1557,6 +1736,8 @@ public interface TimeBasedRetentionOrBuilder extends com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder(); } /** + * + * *
    * A time based retention policy specifies that all backups within a certain
    * time period should be retained.
@@ -1564,46 +1745,51 @@ public interface TimeBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention}
    */
-  public static final class TimeBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class TimeBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)
       TimeBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use TimeBasedRetention.newBuilder() to construct.
     private TimeBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private TimeBasedRetention() {
-    }
+
+    private TimeBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new TimeBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class,
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder
+                  .class);
     }
 
     public static final int RETENTION_PERIOD_FIELD_NUMBER = 1;
     private com.google.protobuf.Duration retentionPeriod_;
     /**
+     *
+     *
      * 
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -1611,18 +1797,25 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** + * + * *
      * The retention period.
      * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } /** + * + * *
      * The retention period.
      * 
@@ -1631,10 +1824,13 @@ public com.google.protobuf.Duration getRetentionPeriod() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1646,8 +1842,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionPeriod_ != null) { output.writeMessage(1, getRetentionPeriod()); } @@ -1661,8 +1856,7 @@ public int getSerializedSize() { size = 0; if (retentionPeriod_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRetentionPeriod()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1672,17 +1866,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other = + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) obj; if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false; if (hasRetentionPeriod()) { - if (!getRetentionPeriod() - .equals(other.getRetentionPeriod())) return false; + if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1704,90 +1899,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1797,6 +2003,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A time based retention policy specifies that all backups within a certain
      * time period should be retained.
@@ -1804,33 +2012,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)
         com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder.class);
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.class,
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.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();
@@ -1844,19 +2054,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() {
-        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance();
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
+          getDefaultInstanceForType() {
+        return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention build() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result = buildPartial();
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1864,19 +2077,23 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention buildPartial() {
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
+          buildPartial() {
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result =
+            new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.retentionPeriod_ = retentionPeriodBuilder_ == null
-              ? retentionPeriod_
-              : retentionPeriodBuilder_.build();
+          result.retentionPeriod_ =
+              retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build();
         }
       }
 
@@ -1884,46 +2101,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention)other);
+        if (other
+            instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) {
+          return mergeFrom(
+              (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other) {
-        if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention other) {
+        if (other
+            == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention
+                .getDefaultInstance()) return this;
         if (other.hasRetentionPeriod()) {
           mergeRetentionPeriod(other.getRetentionPeriod());
         }
@@ -1953,19 +2178,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getRetentionPeriodFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  input.readMessage(
+                      getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1975,38 +2201,52 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.Duration retentionPeriod_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_;
+              com.google.protobuf.Duration,
+              com.google.protobuf.Duration.Builder,
+              com.google.protobuf.DurationOrBuilder>
+          retentionPeriodBuilder_;
       /**
+       *
+       *
        * 
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; + * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** + * + * *
        * The retention period.
        * 
@@ -2027,14 +2267,15 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
* * .google.protobuf.Duration retention_period = 1; */ - public Builder setRetentionPeriod( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) { if (retentionPeriodBuilder_ == null) { retentionPeriod_ = builderForValue.build(); } else { @@ -2045,6 +2286,8 @@ public Builder setRetentionPeriod( return this; } /** + * + * *
        * The retention period.
        * 
@@ -2053,9 +2296,9 @@ public Builder setRetentionPeriod( */ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { if (retentionPeriodBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - retentionPeriod_ != null && - retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && retentionPeriod_ != null + && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) { getRetentionPeriodBuilder().mergeFrom(value); } else { retentionPeriod_ = value; @@ -2068,6 +2311,8 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2085,6 +2330,8 @@ public Builder clearRetentionPeriod() { return this; } /** + * + * *
        * The retention period.
        * 
@@ -2097,6 +2344,8 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() { return getRetentionPeriodFieldBuilder().getBuilder(); } /** + * + * *
        * The retention period.
        * 
@@ -2107,11 +2356,14 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { if (retentionPeriodBuilder_ != null) { return retentionPeriodBuilder_.getMessageOrBuilder(); } else { - return retentionPeriod_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; + return retentionPeriod_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionPeriod_; } } /** + * + * *
        * The retention period.
        * 
@@ -2119,18 +2371,22 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() { * .google.protobuf.Duration retention_period = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getRetentionPeriodFieldBuilder() { if (retentionPeriodBuilder_ == null) { - retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getRetentionPeriod(), - getParentForChildren(), - isClean()); + retentionPeriodBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRetentionPeriod(), getParentForChildren(), isClean()); retentionPeriod_ = null; } return retentionPeriodBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2143,41 +2399,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimeBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2189,27 +2449,33 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QuantityBasedRetentionOrBuilder extends + public interface QuantityBasedRetentionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ int getCount(); } /** + * + * *
    * A quantity based policy specifies that a certain number of the most recent
    * successful backups should be retained.
@@ -2217,46 +2483,51 @@ public interface QuantityBasedRetentionOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention}
    */
-  public static final class QuantityBasedRetention extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedRetention extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)
       QuantityBasedRetentionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedRetention.newBuilder() to construct.
     private QuantityBasedRetention(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedRetention() {
-    }
+
+    private QuantityBasedRetention() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedRetention();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class,
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder
+                  .class);
     }
 
     public static final int COUNT_FIELD_NUMBER = 1;
     private int count_ = 0;
     /**
+     *
+     *
      * 
      * The number of backups to retain.
      * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2265,6 +2536,7 @@ public int getCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2276,8 +2548,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (count_ != 0) { output.writeInt32(1, count_); } @@ -2291,8 +2562,7 @@ public int getSerializedSize() { size = 0; if (count_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, count_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, count_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2302,15 +2572,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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)) { + if (!(obj + instanceof + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other = + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) obj; - if (getCount() - != other.getCount()) return false; + if (getCount() != other.getCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2329,90 +2601,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + 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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2422,40 +2705,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A quantity based policy specifies that a certain number of the most recent
      * successful backups should be retained.
      * 
* - * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention} + * Protobuf type {@code + * google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder.class); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.class, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.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(); @@ -2465,19 +2753,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention build() { - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = buildPartial(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2485,14 +2776,19 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetent } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention buildPartial() { - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + buildPartial() { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result = + new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.count_ = count_; @@ -2503,46 +2799,55 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) { - return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention)other); + if (other + instanceof + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) { + return mergeFrom( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other) { - if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention other) { + if (other + == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance()) return this; if (other.getCount() != 0) { setCount(other.getCount()); } @@ -2572,17 +2877,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - count_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + count_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2592,15 +2899,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int count_ ; + private int count_; /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return The count. */ @java.lang.Override @@ -2608,11 +2919,14 @@ public int getCount() { return count_; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @param value The count to set. * @return This builder for chaining. */ @@ -2624,11 +2938,14 @@ public Builder setCount(int value) { return this; } /** + * + * *
        * The number of backups to retain.
        * 
* * int32 count = 1; + * * @return This builder for chaining. */ public Builder clearCount() { @@ -2637,6 +2954,7 @@ public Builder clearCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2649,41 +2967,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) - private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy + .QuantityBasedRetention + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention(); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedRetention parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedRetention parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2695,22 +3018,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; private int scheduleCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object schedule_; + public enum ScheduleCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { WEEKLY_SCHEDULE(2), SCHEDULE_NOT_SET(0); private final int value; + private ScheduleCase(int value) { this.value = value; } @@ -2726,32 +3053,38 @@ public static ScheduleCase valueOf(int value) { public static ScheduleCase forNumber(int value) { switch (value) { - case 2: return WEEKLY_SCHEDULE; - case 0: return SCHEDULE_NOT_SET; - default: return null; + case 2: + return WEEKLY_SCHEDULE; + case 0: + return SCHEDULE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ScheduleCase - getScheduleCase() { - return ScheduleCase.forNumber( - scheduleCase_); + public ScheduleCase getScheduleCase() { + return ScheduleCase.forNumber(scheduleCase_); } private int retentionCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object retention_; + public enum RetentionCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TIME_BASED_RETENTION(4), QUANTITY_BASED_RETENTION(5), RETENTION_NOT_SET(0); private final int value; + private RetentionCase(int value) { this.value = value; } @@ -2767,30 +3100,37 @@ public static RetentionCase valueOf(int value) { public static RetentionCase forNumber(int value) { switch (value) { - case 4: return TIME_BASED_RETENTION; - case 5: return QUANTITY_BASED_RETENTION; - case 0: return RETENTION_NOT_SET; - default: return null; + case 4: + return TIME_BASED_RETENTION; + case 5: + return QUANTITY_BASED_RETENTION; + case 0: + return RETENTION_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RetentionCase - getRetentionCase() { - return RetentionCase.forNumber( - retentionCase_); + public RetentionCase getRetentionCase() { + return RetentionCase.forNumber(retentionCase_); } public static final int WEEKLY_SCHEDULE_FIELD_NUMBER = 2; /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -2798,42 +3138,57 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if (scheduleCase_ == 2) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } public static final int TIME_BASED_RETENTION_FIELD_NUMBER = 4; /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -2841,42 +3196,60 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } public static final int QUANTITY_BASED_RETENTION_FIELD_NUMBER = 5; /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -2884,44 +3257,62 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_ = false; /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -2929,12 +3320,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -2945,6 +3339,8 @@ public boolean getEnabled() { public static final int BACKUP_WINDOW_FIELD_NUMBER = 3; private com.google.protobuf.Duration backupWindow_; /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2955,6 +3351,7 @@ public boolean getEnabled() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ @java.lang.Override @@ -2962,6 +3359,8 @@ public boolean hasBackupWindow() { return backupWindow_ != null; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2972,13 +3371,18 @@ public boolean hasBackupWindow() {
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ @java.lang.Override public com.google.protobuf.Duration getBackupWindow() { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -2992,12 +3396,16 @@ public com.google.protobuf.Duration getBackupWindow() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
-    return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+    return backupWindow_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : backupWindow_;
   }
 
   public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 8;
   private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_;
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3005,7 +3413,10 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3013,6 +3424,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3020,14 +3433,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -3035,17 +3455,24 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int LOCATION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3054,6 +3481,7 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
    * 
* * string location = 6; + * * @return The location. */ @java.lang.Override @@ -3062,14 +3490,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -3078,16 +3507,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 6; + * * @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 { @@ -3096,32 +3524,34 @@ public java.lang.String getLocation() { } 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3129,20 +3559,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3154,6 +3585,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3161,17 +3594,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -3179,11 +3614,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3191,6 +3626,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3202,32 +3638,32 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(1, enabled_); } if (scheduleCase_ == 2) { - output.writeMessage(2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); + output.writeMessage( + 2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { output.writeMessage(3, getBackupWindow()); } if (retentionCase_ == 4) { - output.writeMessage(4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); + output.writeMessage( + 4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); } if (retentionCase_ == 5) { - output.writeMessage(5, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + output.writeMessage( + 5, + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, location_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (encryptionConfig_ != null) { output.writeMessage(8, getEncryptionConfig()); } @@ -3241,41 +3677,45 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (scheduleCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_); } if (backupWindow_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getBackupWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackupWindow()); } if (retentionCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) + retention_); } if (retentionCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, location_); } - 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__); + 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__); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getEncryptionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3285,37 +3725,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.cloud.alloydb.v1beta.AutomatedBackupPolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other = (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) obj; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other = + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) obj; if (hasEnabled() != other.hasEnabled()) return false; if (hasEnabled()) { - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; } if (hasBackupWindow() != other.hasBackupWindow()) return false; if (hasBackupWindow()) { - if (!getBackupWindow() - .equals(other.getBackupWindow())) return false; + if (!getBackupWindow().equals(other.getBackupWindow())) 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 (!getLocation() - .equals(other.getLocation())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getScheduleCase().equals(other.getScheduleCase())) return false; switch (scheduleCase_) { case 2: - if (!getWeeklySchedule() - .equals(other.getWeeklySchedule())) return false; + if (!getWeeklySchedule().equals(other.getWeeklySchedule())) return false; break; case 0: default: @@ -3323,12 +3758,10 @@ public boolean equals(final java.lang.Object obj) { if (!getRetentionCase().equals(other.getRetentionCase())) return false; switch (retentionCase_) { case 4: - if (!getTimeBasedRetention() - .equals(other.getTimeBasedRetention())) return false; + if (!getTimeBasedRetention().equals(other.getTimeBasedRetention())) return false; break; case 5: - if (!getQuantityBasedRetention() - .equals(other.getQuantityBasedRetention())) return false; + if (!getQuantityBasedRetention().equals(other.getQuantityBasedRetention())) return false; break; case 0: default: @@ -3346,8 +3779,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); } if (hasBackupWindow()) { hash = (37 * hash) + BACKUP_WINDOW_FIELD_NUMBER; @@ -3389,98 +3821,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing the user-specified automated backup policy.
    *
@@ -3490,55 +3928,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.AutomatedBackupPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.AutomatedBackupPolicy)
       com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.class,
+              com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3573,9 +4008,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -3594,8 +4029,11 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy buildPartial() {
-      com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result =
+          new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3609,14 +4047,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.backupWindow_ = backupWindowBuilder_ == null
-            ? backupWindow_
-            : backupWindowBuilder_.build();
+        result.backupWindow_ =
+            backupWindowBuilder_ == null ? backupWindow_ : backupWindowBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.location_ = location_;
@@ -3631,18 +4067,15 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy result) {
       result.scheduleCase_ = scheduleCase_;
       result.schedule_ = this.schedule_;
-      if (scheduleCase_ == 2 &&
-          weeklyScheduleBuilder_ != null) {
+      if (scheduleCase_ == 2 && weeklyScheduleBuilder_ != null) {
         result.schedule_ = weeklyScheduleBuilder_.build();
       }
       result.retentionCase_ = retentionCase_;
       result.retention_ = this.retention_;
-      if (retentionCase_ == 4 &&
-          timeBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 4 && timeBasedRetentionBuilder_ != null) {
         result.retention_ = timeBasedRetentionBuilder_.build();
       }
-      if (retentionCase_ == 5 &&
-          quantityBasedRetentionBuilder_ != null) {
+      if (retentionCase_ == 5 && quantityBasedRetentionBuilder_ != null) {
         result.retention_ = quantityBasedRetentionBuilder_.build();
       }
     }
@@ -3651,38 +4084,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.AutomatedBackupP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3690,7 +4124,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy other) {
-      if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -3705,30 +4140,34 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy o
         bitField0_ |= 0x00000040;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000080;
       switch (other.getScheduleCase()) {
-        case WEEKLY_SCHEDULE: {
-          mergeWeeklySchedule(other.getWeeklySchedule());
-          break;
-        }
-        case SCHEDULE_NOT_SET: {
-          break;
-        }
+        case WEEKLY_SCHEDULE:
+          {
+            mergeWeeklySchedule(other.getWeeklySchedule());
+            break;
+          }
+        case SCHEDULE_NOT_SET:
+          {
+            break;
+          }
       }
       switch (other.getRetentionCase()) {
-        case TIME_BASED_RETENTION: {
-          mergeTimeBasedRetention(other.getTimeBasedRetention());
-          break;
-        }
-        case QUANTITY_BASED_RETENTION: {
-          mergeQuantityBasedRetention(other.getQuantityBasedRetention());
-          break;
-        }
-        case RETENTION_NOT_SET: {
-          break;
-        }
+        case TIME_BASED_RETENTION:
+          {
+            mergeTimeBasedRetention(other.getTimeBasedRetention());
+            break;
+          }
+        case QUANTITY_BASED_RETENTION:
+          {
+            mergeQuantityBasedRetention(other.getQuantityBasedRetention());
+            break;
+          }
+        case RETENTION_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3756,66 +4195,70 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getWeeklyScheduleFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              scheduleCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getBackupWindowFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getTimeBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getQuantityBasedRetentionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              retentionCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              location_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getWeeklyScheduleFieldBuilder().getBuilder(), extensionRegistry);
+                scheduleCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getBackupWindowFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getTimeBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(
+                    getQuantityBasedRetentionFieldBuilder().getBuilder(), extensionRegistry);
+                retentionCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                location_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3825,12 +4268,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int scheduleCase_ = 0;
     private java.lang.Object schedule_;
-    public ScheduleCase
-        getScheduleCase() {
-      return ScheduleCase.forNumber(
-          scheduleCase_);
+
+    public ScheduleCase getScheduleCase() {
+      return ScheduleCase.forNumber(scheduleCase_);
     }
 
     public Builder clearSchedule() {
@@ -3842,10 +4285,9 @@ public Builder clearSchedule() {
 
     private int retentionCase_ = 0;
     private java.lang.Object retention_;
-    public RetentionCase
-        getRetentionCase() {
-      return RetentionCase.forNumber(
-          retentionCase_);
+
+    public RetentionCase getRetentionCase() {
+      return RetentionCase.forNumber(retentionCase_);
     }
 
     public Builder clearRetention() {
@@ -3858,13 +4300,20 @@ public Builder clearRetention() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> weeklyScheduleBuilder_;
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule,
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder,
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>
+        weeklyScheduleBuilder_;
     /**
+     *
+     *
      * 
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ @java.lang.Override @@ -3872,35 +4321,46 @@ public boolean hasWeeklySchedule() { return scheduleCase_ == 2; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + getWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } else { if (scheduleCase_ == 2) { return weeklyScheduleBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder setWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder setWeeklySchedule( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3914,14 +4374,18 @@ public Builder setWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBackup return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder setWeeklySchedule( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder + builderForValue) { if (weeklyScheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); @@ -3932,18 +4396,28 @@ public Builder setWeeklySchedule( return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { + public Builder mergeWeeklySchedule( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule value) { if (weeklyScheduleBuilder_ == null) { - if (scheduleCase_ == 2 && - schedule_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance()) { - schedule_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_) - .mergeFrom(value).buildPartial(); + if (scheduleCase_ == 2 + && schedule_ + != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance()) { + schedule_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.newBuilder( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) + schedule_) + .mergeFrom(value) + .buildPartial(); } else { schedule_ = value; } @@ -3959,11 +4433,14 @@ public Builder mergeWeeklySchedule(com.google.cloud.alloydb.v1beta.AutomatedBack return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ public Builder clearWeeklySchedule() { if (weeklyScheduleBuilder_ == null) { @@ -3982,49 +4459,68 @@ public Builder clearWeeklySchedule() { return this; } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder + getWeeklyScheduleBuilder() { return getWeeklyScheduleFieldBuilder().getBuilder(); } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder() { if ((scheduleCase_ == 2) && (weeklyScheduleBuilder_ != null)) { return weeklyScheduleBuilder_.getMessageOrBuilder(); } else { if (scheduleCase_ == 2) { return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } } /** + * + * *
      * Weekly schedule for the Backup.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder> getWeeklyScheduleFieldBuilder() { if (weeklyScheduleBuilder_ == null) { if (!(scheduleCase_ == 2)) { - schedule_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.getDefaultInstance(); + schedule_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule + .getDefaultInstance(); } - weeklyScheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( + weeklyScheduleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder>( (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule) schedule_, getParentForChildren(), isClean()); @@ -4036,13 +4532,21 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBui } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> timeBasedRetentionBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + timeBasedRetentionBuilder_; /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ @java.lang.Override @@ -4050,35 +4554,49 @@ public boolean hasTimeBasedRetention() { return retentionCase_ == 4; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + getTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 4) { return timeBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder setTimeBasedRetention( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4092,14 +4610,19 @@ public Builder setTimeBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBa return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder setTimeBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder + builderForValue) { if (timeBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4110,18 +4633,29 @@ public Builder setTimeBasedRetention( return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { + public Builder mergeTimeBasedRetention( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention value) { if (timeBasedRetentionBuilder_ == null) { - if (retentionCase_ == 4 && - retention_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 4 + && retention_ + != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.newBuilder( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4137,11 +4671,15 @@ public Builder mergeTimeBasedRetention(com.google.cloud.alloydb.v1beta.Automated return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ public Builder clearTimeBasedRetention() { if (timeBasedRetentionBuilder_ == null) { @@ -4160,50 +4698,74 @@ public Builder clearTimeBasedRetention() { return this; } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder + getTimeBasedRetentionBuilder() { return getTimeBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder() { if ((retentionCase_ == 4) && (timeBasedRetentionBuilder_ != null)) { return timeBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Time-based Backup retention policy.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder> getTimeBasedRetentionFieldBuilder() { if (timeBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 4)) { - retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention + .getDefaultInstance(); } - timeBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) retention_, + timeBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention) + retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4214,13 +4776,21 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> quantityBasedRetentionBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + quantityBasedRetentionBuilder_; /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ @java.lang.Override @@ -4228,35 +4798,49 @@ public boolean hasQuantityBasedRetention() { return retentionCase_ == 5; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } else { if (retentionCase_ == 5) { return quantityBasedRetentionBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder setQuantityBasedRetention( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4270,14 +4854,19 @@ public Builder setQuantityBasedRetention(com.google.cloud.alloydb.v1beta.Automat return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder setQuantityBasedRetention( - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder + builderForValue) { if (quantityBasedRetentionBuilder_ == null) { retention_ = builderForValue.build(); onChanged(); @@ -4288,18 +4877,30 @@ public Builder setQuantityBasedRetention( return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { + public Builder mergeQuantityBasedRetention( + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention value) { if (quantityBasedRetentionBuilder_ == null) { - if (retentionCase_ == 5 && - retention_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance()) { - retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.newBuilder((com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_) - .mergeFrom(value).buildPartial(); + if (retentionCase_ == 5 + && retention_ + != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance()) { + retention_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .newBuilder( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_) + .mergeFrom(value) + .buildPartial(); } else { retention_ = value; } @@ -4315,11 +4916,15 @@ public Builder mergeQuantityBasedRetention(com.google.cloud.alloydb.v1beta.Autom return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ public Builder clearQuantityBasedRetention() { if (quantityBasedRetentionBuilder_ == null) { @@ -4338,50 +4943,76 @@ public Builder clearQuantityBasedRetention() { return this; } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder + getQuantityBasedRetentionBuilder() { return getQuantityBasedRetentionFieldBuilder().getBuilder(); } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder() { + public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder() { if ((retentionCase_ == 5) && (quantityBasedRetentionBuilder_ != null)) { return quantityBasedRetentionBuilder_.getMessageOrBuilder(); } else { if (retentionCase_ == 5) { - return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_; + return (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_; } - return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } } /** + * + * *
      * Quantity-based Backup retention policy to retain recent backups.
      * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder> getQuantityBasedRetentionFieldBuilder() { if (quantityBasedRetentionBuilder_ == null) { if (!(retentionCase_ == 5)) { - retention_ = com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.getDefaultInstance(); + retention_ = + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .getDefaultInstance(); } - quantityBasedRetentionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder>( - (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) retention_, + quantityBasedRetentionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + .Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy + .QuantityBasedRetentionOrBuilder>( + (com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention) + retention_, getParentForChildren(), isClean()); retention_ = null; @@ -4391,14 +5022,17 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetent return quantityBasedRetentionBuilder_; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -4406,12 +5040,15 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -4419,12 +5056,15 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -4436,12 +5076,15 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether automated automated backups are enabled. If not set, defaults to
      * true.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -4453,8 +5096,13 @@ public Builder clearEnabled() { private com.google.protobuf.Duration backupWindow_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> backupWindowBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + backupWindowBuilder_; /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4465,12 +5113,15 @@ public Builder clearEnabled() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ public boolean hasBackupWindow() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4481,16 +5132,21 @@ public boolean hasBackupWindow() {
      * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ public com.google.protobuf.Duration getBackupWindow() { if (backupWindowBuilder_ == null) { - return backupWindow_ == null ? com.google.protobuf.Duration.getDefaultInstance() : backupWindow_; + return backupWindow_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : backupWindow_; } else { return backupWindowBuilder_.getMessage(); } } /** + * + * *
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4516,6 +5172,8 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4527,8 +5185,7 @@ public Builder setBackupWindow(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration backup_window = 3;
      */
-    public Builder setBackupWindow(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setBackupWindow(com.google.protobuf.Duration.Builder builderForValue) {
       if (backupWindowBuilder_ == null) {
         backupWindow_ = builderForValue.build();
       } else {
@@ -4539,6 +5196,8 @@ public Builder setBackupWindow(
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4552,9 +5211,9 @@ public Builder setBackupWindow(
      */
     public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       if (backupWindowBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          backupWindow_ != null &&
-          backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && backupWindow_ != null
+            && backupWindow_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getBackupWindowBuilder().mergeFrom(value);
         } else {
           backupWindow_ = value;
@@ -4567,6 +5226,8 @@ public Builder mergeBackupWindow(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4589,6 +5250,8 @@ public Builder clearBackupWindow() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4606,6 +5269,8 @@ public com.google.protobuf.Duration.Builder getBackupWindowBuilder() {
       return getBackupWindowFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4621,11 +5286,14 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
       if (backupWindowBuilder_ != null) {
         return backupWindowBuilder_.getMessageOrBuilder();
       } else {
-        return backupWindow_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : backupWindow_;
+        return backupWindow_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : backupWindow_;
       }
     }
     /**
+     *
+     *
      * 
      * The length of the time window during which a backup can be
      * taken. If a backup does not succeed within this time window, it will be
@@ -4638,14 +5306,17 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * .google.protobuf.Duration backup_window = 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>
         getBackupWindowFieldBuilder() {
       if (backupWindowBuilder_ == null) {
-        backupWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getBackupWindow(),
-                getParentForChildren(),
-                isClean());
+        backupWindowBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getBackupWindow(), getParentForChildren(), isClean());
         backupWindow_ = null;
       }
       return backupWindowBuilder_;
@@ -4653,8 +5324,13 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
 
     private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_;
+            com.google.cloud.alloydb.v1beta.EncryptionConfig,
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>
+        encryptionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4662,13 +5338,18 @@ public com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4676,17 +5357,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4694,7 +5382,9 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4710,6 +5400,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4717,7 +5409,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -4731,6 +5425,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4738,13 +5434,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4757,6 +5456,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4764,7 +5465,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000020); @@ -4777,6 +5480,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4784,7 +5489,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000020; @@ -4792,6 +5499,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4799,17 +5508,23 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -4817,17 +5532,22 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4835,6 +5555,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo private java.lang.Object location_ = ""; /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4843,13 +5565,13 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
      * 
* * string location = 6; + * * @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; @@ -4858,6 +5580,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4866,15 +5590,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @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 { @@ -4882,6 +5605,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4890,18 +5615,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 6; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4910,6 +5639,7 @@ public Builder setLocation(
      * 
* * string location = 6; + * * @return This builder for chaining. */ public Builder clearLocation() { @@ -4919,6 +5649,8 @@ public Builder clearLocation() { return this; } /** + * + * *
      * The location where the backup will be stored. Currently, the only supported
      * option is to store the backup in the same region as the cluster.
@@ -4927,12 +5659,14 @@ public Builder clearLocation() {
      * 
* * string location = 6; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setLocationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; @@ -4940,21 +5674,19 @@ public Builder setLocationBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4963,10 +5695,13 @@ public Builder setLocationBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4974,20 +5709,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -4999,6 +5735,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5006,17 +5744,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
@@ -5024,79 +5764,81 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000080; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Labels to apply to backups created using this configuration.
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5106,12 +5848,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) private static final com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy(); } @@ -5120,27 +5862,27 @@ public static com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutomatedBackupPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutomatedBackupPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5155,6 +5897,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java index 0ae6ca95d023..3f26666dc039 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AutomatedBackupPolicyOrBuilder.java @@ -1,115 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface AutomatedBackupPolicyOrBuilder extends +public interface AutomatedBackupPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.AutomatedBackupPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return Whether the weeklySchedule field is set. */ boolean hasWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * + * * @return The weeklySchedule. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule(); /** + * + * *
    * Weekly schedule for the Backup.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2; + * */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklyScheduleOrBuilder + getWeeklyScheduleOrBuilder(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return Whether the timeBasedRetention field is set. */ boolean hasTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * * @return The timeBasedRetention. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention(); /** + * + * *
    * Time-based Backup retention policy.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4; + * */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.TimeBasedRetentionOrBuilder + getTimeBasedRetentionOrBuilder(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return Whether the quantityBasedRetention field is set. */ boolean hasQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * * @return The quantityBasedRetention. */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention + getQuantityBasedRetention(); /** + * + * *
    * Quantity-based Backup retention policy to retain recent backups.
    * 
* - * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * + * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5; + * */ - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder(); + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder + getQuantityBasedRetentionOrBuilder(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether automated automated backups are enabled. If not set, defaults to
    * true.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -120,10 +187,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return Whether the backupWindow field is set. */ boolean hasBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -134,10 +204,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * .google.protobuf.Duration backup_window = 3; + * * @return The backupWindow. */ com.google.protobuf.Duration getBackupWindow(); /** + * + * *
    * The length of the time window during which a backup can be
    * taken. If a backup does not succeed within this time window, it will be
@@ -152,6 +225,8 @@ public interface AutomatedBackupPolicyOrBuilder extends
   com.google.protobuf.DurationOrBuilder getBackupWindowOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -159,11 +234,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -171,11 +251,16 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -183,11 +268,15 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -196,10 +285,13 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * The location where the backup will be stored. Currently, the only supported
    * option is to store the backup in the same region as the cluster.
@@ -208,12 +300,14 @@ public interface AutomatedBackupPolicyOrBuilder extends
    * 
* * string location = 6; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -222,30 +316,31 @@ public interface AutomatedBackupPolicyOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * 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(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
@@ -253,19 +348,20 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels to apply to backups created using this configuration.
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.ScheduleCase getScheduleCase(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java index b02db1d6d380..0cc4460be61c 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Backup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message describing Backup object
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup) BackupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Backup() { name_ = ""; displayName_ = ""; @@ -34,48 +52,51 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_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 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Backup.class, com.google.cloud.alloydb.v1beta.Backup.Builder.class); + com.google.cloud.alloydb.v1beta.Backup.class, + com.google.cloud.alloydb.v1beta.Backup.Builder.class); } /** + * + * *
    * Backup State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Backup.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The backup is ready.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The backup is creating.
      * 
@@ -100,6 +125,8 @@ public enum State */ CREATING(2), /** + * + * *
      * The backup failed.
      * 
@@ -108,6 +135,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The backup is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State ; /** + * + * *
      * The state of the backup is unknown.
      * 
@@ -127,6 +158,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The backup is ready.
      * 
@@ -135,6 +168,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The backup is creating.
      * 
@@ -143,6 +178,8 @@ public enum State */ public static final int CREATING_VALUE = 2; /** + * + * *
      * The backup failed.
      * 
@@ -151,6 +188,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The backup is being deleted.
      * 
@@ -159,7 +198,6 @@ public enum State */ public static final int DELETING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,51 +222,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return CREATING; - case 3: return FAILED; - case 4: return DELETING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return CREATING; + case 3: + return FAILED; + case 4: + return DELETING; + 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.cloud.alloydb.v1beta.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; @@ -246,15 +286,18 @@ private State(int value) { } /** + * + * *
    * Backup Type
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Backup.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Backup Type is unknown.
      * 
@@ -263,6 +306,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -272,6 +317,8 @@ public enum Type
      */
     ON_DEMAND(1),
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -281,6 +328,8 @@ public enum Type
      */
     AUTOMATED(2),
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -293,6 +342,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Backup Type is unknown.
      * 
@@ -301,6 +352,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * ON_DEMAND backups that were triggered by the customer (e.g., not
      * AUTOMATED).
@@ -310,6 +363,8 @@ public enum Type
      */
     public static final int ON_DEMAND_VALUE = 1;
     /**
+     *
+     *
      * 
      * AUTOMATED backups triggered by the automated backups scheduler pursuant
      * to an automated backup policy.
@@ -319,6 +374,8 @@ public enum Type
      */
     public static final int AUTOMATED_VALUE = 2;
     /**
+     *
+     *
      * 
      * CONTINUOUS backups triggered by the automated backups scheduler
      * due to a continuous backup policy.
@@ -328,7 +385,6 @@ public enum Type
      */
     public static final int CONTINUOUS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -353,50 +409,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return TYPE_UNSPECIFIED;
-        case 1: return ON_DEMAND;
-        case 2: return AUTOMATED;
-        case 3: return CONTINUOUS;
-        default: return null;
+        case 0:
+          return TYPE_UNSPECIFIED;
+        case 1:
+          return ON_DEMAND;
+        case 2:
+          return AUTOMATED;
+        case 3:
+          return CONTINUOUS;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.v1beta.Backup.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -413,11 +470,14 @@ private Type(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Backup.Type)
   }
 
-  public interface QuantityBasedExpiryOrBuilder extends
+  public interface QuantityBasedExpiryOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -425,22 +485,28 @@ public interface QuantityBasedExpiryOrBuilder extends
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ int getRetentionCount(); /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ int getTotalRetentionCount(); } /** + * + * *
    * A backup's position in a quantity-based retention queue, of backups with
    * the same source cluster and type, with length, retention, specified by the
@@ -458,41 +524,44 @@ public interface QuantityBasedExpiryOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry}
    */
-  public static final class QuantityBasedExpiry extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class QuantityBasedExpiry extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
       QuantityBasedExpiryOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use QuantityBasedExpiry.newBuilder() to construct.
     private QuantityBasedExpiry(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private QuantityBasedExpiry() {
-    }
+
+    private QuantityBasedExpiry() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new QuantityBasedExpiry();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
+              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class,
+              com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
     }
 
     public static final int RETENTION_COUNT_FIELD_NUMBER = 1;
     private int retentionCount_ = 0;
     /**
+     *
+     *
      * 
      * Output only. The backup's position among its backups with the same source
      * cluster and type, by descending chronological order create time(i.e.
@@ -500,6 +569,7 @@ protected java.lang.Object newInstance(
      * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -510,12 +580,15 @@ public int getRetentionCount() { public static final int TOTAL_RETENTION_COUNT_FIELD_NUMBER = 2; private int totalRetentionCount_ = 0; /** + * + * *
      * Output only. The length of the quantity-based queue, specified by the
      * backup's retention policy.
      * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -524,6 +597,7 @@ public int getTotalRetentionCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retentionCount_ != 0) { output.writeInt32(1, retentionCount_); } @@ -553,12 +626,10 @@ public int getSerializedSize() { size = 0; if (retentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, retentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retentionCount_); } if (totalRetentionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, totalRetentionCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, totalRetentionCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -568,17 +639,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.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other = (com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) obj; + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other = + (com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) obj; - if (getRetentionCount() - != other.getRetentionCount()) return false; - if (getTotalRetentionCount() - != other.getTotalRetentionCount()) return false; + if (getRetentionCount() != other.getRetentionCount()) return false; + if (getTotalRetentionCount() != other.getTotalRetentionCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -600,89 +670,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -692,6 +767,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A backup's position in a quantity-based retention queue, of backups with
      * the same source cluster and type, with length, retention, specified by the
@@ -709,33 +786,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)
         com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
+                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.class,
+                com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -746,13 +823,14 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInstanceForType() {
+      public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry
+          getDefaultInstanceForType() {
         return com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance();
       }
 
@@ -767,13 +845,17 @@ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry buildPartial() {
-        com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result = new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result =
+            new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result) {
+      private void buildPartial0(
+          com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.retentionCount_ = retentionCount_;
@@ -787,38 +869,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedE
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry)other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -826,7 +911,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry other) {
-        if (other == com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance()) return this;
+        if (other
+            == com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance())
+          return this;
         if (other.getRetentionCount() != 0) {
           setRetentionCount(other.getRetentionCount());
         }
@@ -859,22 +946,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                retentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 16: {
-                totalRetentionCount_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  retentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 16:
+                {
+                  totalRetentionCount_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -884,10 +974,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int retentionCount_ ;
+      private int retentionCount_;
       /**
+       *
+       *
        * 
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -895,6 +988,7 @@ public Builder mergeFrom(
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The retentionCount. */ @java.lang.Override @@ -902,6 +996,8 @@ public int getRetentionCount() { return retentionCount_; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -909,6 +1005,7 @@ public int getRetentionCount() {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The retentionCount to set. * @return This builder for chaining. */ @@ -920,6 +1017,8 @@ public Builder setRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The backup's position among its backups with the same source
        * cluster and type, by descending chronological order create time(i.e.
@@ -927,6 +1026,7 @@ public Builder setRetentionCount(int value) {
        * 
* * int32 retention_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRetentionCount() { @@ -936,14 +1036,17 @@ public Builder clearRetentionCount() { return this; } - private int totalRetentionCount_ ; + private int totalRetentionCount_; /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The totalRetentionCount. */ @java.lang.Override @@ -951,12 +1054,15 @@ public int getTotalRetentionCount() { return totalRetentionCount_; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The totalRetentionCount to set. * @return This builder for chaining. */ @@ -968,12 +1074,15 @@ public Builder setTotalRetentionCount(int value) { return this; } /** + * + * *
        * Output only. The length of the quantity-based queue, specified by the
        * backup's retention policy.
        * 
* * int32 total_retention_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTotalRetentionCount() { @@ -982,6 +1091,7 @@ public Builder clearTotalRetentionCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -994,12 +1104,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry) - private static final com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry(); } @@ -1008,27 +1119,28 @@ public static com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QuantityBasedExpiry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QuantityBasedExpiry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1043,13 +1155,15 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1063,6 +1177,7 @@ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getDefaultInst
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1071,14 +1186,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -1092,16 +1208,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -1110,14 +1225,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -1126,29 +1245,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; } } /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * 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 { @@ -1157,15 +1276,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -1174,30 +1297,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -1208,11 +1331,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1220,11 +1347,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -1232,11 +1363,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -1246,11 +1380,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1258,11 +1396,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1270,11 +1412,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1284,11 +1429,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 15; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -1296,11 +1445,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -1308,11 +1461,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -1320,32 +1476,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 6; + 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1353,20 +1511,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1378,6 +1537,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1385,17 +1546,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -1403,11 +1566,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @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(); } @@ -1417,64 +1580,90 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.State getState() { - com.google.cloud.alloydb.v1beta.Backup.State result = com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Backup.State getState() { + com.google.cloud.alloydb.v1beta.Backup.State result = + com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 8; private int type_ = 0; /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @return The type. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.Type getType() { - com.google.cloud.alloydb.v1beta.Backup.Type result = com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Backup.Type getType() { + com.google.cloud.alloydb.v1beta.Backup.Type result = + com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.Type.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ @java.lang.Override @@ -1483,29 +1672,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; } } /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @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 { @@ -1514,15 +1703,19 @@ public java.lang.String getDescription() { } public static final int CLUSTER_UID_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object clusterUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ @java.lang.Override @@ -1531,30 +1724,30 @@ public java.lang.String getClusterUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -1563,15 +1756,21 @@ public java.lang.String getClusterUid() { } public static final int CLUSTER_NAME_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object clusterName_ = ""; /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ @java.lang.Override @@ -1580,30 +1779,32 @@ public java.lang.String getClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -1614,6 +1815,8 @@ public java.lang.String getClusterName() { public static final int RECONCILING_FIELD_NUMBER = 11; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -1622,6 +1825,7 @@ public java.lang.String getClusterName() {
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -1632,6 +1836,8 @@ public boolean getReconciling() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 12; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1639,7 +1845,10 @@ public boolean getReconciling() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -1647,6 +1856,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1654,14 +1865,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -1669,21 +1887,30 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 13; private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -1691,38 +1918,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ETAG_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ @java.lang.Override @@ -1731,29 +1975,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @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 { @@ -1762,32 +2006,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 16; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1797,20 +2044,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1824,6 +2072,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1833,17 +2083,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -1853,11 +2105,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 16;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1867,11 +2119,14 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int SIZE_BYTES_FIELD_NUMBER = 17;
   private long sizeBytes_ = 0L;
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -1882,13 +2137,17 @@ public long getSizeBytes() { public static final int EXPIRY_TIME_FIELD_NUMBER = 19; private com.google.protobuf.Timestamp expiryTime_; /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ @java.lang.Override @@ -1896,13 +2155,17 @@ public boolean hasExpiryTime() { return expiryTime_ != null; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ @java.lang.Override @@ -1910,13 +2173,16 @@ public com.google.protobuf.Timestamp getExpiryTime() { return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; } /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { @@ -1926,13 +2192,18 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { public static final int EXPIRY_QUANTITY_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiryQuantity_; /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ @java.lang.Override @@ -1940,64 +2211,92 @@ public boolean hasExpiryQuantity() { return expiryQuantity_ != null; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } public static final int DATABASE_VERSION_FIELD_NUMBER = 22; private int databaseVersion_ = 0; /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1beta.DatabaseVersion result = + com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2009,8 +2308,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2026,12 +2324,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(5, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (state_ != com.google.cloud.alloydb.v1beta.Backup.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(7, state_); } @@ -2059,12 +2353,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(15, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 16); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 16); if (sizeBytes_ != 0L) { output.writeInt64(17, sizeBytes_); } @@ -2077,7 +2367,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (expiryQuantity_ != null) { output.writeMessage(20, getExpiryQuantity()); } - if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { output.writeEnum(22, databaseVersion_); } getUnknownFields().writeTo(output); @@ -2099,30 +2391,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); - } - 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(6, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + } + 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(6, labels__); } if (state_ != com.google.cloud.alloydb.v1beta.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } if (type_ != com.google.cloud.alloydb.v1beta.Backup.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); @@ -2131,52 +2419,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, clusterName_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(11, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, reconciling_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, etag_); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getDeleteTime()); - } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, annotations__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getDeleteTime()); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, annotations__); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(17, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, sizeBytes_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterUid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, clusterUid_); } if (expiryTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getExpiryTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getExpiryTime()); } if (expiryQuantity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getExpiryQuantity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getExpiryQuantity()); } - if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(22, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(22, databaseVersion_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2186,71 +2468,53 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Backup)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Backup other = (com.google.cloud.alloydb.v1beta.Backup) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getClusterUid() - .equals(other.getClusterUid())) return false; - if (!getClusterName() - .equals(other.getClusterName())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getClusterUid().equals(other.getClusterUid())) return false; + if (!getClusterName().equals(other.getClusterName())) return false; + if (getReconciling() != other.getReconciling()) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; - } - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + } + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; if (hasExpiryTime() != other.hasExpiryTime()) return false; if (hasExpiryTime()) { - if (!getExpiryTime() - .equals(other.getExpiryTime())) return false; + if (!getExpiryTime().equals(other.getExpiryTime())) return false; } if (hasExpiryQuantity() != other.hasExpiryQuantity()) return false; if (hasExpiryQuantity()) { - if (!getExpiryQuantity() - .equals(other.getExpiryQuantity())) return false; + if (!getExpiryQuantity().equals(other.getExpiryQuantity())) return false; } if (databaseVersion_ != other.databaseVersion_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -2297,8 +2561,7 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER; hash = (53 * hash) + getClusterName().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()); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); @@ -2314,8 +2577,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasExpiryTime()) { hash = (37 * hash) + EXPIRY_TIME_FIELD_NUMBER; hash = (53 * hash) + getExpiryTime().hashCode(); @@ -2331,158 +2593,160 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Backup parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Backup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message describing Backup object
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Backup) com.google.cloud.alloydb.v1beta.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 6: return internalGetLabels(); case 16: return internalGetAnnotations(); 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 6: return internalGetMutableLabels(); case 16: return internalGetMutableAnnotations(); 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Backup.class, com.google.cloud.alloydb.v1beta.Backup.Builder.class); + com.google.cloud.alloydb.v1beta.Backup.class, + com.google.cloud.alloydb.v1beta.Backup.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -2540,9 +2804,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; } @java.lang.Override @@ -2561,8 +2825,11 @@ public com.google.cloud.alloydb.v1beta.Backup build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup buildPartial() { - com.google.cloud.alloydb.v1beta.Backup result = new com.google.cloud.alloydb.v1beta.Backup(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Backup result = + new com.google.cloud.alloydb.v1beta.Backup(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -2579,19 +2846,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.uid_ = uid_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.deleteTime_ = deleteTimeBuilder_ == null - ? deleteTime_ - : deleteTimeBuilder_.build(); + result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.labels_ = internalGetLabels(); @@ -2616,14 +2877,12 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.reconciling_ = reconciling_; } if (((from_bitField0_ & 0x00002000) != 0)) { - result.encryptionConfig_ = encryptionConfigBuilder_ == null - ? encryptionConfig_ - : encryptionConfigBuilder_.build(); + result.encryptionConfig_ = + encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); } if (((from_bitField0_ & 0x00004000) != 0)) { - result.encryptionInfo_ = encryptionInfoBuilder_ == null - ? encryptionInfo_ - : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = + encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { result.etag_ = etag_; @@ -2636,14 +2895,11 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { result.sizeBytes_ = sizeBytes_; } if (((from_bitField0_ & 0x00040000) != 0)) { - result.expiryTime_ = expiryTimeBuilder_ == null - ? expiryTime_ - : expiryTimeBuilder_.build(); + result.expiryTime_ = expiryTimeBuilder_ == null ? expiryTime_ : expiryTimeBuilder_.build(); } if (((from_bitField0_ & 0x00080000) != 0)) { - result.expiryQuantity_ = expiryQuantityBuilder_ == null - ? expiryQuantity_ - : expiryQuantityBuilder_.build(); + result.expiryQuantity_ = + expiryQuantityBuilder_ == null ? expiryQuantity_ : expiryQuantityBuilder_.build(); } if (((from_bitField0_ & 0x00100000) != 0)) { result.databaseVersion_ = databaseVersion_; @@ -2654,38 +2910,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Backup result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.Backup) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Backup)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Backup) other); } else { super.mergeFrom(other); return this; @@ -2718,8 +2975,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup other) { if (other.hasDeleteTime()) { mergeDeleteTime(other.getDeleteTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000040; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -2756,8 +3012,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Backup other) { bitField0_ |= 0x00008000; onChanged(); } - internalGetMutableAnnotations().mergeFrom( - other.internalGetAnnotations()); + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); bitField0_ |= 0x00010000; if (other.getSizeBytes() != 0L) { setSizeBytes(other.getSizeBytes()); @@ -2797,139 +3052,152 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - uid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 64: { - type_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 64 - case 74: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 74 - case 82: { - clusterName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 82 - case 88: { - reconciling_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 88 - case 98: { - input.readMessage( - getEncryptionConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00002000; - break; - } // case 98 - case 106: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 106 - case 114: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 114 - case 122: { - input.readMessage( - getDeleteTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 122 - case 130: { - com.google.protobuf.MapEntry - annotations__ = input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableAnnotations().getMutableMap().put( - annotations__.getKey(), annotations__.getValue()); - bitField0_ |= 0x00010000; - break; - } // case 130 - case 136: { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00020000; - break; - } // case 136 - case 146: { - clusterUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 146 - case 154: { - input.readMessage( - getExpiryTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: { - input.readMessage( - getExpiryQuantityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 176: { - databaseVersion_ = input.readEnum(); - bitField0_ |= 0x00100000; - break; - } // case 176 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + uid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 64: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 64 + case 74: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 74 + case 82: + { + clusterName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 82 + case 88: + { + reconciling_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 88 + case 98: + { + input.readMessage( + getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00002000; + break; + } // case 98 + case 106: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 106 + case 114: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 114 + case 122: + { + input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 122 + case 130: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00010000; + break; + } // case 130 + case 136: + { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00020000; + break; + } // case 136 + case 146: + { + clusterUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 146 + case 154: + { + input.readMessage(getExpiryTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00040000; + break; + } // case 154 + case 162: + { + input.readMessage(getExpiryQuantityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00080000; + break; + } // case 162 + case 176: + { + databaseVersion_ = input.readEnum(); + bitField0_ |= 0x00100000; + break; + } // case 176 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2939,10 +3207,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -2956,13 +3227,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -2971,6 +3242,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -2984,15 +3257,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -3000,6 +3272,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3013,18 +3287,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3038,6 +3316,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3047,6 +3326,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -3060,12 +3341,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3075,18 +3358,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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; @@ -3095,20 +3380,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * 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 { @@ -3116,28 +3402,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -3147,17 +3440,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Backup.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -3167,19 +3464,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -3188,21 +3487,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -3210,30 +3510,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -3243,18 +3550,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -3264,39 +3575,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -3312,14 +3642,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -3330,17 +3663,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -3353,11 +3690,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -3370,11 +3711,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -3382,36 +3727,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -3419,39 +3776,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3467,14 +3843,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -3485,17 +3864,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3508,11 +3891,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3525,11 +3912,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -3537,36 +3928,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -3574,39 +3977,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3622,14 +4044,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -3640,17 +4065,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -3663,11 +4092,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -3680,11 +4113,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -3692,56 +4129,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 15 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3750,10 +4197,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3761,20 +4211,21 @@ public int getLabelsCount() { * map<string, string> labels = 6; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3786,6 +4237,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3793,17 +4246,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 6; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -3811,95 +4266,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 6; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 6; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3910,24 +4378,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.State getState() { - com.google.cloud.alloydb.v1beta.Backup.State result = com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Backup.State result = + com.google.cloud.alloydb.v1beta.Backup.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -3941,11 +4420,16 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Backup.State value) { return this; } /** + * + * *
      * Output only. The current state of the backup.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -3957,22 +4441,29 @@ public Builder clearState() { private int type_ = 0; /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @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 backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3983,24 +4474,31 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @return The type. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Backup.Type getType() { - com.google.cloud.alloydb.v1beta.Backup.Type result = com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); + com.google.cloud.alloydb.v1beta.Backup.Type result = + com.google.cloud.alloydb.v1beta.Backup.Type.forNumber(type_); return result == null ? com.google.cloud.alloydb.v1beta.Backup.Type.UNRECOGNIZED : result; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4014,11 +4512,14 @@ public Builder setType(com.google.cloud.alloydb.v1beta.Backup.Type value) { return this; } /** + * + * *
      * The backup type, which suggests the trigger for the backup.
      * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @return This builder for chaining. */ public Builder clearType() { @@ -4030,18 +4531,20 @@ public Builder clearType() { private java.lang.Object description_ = ""; /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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; @@ -4050,20 +4553,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @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 { @@ -4071,28 +4575,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -4102,17 +4613,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * User-provided description of the backup.
      * 
* * string description = 9; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000200; @@ -4122,19 +4637,21 @@ public Builder setDescriptionBytes( private java.lang.Object clusterUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ public java.lang.String getClusterUid() { java.lang.Object ref = clusterUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterUid_ = s; return s; @@ -4143,21 +4660,22 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - public com.google.protobuf.ByteString - getClusterUidBytes() { + public com.google.protobuf.ByteString getClusterUidBytes() { java.lang.Object ref = clusterUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterUid_ = b; return b; } else { @@ -4165,30 +4683,37 @@ public java.lang.String getClusterUid() { } } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterUid_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearClusterUid() { @@ -4198,18 +4723,22 @@ public Builder clearClusterUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the cluster which was used to
      * create this resource.
      * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for clusterUid to set. * @return This builder for chaining. */ - public Builder setClusterUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterUid_ = value; bitField0_ |= 0x00000400; @@ -4219,19 +4748,23 @@ public Builder setClusterUidBytes( private java.lang.Object clusterName_ = ""; /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ public java.lang.String getClusterName() { java.lang.Object ref = clusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterName_ = s; return s; @@ -4240,21 +4773,24 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - public com.google.protobuf.ByteString - getClusterNameBytes() { + public com.google.protobuf.ByteString getClusterNameBytes() { java.lang.Object ref = clusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterName_ = b; return b; } else { @@ -4262,30 +4798,41 @@ public java.lang.String getClusterName() { } } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The clusterName to set. * @return This builder for chaining. */ - public Builder setClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterName_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearClusterName() { @@ -4295,18 +4842,24 @@ public Builder clearClusterName() { return this; } /** + * + * *
      * Required. The full resource name of the backup source cluster
      * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
      * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for clusterName to set. * @return This builder for chaining. */ - public Builder setClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterName_ = value; bitField0_ |= 0x00000800; @@ -4314,8 +4867,10 @@ public Builder setClusterNameBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4324,6 +4879,7 @@ public Builder setClusterNameBytes(
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -4331,6 +4887,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4339,6 +4897,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -4350,6 +4909,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
      * true, indicates that the service is actively updating the resource. This
@@ -4358,6 +4919,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -4369,8 +4931,13 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4378,13 +4945,18 @@ public Builder clearReconciling() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4392,17 +4964,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4410,7 +4989,9 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -4426,6 +5007,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4433,7 +5016,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -4447,6 +5032,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4454,13 +5041,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4473,6 +5063,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4480,7 +5072,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00002000); @@ -4493,6 +5087,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4500,7 +5096,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00002000; @@ -4508,6 +5106,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4515,17 +5115,23 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the
      * backup with a customer-managed encryption key (CMEK). When this field is
@@ -4533,17 +5139,22 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -4551,39 +5162,58 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -4599,11 +5229,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -4617,17 +5251,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -4640,11 +5279,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00004000); @@ -4657,11 +5300,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00004000; @@ -4669,36 +5316,48 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the backup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -4706,18 +5365,20 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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; @@ -4726,20 +5387,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @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 { @@ -4747,28 +5409,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -4778,17 +5447,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 14; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00008000; @@ -4796,8 +5469,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -4806,11 +5479,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -4819,10 +5493,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4832,20 +5509,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4859,6 +5537,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4868,17 +5548,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4888,23 +5570,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 16;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00010000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4913,23 +5597,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 16;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00010000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4938,17 +5621,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00010000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -4957,21 +5643,22 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 16;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00010000;
       return this;
     }
 
-    private long sizeBytes_ ;
+    private long sizeBytes_;
     /**
+     *
+     *
      * 
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ @java.lang.Override @@ -4979,11 +5666,14 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -4995,11 +5685,14 @@ public Builder setSizeBytes(long value) { return this; } /** + * + * *
      * Output only. The size of the backup in bytes.
      * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -5011,45 +5704,64 @@ public Builder clearSizeBytes() { private com.google.protobuf.Timestamp expiryTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expiryTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + expiryTimeBuilder_; /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ public boolean hasExpiryTime() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ public com.google.protobuf.Timestamp getExpiryTime() { if (expiryTimeBuilder_ == null) { - return expiryTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } else { return expiryTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { @@ -5065,16 +5777,19 @@ public Builder setExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpiryTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpiryTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (expiryTimeBuilder_ == null) { expiryTime_ = builderForValue.build(); } else { @@ -5085,19 +5800,23 @@ public Builder setExpiryTime( return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { if (expiryTimeBuilder_ == null) { - if (((bitField0_ & 0x00040000) != 0) && - expiryTime_ != null && - expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00040000) != 0) + && expiryTime_ != null + && expiryTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpiryTimeBuilder().mergeFrom(value); } else { expiryTime_ = value; @@ -5110,13 +5829,17 @@ public Builder mergeExpiryTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryTime() { bitField0_ = (bitField0_ & ~0x00040000); @@ -5129,13 +5852,17 @@ public Builder clearExpiryTime() { return this; } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { bitField0_ |= 0x00040000; @@ -5143,40 +5870,52 @@ public com.google.protobuf.Timestamp.Builder getExpiryTimeBuilder() { return getExpiryTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { if (expiryTimeBuilder_ != null) { return expiryTimeBuilder_.getMessageOrBuilder(); } else { - return expiryTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : expiryTime_; + return expiryTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : expiryTime_; } } /** + * + * *
      * Output only. The time at which after the backup is eligible to be garbage
      * collected. It is the duration specified by the backup's retention policy,
      * added to the backup's create_time.
      * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expiry_time = 19 [(.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> getExpiryTimeFieldBuilder() { if (expiryTimeBuilder_ == null) { - expiryTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getExpiryTime(), - getParentForChildren(), - isClean()); + expiryTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getExpiryTime(), getParentForChildren(), isClean()); expiryTime_ = null; } return expiryTimeBuilder_; @@ -5184,47 +5923,67 @@ public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder() { private com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiryQuantity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> expiryQuantityBuilder_; + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> + expiryQuantityBuilder_; /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ public boolean hasExpiryQuantity() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity() { if (expiryQuantityBuilder_ == null) { - return expiryQuantity_ == null ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } else { return expiryQuantityBuilder_.getMessage(); } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { + public Builder setExpiryQuantity( + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5238,13 +5997,17 @@ public Builder setExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.Quantity return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpiryQuantity( com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder builderForValue) { @@ -5258,19 +6021,26 @@ public Builder setExpiryQuantity( return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { + public Builder mergeExpiryQuantity( + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry value) { if (expiryQuantityBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - expiryQuantity_ != null && - expiryQuantity_ != com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && expiryQuantity_ != null + && expiryQuantity_ + != com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry + .getDefaultInstance()) { getExpiryQuantityBuilder().mergeFrom(value); } else { expiryQuantity_ = value; @@ -5283,13 +6053,17 @@ public Builder mergeExpiryQuantity(com.google.cloud.alloydb.v1beta.Backup.Quanti return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpiryQuantity() { bitField0_ = (bitField0_ & ~0x00080000); @@ -5302,54 +6076,72 @@ public Builder clearExpiryQuantity() { return this; } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder getExpiryQuantityBuilder() { + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder + getExpiryQuantityBuilder() { bitField0_ |= 0x00080000; onChanged(); return getExpiryQuantityFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder() { + public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder + getExpiryQuantityOrBuilder() { if (expiryQuantityBuilder_ != null) { return expiryQuantityBuilder_.getMessageOrBuilder(); } else { - return expiryQuantity_ == null ? - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() : expiryQuantity_; + return expiryQuantity_ == null + ? com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.getDefaultInstance() + : expiryQuantity_; } } /** + * + * *
      * Output only. The QuantityBasedExpiry of the backup, specified by the
      * backup's retention policy. Once the expiry quantity is over retention, the
      * backup is eligible to be garbage collected.
      * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder> getExpiryQuantityFieldBuilder() { if (expiryQuantityBuilder_ == null) { - expiryQuantityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder>( - getExpiryQuantity(), - getParentForChildren(), - isClean()); + expiryQuantityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry.Builder, + com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder>( + getExpiryQuantity(), getParentForChildren(), isClean()); expiryQuantity_ = null; } return expiryQuantityBuilder_; @@ -5357,26 +6149,37 @@ public com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getEx private int databaseVersion_ = 0; /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -5387,28 +6190,39 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1beta.DatabaseVersion result = + com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -5422,13 +6236,18 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio return this; } /** + * + * *
      * Output only. The database engine major version of the cluster this backup
      * was created from. Any restored cluster created from this backup will have
      * the same database version.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -5437,9 +6256,9 @@ public Builder clearDatabaseVersion() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5449,12 +6268,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Backup) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Backup) private static final com.google.cloud.alloydb.v1beta.Backup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Backup(); } @@ -5463,27 +6282,27 @@ public static com.google.cloud.alloydb.v1beta.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; @@ -5498,6 +6317,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java index bff00e30a246..d4d2f3bd8cbf 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface BackupOrBuilder extends +public interface BackupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Backup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -21,10 +39,13 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
@@ -38,135 +59,180 @@ public interface BackupOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Backup.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface BackupOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,123 +273,161 @@ boolean containsLabels( * map<string, string> labels = 6; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 6; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current state of the backup.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1beta.Backup.State getState(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The backup type, which suggests the trigger for the backup.
    * 
* * .google.cloud.alloydb.v1beta.Backup.Type type = 8; + * * @return The type. */ com.google.cloud.alloydb.v1beta.Backup.Type getType(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * User-provided description of the backup.
    * 
* * string description = 9; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The clusterUid. */ java.lang.String getClusterUid(); /** + * + * *
    * Output only. The system-generated UID of the cluster which was used to
    * create this resource.
    * 
* * string cluster_uid = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for clusterUid. */ - com.google.protobuf.ByteString - getClusterUidBytes(); + com.google.protobuf.ByteString getClusterUidBytes(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The clusterName. */ java.lang.String getClusterName(); /** + * + * *
    * Required. The full resource name of the backup source cluster
    * (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
    * 
* - * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string cluster_name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for clusterName. */ - com.google.protobuf.ByteString - getClusterNameBytes(); + com.google.protobuf.ByteString getClusterNameBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation), if
    * true, indicates that the service is actively updating the resource. This
@@ -331,11 +436,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool reconciling = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -343,11 +451,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -355,11 +468,16 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the
    * backup with a customer-managed encryption key (CMEK). When this field is
@@ -367,58 +485,81 @@ java.lang.String getLabelsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the backup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 14; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -429,6 +570,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -437,15 +580,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 16;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -454,9 +595,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 16;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -466,11 +608,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 16;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -479,104 +623,141 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 16;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. The size of the backup in bytes.
    * 
* * int64 size_bytes = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryTime field is set. */ boolean hasExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryTime. */ com.google.protobuf.Timestamp getExpiryTime(); /** + * + * *
    * Output only. The time at which after the backup is eligible to be garbage
    * collected. It is the duration specified by the backup's retention policy,
    * added to the backup's create_time.
    * 
* - * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expiry_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expiryQuantity field is set. */ boolean hasExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expiryQuantity. */ com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry getExpiryQuantity(); /** + * + * *
    * Output only. The QuantityBasedExpiry of the backup, specified by the
    * backup's retention policy. Once the expiry quantity is over retention, the
    * backup is eligible to be garbage collected.
    * 
* - * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiry expiry_quantity = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.Backup.QuantityBasedExpiryOrBuilder getExpiryQuantityOrBuilder(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Output only. The database engine major version of the cluster this backup
    * was created from. Any restored cluster created from this backup will have
    * the same database version.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java index dc7e7f643a72..db377c3742bc 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSource.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message describing a BackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BackupSource} */ -public final class BackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BackupSource) BackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BackupSource.newBuilder() to construct. private BackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BackupSource() { backupUid_ = ""; backupName_ = ""; @@ -26,28 +44,32 @@ private BackupSource() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BackupSource.class, com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.BackupSource.class, + com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); } public static final int BACKUP_UID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupUid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ @java.lang.Override @@ -63,14 +86,15 @@ public java.lang.String getBackupUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -78,16 +102,15 @@ public java.lang.String getBackupUid() {
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -96,15 +119,21 @@ public java.lang.String getBackupUid() { } public static final int BACKUP_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object backupName_ = ""; /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ @java.lang.Override @@ -113,30 +142,32 @@ public java.lang.String getBackupName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; } } /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ @java.lang.Override - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -145,6 +176,7 @@ public java.lang.String getBackupName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backupName_); } @@ -187,17 +218,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.BackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BackupSource other = (com.google.cloud.alloydb.v1beta.BackupSource) obj; + com.google.cloud.alloydb.v1beta.BackupSource other = + (com.google.cloud.alloydb.v1beta.BackupSource) obj; - if (!getBackupUid() - .equals(other.getBackupUid())) return false; - if (!getBackupName() - .equals(other.getBackupName())) return false; + if (!getBackupUid().equals(other.getBackupUid())) return false; + if (!getBackupName().equals(other.getBackupName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,132 +248,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a BackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BackupSource) com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BackupSource.class, com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.BackupSource.class, + com.google.cloud.alloydb.v1beta.BackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; } @java.lang.Override @@ -375,8 +409,11 @@ public com.google.cloud.alloydb.v1beta.BackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource buildPartial() { - com.google.cloud.alloydb.v1beta.BackupSource result = new com.google.cloud.alloydb.v1beta.BackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.BackupSource result = + new com.google.cloud.alloydb.v1beta.BackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +432,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BackupSource result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BackupSource) other); } else { super.mergeFrom(other); return this; @@ -471,22 +509,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backupName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - backupUid_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + backupName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + backupUid_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +537,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object backupUid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -507,13 +551,13 @@ public Builder mergeFrom(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ public java.lang.String getBackupUid() { java.lang.Object ref = backupUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUid_ = s; return s; @@ -522,6 +566,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -529,15 +575,14 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - public com.google.protobuf.ByteString - getBackupUidBytes() { + public com.google.protobuf.ByteString getBackupUidBytes() { java.lang.Object ref = backupUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupUid_ = b; return b; } else { @@ -545,6 +590,8 @@ public java.lang.String getBackupUid() { } } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -552,18 +599,22 @@ public java.lang.String getBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupUid_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -571,6 +622,7 @@ public Builder setBackupUid(
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearBackupUid() { @@ -580,6 +632,8 @@ public Builder clearBackupUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the backup which was used to
      * create this resource. The UID is generated when the backup is created, and
@@ -587,12 +641,14 @@ public Builder clearBackupUid() {
      * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for backupUid to set. * @return This builder for chaining. */ - public Builder setBackupUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupUid_ = value; bitField0_ |= 0x00000001; @@ -602,19 +658,23 @@ public Builder setBackupUidBytes( private java.lang.Object backupName_ = ""; /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ public java.lang.String getBackupName() { java.lang.Object ref = backupName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupName_ = s; return s; @@ -623,21 +683,24 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - public com.google.protobuf.ByteString - getBackupNameBytes() { + public com.google.protobuf.ByteString getBackupNameBytes() { java.lang.Object ref = backupName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); backupName_ = b; return b; } else { @@ -645,30 +708,41 @@ public java.lang.String getBackupName() { } } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The backupName to set. * @return This builder for chaining. */ - public Builder setBackupName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearBackupName() { @@ -678,27 +752,33 @@ public Builder clearBackupName() { return this; } /** + * + * *
      * Required. The name of the backup resource with the format:
      *  * projects/{project}/locations/{region}/backups/{backup_id}
      * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for backupName to set. * @return This builder for chaining. */ - public Builder setBackupNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +788,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BackupSource) private static final com.google.cloud.alloydb.v1beta.BackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BackupSource(); } @@ -722,27 +802,27 @@ public static com.google.cloud.alloydb.v1beta.BackupSource getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +837,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.BackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java similarity index 57% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java index 727ebedc24df..bafca8a0e189 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface BackupSourceOrBuilder extends +public interface BackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -15,10 +33,13 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The backupUid. */ java.lang.String getBackupUid(); /** + * + * *
    * Output only. The system-generated UID of the backup which was used to
    * create this resource. The UID is generated when the backup is created, and
@@ -26,30 +47,39 @@ public interface BackupSourceOrBuilder extends
    * 
* * string backup_uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for backupUid. */ - com.google.protobuf.ByteString - getBackupUidBytes(); + com.google.protobuf.ByteString getBackupUidBytes(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The backupName. */ java.lang.String getBackupName(); /** + * + * *
    * Required. The name of the backup resource with the format:
    *  * projects/{project}/locations/{region}/backups/{backup_id}
    * 
* - * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string backup_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for backupName. */ - com.google.protobuf.ByteString - getBackupNameBytes(); + com.google.protobuf.ByteString getBackupNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java index f733b6cefabb..a2206d3c73f2 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatus.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for current status of an instance in the BatchCreateInstances
  * operation.
@@ -24,15 +41,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus}
  */
-public final class BatchCreateInstanceStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
     BatchCreateInstanceStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstanceStatus.newBuilder() to construct.
   private BatchCreateInstanceStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstanceStatus() {
     state_ = 0;
     errorMsg_ = "";
@@ -41,25 +59,28 @@ private BatchCreateInstanceStatus() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstanceStatus();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
+            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class,
+            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State contains all valid instance states for the BatchCreateInstances
    * operation. This is mainly used for status reporting through the LRO
@@ -68,9 +89,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -79,6 +101,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -88,6 +112,8 @@ public enum State
      */
     PENDING_CREATE(1),
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -96,6 +122,8 @@ public enum State */ READY(2), /** + * + * *
      * The instance is being created.
      * 
@@ -104,6 +132,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -112,6 +142,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -121,6 +153,8 @@ public enum State
      */
     FAILED(5),
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -133,6 +167,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the instance is unknown.
      * 
@@ -141,6 +177,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Instance is pending creation and has not yet been picked up for
      * processsing in the backend.
@@ -150,6 +188,8 @@ public enum State
      */
     public static final int PENDING_CREATE_VALUE = 1;
     /**
+     *
+     *
      * 
      * The instance is active and running.
      * 
@@ -158,6 +198,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -166,6 +208,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -174,6 +218,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance or a batch of instances.
@@ -183,6 +229,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 5;
     /**
+     *
+     *
      * 
      * The instance was created successfully, but was rolled back and deleted
      * due to some other failure during BatchCreateInstances operation.
@@ -192,7 +240,6 @@ public enum State
      */
     public static final int ROLLED_BACK_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -217,53 +264,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return PENDING_CREATE;
-        case 2: return READY;
-        case 3: return CREATING;
-        case 4: return DELETING;
-        case 5: return FAILED;
-        case 6: return ROLLED_BACK;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return PENDING_CREATE;
+        case 2:
+          return READY;
+        case 3:
+          return CREATING;
+        case 4:
+          return DELETING;
+        case 5:
+          return FAILED;
+        case 6:
+          return ROLLED_BACK;
+        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.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.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;
@@ -283,6 +336,8 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -295,12 +350,16 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -313,23 +372,32 @@ private State(int value) {
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } public static final int ERROR_MSG_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object errorMsg_ = ""; /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ @java.lang.Override @@ -338,30 +406,30 @@ public java.lang.String getErrorMsg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; } } /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ @java.lang.Override - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -372,12 +440,15 @@ public java.lang.String getErrorMsg() { public static final int ERROR_FIELD_NUMBER = 4; private com.google.rpc.Status error_; /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ @java.lang.Override @@ -385,12 +456,15 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ @java.lang.Override @@ -398,6 +472,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -414,21 +490,29 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   private int type_ = 0;
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
-  @java.lang.Override public int getTypeValue() {
+  @java.lang.Override
+  public int getTypeValue() {
     return type_;
   }
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
-  @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
-    com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
-    return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result;
+  @java.lang.Override
+  public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
+    com.google.cloud.alloydb.v1beta.Instance.InstanceType result =
+        com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
+    return result == null
+        ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED
+        : result;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -440,15 +524,18 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (state_ != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (state_
+        != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
+    if (type_
+        != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(3, type_);
     }
     if (error_ != null) {
@@ -463,20 +550,21 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (state_ != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, state_);
+    if (state_
+        != com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMsg_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMsg_);
     }
-    if (type_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(3, type_);
+    if (type_
+        != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, type_);
     }
     if (error_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getError());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getError());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -486,20 +574,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.cloud.alloydb.v1beta.BatchCreateInstanceStatus)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other = (com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) obj;
+    com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other =
+        (com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) obj;
 
     if (state_ != other.state_) return false;
-    if (!getErrorMsg()
-        .equals(other.getErrorMsg())) return false;
+    if (!getErrorMsg().equals(other.getErrorMsg())) return false;
     if (hasError() != other.hasError()) return false;
     if (hasError()) {
-      if (!getError()
-          .equals(other.getError())) return false;
+      if (!getError().equals(other.getError())) return false;
     }
     if (type_ != other.type_) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -529,98 +616,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Message for current status of an instance in the BatchCreateInstances
    * operation.
@@ -641,33 +734,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstanceStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
       com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
+              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.class,
+              com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -684,9 +776,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor;
     }
 
     @java.lang.Override
@@ -705,8 +797,11 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus buildPartial() {
-      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus result = new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus result =
+          new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -720,9 +815,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstanceSt
         result.errorMsg_ = errorMsg_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.error_ = errorBuilder_ == null
-            ? error_
-            : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
         result.type_ = type_;
@@ -733,38 +826,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstanceSt
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -772,7 +866,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus other) {
-      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -813,34 +908,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              errorMsg_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              type_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                errorMsg_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -850,10 +948,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -866,12 +967,16 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -884,6 +989,7 @@ public Builder mergeFrom(
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -894,6 +1000,8 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -906,14 +1014,20 @@ public Builder setStateValue(int value) {
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState() { - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); - return result == null ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State result = + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.forNumber(state_); + return result == null + ? com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State.UNRECOGNIZED + : result; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -926,6 +1040,7 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState(
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -939,6 +1054,8 @@ public Builder setState(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatu return this; } /** + * + * *
      * The current state of an instance involved in the batch create operation.
      * Once the operation is complete, the final state of the instances in the
@@ -951,6 +1068,7 @@ public Builder setState(com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatu
      * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -962,19 +1080,21 @@ public Builder clearState() { private java.lang.Object errorMsg_ = ""; /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The errorMsg. */ public java.lang.String getErrorMsg() { java.lang.Object ref = errorMsg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMsg_ = s; return s; @@ -983,21 +1103,22 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - public com.google.protobuf.ByteString - getErrorMsgBytes() { + public com.google.protobuf.ByteString getErrorMsgBytes() { java.lang.Object ref = errorMsg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); errorMsg_ = b; return b; } else { @@ -1005,30 +1126,37 @@ public java.lang.String getErrorMsg() { } } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsg( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsg(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } errorMsg_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @return This builder for chaining. */ public Builder clearErrorMsg() { @@ -1038,18 +1166,22 @@ public Builder clearErrorMsg() { return this; } /** + * + * *
      * DEPRECATED - Use the error field instead.
      * Error, if any error occurred and is available, during instance creation.
      * 
* * string error_msg = 2; + * * @param value The bytes for errorMsg to set. * @return This builder for chaining. */ - public Builder setErrorMsgBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setErrorMsgBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); errorMsg_ = value; bitField0_ |= 0x00000002; @@ -1059,26 +1191,33 @@ public Builder setErrorMsgBytes( private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
      * 
* * .google.rpc.Status error = 4; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -1089,6 +1228,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1110,6 +1251,8 @@ public Builder setError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1117,8 +1260,7 @@ public Builder setError(com.google.rpc.Status value) {
      *
      * .google.rpc.Status error = 4;
      */
-    public Builder setError(
-        com.google.rpc.Status.Builder builderForValue) {
+    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       if (errorBuilder_ == null) {
         error_ = builderForValue.build();
       } else {
@@ -1129,6 +1271,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1138,9 +1282,9 @@ public Builder setError(
      */
     public Builder mergeError(com.google.rpc.Status value) {
       if (errorBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          error_ != null &&
-          error_ != com.google.rpc.Status.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && error_ != null
+            && error_ != com.google.rpc.Status.getDefaultInstance()) {
           getErrorBuilder().mergeFrom(value);
         } else {
           error_ = value;
@@ -1153,6 +1297,8 @@ public Builder mergeError(com.google.rpc.Status value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1171,6 +1317,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1184,6 +1332,8 @@ public com.google.rpc.Status.Builder getErrorBuilder() {
       return getErrorFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1195,11 +1345,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       if (errorBuilder_ != null) {
         return errorBuilder_.getMessageOrBuilder();
       } else {
-        return error_ == null ?
-            com.google.rpc.Status.getDefaultInstance() : error_;
+        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
       }
     }
     /**
+     *
+     *
      * 
      * The RPC status of the instance creation operation. This field will be
      * present if an error happened during the instance creation.
@@ -1208,14 +1359,14 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * .google.rpc.Status error = 4;
      */
     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>
         getErrorFieldBuilder() {
       if (errorBuilder_ == null) {
-        errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
-                getError(),
-                getParentForChildren(),
-                isClean());
+        errorBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.rpc.Status,
+                com.google.rpc.Status.Builder,
+                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
         error_ = null;
       }
       return errorBuilder_;
@@ -1224,13 +1375,16 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
     private int type_ = 0;
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+     *
      * @return The enum numeric value on the wire for type.
      */
-    @java.lang.Override public int getTypeValue() {
+    @java.lang.Override
+    public int getTypeValue() {
       return type_;
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+     *
      * @param value The enum numeric value on the wire for type to set.
      * @return This builder for chaining.
      */
@@ -1242,15 +1396,20 @@ public Builder setTypeValue(int value) {
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+     *
      * @return The type.
      */
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Instance.InstanceType getType() {
-      com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
-      return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result;
+      com.google.cloud.alloydb.v1beta.Instance.InstanceType result =
+          com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(type_);
+      return result == null
+          ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED
+          : result;
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+     *
      * @param value The type to set.
      * @return This builder for chaining.
      */
@@ -1265,6 +1424,7 @@ public Builder setType(com.google.cloud.alloydb.v1beta.Instance.InstanceType val
     }
     /**
      * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+     *
      * @return This builder for chaining.
      */
     public Builder clearType() {
@@ -1273,9 +1433,9 @@ public Builder clearType() {
       onChanged();
       return this;
     }
+
     @java.lang.Override
-    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 +1445,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
   private static final com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus();
   }
@@ -1299,27 +1459,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getDefau
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BatchCreateInstanceStatus parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BatchCreateInstanceStatus parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.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,6 +1494,4 @@ public com.google.protobuf.Parser getParserForType()
   public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
similarity index 80%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
index d27c3feb907b..bf73c8baf34a 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstanceStatusOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
-public interface BatchCreateInstanceStatusOrBuilder extends
+public interface BatchCreateInstanceStatusOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstanceStatus)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -20,10 +38,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current state of an instance involved in the batch create operation.
    * Once the operation is complete, the final state of the instances in the
@@ -36,53 +57,67 @@ public interface BatchCreateInstanceStatusOrBuilder extends
    * 
* * .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1; + * * @return The state. */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State getState(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The errorMsg. */ java.lang.String getErrorMsg(); /** + * + * *
    * DEPRECATED - Use the error field instead.
    * Error, if any error occurred and is available, during instance creation.
    * 
* * string error_msg = 2; + * * @return The bytes for errorMsg. */ - com.google.protobuf.ByteString - getErrorMsgBytes(); + com.google.protobuf.ByteString getErrorMsgBytes(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
    * 
* * .google.rpc.Status error = 4; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The RPC status of the instance creation operation. This field will be
    * present if an error happened during the instance creation.
@@ -94,11 +129,13 @@ public interface BatchCreateInstanceStatusOrBuilder extends
 
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+   *
    * @return The enum numeric value on the wire for type.
    */
   int getTypeValue();
   /**
    * .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
+   *
    * @return The type.
    */
   com.google.cloud.alloydb.v1beta.Instance.InstanceType getType();
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
similarity index 63%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
index 65d0c5d2de06..8efed805e02b 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
+ *
+ *
  * 
  * Message for metadata that is specific to BatchCreateInstances API.
  * NEXT_ID: 3
@@ -11,57 +28,60 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata}
  */
-public final class BatchCreateInstancesMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class BatchCreateInstancesMetadata extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)
     BatchCreateInstancesMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BatchCreateInstancesMetadata.newBuilder() to construct.
   private BatchCreateInstancesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BatchCreateInstancesMetadata() {
-    instanceTargets_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BatchCreateInstancesMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_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 internalGetInstanceStatuses();
       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.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
+            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class,
+            com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
   }
 
   public static final int INSTANCE_TARGETS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList instanceTargets_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -70,13 +90,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { return instanceTargets_; } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -85,12 +107,15 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -99,6 +124,7 @@ public int getInstanceTargetsCount() {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -106,6 +132,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -114,41 +142,53 @@ public java.lang.String getInstanceTargets(int index) {
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } public static final int INSTANCE_STATUSES_FIELD_NUMBER = 2; + private static final class InstanceStatusesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> defaultEntry = + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField - internalGetInstanceStatuses() { + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( InstanceStatusesDefaultEntryHolder.defaultEntry); } return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -158,23 +198,27 @@ public int getInstanceStatusesCount() {
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -184,13 +228,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public java.util.Map getInstanceStatusesMap() {
+  public java.util.Map
+      getInstanceStatusesMap() {
     return internalGetInstanceStatuses().getMap();
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -200,20 +249,26 @@ public java.util.Map
    *
-   * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
+   * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public /* nullable */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus
+      getInstanceStatusesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetInstanceStatuses().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -223,12 +278,16 @@ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrD
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { @@ -238,6 +297,7 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,17 +309,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < instanceTargets_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceTargets_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetInstanceStatuses(), - InstanceStatusesDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetInstanceStatuses(), InstanceStatusesDefaultEntryHolder.defaultEntry, 2); getUnknownFields().writeTo(output); } @@ -277,15 +332,18 @@ public int getSerializedSize() { size += dataSize; size += 1 * getInstanceTargetsList().size(); } - for (java.util.Map.Entry entry - : internalGetInstanceStatuses().getMap().entrySet()) { - com.google.protobuf.MapEntry - instanceStatuses__ = InstanceStatusesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, instanceStatuses__); + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + entry : internalGetInstanceStatuses().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + instanceStatuses__ = + InstanceStatusesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, instanceStatuses__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,17 +353,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.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other = + (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) obj; - if (!getInstanceTargetsList() - .equals(other.getInstanceTargetsList())) return false; - if (!internalGetInstanceStatuses().equals( - other.internalGetInstanceStatuses())) return false; + if (!getInstanceTargetsList().equals(other.getInstanceTargetsList())) return false; + if (!internalGetInstanceStatuses().equals(other.internalGetInstanceStatuses())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -331,98 +388,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for metadata that is specific to BatchCreateInstances API.
    * NEXT_ID: 3
@@ -430,73 +493,70 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)
       com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 2:
           return internalGetInstanceStatuses();
         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 internalGetMutableInstanceStatuses();
         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.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
+              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.class,
+              com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      instanceTargets_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList();
       internalGetMutableInstanceStatuses().clear();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata
+        getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance();
     }
 
@@ -511,13 +571,17 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata buildPartial() {
-      com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result =
+          new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result) {
+    private void buildPartial0(
+        com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         instanceTargets_.makeImmutable();
@@ -533,38 +597,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesM
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -572,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata other) {
-      if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance())
+        return this;
       if (!other.instanceTargets_.isEmpty()) {
         if (instanceTargets_.isEmpty()) {
           instanceTargets_ = other.instanceTargets_;
@@ -583,8 +650,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMet
         }
         onChanged();
       }
-      internalGetMutableInstanceStatuses().mergeFrom(
-          other.internalGetInstanceStatuses());
+      internalGetMutableInstanceStatuses().mergeFrom(other.internalGetInstanceStatuses());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -612,27 +678,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureInstanceTargetsIsMutable();
-              instanceTargets_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              instanceStatuses__ = input.readMessage(
-                  InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableInstanceStatuses().getMutableMap().put(
-                  instanceStatuses__.getKey(), instanceStatuses__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureInstanceTargetsIsMutable();
+                instanceTargets_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus>
+                    instanceStatuses__ =
+                        input.readMessage(
+                            InstanceStatusesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableInstanceStatuses()
+                    .getMutableMap()
+                    .put(instanceStatuses__.getKey(), instanceStatuses__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -642,10 +715,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList instanceTargets_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureInstanceTargetsIsMutable() {
       if (!instanceTargets_.isModifiable()) {
         instanceTargets_ = new com.google.protobuf.LazyStringArrayList(instanceTargets_);
@@ -653,6 +728,8 @@ private void ensureInstanceTargetsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -661,14 +738,16 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - public com.google.protobuf.ProtocolStringList - getInstanceTargetsList() { + public com.google.protobuf.ProtocolStringList getInstanceTargetsList() { instanceTargets_.makeImmutable(); return instanceTargets_; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -677,12 +756,15 @@ private void ensureInstanceTargetsIsMutable() {
      * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ public int getInstanceTargetsCount() { return instanceTargets_.size(); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -691,6 +773,7 @@ public int getInstanceTargetsCount() {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ @@ -698,6 +781,8 @@ public java.lang.String getInstanceTargets(int index) { return instanceTargets_.get(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -706,14 +791,16 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - public com.google.protobuf.ByteString - getInstanceTargetsBytes(int index) { + public com.google.protobuf.ByteString getInstanceTargetsBytes(int index) { return instanceTargets_.getByteString(index); } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -722,13 +809,15 @@ public java.lang.String getInstanceTargets(int index) {
      * 
* * repeated string instance_targets = 1; + * * @param index The index to set the value at. * @param value The instanceTargets to set. * @return This builder for chaining. */ - public Builder setInstanceTargets( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceTargets(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.set(index, value); bitField0_ |= 0x00000001; @@ -736,6 +825,8 @@ public Builder setInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -744,12 +835,14 @@ public Builder setInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param value The instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargets( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargets(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); bitField0_ |= 0x00000001; @@ -757,6 +850,8 @@ public Builder addInstanceTargets( return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -765,19 +860,20 @@ public Builder addInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @param values The instanceTargets to add. * @return This builder for chaining. */ - public Builder addAllInstanceTargets( - java.lang.Iterable values) { + public Builder addAllInstanceTargets(java.lang.Iterable values) { ensureInstanceTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceTargets_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -786,16 +882,19 @@ public Builder addAllInstanceTargets(
      * 
* * repeated string instance_targets = 1; + * * @return This builder for chaining. */ public Builder clearInstanceTargets() { - instanceTargets_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + instanceTargets_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The instances being created in the API call. Each string in this list
      * is the server defined resource path for target instances in the request
@@ -804,12 +903,14 @@ public Builder clearInstanceTargets() {
      * 
* * repeated string instance_targets = 1; + * * @param value The bytes of the instanceTargets to add. * @return This builder for chaining. */ - public Builder addInstanceTargetsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addInstanceTargetsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureInstanceTargetsIsMutable(); instanceTargets_.add(value); @@ -819,8 +920,11 @@ public Builder addInstanceTargetsBytes( } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instanceStatuses_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + instanceStatuses_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> internalGetInstanceStatuses() { if (instanceStatuses_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -828,11 +932,14 @@ public Builder addInstanceTargetsBytes( } return instanceStatuses_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> internalGetMutableInstanceStatuses() { if (instanceStatuses_ == null) { - instanceStatuses_ = com.google.protobuf.MapField.newMapField( - InstanceStatusesDefaultEntryHolder.defaultEntry); + instanceStatuses_ = + com.google.protobuf.MapField.newMapField( + InstanceStatusesDefaultEntryHolder.defaultEntry); } if (!instanceStatuses_.isMutable()) { instanceStatuses_ = instanceStatuses_.copy(); @@ -841,10 +948,13 @@ public Builder addInstanceTargetsBytes( onChanged(); return instanceStatuses_; } + public int getInstanceStatusesCount() { return internalGetInstanceStatuses().getMap().size(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -854,23 +964,28 @@ public int getInstanceStatusesCount() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override - public boolean containsInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetInstanceStatuses().getMap().containsKey(key); } - /** - * Use {@link #getInstanceStatusesMap()} instead. - */ + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getInstanceStatuses() { + public java.util.Map< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> + getInstanceStatuses() { return getInstanceStatusesMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -880,13 +995,19 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public java.util.Map getInstanceStatusesMap() {
+    public java.util.Map<
+            java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus>
+        getInstanceStatusesMap() {
       return internalGetInstanceStatuses().getMap();
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -896,20 +1017,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
+     * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2;
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetInstanceStatuses().getMap();
+    public /* nullable */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus
+        getInstanceStatusesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map
+          map = internalGetInstanceStatuses().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -919,26 +1046,32 @@ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrD
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetInstanceStatuses().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetInstanceStatuses().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearInstanceStatuses() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableInstanceStatuses().getMutableMap() - .clear(); + internalGetMutableInstanceStatuses().getMutableMap().clear(); return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -948,25 +1081,28 @@ public Builder clearInstanceStatuses() {
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ - public Builder removeInstanceStatuses( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableInstanceStatuses().getMutableMap() - .remove(key); + public Builder removeInstanceStatuses(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableInstanceStatuses().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> getMutableInstanceStatuses() { bitField0_ |= 0x00000002; return internalGetMutableInstanceStatuses().getMutableMap(); } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -976,19 +1112,25 @@ public Builder removeInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putInstanceStatuses( - java.lang.String key, - com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableInstanceStatuses().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableInstanceStatuses().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * A map representing state of the instances involved in the
      * BatchCreateInstances operation during the operation execution.
@@ -998,18 +1140,20 @@ public Builder putInstanceStatuses(
      * For the format, see the comment on the Instance.name field.
      * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ public Builder putAllInstanceStatuses( - java.util.Map values) { - internalGetMutableInstanceStatuses().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableInstanceStatuses().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1019,12 +1163,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) - private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata(); } @@ -1033,27 +1178,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1213,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java index 2bff567ece76..d11ba650ddb8 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesMetadataOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesMetadataOrBuilder extends +public interface BatchCreateInstancesMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -16,11 +34,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return A list containing the instanceTargets. */ - java.util.List - getInstanceTargetsList(); + java.util.List getInstanceTargetsList(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -29,10 +49,13 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @return The count of instanceTargets. */ int getInstanceTargetsCount(); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -41,11 +64,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the element to return. * @return The instanceTargets at the given index. */ java.lang.String getInstanceTargets(int index); /** + * + * *
    * The instances being created in the API call. Each string in this list
    * is the server defined resource path for target instances in the request
@@ -54,13 +80,15 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * 
* * repeated string instance_targets = 1; + * * @param index The index of the value to return. * @return The bytes of the instanceTargets at the given index. */ - com.google.protobuf.ByteString - getInstanceTargetsBytes(int index); + com.google.protobuf.ByteString getInstanceTargetsBytes(int index); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -70,10 +98,14 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ int getInstanceStatusesCount(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -83,17 +115,18 @@ public interface BatchCreateInstancesMetadataOrBuilder extends
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; - */ - boolean containsInstanceStatuses( - java.lang.String key); - /** - * Use {@link #getInstanceStatusesMap()} instead. + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ + boolean containsInstanceStatuses(java.lang.String key); + /** Use {@link #getInstanceStatusesMap()} instead. */ @java.lang.Deprecated java.util.Map - getInstanceStatuses(); + getInstanceStatuses(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -103,11 +136,15 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ java.util.Map - getInstanceStatusesMap(); + getInstanceStatusesMap(); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -117,14 +154,18 @@ boolean containsInstanceStatuses(
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ /* nullable */ -com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue); + com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus defaultValue); /** + * + * *
    * A map representing state of the instances involved in the
    * BatchCreateInstances operation during the operation execution.
@@ -134,7 +175,9 @@ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrD
    * For the format, see the comment on the Instance.name field.
    * 
* - * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * + * map<string, .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus> instance_statuses = 2; + * */ com.google.cloud.alloydb.v1beta.BatchCreateInstanceStatus getInstanceStatusesOrThrow( java.lang.String key); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java index bf0b6e69a517..e3cf236be02f 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a batch of instances under the specified cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesRequest} */ -public final class BatchCreateInstancesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) BatchCreateInstancesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesRequest.newBuilder() to construct. private BatchCreateInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesRequest() { parent_ = ""; requestId_ = ""; @@ -26,33 +44,40 @@ private BatchCreateInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 @@ -61,29 +86,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 parent resource.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,11 +121,16 @@ public java.lang.String getParent() { public static final int REQUESTS_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.CreateInstanceRequests requests_; /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ @java.lang.Override @@ -106,33 +138,49 @@ public boolean hasRequests() { return requests_ != null; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests() { - return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() + : requests_; } /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { - return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() + : requests_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,6 +198,7 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -158,14 +207,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -183,16 +233,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -201,6 +250,7 @@ public java.lang.String getRequestId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -236,8 +285,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (requests_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRequests()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequests()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); @@ -250,22 +298,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.cloud.alloydb.v1beta.BatchCreateInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other = + (com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRequests() != other.hasRequests()) return false; if (hasRequests()) { - if (!getRequests() - .equals(other.getRequests())) return false; + if (!getRequests().equals(other.getRequests())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -291,131 +337,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a batch of instances under the specified cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; } @java.lang.Override @@ -452,8 +503,11 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest result = + new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -464,9 +518,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requests_ = requestsBuilder_ == null - ? requests_ - : requestsBuilder_.build(); + result.requests_ = requestsBuilder_ == null ? requests_ : requestsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -477,38 +529,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -516,7 +569,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -556,29 +610,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRequestsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getRequestsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +644,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.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; @@ -612,20 +673,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -633,28 +697,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -664,17 +739,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -684,39 +765,58 @@ public Builder setParentBytes( private com.google.cloud.alloydb.v1beta.CreateInstanceRequests requests_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> requestsBuilder_; + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ public boolean hasRequests() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests() { if (requestsBuilder_ == null) { - return requests_ == null ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() + : requests_; } else { return requestsBuilder_.getMessage(); } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequests value) { if (requestsBuilder_ == null) { @@ -732,11 +832,15 @@ public Builder setRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequest return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder builderForValue) { @@ -750,17 +854,22 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequests value) { if (requestsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - requests_ != null && - requests_ != com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && requests_ != null + && requests_ + != com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) { getRequestsBuilder().mergeFrom(value); } else { requests_ = value; @@ -773,11 +882,15 @@ public Builder mergeRequests(com.google.cloud.alloydb.v1beta.CreateInstanceReque return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { bitField0_ = (bitField0_ & ~0x00000002); @@ -790,11 +903,15 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder getRequestsBuilder() { bitField0_ |= 0x00000002; @@ -802,36 +919,48 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder getRequest return getRequestsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilder(); } else { - return requests_ == null ? - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() : requests_; + return requests_ == null + ? com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance() + : requests_; } } /** + * + * *
      * Required. Resources being created.
      * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequests, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder>( - getRequests(), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.CreateInstanceRequests, + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder>( + getRequests(), getParentForChildren(), isClean()); requests_ = null; } return requestsBuilder_; @@ -839,6 +968,8 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -856,13 +987,13 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getReques
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -871,6 +1002,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -888,15 +1021,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -904,6 +1036,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -921,18 +1055,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -950,6 +1088,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -959,6 +1098,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,21 +1117,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1143,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest(); } @@ -1014,27 +1157,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1192,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java index 463ebd4eb5f3..e48f2ce68351 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesRequestOrBuilder.java @@ -1,60 +1,101 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesRequestOrBuilder extends +public interface BatchCreateInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource.
    * 
* - * string parent = 1 [(.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 parent resource.
    * 
* - * string parent = 1 [(.google.api.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. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the requests field is set. */ boolean hasRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The requests. */ com.google.cloud.alloydb.v1beta.CreateInstanceRequests getRequests(); /** + * + * *
    * Required. Resources being created.
    * 
* - * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.CreateInstanceRequests requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder getRequestsOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -72,10 +113,13 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -93,8 +137,8 @@ public interface BatchCreateInstancesRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java index c7a7b779e45a..4432b78a2aa2 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponse.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating batches of instances in a cluster.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesResponse} */ -public final class BatchCreateInstancesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateInstancesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) BatchCreateInstancesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateInstancesResponse.newBuilder() to construct. private BatchCreateInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateInstancesResponse() { instances_ = 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 BatchCreateInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * Created instances.
    * 
@@ -58,6 +80,8 @@ public java.util.List getInstancesList return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -65,11 +89,13 @@ public java.util.List getInstancesList * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * Created instances.
    * 
@@ -81,6 +107,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * Created instances.
    * 
@@ -92,6 +120,8 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * Created instances.
    * 
@@ -99,12 +129,12 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +146,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +160,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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,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.cloud.alloydb.v1beta.BatchCreateInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other = (com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) obj; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other = + (com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +200,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating batches of instances in a cluster.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.BatchCreateInstancesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.class, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -312,13 +345,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance(); } @@ -333,14 +367,18 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(this); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result = + new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -352,7 +390,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.BatchCre } } - private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse result) { int from_bitField0_ = bitField0_; } @@ -360,38 +399,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.BatchCreateInstancesR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -399,7 +439,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -418,9 +460,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRes 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_); } @@ -452,25 +495,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.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) { @@ -480,21 +524,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * Created instances.
      * 
@@ -509,6 +560,8 @@ public java.util.List getInstancesList } } /** + * + * *
      * Created instances.
      * 
@@ -523,6 +576,8 @@ public int getInstancesCount() { } } /** + * + * *
      * Created instances.
      * 
@@ -537,14 +592,15 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -558,6 +614,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -576,6 +634,8 @@ public Builder setInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -596,14 +656,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -617,14 +678,15 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -635,6 +697,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -653,6 +717,8 @@ public Builder addInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -663,8 +729,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); @@ -672,6 +737,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * Created instances.
      * 
@@ -689,6 +756,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * Created instances.
      * 
@@ -706,39 +775,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +820,8 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * Created instances.
      * 
@@ -753,49 +829,55 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** + * + * *
      * Created instances.
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +887,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) - private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse(); } @@ -819,27 +902,27 @@ public static com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,6 +937,4 @@ public com.google.protobuf.Parser getParserForType public com.google.cloud.alloydb.v1beta.BatchCreateInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java index d399c0985506..f2444a317d96 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/BatchCreateInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface BatchCreateInstancesResponseOrBuilder extends +public interface BatchCreateInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.BatchCreateInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * Created instances.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1beta.Instance getInstances(int index); /** + * + * *
    * Created instances.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * Created instances.
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java index 078afa28382b..a0cbcd626810 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Cluster.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * A cluster is a collection of regional AlloyDB resources. It can include a
  * primary instance and one or more read pool instances.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster}
  */
-public final class Cluster extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Cluster extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster)
     ClusterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Cluster() {
     name_ = "";
     displayName_ = "";
@@ -34,48 +52,51 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_Cluster_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();
       case 12:
         return internalGetAnnotations();
       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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.Cluster.class, com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
+            com.google.cloud.alloydb.v1beta.Cluster.class,
+            com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Cluster State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Cluster.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The cluster is active and running.
      * 
@@ -92,6 +115,8 @@ public enum State */ READY(1), /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -104,6 +129,8 @@ public enum State
      */
     STOPPED(2),
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -113,6 +140,8 @@ public enum State
      */
     EMPTY(3),
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -121,6 +150,8 @@ public enum State */ CREATING(4), /** + * + * *
      * The cluster is being deleted.
      * 
@@ -129,6 +160,8 @@ public enum State */ DELETING(5), /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -137,6 +170,8 @@ public enum State */ FAILED(6), /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -146,6 +181,8 @@ public enum State
      */
     BOOTSTRAPPING(7),
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -156,6 +193,8 @@ public enum State
      */
     MAINTENANCE(8),
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -167,6 +206,8 @@ public enum State ; /** + * + * *
      * The state of the cluster is unknown.
      * 
@@ -175,6 +216,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The cluster is active and running.
      * 
@@ -183,6 +226,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The cluster is stopped. All instances in the cluster are stopped.
      * Customers can start a stopped cluster at any point and all their
@@ -195,6 +240,8 @@ public enum State
      */
     public static final int STOPPED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The cluster is empty and has no associated resources.
      * All instances, associated storage and backups have been deleted.
@@ -204,6 +251,8 @@ public enum State
      */
     public static final int EMPTY_VALUE = 3;
     /**
+     *
+     *
      * 
      * The cluster is being created.
      * 
@@ -212,6 +261,8 @@ public enum State */ public static final int CREATING_VALUE = 4; /** + * + * *
      * The cluster is being deleted.
      * 
@@ -220,6 +271,8 @@ public enum State */ public static final int DELETING_VALUE = 5; /** + * + * *
      * The creation of the cluster failed.
      * 
@@ -228,6 +281,8 @@ public enum State */ public static final int FAILED_VALUE = 6; /** + * + * *
      * The cluster is bootstrapping with data from some other source.
      * Direct mutations to the cluster (e.g. adding read pool) are not allowed.
@@ -237,6 +292,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 7;
     /**
+     *
+     *
      * 
      * The cluster is under maintenance. AlloyDB regularly performs maintenance
      * and upgrades on customer clusters. Updates on the cluster are
@@ -247,6 +304,8 @@ public enum State
      */
     public static final int MAINTENANCE_VALUE = 8;
     /**
+     *
+     *
      * 
      * The cluster is being promoted.
      * 
@@ -255,7 +314,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,56 +338,63 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return EMPTY; - case 4: return CREATING; - case 5: return DELETING; - case 6: return FAILED; - case 7: return BOOTSTRAPPING; - case 8: return MAINTENANCE; - case 9: return PROMOTING; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return EMPTY; + case 4: + return CREATING; + case 5: + return DELETING; + case 6: + return FAILED; + case 7: + return BOOTSTRAPPING; + case 8: + return MAINTENANCE; + case 9: + return PROMOTING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.alloydb.v1beta.Cluster.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -347,15 +412,18 @@ private State(int value) { } /** + * + * *
    * Type of Cluster
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Cluster.ClusterType} */ - public enum ClusterType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ClusterType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the cluster is unknown.
      * 
@@ -364,6 +432,8 @@ public enum ClusterType */ CLUSTER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -372,6 +442,8 @@ public enum ClusterType */ PRIMARY(1), /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -384,6 +456,8 @@ public enum ClusterType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the cluster is unknown.
      * 
@@ -392,6 +466,8 @@ public enum ClusterType */ public static final int CLUSTER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Primary cluster that support read and write operations.
      * 
@@ -400,6 +476,8 @@ public enum ClusterType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * Secondary cluster that is replicating from another region.
      * This only supports read.
@@ -409,7 +487,6 @@ public enum ClusterType
      */
     public static final int SECONDARY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -434,49 +511,49 @@ public static ClusterType valueOf(int value) {
      */
     public static ClusterType forNumber(int value) {
       switch (value) {
-        case 0: return CLUSTER_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return SECONDARY;
-        default: return null;
+        case 0:
+          return CLUSTER_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return SECONDARY;
+        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<
-        ClusterType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ClusterType findValueByNumber(int number) {
-              return ClusterType.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 ClusterType findValueByNumber(int number) {
+            return ClusterType.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.cloud.alloydb.v1beta.Cluster.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final ClusterType[] VALUES = values();
 
-    public static ClusterType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static ClusterType 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;
@@ -493,11 +570,14 @@ private ClusterType(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Cluster.ClusterType)
   }
 
-  public interface NetworkConfigOrBuilder extends
+  public interface NetworkConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.NetworkConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -507,11 +587,16 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -521,13 +606,17 @@ public interface NetworkConfigOrBuilder extends
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -539,10 +628,13 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ java.lang.String getAllocatedIpRange(); /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -554,27 +646,30 @@ public interface NetworkConfigOrBuilder extends
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - com.google.protobuf.ByteString - getAllocatedIpRangeBytes(); + com.google.protobuf.ByteString getAllocatedIpRangeBytes(); } /** + * + * *
    * Metadata related to network configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.NetworkConfig} */ - public static final class NetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkConfig() { network_ = ""; allocatedIpRange_ = ""; @@ -582,28 +677,32 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -613,7 +712,10 @@ protected java.lang.Object newInstance(
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ @java.lang.Override @@ -622,14 +724,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster
      * resources are created and from which they are accessible via Private IP.
@@ -639,17 +742,18 @@ public java.lang.String getNetwork() {
      * required to create a cluster.
      * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -658,9 +762,12 @@ public java.lang.String getNetwork() { } public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object allocatedIpRange_ = ""; /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -672,6 +779,7 @@ public java.lang.String getNetwork() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ @java.lang.Override @@ -680,14 +788,15 @@ public java.lang.String getAllocatedIpRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; } } /** + * + * *
      * Optional. Name of the allocated IP range for the private IP AlloyDB
      * cluster, for example: "google-managed-services-default". If set, the
@@ -699,16 +808,15 @@ public java.lang.String getAllocatedIpRange() {
      * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -717,6 +825,7 @@ public java.lang.String getAllocatedIpRange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,8 +837,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_); } @@ -759,17 +867,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.cloud.alloydb.v1beta.Cluster.NetworkConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other = (com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other = + (com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) obj; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getAllocatedIpRange() - .equals(other.getAllocatedIpRange())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getAllocatedIpRange().equals(other.getAllocatedIpRange())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -791,89 +898,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,39 +995,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Metadata related to network configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.NetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.class, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -926,9 +1040,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; } @java.lang.Override @@ -947,8 +1061,11 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig result = new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig result = + new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -967,38 +1084,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.NetworkConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -1006,7 +1126,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) + return this; if (!other.getNetwork().isEmpty()) { network_ = other.network_; bitField0_ |= 0x00000001; @@ -1043,22 +1164,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - allocatedIpRange_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + allocatedIpRange_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1068,10 +1192,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object network_ = ""; /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1081,14 +1208,16 @@ public Builder mergeFrom(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1097,6 +1226,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1106,16 +1237,17 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1123,6 +1255,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1132,19 +1266,25 @@ public java.lang.String getNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1154,7 +1294,10 @@ public Builder setNetwork(
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearNetwork() { @@ -1164,6 +1307,8 @@ public Builder clearNetwork() { return this; } /** + * + * *
        * Required. The resource link for the VPC network in which cluster
        * resources are created and from which they are accessible via Private IP.
@@ -1173,13 +1318,17 @@ public Builder clearNetwork() {
        * required to create a cluster.
        * 
* - * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string network = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00000001; @@ -1189,6 +1338,8 @@ public Builder setNetworkBytes( private java.lang.Object allocatedIpRange_ = ""; /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1200,13 +1351,13 @@ public Builder setNetworkBytes(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allocatedIpRange. */ public java.lang.String getAllocatedIpRange() { java.lang.Object ref = allocatedIpRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); allocatedIpRange_ = s; return s; @@ -1215,6 +1366,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1226,15 +1379,14 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for allocatedIpRange. */ - public com.google.protobuf.ByteString - getAllocatedIpRangeBytes() { + public com.google.protobuf.ByteString getAllocatedIpRangeBytes() { java.lang.Object ref = allocatedIpRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); allocatedIpRange_ = b; return b; } else { @@ -1242,6 +1394,8 @@ public java.lang.String getAllocatedIpRange() { } } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1253,18 +1407,22 @@ public java.lang.String getAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRange( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRange(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1276,6 +1434,7 @@ public Builder setAllocatedIpRange(
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllocatedIpRange() { @@ -1285,6 +1444,8 @@ public Builder clearAllocatedIpRange() { return this; } /** + * + * *
        * Optional. Name of the allocated IP range for the private IP AlloyDB
        * cluster, for example: "google-managed-services-default". If set, the
@@ -1296,18 +1457,21 @@ public Builder clearAllocatedIpRange() {
        * 
* * string allocated_ip_range = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for allocatedIpRange to set. * @return This builder for chaining. */ - public Builder setAllocatedIpRangeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllocatedIpRangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); allocatedIpRange_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1320,12 +1484,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.NetworkConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig(); } @@ -1334,27 +1498,28 @@ public static com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,36 +1534,43 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SecondaryConfigOrBuilder extends + public interface SecondaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ java.lang.String getPrimaryClusterName(); /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - com.google.protobuf.ByteString - getPrimaryClusterNameBytes(); + com.google.protobuf.ByteString getPrimaryClusterNameBytes(); } /** + * + * *
    * Configuration information for the secondary cluster. This should be set
    * if and only if the cluster is of type SECONDARY.
@@ -1406,49 +1578,55 @@ public interface SecondaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.SecondaryConfig}
    */
-  public static final class SecondaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SecondaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)
       SecondaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SecondaryConfig.newBuilder() to construct.
     private SecondaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SecondaryConfig() {
       primaryClusterName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SecondaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class,
+              com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
     }
 
     public static final int PRIMARY_CLUSTER_NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object primaryClusterName_ = "";
     /**
+     *
+     *
      * 
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ @java.lang.Override @@ -1457,30 +1635,30 @@ public java.lang.String getPrimaryClusterName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; } } /** + * + * *
      * The name of the primary cluster name with the format:
      * * projects/{project}/locations/{region}/clusters/{cluster_id}
      * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1489,6 +1667,7 @@ public java.lang.String getPrimaryClusterName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1500,8 +1679,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryClusterName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryClusterName_); } @@ -1525,15 +1703,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.cloud.alloydb.v1beta.Cluster.SecondaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other = (com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other = + (com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) obj; - if (!getPrimaryClusterName() - .equals(other.getPrimaryClusterName())) return false; + if (!getPrimaryClusterName().equals(other.getPrimaryClusterName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1553,89 +1731,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1645,6 +1828,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration information for the secondary cluster. This should be set
      * if and only if the cluster is of type SECONDARY.
@@ -1652,33 +1837,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.SecondaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)
         com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.class,
+                com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1688,9 +1873,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -1709,8 +1894,11 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig result = new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig result =
+            new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1726,38 +1914,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConf
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.SecondaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1765,7 +1956,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance())
+          return this;
         if (!other.getPrimaryClusterName().isEmpty()) {
           primaryClusterName_ = other.primaryClusterName_;
           bitField0_ |= 0x00000001;
@@ -1797,17 +1989,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                primaryClusterName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  primaryClusterName_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1817,23 +2011,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object primaryClusterName_ = "";
       /**
+       *
+       *
        * 
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The primaryClusterName. */ public java.lang.String getPrimaryClusterName() { java.lang.Object ref = primaryClusterName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryClusterName_ = s; return s; @@ -1842,21 +2039,22 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return The bytes for primaryClusterName. */ - public com.google.protobuf.ByteString - getPrimaryClusterNameBytes() { + public com.google.protobuf.ByteString getPrimaryClusterNameBytes() { java.lang.Object ref = primaryClusterName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryClusterName_ = b; return b; } else { @@ -1864,30 +2062,37 @@ public java.lang.String getPrimaryClusterName() { } } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @return This builder for chaining. */ public Builder clearPrimaryClusterName() { @@ -1897,24 +2102,29 @@ public Builder clearPrimaryClusterName() { return this; } /** + * + * *
        * The name of the primary cluster name with the format:
        * * projects/{project}/locations/{region}/clusters/{cluster_id}
        * 
* * string primary_cluster_name = 1; + * * @param value The bytes for primaryClusterName to set. * @return This builder for chaining. */ - public Builder setPrimaryClusterNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPrimaryClusterNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); primaryClusterName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1927,12 +2137,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.SecondaryConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig(); } @@ -1941,27 +2151,28 @@ public static com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecondaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecondaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1976,59 +2187,79 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PrimaryConfigOrBuilder extends + public interface PrimaryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - java.util.List - getSecondaryClusterNamesList(); + java.util.List getSecondaryClusterNamesList(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ int getSecondaryClusterNamesCount(); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ java.lang.String getSecondaryClusterNames(int index); /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index); + com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index); } /** + * + * *
    * Configuration for the primary cluster. It has the list of clusters that are
    * replicating from this cluster. This should be set if and only if the
@@ -2037,76 +2268,92 @@ public interface PrimaryConfigOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.PrimaryConfig}
    */
-  public static final class PrimaryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PrimaryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)
       PrimaryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PrimaryConfig.newBuilder() to construct.
     private PrimaryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PrimaryConfig() {
-      secondaryClusterNames_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PrimaryConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class,
+              com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
     }
 
     public static final int SECONDARY_CLUSTER_NAMES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { return secondaryClusterNames_; } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2114,21 +2361,26 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
      * Output only. Names of the clusters that are replicating from this
      * cluster.
      * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2140,10 +2392,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < secondaryClusterNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secondaryClusterNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 1, secondaryClusterNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -2170,15 +2422,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.cloud.alloydb.v1beta.Cluster.PrimaryConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other = (com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) obj; + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other = + (com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) obj; - if (!getSecondaryClusterNamesList() - .equals(other.getSecondaryClusterNamesList())) return false; + if (!getSecondaryClusterNamesList().equals(other.getSecondaryClusterNamesList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2200,89 +2453,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2292,6 +2550,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for the primary cluster. It has the list of clusters that are
      * replicating from this cluster. This should be set if and only if the
@@ -2300,46 +2560,45 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster.PrimaryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)
         com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
+                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.class,
+                com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        secondaryClusterNames_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2358,8 +2617,11 @@ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig buildPartial() {
-        com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig result = new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig result =
+            new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -2376,38 +2638,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Cluster.PrimaryConfig) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig)other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2415,7 +2680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig other) {
-        if (other == com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance())
+          return this;
         if (!other.secondaryClusterNames_.isEmpty()) {
           if (secondaryClusterNames_.isEmpty()) {
             secondaryClusterNames_ = other.secondaryClusterNames_;
@@ -2452,18 +2718,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSecondaryClusterNamesIsMutable();
-                secondaryClusterNames_.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();
+                  ensureSecondaryClusterNamesIsMutable();
+                  secondaryClusterNames_.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) {
@@ -2473,49 +2741,66 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList secondaryClusterNames_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureSecondaryClusterNamesIsMutable() {
         if (!secondaryClusterNames_.isModifiable()) {
-          secondaryClusterNames_ = new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
+          secondaryClusterNames_ =
+              new com.google.protobuf.LazyStringArrayList(secondaryClusterNames_);
         }
         bitField0_ |= 0x00000001;
       }
       /**
+       *
+       *
        * 
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the secondaryClusterNames. */ - public com.google.protobuf.ProtocolStringList - getSecondaryClusterNamesList() { + public com.google.protobuf.ProtocolStringList getSecondaryClusterNamesList() { secondaryClusterNames_.makeImmutable(); return secondaryClusterNames_; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of secondaryClusterNames. */ public int getSecondaryClusterNamesCount() { return secondaryClusterNames_.size(); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The secondaryClusterNames at the given index. */ @@ -2523,33 +2808,43 @@ public java.lang.String getSecondaryClusterNames(int index) { return secondaryClusterNames_.get(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the secondaryClusterNames at the given index. */ - public com.google.protobuf.ByteString - getSecondaryClusterNamesBytes(int index) { + public com.google.protobuf.ByteString getSecondaryClusterNamesBytes(int index) { return secondaryClusterNames_.getByteString(index); } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The secondaryClusterNames to set. * @return This builder for chaining. */ - public Builder setSecondaryClusterNames( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSecondaryClusterNames(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.set(index, value); bitField0_ |= 0x00000001; @@ -2557,18 +2852,24 @@ public Builder setSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNames( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNames(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); bitField0_ |= 0x00000001; @@ -2576,53 +2877,67 @@ public Builder addSecondaryClusterNames( return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addAllSecondaryClusterNames( - java.lang.Iterable values) { + public Builder addAllSecondaryClusterNames(java.lang.Iterable values) { ensureSecondaryClusterNamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaryClusterNames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryClusterNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSecondaryClusterNames() { - secondaryClusterNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + secondaryClusterNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * Output only. Names of the clusters that are replicating from this
        * cluster.
        * 
* - * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the secondaryClusterNames to add. * @return This builder for chaining. */ - public Builder addSecondaryClusterNamesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSecondaryClusterNamesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSecondaryClusterNamesIsMutable(); secondaryClusterNames_.add(value); @@ -2630,6 +2945,7 @@ public Builder addSecondaryClusterNamesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2642,12 +2958,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster.PrimaryConfig) private static final com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig(); } @@ -2656,27 +2972,28 @@ public static com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrimaryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrimaryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2691,19 +3008,22 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_SOURCE(15), MIGRATION_SOURCE(16), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -2719,30 +3039,38 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 15: return BACKUP_SOURCE; - case 16: return MIGRATION_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 15: + return BACKUP_SOURCE; + case 16: + return MIGRATION_SOURCE; + 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 BACKUP_SOURCE_FIELD_NUMBER = 15; /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -2750,42 +3078,56 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 15) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } public static final int MIGRATION_SOURCE_FIELD_NUMBER = 16; /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -2793,39 +3135,51 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; + return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; } return com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { if (sourceCase_ == 16) { - return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; + return (com.google.cloud.alloydb.v1beta.MigrationSource) source_; } return com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2836,6 +3190,7 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -2844,14 +3199,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -2862,16 +3218,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -2880,14 +3235,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -2896,29 +3255,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; } } /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * 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 { @@ -2927,15 +3286,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -2944,30 +3307,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -2978,11 +3341,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -2990,11 +3357,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -3002,11 +3373,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -3016,11 +3390,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -3028,11 +3406,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -3040,11 +3422,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -3054,11 +3439,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -3066,11 +3455,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -3078,11 +3471,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -3090,32 +3486,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3123,20 +3521,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3148,6 +3547,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3155,17 +3556,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -3173,11 +3576,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3187,32 +3590,47 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.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 serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.State getState() { - com.google.cloud.alloydb.v1beta.Cluster.State result = com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Cluster.State getState() { + com.google.cloud.alloydb.v1beta.Cluster.State result = + com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Cluster.State.UNRECOGNIZED : result; } public static final int CLUSTER_TYPE_FIELD_NUMBER = 24; private int clusterType_ = 0; /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3220,13 +3638,19 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -3234,17 +3658,26 @@ public java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); - return result == null ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { + com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = + com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED + : result; } public static final int DATABASE_VERSION_FIELD_NUMBER = 9; private int databaseVersion_ = 0; /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3252,13 +3685,19 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -3266,18 +3705,26 @@ public java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { + com.google.cloud.alloydb.v1beta.DatabaseVersion result = + com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } public static final int NETWORK_CONFIG_FIELD_NUMBER = 29; private com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig networkConfig_; /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -3285,25 +3732,38 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { - return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder + getNetworkConfigOrBuilder() { + return networkConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } public static final int NETWORK_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object network_ = ""; /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3312,25 +3772,30 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -3339,19 +3804,21 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -3360,14 +3827,18 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork } public static final int ETAG_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ @java.lang.Override @@ -3376,29 +3847,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @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 { @@ -3407,32 +3878,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 12; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3442,20 +3916,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3469,6 +3944,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3478,17 +3955,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -3498,11 +3977,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 12;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -3512,6 +3991,8 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int RECONCILING_FIELD_NUMBER = 13;
   private boolean reconciling_ = false;
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -3521,6 +4002,7 @@ public java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -3531,12 +4013,17 @@ public boolean getReconciling() { public static final int INITIAL_USER_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1beta.UserPassword initialUser_; /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ @java.lang.Override @@ -3544,34 +4031,49 @@ public boolean hasInitialUser() { return initialUser_ != null; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserPassword getInitialUser() { - return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() + : initialUser_; } /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder() { - return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() + : initialUser_; } public static final int AUTOMATED_BACKUP_POLICY_FIELD_NUMBER = 17; private com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy automatedBackupPolicy_; /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3583,6 +4085,7 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ @java.lang.Override @@ -3590,6 +4093,8 @@ public boolean hasAutomatedBackupPolicy() { return automatedBackupPolicy_ != null; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3601,13 +4106,18 @@ public boolean hasAutomatedBackupPolicy() {
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy() { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -3621,41 +4131,56 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP
    * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
-    return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
+  public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
+      getAutomatedBackupPolicyOrBuilder() {
+    return automatedBackupPolicy_ == null
+        ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()
+        : automatedBackupPolicy_;
   }
 
   public static final int SSL_CONFIG_FIELD_NUMBER = 18;
   private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_;
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
@@ -3663,13 +4188,18 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + @java.lang.Deprecated + public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3678,7 +4208,10 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3686,6 +4219,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3694,14 +4229,21 @@ public boolean hasEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -3710,21 +4252,30 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 20; private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -3732,37 +4283,55 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int CONTINUOUS_BACKUP_CONFIG_FIELD_NUMBER = 27; private com.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuousBackupConfig_; /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ @java.lang.Override @@ -3770,37 +4339,56 @@ public boolean hasContinuousBackupConfig() { return continuousBackupConfig_ != null; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } public static final int CONTINUOUS_BACKUP_INFO_FIELD_NUMBER = 28; private com.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuousBackupInfo_; /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ @java.lang.Override @@ -3808,37 +4396,54 @@ public boolean hasContinuousBackupInfo() { return continuousBackupInfo_ != null; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } public static final int SECONDARY_CONFIG_FIELD_NUMBER = 22; private com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondaryConfig_; /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ @java.lang.Override @@ -3846,18 +4451,25 @@ public boolean hasSecondaryConfig() { return secondaryConfig_ != null; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -3865,18 +4477,26 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfi * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } public static final int PRIMARY_CONFIG_FIELD_NUMBER = 23; private com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primaryConfig_; /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ @java.lang.Override @@ -3884,30 +4504,45 @@ public boolean hasPrimaryConfig() { return primaryConfig_ != null; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder + getPrimaryConfigOrBuilder() { + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3919,8 +4554,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3939,16 +4573,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1beta.Cluster.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { + if (databaseVersion_ + != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { output.writeEnum(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { @@ -3957,12 +4589,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 12); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 12); if (reconciling_ != false) { output.writeBool(13, reconciling_); } @@ -3993,7 +4621,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (primaryConfig_ != null) { output.writeMessage(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { + if (clusterType_ + != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(24, clusterType_); } if (continuousBackupConfig_ != null) { @@ -4024,34 +4654,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1beta.Cluster.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (databaseVersion_ != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, databaseVersion_); + if (databaseVersion_ + != com.google.cloud.alloydb.v1beta.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, databaseVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, network_); @@ -4059,71 +4686,66 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, annotations__); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, reconciling_); } if (initialUser_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getInitialUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getInitialUser()); } if (sourceCase_ == 15) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, (com.google.cloud.alloydb.v1beta.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, (com.google.cloud.alloydb.v1beta.BackupSource) source_); } if (sourceCase_ == 16) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, (com.google.cloud.alloydb.v1beta.MigrationSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, (com.google.cloud.alloydb.v1beta.MigrationSource) source_); } if (automatedBackupPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getAutomatedBackupPolicy()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(17, getAutomatedBackupPolicy()); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getSslConfig()); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getEncryptionConfig()); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getEncryptionInfo()); } if (secondaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getSecondaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getSecondaryConfig()); } if (primaryConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getPrimaryConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getPrimaryConfig()); } - if (clusterType_ != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(24, clusterType_); + if (clusterType_ + != com.google.cloud.alloydb.v1beta.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(24, clusterType_); } if (continuousBackupConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getContinuousBackupConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(27, getContinuousBackupConfig()); } if (continuousBackupInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getContinuousBackupInfo()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(28, getContinuousBackupInfo()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getNetworkConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4133,106 +4755,83 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Cluster)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Cluster other = (com.google.cloud.alloydb.v1beta.Cluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (clusterType_ != other.clusterType_) return false; if (databaseVersion_ != other.databaseVersion_) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; - } - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; - if (getReconciling() - != other.getReconciling()) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + } + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (getReconciling() != other.getReconciling()) return false; if (hasInitialUser() != other.hasInitialUser()) return false; if (hasInitialUser()) { - if (!getInitialUser() - .equals(other.getInitialUser())) return false; + if (!getInitialUser().equals(other.getInitialUser())) return false; } if (hasAutomatedBackupPolicy() != other.hasAutomatedBackupPolicy()) return false; if (hasAutomatedBackupPolicy()) { - if (!getAutomatedBackupPolicy() - .equals(other.getAutomatedBackupPolicy())) return false; + if (!getAutomatedBackupPolicy().equals(other.getAutomatedBackupPolicy())) return false; } if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) 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 (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasContinuousBackupConfig() != other.hasContinuousBackupConfig()) return false; if (hasContinuousBackupConfig()) { - if (!getContinuousBackupConfig() - .equals(other.getContinuousBackupConfig())) return false; + if (!getContinuousBackupConfig().equals(other.getContinuousBackupConfig())) return false; } if (hasContinuousBackupInfo() != other.hasContinuousBackupInfo()) return false; if (hasContinuousBackupInfo()) { - if (!getContinuousBackupInfo() - .equals(other.getContinuousBackupInfo())) return false; + if (!getContinuousBackupInfo().equals(other.getContinuousBackupInfo())) return false; } if (hasSecondaryConfig() != other.hasSecondaryConfig()) return false; if (hasSecondaryConfig()) { - if (!getSecondaryConfig() - .equals(other.getSecondaryConfig())) return false; + if (!getSecondaryConfig().equals(other.getSecondaryConfig())) return false; } if (hasPrimaryConfig() != other.hasPrimaryConfig()) return false; if (hasPrimaryConfig()) { - if (!getPrimaryConfig() - .equals(other.getPrimaryConfig())) return false; + if (!getPrimaryConfig().equals(other.getPrimaryConfig())) return false; } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 15: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 16: - if (!getMigrationSource() - .equals(other.getMigrationSource())) return false; + if (!getMigrationSource().equals(other.getMigrationSource())) return false; break; case 0: default: @@ -4289,8 +4888,7 @@ public int hashCode() { hash = (53 * hash) + internalGetAnnotations().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()); if (hasInitialUser()) { hash = (37 * hash) + INITIAL_USER_FIELD_NUMBER; hash = (53 * hash) + getInitialUser().hashCode(); @@ -4344,99 +4942,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Cluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A cluster is a collection of regional AlloyDB resources. It can include a
    * primary instance and one or more read pool instances.
@@ -4445,59 +5048,56 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Cluster}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Cluster)
       com.google.cloud.alloydb.v1beta.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_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();
         case 12:
           return internalGetAnnotations();
         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();
         case 12:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Cluster.class, com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
+              com.google.cloud.alloydb.v1beta.Cluster.class,
+              com.google.cloud.alloydb.v1beta.Cluster.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.Cluster.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4590,9 +5190,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -4611,8 +5211,11 @@ public com.google.cloud.alloydb.v1beta.Cluster build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Cluster buildPartial() {
-      com.google.cloud.alloydb.v1beta.Cluster result = new com.google.cloud.alloydb.v1beta.Cluster(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.Cluster result =
+          new com.google.cloud.alloydb.v1beta.Cluster(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4630,19 +5233,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.labels_ = internalGetLabels();
@@ -4658,9 +5255,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.databaseVersion_ = databaseVersion_;
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.networkConfig_ = networkConfigBuilder_ == null
-            ? networkConfig_
-            : networkConfigBuilder_.build();
+        result.networkConfig_ =
+            networkConfigBuilder_ == null ? networkConfig_ : networkConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
         result.network_ = network_;
@@ -4676,61 +5272,55 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Cluster result) {
         result.reconciling_ = reconciling_;
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
-        result.initialUser_ = initialUserBuilder_ == null
-            ? initialUser_
-            : initialUserBuilder_.build();
+        result.initialUser_ =
+            initialUserBuilder_ == null ? initialUser_ : initialUserBuilder_.build();
       }
       if (((from_bitField0_ & 0x00040000) != 0)) {
-        result.automatedBackupPolicy_ = automatedBackupPolicyBuilder_ == null
-            ? automatedBackupPolicy_
-            : automatedBackupPolicyBuilder_.build();
+        result.automatedBackupPolicy_ =
+            automatedBackupPolicyBuilder_ == null
+                ? automatedBackupPolicy_
+                : automatedBackupPolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00080000) != 0)) {
-        result.sslConfig_ = sslConfigBuilder_ == null
-            ? sslConfig_
-            : sslConfigBuilder_.build();
+        result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00100000) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.continuousBackupConfig_ = continuousBackupConfigBuilder_ == null
-            ? continuousBackupConfig_
-            : continuousBackupConfigBuilder_.build();
+        result.continuousBackupConfig_ =
+            continuousBackupConfigBuilder_ == null
+                ? continuousBackupConfig_
+                : continuousBackupConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00800000) != 0)) {
-        result.continuousBackupInfo_ = continuousBackupInfoBuilder_ == null
-            ? continuousBackupInfo_
-            : continuousBackupInfoBuilder_.build();
+        result.continuousBackupInfo_ =
+            continuousBackupInfoBuilder_ == null
+                ? continuousBackupInfo_
+                : continuousBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x01000000) != 0)) {
-        result.secondaryConfig_ = secondaryConfigBuilder_ == null
-            ? secondaryConfig_
-            : secondaryConfigBuilder_.build();
+        result.secondaryConfig_ =
+            secondaryConfigBuilder_ == null ? secondaryConfig_ : secondaryConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x02000000) != 0)) {
-        result.primaryConfig_ = primaryConfigBuilder_ == null
-            ? primaryConfig_
-            : primaryConfigBuilder_.build();
+        result.primaryConfig_ =
+            primaryConfigBuilder_ == null ? primaryConfig_ : primaryConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.Cluster result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 15 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 15 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 16 &&
-          migrationSourceBuilder_ != null) {
+      if (sourceCase_ == 16 && migrationSourceBuilder_ != null) {
         result.source_ = migrationSourceBuilder_.build();
       }
     }
@@ -4739,38 +5329,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.Cluster result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.Cluster) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.Cluster) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4803,8 +5394,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000100;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -4828,8 +5418,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
         bitField0_ |= 0x00004000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00008000;
       if (other.getReconciling() != false) {
         setReconciling(other.getReconciling());
@@ -4862,17 +5451,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Cluster other) {
         mergePrimaryConfig(other.getPrimaryConfig());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case MIGRATION_SOURCE: {
-          mergeMigrationSource(other.getMigrationSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case MIGRATION_SOURCE:
+          {
+            mergeMigrationSource(other.getMigrationSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4900,180 +5492,185 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 64
-            case 72: {
-              databaseVersion_ = input.readEnum();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 72
-            case 82: {
-              network_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 82
-            case 90: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00004000;
-              break;
-            } // case 90
-            case 98: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 98
-            case 104: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 104
-            case 114: {
-              input.readMessage(
-                  getInitialUserFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 15;
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getMigrationSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 16;
-              break;
-            } // case 130
-            case 138: {
-              input.readMessage(
-                  getAutomatedBackupPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 138
-            case 146: {
-              input.readMessage(
-                  getSslConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 162
-            case 178: {
-              input.readMessage(
-                  getSecondaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x01000000;
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getPrimaryConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x02000000;
-              break;
-            } // case 186
-            case 192: {
-              clusterType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 192
-            case 218: {
-              input.readMessage(
-                  getContinuousBackupConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 218
-            case 226: {
-              input.readMessage(
-                  getContinuousBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00800000;
-              break;
-            } // case 226
-            case 234: {
-              input.readMessage(
-                  getNetworkConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 234
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 64
+            case 72:
+              {
+                databaseVersion_ = input.readEnum();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 72
+            case 82:
+              {
+                network_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 82
+            case 90:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00004000;
+                break;
+              } // case 90
+            case 98:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 98
+            case 104:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 104
+            case 114:
+              {
+                input.readMessage(getInitialUserFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 15;
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(getMigrationSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 16;
+                break;
+              } // case 130
+            case 138:
+              {
+                input.readMessage(
+                    getAutomatedBackupPolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 138
+            case 146:
+              {
+                input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 162
+            case 178:
+              {
+                input.readMessage(getSecondaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x01000000;
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(getPrimaryConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x02000000;
+                break;
+              } // case 186
+            case 192:
+              {
+                clusterType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 192
+            case 218:
+              {
+                input.readMessage(
+                    getContinuousBackupConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 218
+            case 226:
+              {
+                input.readMessage(
+                    getContinuousBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00800000;
+                break;
+              } // case 226
+            case 234:
+              {
+                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 234
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5083,12 +5680,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() {
@@ -5101,13 +5698,21 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1beta.BackupSource,
+            com.google.cloud.alloydb.v1beta.BackupSource.Builder,
+            com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -5115,11 +5720,16 @@ public boolean hasBackupSource() { return sourceCase_ == 15; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ @java.lang.Override @@ -5137,11 +5747,15 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { @@ -5157,11 +5771,15 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource valu return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBackupSource( com.google.cloud.alloydb.v1beta.BackupSource.Builder builderForValue) { @@ -5175,18 +5793,25 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 15 && - source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1beta.BackupSource.newBuilder((com.google.cloud.alloydb.v1beta.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 15 + && source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1beta.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1beta.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5202,11 +5827,15 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource va return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBackupSource() { if (backupSourceBuilder_ == null) { @@ -5225,21 +5854,29 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.BackupSource.Builder getBackupSourceBuilder() { return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { @@ -5253,21 +5890,30 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } } /** + * + * *
      * Output only. Cluster created from backup.
      * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.BackupSource, + com.google.cloud.alloydb.v1beta.BackupSource.Builder, + com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 15)) { source_ = com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BackupSource, + com.google.cloud.alloydb.v1beta.BackupSource.Builder, + com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.BackupSource) source_, getParentForChildren(), isClean()); @@ -5279,13 +5925,21 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> migrationSourceBuilder_; + com.google.cloud.alloydb.v1beta.MigrationSource, + com.google.cloud.alloydb.v1beta.MigrationSource.Builder, + com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> + migrationSourceBuilder_; /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ @java.lang.Override @@ -5293,11 +5947,16 @@ public boolean hasMigrationSource() { return sourceCase_ == 16; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ @java.lang.Override @@ -5315,11 +5974,15 @@ public com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource() { } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSource value) { if (migrationSourceBuilder_ == null) { @@ -5335,11 +5998,15 @@ public Builder setMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSourc return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMigrationSource( com.google.cloud.alloydb.v1beta.MigrationSource.Builder builderForValue) { @@ -5353,18 +6020,25 @@ public Builder setMigrationSource( return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSource value) { if (migrationSourceBuilder_ == null) { - if (sourceCase_ == 16 && - source_ != com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder((com.google.cloud.alloydb.v1beta.MigrationSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 16 + && source_ != com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder( + (com.google.cloud.alloydb.v1beta.MigrationSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -5380,11 +6054,15 @@ public Builder mergeMigrationSource(com.google.cloud.alloydb.v1beta.MigrationSou return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMigrationSource() { if (migrationSourceBuilder_ == null) { @@ -5403,21 +6081,29 @@ public Builder clearMigrationSource() { return this; } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.MigrationSource.Builder getMigrationSourceBuilder() { return getMigrationSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder() { @@ -5431,21 +6117,30 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour } } /** + * + * *
      * Output only. Cluster created via DMS migration.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> + com.google.cloud.alloydb.v1beta.MigrationSource, + com.google.cloud.alloydb.v1beta.MigrationSource.Builder, + com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder> getMigrationSourceFieldBuilder() { if (migrationSourceBuilder_ == null) { if (!(sourceCase_ == 16)) { source_ = com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance(); } - migrationSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.MigrationSource, com.google.cloud.alloydb.v1beta.MigrationSource.Builder, com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder>( + migrationSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.MigrationSource, + com.google.cloud.alloydb.v1beta.MigrationSource.Builder, + com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.MigrationSource) source_, getParentForChildren(), isClean()); @@ -5458,6 +6153,8 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5468,13 +6165,13 @@ public com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSour
      * 
* * 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; @@ -5483,6 +6180,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5493,15 +6192,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -5509,6 +6207,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5519,18 +6219,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5541,6 +6245,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -5550,6 +6255,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the cluster resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -5560,12 +6267,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -5575,18 +6284,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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; @@ -5595,20 +6306,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * 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 { @@ -5616,28 +6328,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -5647,17 +6366,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Cluster.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000008; @@ -5667,19 +6390,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -5688,21 +6413,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5710,30 +6436,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -5743,18 +6476,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000010; @@ -5764,39 +6501,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -5812,14 +6568,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -5830,17 +6589,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -5853,11 +6616,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -5870,11 +6637,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -5882,36 +6653,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -5919,39 +6702,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -5967,14 +6769,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -5985,17 +6790,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -6008,11 +6817,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6025,11 +6838,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000040; @@ -6037,36 +6854,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -6074,39 +6903,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -6122,14 +6970,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -6140,17 +6991,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -6163,11 +7018,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000080); @@ -6180,11 +7039,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000080; @@ -6192,56 +7055,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -6250,10 +7123,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6261,20 +7137,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6286,6 +7163,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6293,17 +7172,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -6311,95 +7192,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000100); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000100; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000100; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000100; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.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 serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -6410,24 +7304,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.State getState() { - com.google.cloud.alloydb.v1beta.Cluster.State result = com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Cluster.State result = + com.google.cloud.alloydb.v1beta.Cluster.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Cluster.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -6441,11 +7346,16 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Cluster.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -6457,6 +7367,8 @@ public Builder clearState() { private int clusterType_ = 0; /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6464,13 +7376,19 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ - @java.lang.Override public int getClusterTypeValue() { + @java.lang.Override + public int getClusterTypeValue() { return clusterType_; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6478,7 +7396,10 @@ public Builder clearState() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for clusterType to set. * @return This builder for chaining. */ @@ -6489,6 +7410,8 @@ public Builder setClusterTypeValue(int value) { return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6496,15 +7419,23 @@ public Builder setClusterTypeValue(int value) {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() { - com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); - return result == null ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.Cluster.ClusterType result = + com.google.cloud.alloydb.v1beta.Cluster.ClusterType.forNumber(clusterType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Cluster.ClusterType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6512,7 +7443,10 @@ public com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType() {
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The clusterType to set. * @return This builder for chaining. */ @@ -6526,6 +7460,8 @@ public Builder setClusterType(com.google.cloud.alloydb.v1beta.Cluster.ClusterTyp return this; } /** + * + * *
      * Output only. The type of the cluster. This is an output-only field and it's
      * populated at the Cluster creation time or the Cluster promotion
@@ -6533,7 +7469,10 @@ public Builder setClusterType(com.google.cloud.alloydb.v1beta.Cluster.ClusterTyp
      * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearClusterType() { @@ -6545,6 +7484,8 @@ public Builder clearClusterType() { private int databaseVersion_ = 0; /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6552,13 +7493,19 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ - @java.lang.Override public int getDatabaseVersionValue() { + @java.lang.Override + public int getDatabaseVersionValue() { return databaseVersion_; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6566,7 +7513,10 @@ public Builder clearClusterType() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for databaseVersion to set. * @return This builder for chaining. */ @@ -6577,6 +7527,8 @@ public Builder setDatabaseVersionValue(int value) { return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6584,15 +7536,21 @@ public Builder setDatabaseVersionValue(int value) {
      * be used.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); + com.google.cloud.alloydb.v1beta.DatabaseVersion result = + com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(databaseVersion_); return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6600,7 +7558,10 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion() {
      * be used.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The databaseVersion to set. * @return This builder for chaining. */ @@ -6614,6 +7575,8 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio return this; } /** + * + * *
      * Optional. The database engine major version. This is an optional field and
      * it is populated at the Cluster creation time. If a database version is not
@@ -6621,7 +7584,10 @@ public Builder setDatabaseVersion(com.google.cloud.alloydb.v1beta.DatabaseVersio
      * be used.
      * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearDatabaseVersion() { @@ -6633,27 +7599,40 @@ public Builder clearDatabaseVersion() { private com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> + networkConfigBuilder_; /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return ((bitField0_ & 0x00001000) != 0); } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { @@ -6669,7 +7648,9 @@ public Builder setNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkC return this; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setNetworkConfig( com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder builderForValue) { @@ -6683,13 +7664,16 @@ public Builder setNetworkConfig( return this; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig value) { if (networkConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - networkConfig_ != null && - networkConfig_ != com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && networkConfig_ != null + && networkConfig_ + != com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance()) { getNetworkConfigBuilder().mergeFrom(value); } else { networkConfig_ = value; @@ -6702,7 +7686,9 @@ public Builder mergeNetworkConfig(com.google.cloud.alloydb.v1beta.Cluster.Networ return this; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearNetworkConfig() { bitField0_ = (bitField0_ & ~0x00001000); @@ -6715,7 +7701,9 @@ public Builder clearNetworkConfig() { return this; } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkConfigBuilder() { bitField0_ |= 0x00001000; @@ -6723,28 +7711,37 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder getNetworkC return getNetworkConfigFieldBuilder().getBuilder(); } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder + getNetworkConfigOrBuilder() { if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.getDefaultInstance() + : networkConfig_; } } /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder>( - getNetworkConfig(), - getParentForChildren(), - isClean()); + networkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder>( + getNetworkConfig(), getParentForChildren(), isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -6752,6 +7749,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork private java.lang.Object network_ = ""; /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6760,16 +7759,19 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated public java.lang.String getNetwork() { + @java.lang.Deprecated + public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -6778,6 +7780,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6786,18 +7790,20 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNetworkBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -6805,6 +7811,8 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork } } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6813,21 +7821,28 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @param value The network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetwork( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } network_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6836,18 +7851,24 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNetwork() { + @java.lang.Deprecated + public Builder clearNetwork() { network_ = getDefaultInstance().getNetwork(); bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } /** + * + * *
      * Required. The resource link for the VPC network in which cluster resources
      * are created and from which they are accessible via Private IP. The network
@@ -6856,15 +7877,20 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork
      * to create a cluster. Deprecated, use network_config.network instead.
      * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @param value The bytes for network to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); network_ = value; bitField0_ |= 0x00002000; @@ -6874,18 +7900,20 @@ public com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetwork private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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; @@ -6894,20 +7922,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @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 { @@ -6915,28 +7944,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -6946,17 +7982,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 11; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00004000; @@ -6964,8 +8004,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -6974,11 +8014,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -6987,10 +8028,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7000,20 +8044,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7027,6 +8072,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7036,17 +8083,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7056,23 +8105,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 12;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00008000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7081,23 +8132,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 12;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00008000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7106,17 +8156,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00008000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -7125,16 +8178,16 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 12;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00008000;
       return this;
     }
 
-    private boolean reconciling_ ;
+    private boolean reconciling_;
     /**
+     *
+     *
      * 
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7144,6 +8197,7 @@ public Builder putAllAnnotations(
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -7151,6 +8205,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7160,6 +8216,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -7171,6 +8228,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Cluster does not match the user's
@@ -7180,6 +8239,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -7191,42 +8251,61 @@ public Builder clearReconciling() { private com.google.cloud.alloydb.v1beta.UserPassword initialUser_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> initialUserBuilder_; + com.google.cloud.alloydb.v1beta.UserPassword, + com.google.cloud.alloydb.v1beta.UserPassword.Builder, + com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> + initialUserBuilder_; /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ public boolean hasInitialUser() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ public com.google.cloud.alloydb.v1beta.UserPassword getInitialUser() { if (initialUserBuilder_ == null) { - return initialUser_ == null ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() + : initialUser_; } else { return initialUserBuilder_.getMessage(); } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value) { if (initialUserBuilder_ == null) { @@ -7242,12 +8321,16 @@ public Builder setInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder setInitialUser( com.google.cloud.alloydb.v1beta.UserPassword.Builder builderForValue) { @@ -7261,18 +8344,22 @@ public Builder setInitialUser( return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder mergeInitialUser(com.google.cloud.alloydb.v1beta.UserPassword value) { if (initialUserBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0) && - initialUser_ != null && - initialUser_ != com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance()) { + if (((bitField0_ & 0x00020000) != 0) + && initialUser_ != null + && initialUser_ != com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance()) { getInitialUserBuilder().mergeFrom(value); } else { initialUser_ = value; @@ -7285,12 +8372,16 @@ public Builder mergeInitialUser(com.google.cloud.alloydb.v1beta.UserPassword val return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public Builder clearInitialUser() { bitField0_ = (bitField0_ & ~0x00020000); @@ -7303,12 +8394,16 @@ public Builder clearInitialUser() { return this; } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.UserPassword.Builder getInitialUserBuilder() { bitField0_ |= 0x00020000; @@ -7316,38 +8411,50 @@ public com.google.cloud.alloydb.v1beta.UserPassword.Builder getInitialUserBuilde return getInitialUserFieldBuilder().getBuilder(); } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder() { if (initialUserBuilder_ != null) { return initialUserBuilder_.getMessageOrBuilder(); } else { - return initialUser_ == null ? - com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() : initialUser_; + return initialUser_ == null + ? com.google.cloud.alloydb.v1beta.UserPassword.getDefaultInstance() + : initialUser_; } } /** + * + * *
      * Input only. Initial user to setup during cluster creation. Required.
      * If used in `RestoreCluster` this is ignored.
      * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> + com.google.cloud.alloydb.v1beta.UserPassword, + com.google.cloud.alloydb.v1beta.UserPassword.Builder, + com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder> getInitialUserFieldBuilder() { if (initialUserBuilder_ == null) { - initialUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.UserPassword, com.google.cloud.alloydb.v1beta.UserPassword.Builder, com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder>( - getInitialUser(), - getParentForChildren(), - isClean()); + initialUserBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.UserPassword, + com.google.cloud.alloydb.v1beta.UserPassword.Builder, + com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder>( + getInitialUser(), getParentForChildren(), isClean()); initialUser_ = null; } return initialUserBuilder_; @@ -7355,8 +8462,13 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui private com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy automatedBackupPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> automatedBackupPolicyBuilder_; + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, + com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> + automatedBackupPolicyBuilder_; /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7368,12 +8480,15 @@ public com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBui
      * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ public boolean hasAutomatedBackupPolicy() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7385,16 +8500,21 @@ public boolean hasAutomatedBackupPolicy() {
      * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy() { if (automatedBackupPolicyBuilder_ == null) { - return automatedBackupPolicy_ == null ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_; + return automatedBackupPolicy_ == null + ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() + : automatedBackupPolicy_; } else { return automatedBackupPolicyBuilder_.getMessage(); } } /** + * + * *
      * The automated backup policy for this cluster.
      *
@@ -7407,7 +8527,8 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupP
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
+    public Builder setAutomatedBackupPolicy(
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7421,6 +8542,8 @@ public Builder setAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.Automate
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7445,6 +8568,8 @@ public Builder setAutomatedBackupPolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7457,11 +8582,13 @@ public Builder setAutomatedBackupPolicy(
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
+    public Builder mergeAutomatedBackupPolicy(
+        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy value) {
       if (automatedBackupPolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00040000) != 0) &&
-          automatedBackupPolicy_ != null &&
-          automatedBackupPolicy_ != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00040000) != 0)
+            && automatedBackupPolicy_ != null
+            && automatedBackupPolicy_
+                != com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()) {
           getAutomatedBackupPolicyBuilder().mergeFrom(value);
         } else {
           automatedBackupPolicy_ = value;
@@ -7474,6 +8601,8 @@ public Builder mergeAutomatedBackupPolicy(com.google.cloud.alloydb.v1beta.Automa
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7497,6 +8626,8 @@ public Builder clearAutomatedBackupPolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7509,12 +8640,15 @@ public Builder clearAutomatedBackupPolicy() {
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder getAutomatedBackupPolicyBuilder() {
+    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder
+        getAutomatedBackupPolicyBuilder() {
       bitField0_ |= 0x00040000;
       onChanged();
       return getAutomatedBackupPolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7527,15 +8661,19 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder getAutomate
      *
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
-    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
+        getAutomatedBackupPolicyOrBuilder() {
       if (automatedBackupPolicyBuilder_ != null) {
         return automatedBackupPolicyBuilder_.getMessageOrBuilder();
       } else {
-        return automatedBackupPolicy_ == null ?
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance() : automatedBackupPolicy_;
+        return automatedBackupPolicy_ == null
+            ? com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.getDefaultInstance()
+            : automatedBackupPolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * The automated backup policy for this cluster.
      *
@@ -7549,14 +8687,17 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat
      * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder> 
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy,
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder,
+            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>
         getAutomatedBackupPolicyFieldBuilder() {
       if (automatedBackupPolicyBuilder_ == null) {
-        automatedBackupPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder, com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>(
-                getAutomatedBackupPolicy(),
-                getParentForChildren(),
-                isClean());
+        automatedBackupPolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy,
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy.Builder,
+                com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder>(
+                getAutomatedBackupPolicy(), getParentForChildren(), isClean());
         automatedBackupPolicy_ = null;
       }
       return automatedBackupPolicyBuilder_;
@@ -7564,45 +8705,61 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat
 
     private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> sslConfigBuilder_;
+            com.google.cloud.alloydb.v1beta.SslConfig,
+            com.google.cloud.alloydb.v1beta.SslConfig.Builder,
+            com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>
+        sslConfigBuilder_;
     /**
+     *
+     *
      * 
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated public boolean hasSslConfig() { + @java.lang.Deprecated + public boolean hasSslConfig() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { + @java.lang.Deprecated + public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7616,14 +8773,16 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder setSslConfig( - com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { + @java.lang.Deprecated + public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { if (sslConfigBuilder_ == null) { sslConfig_ = builderForValue.build(); } else { @@ -7634,17 +8793,20 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { + @java.lang.Deprecated + public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00080000) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -7657,13 +8819,16 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public Builder clearSslConfig() { + @java.lang.Deprecated + public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00080000); sslConfig_ = null; if (sslConfigBuilder_ != null) { @@ -7674,33 +8839,42 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat return this; } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00080000; onChanged(); return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { + @java.lang.Deprecated + public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
      * SSL configuration for this AlloyDB cluster.
      * 
@@ -7708,14 +8882,17 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> + com.google.cloud.alloydb.v1beta.SslConfig, + com.google.cloud.alloydb.v1beta.SslConfig.Builder, + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SslConfig, + com.google.cloud.alloydb.v1beta.SslConfig.Builder, + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; @@ -7723,8 +8900,13 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7733,13 +8915,18 @@ public com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomat
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7748,17 +8935,24 @@ public boolean hasEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7767,7 +8961,9 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { @@ -7783,6 +8979,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7791,7 +8989,9 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setEncryptionConfig( com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder builderForValue) { @@ -7805,6 +9005,8 @@ public Builder setEncryptionConfig( return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7813,13 +9015,16 @@ public Builder setEncryptionConfig(
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0) && - encryptionConfig_ != null && - encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00100000) != 0) + && encryptionConfig_ != null + && encryptionConfig_ + != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -7832,6 +9037,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7840,7 +9047,9 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00100000); @@ -7853,6 +9062,8 @@ public Builder clearEncryptionConfig() { return this; } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7861,7 +9072,9 @@ public Builder clearEncryptionConfig() {
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00100000; @@ -7869,6 +9082,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon return getEncryptionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7877,17 +9092,23 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } } /** + * + * *
      * Optional. The encryption config can be specified to encrypt the data disks
      * and other persistent data resources of a cluster with a
@@ -7896,17 +9117,22 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
      * protect the user data.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( - getEncryptionConfig(), - getParentForChildren(), - isClean()); + encryptionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>( + getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; @@ -7914,39 +9140,58 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + encryptionInfoBuilder_; /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -7962,11 +9207,15 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -7980,17 +9229,22 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00200000) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -8003,11 +9257,15 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00200000); @@ -8020,11 +9278,15 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00200000; @@ -8032,36 +9294,48 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the cluster.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -8069,41 +9343,61 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private com.google.cloud.alloydb.v1beta.ContinuousBackupConfig continuousBackupConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> continuousBackupConfigBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> + continuousBackupConfigBuilder_; /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ public boolean hasContinuousBackupConfig() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig() { if (continuousBackupConfigBuilder_ == null) { - return continuousBackupConfig_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } else { return continuousBackupConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { + public Builder setContinuousBackupConfig( + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8117,11 +9411,15 @@ public Builder setContinuousBackupConfig(com.google.cloud.alloydb.v1beta.Continu return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setContinuousBackupConfig( com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder builderForValue) { @@ -8135,17 +9433,23 @@ public Builder setContinuousBackupConfig( return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { + public Builder mergeContinuousBackupConfig( + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig value) { if (continuousBackupConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) && - continuousBackupConfig_ != null && - continuousBackupConfig_ != com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) + && continuousBackupConfig_ != null + && continuousBackupConfig_ + != com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) { getContinuousBackupConfigBuilder().mergeFrom(value); } else { continuousBackupConfig_ = value; @@ -8158,11 +9462,15 @@ public Builder mergeContinuousBackupConfig(com.google.cloud.alloydb.v1beta.Conti return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearContinuousBackupConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -8175,48 +9483,66 @@ public Builder clearContinuousBackupConfig() { return this; } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder getContinuousBackupConfigBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder + getContinuousBackupConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getContinuousBackupConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder() { if (continuousBackupConfigBuilder_ != null) { return continuousBackupConfigBuilder_.getMessageOrBuilder(); } else { - return continuousBackupConfig_ == null ? - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() : continuousBackupConfig_; + return continuousBackupConfig_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance() + : continuousBackupConfig_; } } /** + * + * *
      * Optional. Continuous backup configuration for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder> getContinuousBackupConfigFieldBuilder() { if (continuousBackupConfigBuilder_ == null) { - continuousBackupConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder>( - getContinuousBackupConfig(), - getParentForChildren(), - isClean()); + continuousBackupConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder>( + getContinuousBackupConfig(), getParentForChildren(), isClean()); continuousBackupConfig_ = null; } return continuousBackupConfigBuilder_; @@ -8224,41 +9550,61 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContin private com.google.cloud.alloydb.v1beta.ContinuousBackupInfo continuousBackupInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> continuousBackupInfoBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> + continuousBackupInfoBuilder_; /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ public boolean hasContinuousBackupInfo() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo() { if (continuousBackupInfoBuilder_ == null) { - return continuousBackupInfo_ == null ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } else { return continuousBackupInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { + public Builder setContinuousBackupInfo( + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8272,11 +9618,15 @@ public Builder setContinuousBackupInfo(com.google.cloud.alloydb.v1beta.Continuou return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setContinuousBackupInfo( com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder builderForValue) { @@ -8290,17 +9640,23 @@ public Builder setContinuousBackupInfo( return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { + public Builder mergeContinuousBackupInfo( + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo value) { if (continuousBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0) && - continuousBackupInfo_ != null && - continuousBackupInfo_ != com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00800000) != 0) + && continuousBackupInfo_ != null + && continuousBackupInfo_ + != com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) { getContinuousBackupInfoBuilder().mergeFrom(value); } else { continuousBackupInfo_ = value; @@ -8313,11 +9669,15 @@ public Builder mergeContinuousBackupInfo(com.google.cloud.alloydb.v1beta.Continu return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearContinuousBackupInfo() { bitField0_ = (bitField0_ & ~0x00800000); @@ -8330,48 +9690,66 @@ public Builder clearContinuousBackupInfo() { return this; } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder getContinuousBackupInfoBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder + getContinuousBackupInfoBuilder() { bitField0_ |= 0x00800000; onChanged(); return getContinuousBackupInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder + getContinuousBackupInfoOrBuilder() { if (continuousBackupInfoBuilder_ != null) { return continuousBackupInfoBuilder_.getMessageOrBuilder(); } else { - return continuousBackupInfo_ == null ? - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() : continuousBackupInfo_; + return continuousBackupInfo_ == null + ? com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance() + : continuousBackupInfo_; } } /** + * + * *
      * Output only. Continuous backup properties for this cluster.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder> getContinuousBackupInfoFieldBuilder() { if (continuousBackupInfoBuilder_ == null) { - continuousBackupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder>( - getContinuousBackupInfo(), - getParentForChildren(), - isClean()); + continuousBackupInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder>( + getContinuousBackupInfo(), getParentForChildren(), isClean()); continuousBackupInfo_ = null; } return continuousBackupInfoBuilder_; @@ -8379,41 +9757,55 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuo private com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> secondaryConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> + secondaryConfigBuilder_; /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ public boolean hasSecondaryConfig() { return ((bitField0_ & 0x01000000) != 0); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig() { if (secondaryConfigBuilder_ == null) { - return secondaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } else { return secondaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder setSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { + public Builder setSecondaryConfig( + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8427,6 +9819,8 @@ public Builder setSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.Second return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8445,17 +9839,21 @@ public Builder setSecondaryConfig( return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { + public Builder mergeSecondaryConfig( + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig value) { if (secondaryConfigBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0) && - secondaryConfig_ != null && - secondaryConfig_ != com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x01000000) != 0) + && secondaryConfig_ != null + && secondaryConfig_ + != com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance()) { getSecondaryConfigBuilder().mergeFrom(value); } else { secondaryConfig_ = value; @@ -8468,6 +9866,8 @@ public Builder mergeSecondaryConfig(com.google.cloud.alloydb.v1beta.Cluster.Seco return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8485,33 +9885,42 @@ public Builder clearSecondaryConfig() { return this; } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder getSecondaryConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder + getSecondaryConfigBuilder() { bitField0_ |= 0x01000000; onChanged(); return getSecondaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ - public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder + getSecondaryConfigOrBuilder() { if (secondaryConfigBuilder_ != null) { return secondaryConfigBuilder_.getMessageOrBuilder(); } else { - return secondaryConfig_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() : secondaryConfig_; + return secondaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.getDefaultInstance() + : secondaryConfig_; } } /** + * + * *
      * Cross Region replication config specific to SECONDARY cluster.
      * 
@@ -8519,14 +9928,17 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecon * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder> getSecondaryConfigFieldBuilder() { if (secondaryConfigBuilder_ == null) { - secondaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder>( - getSecondaryConfig(), - getParentForChildren(), - isClean()); + secondaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder>( + getSecondaryConfig(), getParentForChildren(), isClean()); secondaryConfig_ = null; } return secondaryConfigBuilder_; @@ -8534,39 +9946,58 @@ public com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecon private com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primaryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> primaryConfigBuilder_; + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> + primaryConfigBuilder_; /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ public boolean hasPrimaryConfig() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig() { if (primaryConfigBuilder_ == null) { - return primaryConfig_ == null ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } else { return primaryConfigBuilder_.getMessage(); } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { @@ -8582,11 +10013,15 @@ public Builder setPrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryC return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setPrimaryConfig( com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder builderForValue) { @@ -8600,17 +10035,22 @@ public Builder setPrimaryConfig( return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig value) { if (primaryConfigBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) && - primaryConfig_ != null && - primaryConfig_ != com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) { + if (((bitField0_ & 0x02000000) != 0) + && primaryConfig_ != null + && primaryConfig_ + != com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance()) { getPrimaryConfigBuilder().mergeFrom(value); } else { primaryConfig_ = value; @@ -8623,11 +10063,15 @@ public Builder mergePrimaryConfig(com.google.cloud.alloydb.v1beta.Cluster.Primar return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearPrimaryConfig() { bitField0_ = (bitField0_ & ~0x02000000); @@ -8640,11 +10084,15 @@ public Builder clearPrimaryConfig() { return this; } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder getPrimaryConfigBuilder() { bitField0_ |= 0x02000000; @@ -8652,43 +10100,56 @@ public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder getPrimaryC return getPrimaryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder + getPrimaryConfigOrBuilder() { if (primaryConfigBuilder_ != null) { return primaryConfigBuilder_.getMessageOrBuilder(); } else { - return primaryConfig_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() : primaryConfig_; + return primaryConfig_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.getDefaultInstance() + : primaryConfig_; } } /** + * + * *
      * Output only. Cross Region replication config specific to PRIMARY cluster.
      * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder> getPrimaryConfigFieldBuilder() { if (primaryConfigBuilder_ == null) { - primaryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder>( - getPrimaryConfig(), - getParentForChildren(), - isClean()); + primaryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig.Builder, + com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder>( + getPrimaryConfig(), getParentForChildren(), isClean()); primaryConfig_ = null; } return primaryConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8698,12 +10159,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Cluster) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Cluster) private static final com.google.cloud.alloydb.v1beta.Cluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Cluster(); } @@ -8712,27 +10173,27 @@ public static com.google.cloud.alloydb.v1beta.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8747,6 +10208,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java index e39325631542..7536b32ba8f4 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterOrBuilder.java @@ -1,67 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ClusterOrBuilder extends +public interface ClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Cluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The backupSource. */ com.google.cloud.alloydb.v1beta.BackupSource getBackupSource(); /** + * + * *
    * Output only. Cluster created from backup.
    * 
* - * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BackupSource backup_source = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the migrationSource field is set. */ boolean hasMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The migrationSource. */ com.google.cloud.alloydb.v1beta.MigrationSource getMigrationSource(); /** + * + * *
    * Output only. Cluster created via DMS migration.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource migration_source = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder getMigrationSourceOrBuilder(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -72,10 +118,13 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the cluster resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}
@@ -86,135 +135,180 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Cluster.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -223,30 +317,31 @@ public interface ClusterOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -254,40 +349,53 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1beta.Cluster.State getState(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -295,11 +403,16 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for clusterType. */ int getClusterTypeValue(); /** + * + * *
    * Output only. The type of the cluster. This is an output-only field and it's
    * populated at the Cluster creation time or the Cluster promotion
@@ -307,12 +420,17 @@ java.lang.String getLabelsOrThrow(
    * the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The clusterType. */ com.google.cloud.alloydb.v1beta.Cluster.ClusterType getClusterType(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -320,11 +438,16 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for databaseVersion. */ int getDatabaseVersionValue(); /** + * + * *
    * Optional. The database engine major version. This is an optional field and
    * it is populated at the Cluster creation time. If a database version is not
@@ -332,27 +455,40 @@ java.lang.String getLabelsOrThrow(
    * be used.
    * 
* - * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.DatabaseVersion database_version = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The databaseVersion. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getDatabaseVersion(); /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The networkConfig. */ com.google.cloud.alloydb.v1beta.Cluster.NetworkConfig getNetworkConfig(); /** - * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Cluster.NetworkConfig network_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1beta.Cluster.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -361,13 +497,19 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The network. */ - @java.lang.Deprecated java.lang.String getNetwork(); + @java.lang.Deprecated + java.lang.String getNetwork(); /** + * + * *
    * Required. The resource link for the VPC network in which cluster resources
    * are created and from which they are accessible via Private IP. The network
@@ -376,35 +518,45 @@ java.lang.String getLabelsOrThrow(
    * to create a cluster. Deprecated, use network_config.network instead.
    * 
* - * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=546 + * + * string network = 10 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.network is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=546 * @return The bytes for network. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNetworkBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 11; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -415,6 +567,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -423,15 +577,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> annotations = 12;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -440,9 +592,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 12;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -452,11 +605,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 12;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -465,10 +620,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 12;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Cluster does not match the user's
@@ -478,41 +634,58 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * bool reconciling = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return Whether the initialUser field is set. */ boolean hasInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * * @return The initialUser. */ com.google.cloud.alloydb.v1beta.UserPassword getInitialUser(); /** + * + * *
    * Input only. Initial user to setup during cluster creation. Required.
    * If used in `RestoreCluster` this is ignored.
    * 
* - * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.UserPassword initial_user = 14 [(.google.api.field_behavior) = INPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder getInitialUserOrBuilder(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -524,10 +697,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return Whether the automatedBackupPolicy field is set. */ boolean hasAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -539,10 +715,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17; + * * @return The automatedBackupPolicy. */ com.google.cloud.alloydb.v1beta.AutomatedBackupPolicy getAutomatedBackupPolicy(); /** + * + * *
    * The automated backup policy for this cluster.
    *
@@ -555,40 +734,54 @@ java.lang.String getAnnotationsOrThrow(
    *
    * .google.cloud.alloydb.v1beta.AutomatedBackupPolicy automated_backup_policy = 17;
    */
-  com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder getAutomatedBackupPolicyOrBuilder();
+  com.google.cloud.alloydb.v1beta.AutomatedBackupPolicyOrBuilder
+      getAutomatedBackupPolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return Whether the sslConfig field is set. */ - @java.lang.Deprecated boolean hasSslConfig(); + @java.lang.Deprecated + boolean hasSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; - * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=581 + * + * @deprecated google.cloud.alloydb.v1beta.Cluster.ssl_config is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=581 * @return The sslConfig. */ - @java.lang.Deprecated com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); /** + * + * *
    * SSL configuration for this AlloyDB cluster.
    * 
* * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 18 [deprecated = true]; */ - @java.lang.Deprecated com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); + @java.lang.Deprecated + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -597,11 +790,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -610,11 +808,16 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * Optional. The encryption config can be specified to encrypt the data disks
    * and other persistent data resources of a cluster with a
@@ -623,110 +826,163 @@ java.lang.String getAnnotationsOrThrow(
    * protect the user data.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 19 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the cluster.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the continuousBackupConfig field is set. */ boolean hasContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The continuousBackupConfig. */ com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getContinuousBackupConfig(); /** + * + * *
    * Optional. Continuous backup configuration for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupConfig continuous_backup_config = 27 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder getContinuousBackupConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder + getContinuousBackupConfigOrBuilder(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the continuousBackupInfo field is set. */ boolean hasContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The continuousBackupInfo. */ com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getContinuousBackupInfo(); /** + * + * *
    * Output only. Continuous backup properties for this cluster.
    * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.ContinuousBackupInfo continuous_backup_info = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder getContinuousBackupInfoOrBuilder(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return Whether the secondaryConfig field is set. */ boolean hasSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
* * .google.cloud.alloydb.v1beta.Cluster.SecondaryConfig secondary_config = 22; + * * @return The secondaryConfig. */ com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfig getSecondaryConfig(); /** + * + * *
    * Cross Region replication config specific to SECONDARY cluster.
    * 
@@ -736,29 +992,43 @@ java.lang.String getAnnotationsOrThrow( com.google.cloud.alloydb.v1beta.Cluster.SecondaryConfigOrBuilder getSecondaryConfigOrBuilder(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the primaryConfig field is set. */ boolean hasPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The primaryConfig. */ com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfig getPrimaryConfig(); /** + * + * *
    * Output only. Cross Region replication config specific to PRIMARY cluster.
    * 
* - * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Cluster.PrimaryConfig primary_config = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.Cluster.PrimaryConfigOrBuilder getPrimaryConfigOrBuilder(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java index 074617418679..790e2d2e5e18 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ClusterView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * View on Cluster. Pass this enum to rpcs that returns a cluster message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1beta.ClusterView}
  */
-public enum ClusterView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum ClusterView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum ClusterView */ CLUSTER_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -32,6 +52,8 @@ public enum ClusterView
    */
   CLUSTER_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -45,6 +67,8 @@ public enum ClusterView
   ;
 
   /**
+   *
+   *
    * 
    * CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -53,6 +77,8 @@ public enum ClusterView */ public static final int CLUSTER_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses include all the relevant cluster details, excluding
    * Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific
@@ -63,6 +89,8 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * CONTINUOUS_BACKUP response returns all the fields from BASIC plus
    * the earliest restorable time if continuous backups are enabled.
@@ -73,7 +101,6 @@ public enum ClusterView
    */
   public static final int CLUSTER_VIEW_CONTINUOUS_BACKUP_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -98,49 +125,49 @@ public static ClusterView valueOf(int value) {
    */
   public static ClusterView forNumber(int value) {
     switch (value) {
-      case 0: return CLUSTER_VIEW_UNSPECIFIED;
-      case 1: return CLUSTER_VIEW_BASIC;
-      case 2: return CLUSTER_VIEW_CONTINUOUS_BACKUP;
-      default: return null;
+      case 0:
+        return CLUSTER_VIEW_UNSPECIFIED;
+      case 1:
+        return CLUSTER_VIEW_BASIC;
+      case 2:
+        return CLUSTER_VIEW_CONTINUOUS_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<
-      ClusterView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public ClusterView findValueByNumber(int number) {
-            return ClusterView.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 ClusterView findValueByNumber(int number) {
+          return ClusterView.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final ClusterView[] VALUES = values();
 
-  public static ClusterView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static ClusterView 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,4 +183,3 @@ private ClusterView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.ClusterView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
similarity index 69%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
index b0c7f4648244..5c3cebdc503a 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
+ *
+ *
  * 
  * ConnectionInfo singleton resource.
  * https://google.aip.dev/156
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ConnectionInfo}
  */
-public final class ConnectionInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConnectionInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ConnectionInfo)
     ConnectionInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConnectionInfo.newBuilder() to construct.
   private ConnectionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ConnectionInfo() {
     name_ = "";
     ipAddress_ = "";
-    pemCertificateChain_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
     instanceUid_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConnectionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ConnectionInfo.class, com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
+            com.google.cloud.alloydb.v1beta.ConnectionInfo.class,
+            com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +89,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 ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -82,16 +105,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 { @@ -100,9 +122,12 @@ public java.lang.String getName() { } public static final int IP_ADDRESS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -110,6 +135,7 @@ public java.lang.String getName() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -118,14 +144,15 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -133,16 +160,15 @@ public java.lang.String getIpAddress() {
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -151,79 +177,106 @@ public java.lang.String getIpAddress() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { return pemCertificateChain_; } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated public int getPemCertificateChainCount() { + @java.lang.Deprecated + public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated + public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int INSTANCE_UID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object instanceUid_ = ""; /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ @java.lang.Override @@ -232,29 +285,29 @@ public java.lang.String getInstanceUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; } } /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -263,6 +316,7 @@ public java.lang.String getInstanceUid() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -322,21 +375,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.cloud.alloydb.v1beta.ConnectionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ConnectionInfo other = (com.google.cloud.alloydb.v1beta.ConnectionInfo) obj; + com.google.cloud.alloydb.v1beta.ConnectionInfo other = + (com.google.cloud.alloydb.v1beta.ConnectionInfo) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getPemCertificateChainList() - .equals(other.getPemCertificateChainList())) return false; - if (!getInstanceUid() - .equals(other.getInstanceUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; + if (!getInstanceUid().equals(other.getInstanceUid())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -363,99 +413,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ConnectionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ConnectionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ConnectionInfo singleton resource.
    * https://google.aip.dev/156
@@ -463,49 +518,47 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ConnectionInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ConnectionInfo)
       com.google.cloud.alloydb.v1beta.ConnectionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ConnectionInfo.class, com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
+              com.google.cloud.alloydb.v1beta.ConnectionInfo.class,
+              com.google.cloud.alloydb.v1beta.ConnectionInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ConnectionInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       name_ = "";
       ipAddress_ = "";
-      pemCertificateChain_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList();
       instanceUid_ = "";
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -524,8 +577,11 @@ public com.google.cloud.alloydb.v1beta.ConnectionInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ConnectionInfo buildPartial() {
-      com.google.cloud.alloydb.v1beta.ConnectionInfo result = new com.google.cloud.alloydb.v1beta.ConnectionInfo(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.ConnectionInfo result =
+          new com.google.cloud.alloydb.v1beta.ConnectionInfo(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -551,38 +607,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ConnectionInfo result
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ConnectionInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ConnectionInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ConnectionInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -642,33 +699,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensurePemCertificateChainIsMutable();
-              pemCertificateChain_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              instanceUid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePemCertificateChainIsMutable();
+                pemCertificateChain_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                instanceUid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -678,10 +740,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -689,13 +754,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; @@ -704,6 +769,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -711,15 +778,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 { @@ -727,6 +793,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -734,18 +802,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -753,6 +825,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -762,6 +835,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the ConnectionInfo singleton resource, e.g.:
      * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -769,12 +844,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -784,6 +861,8 @@ public Builder setNameBytes( private java.lang.Object ipAddress_ = ""; /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -791,13 +870,13 @@ public Builder setNameBytes(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -806,6 +885,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -813,15 +894,14 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -829,6 +909,8 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -836,18 +918,22 @@ public java.lang.String getIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -855,6 +941,7 @@ public Builder setIpAddress(
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -864,6 +951,8 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The private network IP address for the Instance. This is the
      * default IP for the instance and is always created (even if enable_public_ip
@@ -871,12 +960,14 @@ public Builder clearIpAddress() {
      * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00000002; @@ -886,6 +977,7 @@ public Builder setIpAddressBytes( private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -893,82 +985,111 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated public int getPemCertificateChainCount() { + @java.lang.Deprecated + public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated public java.lang.String getPemCertificateChain(int index) { + @java.lang.Deprecated + public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCertificateChain( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCertificateChain(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000004; @@ -976,20 +1097,27 @@ private void ensurePemCertificateChainIsMutable() { return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addPemCertificateChain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addPemCertificateChain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000004; @@ -997,59 +1125,76 @@ private void ensurePemCertificateChainIsMutable() { return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllPemCertificateChain( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllPemCertificateChain(java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPemCertificateChain() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + @java.lang.Deprecated + public Builder clearPemCertificateChain() { + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. * See google/cloud/alloydb/v1beta/resources.proto;l=912 * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addPemCertificateChainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -1060,18 +1205,20 @@ private void ensurePemCertificateChainIsMutable() { private java.lang.Object instanceUid_ = ""; /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ public java.lang.String getInstanceUid() { java.lang.Object ref = instanceUid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceUid_ = s; return s; @@ -1080,20 +1227,21 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - public com.google.protobuf.ByteString - getInstanceUidBytes() { + public com.google.protobuf.ByteString getInstanceUidBytes() { java.lang.Object ref = instanceUid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instanceUid_ = b; return b; } else { @@ -1101,28 +1249,35 @@ public java.lang.String getInstanceUid() { } } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearInstanceUid() { @@ -1132,26 +1287,30 @@ public Builder clearInstanceUid() { return this; } /** + * + * *
      * Output only. The unique ID of the Instance.
      * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for instanceUid to set. * @return This builder for chaining. */ - public Builder setInstanceUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceUid_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1161,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ConnectionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ConnectionInfo) private static final com.google.cloud.alloydb.v1beta.ConnectionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ConnectionInfo(); } @@ -1175,27 +1334,27 @@ public static com.google.cloud.alloydb.v1beta.ConnectionInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1210,6 +1369,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ConnectionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java index 2b3684b1ee9c..79594782999e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ConnectionInfoOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ConnectionInfoOrBuilder extends +public interface ConnectionInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ConnectionInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -15,10 +33,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the ConnectionInfo singleton resource, e.g.:
    * projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
@@ -26,12 +47,14 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -39,10 +62,13 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The private network IP address for the Instance. This is the
    * default IP for the instance and is always created (even if enable_public_ip
@@ -50,81 +76,108 @@ public interface ConnectionInfoOrBuilder extends
    * 
* * string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @return A list containing the pemCertificateChain. */ - @java.lang.Deprecated java.util.List - getPemCertificateChainList(); + @java.lang.Deprecated + java.util.List getPemCertificateChainList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @return The count of pemCertificateChain. */ - @java.lang.Deprecated int getPemCertificateChainCount(); + @java.lang.Deprecated + int getPemCertificateChainCount(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ - @java.lang.Deprecated java.lang.String getPemCertificateChain(int index); + @java.lang.Deprecated + java.lang.String getPemCertificateChain(int index); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. - * See google/cloud/alloydb/v1beta/resources.proto;l=912 + * + * repeated string pem_certificate_chain = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.cloud.alloydb.v1beta.ConnectionInfo.pem_certificate_chain is deprecated. See + * google/cloud/alloydb/v1beta/resources.proto;l=912 * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPemCertificateChainBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getPemCertificateChainBytes(int index); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The instanceUid. */ java.lang.String getInstanceUid(); /** + * + * *
    * Output only. The unique ID of the Instance.
    * 
* * string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for instanceUid. */ - com.google.protobuf.ByteString - getInstanceUidBytes(); + com.google.protobuf.ByteString getInstanceUidBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java index 433ad536df31..b23270a352af 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * ContinuousBackupConfig describes the continuous backups recovery
  * configurations of a cluster.
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupConfig}
  */
-public final class ContinuousBackupConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
     ContinuousBackupConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupConfig.newBuilder() to construct.
   private ContinuousBackupConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ContinuousBackupConfig() {
-  }
+
+  private ContinuousBackupConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContinuousBackupConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
+            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class,
+            com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_ = false;
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -59,11 +80,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -74,6 +98,8 @@ public boolean getEnabled() { public static final int RECOVERY_WINDOW_DAYS_FIELD_NUMBER = 4; private int recoveryWindowDays_ = 0; /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -81,6 +107,7 @@ public boolean getEnabled() {
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -91,6 +118,8 @@ public int getRecoveryWindowDays() { public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -99,6 +128,7 @@ public int getRecoveryWindowDays() {
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -106,6 +136,8 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -114,13 +146,18 @@ public boolean hasEncryptionConfig() {
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -132,10 +169,13 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
-    return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+    return encryptionConfig_ == null
+        ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()
+        : encryptionConfig_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +187,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeBool(1, enabled_);
     }
@@ -168,16 +207,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(1, enabled_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
     }
     if (encryptionConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getEncryptionConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEncryptionConfig());
     }
     if (recoveryWindowDays_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(4, recoveryWindowDays_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, recoveryWindowDays_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -187,24 +223,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.cloud.alloydb.v1beta.ContinuousBackupConfig)) {
       return super.equals(obj);
     }
-    com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other = (com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) obj;
+    com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other =
+        (com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) obj;
 
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (getEnabled()
-          != other.getEnabled()) return false;
+      if (getEnabled() != other.getEnabled()) return false;
     }
-    if (getRecoveryWindowDays()
-        != other.getRecoveryWindowDays()) return false;
+    if (getRecoveryWindowDays() != other.getRecoveryWindowDays()) 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;
@@ -219,8 +253,7 @@ public int hashCode() {
     hash = (19 * hash) + getDescriptor().hashCode();
     if (hasEnabled()) {
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
     }
     hash = (37 * hash) + RECOVERY_WINDOW_DAYS_FIELD_NUMBER;
     hash = (53 * hash) + getRecoveryWindowDays();
@@ -234,98 +267,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * ContinuousBackupConfig describes the continuous backups recovery
    * configurations of a cluster.
@@ -333,33 +372,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
       com.google.cloud.alloydb.v1beta.ContinuousBackupConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class, com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.class,
+              com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        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 +413,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor;
     }
 
     @java.lang.Override
@@ -396,8 +434,11 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig buildPartial() {
-      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig result = new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.ContinuousBackupConfig result =
+          new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -413,9 +454,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupConfi
         result.recoveryWindowDays_ = recoveryWindowDays_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.encryptionConfig_ = encryptionConfigBuilder_ == null
-            ? encryptionConfig_
-            : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ =
+            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -424,38 +464,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupConfi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -463,7 +504,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupConfig other) {
-      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupConfig.getDefaultInstance())
+        return this;
       if (other.hasEnabled()) {
         setEnabled(other.getEnabled());
       }
@@ -499,29 +541,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 26: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              recoveryWindowDays_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 26:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                recoveryWindowDays_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -531,15 +576,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -547,11 +596,14 @@ public boolean hasEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -559,11 +611,14 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ @@ -575,11 +630,14 @@ public Builder setEnabled(boolean value) { return this; } /** + * + * *
      * Whether ContinuousBackup is enabled.
      * 
* * optional bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { @@ -589,8 +647,10 @@ public Builder clearEnabled() { return this; } - private int recoveryWindowDays_ ; + private int recoveryWindowDays_; /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -598,6 +658,7 @@ public Builder clearEnabled() {
      * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ @java.lang.Override @@ -605,6 +666,8 @@ public int getRecoveryWindowDays() { return recoveryWindowDays_; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -612,6 +675,7 @@ public int getRecoveryWindowDays() {
      * 
* * int32 recovery_window_days = 4; + * * @param value The recoveryWindowDays to set. * @return This builder for chaining. */ @@ -623,6 +687,8 @@ public Builder setRecoveryWindowDays(int value) { return this; } /** + * + * *
      * The number of days that are eligible to restore from using PITR. To support
      * the entire recovery window, backups and logs are retained for one day more
@@ -630,6 +696,7 @@ public Builder setRecoveryWindowDays(int value) {
      * 
* * int32 recovery_window_days = 4; + * * @return This builder for chaining. */ public Builder clearRecoveryWindowDays() { @@ -641,8 +708,13 @@ public Builder clearRecoveryWindowDays() { private com.google.cloud.alloydb.v1beta.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> encryptionConfigBuilder_; + com.google.cloud.alloydb.v1beta.EncryptionConfig, + com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, + com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> + encryptionConfigBuilder_; /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -651,12 +723,15 @@ public Builder clearRecoveryWindowDays() {
      * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -665,16 +740,21 @@ public boolean hasEncryptionConfig() {
      * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ public com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_; + return encryptionConfig_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() + : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** + * + * *
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -698,6 +778,8 @@ public Builder setEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionCon
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -719,6 +801,8 @@ public Builder setEncryptionConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -730,9 +814,10 @@ public Builder setEncryptionConfig(
      */
     public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionConfig value) {
       if (encryptionConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          encryptionConfig_ != null &&
-          encryptionConfig_ != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && encryptionConfig_ != null
+            && encryptionConfig_
+                != com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) {
           getEncryptionConfigBuilder().mergeFrom(value);
         } else {
           encryptionConfig_ = value;
@@ -745,6 +830,8 @@ public Builder mergeEncryptionConfig(com.google.cloud.alloydb.v1beta.EncryptionC
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -765,6 +852,8 @@ public Builder clearEncryptionConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -780,6 +869,8 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
       return getEncryptionConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -789,15 +880,19 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder getEncryptionCon
      *
      * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
      */
-    public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder
+        getEncryptionConfigOrBuilder() {
       if (encryptionConfigBuilder_ != null) {
         return encryptionConfigBuilder_.getMessageOrBuilder();
       } else {
-        return encryptionConfig_ == null ?
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance() : encryptionConfig_;
+        return encryptionConfig_ == null
+            ? com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()
+            : encryptionConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * The encryption config can be specified to encrypt the
      * backups with a customer-managed encryption key (CMEK). When this field is
@@ -808,21 +903,24 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder getEncryptionCo
      * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder> 
+            com.google.cloud.alloydb.v1beta.EncryptionConfig,
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
+            com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>
         getEncryptionConfigFieldBuilder() {
       if (encryptionConfigBuilder_ == null) {
-        encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.EncryptionConfig, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder, com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>(
-                getEncryptionConfig(),
-                getParentForChildren(),
-                isClean());
+        encryptionConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1beta.EncryptionConfig,
+                com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder,
+                com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder>(
+                getEncryptionConfig(), getParentForChildren(), isClean());
         encryptionConfig_ = null;
       }
       return encryptionConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -832,12 +930,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
   private static final com.google.cloud.alloydb.v1beta.ContinuousBackupConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupConfig();
   }
@@ -846,27 +944,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getDefaultI
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ContinuousBackupConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ContinuousBackupConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -881,6 +979,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.alloydb.v1beta.ContinuousBackupConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
similarity index 76%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
index 9b34515dbaa1..3b59c94fc58d 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupConfigOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
-public interface ContinuousBackupConfigOrBuilder extends
+public interface ContinuousBackupConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Whether ContinuousBackup is enabled.
    * 
* * optional bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The number of days that are eligible to restore from using PITR. To support
    * the entire recovery window, backups and logs are retained for one day more
@@ -34,11 +58,14 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * int32 recovery_window_days = 4; + * * @return The recoveryWindowDays. */ int getRecoveryWindowDays(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -47,10 +74,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
@@ -59,10 +89,13 @@ public interface ContinuousBackupConfigOrBuilder extends
    * 
* * .google.cloud.alloydb.v1beta.EncryptionConfig encryption_config = 3; + * * @return The encryptionConfig. */ com.google.cloud.alloydb.v1beta.EncryptionConfig getEncryptionConfig(); /** + * + * *
    * The encryption config can be specified to encrypt the
    * backups with a customer-managed encryption key (CMEK). When this field is
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
similarity index 63%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
index 9c5d524ae021..e2628d8a74af 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfo.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/resources.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
+ *
+ *
  * 
  * ContinuousBackupInfo describes the continuous backup properties of a
  * cluster.
@@ -11,48 +28,55 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupInfo}
  */
-public final class ContinuousBackupInfo extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupInfo)
     ContinuousBackupInfoOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContinuousBackupInfo.newBuilder() to construct.
   private ContinuousBackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContinuousBackupInfo() {
     schedule_ = 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 ContinuousBackupInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
+            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class,
+            com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
   }
 
   public static final int ENCRYPTION_INFO_FIELD_NUMBER = 1;
   private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_;
   /**
+   *
+   *
    * 
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -60,40 +84,57 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } public static final int ENABLED_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp enabledTime_; /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ @java.lang.Override @@ -101,12 +142,16 @@ public boolean hasEnabledTime() { return enabledTime_ != null; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ @java.lang.Override @@ -114,12 +159,15 @@ public com.google.protobuf.Timestamp getEnabledTime() { return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; } /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { @@ -127,10 +175,13 @@ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { } public static final int SCHEDULE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List schedule_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.type.DayOfWeek> schedule_converter_ = + java.lang.Integer, com.google.type.DayOfWeek> + schedule_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.type.DayOfWeek>() { public com.google.type.DayOfWeek convert(java.lang.Integer from) { @@ -139,12 +190,17 @@ public com.google.type.DayOfWeek convert(java.lang.Integer from) { } }; /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ @java.lang.Override @@ -153,12 +209,17 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ @java.lang.Override @@ -166,12 +227,17 @@ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -180,26 +246,35 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ @java.lang.Override - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return schedule_; } /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -207,17 +282,23 @@ public com.google.type.DayOfWeek getSchedule(int index) { public int getScheduleValue(int index) { return schedule_.get(index); } + private int scheduleMemoizedSerializedSize; public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp earliestRestorableTime_; /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ @java.lang.Override @@ -225,32 +306,46 @@ public boolean hasEarliestRestorableTime() { return earliestRestorableTime_ != null; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ @java.lang.Override public com.google.protobuf.Timestamp getEarliestRestorableTime() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +357,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (encryptionInfo_ != null) { output.writeMessage(1, getEncryptionInfo()); @@ -291,28 +385,26 @@ public int getSerializedSize() { size = 0; if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEncryptionInfo()); } if (enabledTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEnabledTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabledTime()); } { int dataSize = 0; for (int i = 0; i < schedule_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(schedule_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(schedule_.get(i)); } size += dataSize; - if (!getScheduleList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }scheduleMemoizedSerializedSize = dataSize; + if (!getScheduleList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + scheduleMemoizedSerializedSize = dataSize; } if (earliestRestorableTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEarliestRestorableTime()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEarliestRestorableTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,28 +414,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other = (com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) obj; + com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other = + (com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) obj; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo() - .equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; } if (hasEnabledTime() != other.hasEnabledTime()) return false; if (hasEnabledTime()) { - if (!getEnabledTime() - .equals(other.getEnabledTime())) return false; + if (!getEnabledTime().equals(other.getEnabledTime())) return false; } if (!schedule_.equals(other.schedule_)) return false; if (hasEarliestRestorableTime() != other.hasEarliestRestorableTime()) return false; if (hasEarliestRestorableTime()) { - if (!getEarliestRestorableTime() - .equals(other.getEarliestRestorableTime())) return false; + if (!getEarliestRestorableTime().equals(other.getEarliestRestorableTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -378,98 +468,103 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ContinuousBackupInfo describes the continuous backup properties of a
    * cluster.
@@ -477,33 +572,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupInfo}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupInfo)
       com.google.cloud.alloydb.v1beta.ContinuousBackupInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class, com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
+              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.class,
+              com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -529,9 +623,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor;
     }
 
     @java.lang.Override
@@ -550,14 +644,18 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo buildPartial() {
-      com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result = new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(this);
+      com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result =
+          new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
       if (((bitField0_ & 0x00000004) != 0)) {
         schedule_ = java.util.Collections.unmodifiableList(schedule_);
         bitField0_ = (bitField0_ & ~0x00000004);
@@ -568,19 +666,18 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.Continuo
     private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.encryptionInfo_ = encryptionInfoBuilder_ == null
-            ? encryptionInfo_
-            : encryptionInfoBuilder_.build();
+        result.encryptionInfo_ =
+            encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.enabledTime_ = enabledTimeBuilder_ == null
-            ? enabledTime_
-            : enabledTimeBuilder_.build();
+        result.enabledTime_ =
+            enabledTimeBuilder_ == null ? enabledTime_ : enabledTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.earliestRestorableTime_ = earliestRestorableTimeBuilder_ == null
-            ? earliestRestorableTime_
-            : earliestRestorableTimeBuilder_.build();
+        result.earliestRestorableTime_ =
+            earliestRestorableTimeBuilder_ == null
+                ? earliestRestorableTime_
+                : earliestRestorableTimeBuilder_.build();
       }
     }
 
@@ -588,38 +685,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupInfo)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupInfo) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,7 +725,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupInfo other) {
-      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupInfo.getDefaultInstance())
+        return this;
       if (other.hasEncryptionInfo()) {
         mergeEncryptionInfo(other.getEncryptionInfo());
       }
@@ -673,50 +772,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getEncryptionInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getEnabledTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              int tmpRaw = input.readEnum();
-              ensureScheduleIsMutable();
-              schedule_.add(tmpRaw);
-              break;
-            } // case 24
-            case 26: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getEnabledTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
                 int tmpRaw = input.readEnum();
                 ensureScheduleIsMutable();
                 schedule_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEarliestRestorableTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 24
+            case 26:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureScheduleIsMutable();
+                  schedule_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getEarliestRestorableTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -726,46 +826,66 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.cloud.alloydb.v1beta.EncryptionInfo encryptionInfo_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> encryptionInfoBuilder_;
+            com.google.cloud.alloydb.v1beta.EncryptionInfo,
+            com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder,
+            com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>
+        encryptionInfoBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ public com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -781,12 +901,16 @@ public Builder setEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEncryptionInfo( com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder builderForValue) { @@ -800,18 +924,23 @@ public Builder setEncryptionInfo( return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - encryptionInfo_ != null && - encryptionInfo_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && encryptionInfo_ != null + && encryptionInfo_ + != com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -824,12 +953,16 @@ public Builder mergeEncryptionInfo(com.google.cloud.alloydb.v1beta.EncryptionInf return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -842,12 +975,16 @@ public Builder clearEncryptionInfo() { return this; } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000001; @@ -855,38 +992,50 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder getEncryptionInfoB return getEncryptionInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null ? - com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() : encryptionInfo_; + return encryptionInfo_ == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.getDefaultInstance() + : encryptionInfo_; } } /** + * + * *
      * Output only. The encryption information for the WALs and backups required
      * for ContinuousBackup.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.EncryptionInfo, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( - getEncryptionInfo(), - getParentForChildren(), - isClean()); + encryptionInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.EncryptionInfo, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder, + com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder>( + getEncryptionInfo(), getParentForChildren(), isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; @@ -894,42 +1043,61 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfo private com.google.protobuf.Timestamp enabledTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> enabledTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + enabledTimeBuilder_; /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ public boolean hasEnabledTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ public com.google.protobuf.Timestamp getEnabledTime() { if (enabledTimeBuilder_ == null) { - return enabledTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } else { return enabledTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { @@ -945,15 +1113,18 @@ public Builder setEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEnabledTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (enabledTimeBuilder_ == null) { enabledTime_ = builderForValue.build(); } else { @@ -964,18 +1135,22 @@ public Builder setEnabledTime( return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { if (enabledTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - enabledTime_ != null && - enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && enabledTime_ != null + && enabledTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEnabledTimeBuilder().mergeFrom(value); } else { enabledTime_ = value; @@ -988,12 +1163,16 @@ public Builder mergeEnabledTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEnabledTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1006,12 +1185,16 @@ public Builder clearEnabledTime() { return this; } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { bitField0_ |= 0x00000002; @@ -1019,45 +1202,57 @@ public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder() { return getEnabledTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder() { if (enabledTimeBuilder_ != null) { return enabledTimeBuilder_.getMessageOrBuilder(); } else { - return enabledTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : enabledTime_; + return enabledTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : enabledTime_; } } /** + * + * *
      * Output only. When ContinuousBackup was most recently enabled. Set to null
      * if ContinuousBackup is not enabled.
      * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getEnabledTimeFieldBuilder() { if (enabledTimeBuilder_ == null) { - enabledTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEnabledTime(), - getParentForChildren(), - isClean()); + enabledTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEnabledTime(), getParentForChildren(), isClean()); enabledTime_ = null; } return enabledTimeBuilder_; } - private java.util.List schedule_ = - java.util.Collections.emptyList(); + private java.util.List schedule_ = java.util.Collections.emptyList(); + private void ensureScheduleIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { schedule_ = new java.util.ArrayList(schedule_); @@ -1065,12 +1260,17 @@ private void ensureScheduleIsMutable() { } } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ public java.util.List getScheduleList() { @@ -1078,24 +1278,34 @@ public java.util.List getScheduleList() { java.lang.Integer, com.google.type.DayOfWeek>(schedule_, schedule_converter_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ public int getScheduleCount() { return schedule_.size(); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ @@ -1103,18 +1313,22 @@ public com.google.type.DayOfWeek getSchedule(int index) { return schedule_converter_.convert(schedule_.get(index)); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - int index, com.google.type.DayOfWeek value) { + public Builder setSchedule(int index, com.google.type.DayOfWeek value) { if (value == null) { throw new NullPointerException(); } @@ -1124,12 +1338,17 @@ public Builder setSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The schedule to add. * @return This builder for chaining. */ @@ -1143,17 +1362,21 @@ public Builder addSchedule(com.google.type.DayOfWeek value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The schedule to add. * @return This builder for chaining. */ - public Builder addAllSchedule( - java.lang.Iterable values) { + public Builder addAllSchedule(java.lang.Iterable values) { ensureScheduleIsMutable(); for (com.google.type.DayOfWeek value : values) { schedule_.add(value.getNumber()); @@ -1162,12 +1385,17 @@ public Builder addAllSchedule( return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSchedule() { @@ -1177,25 +1405,34 @@ public Builder clearSchedule() { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - public java.util.List - getScheduleValueList() { + public java.util.List getScheduleValueList() { return java.util.Collections.unmodifiableList(schedule_); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ @@ -1203,30 +1440,39 @@ public int getScheduleValue(int index) { return schedule_.get(index); } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleValue( - int index, int value) { + public Builder setScheduleValue(int index, int value) { ensureScheduleIsMutable(); schedule_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for schedule to add. * @return This builder for chaining. */ @@ -1237,17 +1483,21 @@ public Builder addScheduleValue(int value) { return this; } /** + * + * *
      * Output only. Days of the week on which a continuous backup is taken. Output
      * only field. Ignored if passed into the request.
      * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The enum numeric values on the wire for schedule to add. * @return This builder for chaining. */ - public Builder addAllScheduleValue( - java.lang.Iterable values) { + public Builder addAllScheduleValue(java.lang.Iterable values) { ensureScheduleIsMutable(); for (int value : values) { schedule_.add(value); @@ -1258,42 +1508,61 @@ public Builder addAllScheduleValue( private com.google.protobuf.Timestamp earliestRestorableTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> earliestRestorableTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + earliestRestorableTimeBuilder_; /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ public boolean hasEarliestRestorableTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ public com.google.protobuf.Timestamp getEarliestRestorableTime() { if (earliestRestorableTimeBuilder_ == null) { - return earliestRestorableTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } else { return earliestRestorableTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { @@ -1309,12 +1578,16 @@ public Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEarliestRestorableTime( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1328,18 +1601,22 @@ public Builder setEarliestRestorableTime( return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) { if (earliestRestorableTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - earliestRestorableTime_ != null && - earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && earliestRestorableTime_ != null + && earliestRestorableTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEarliestRestorableTimeBuilder().mergeFrom(value); } else { earliestRestorableTime_ = value; @@ -1352,12 +1629,16 @@ public Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value) return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEarliestRestorableTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1370,12 +1651,16 @@ public Builder clearEarliestRestorableTime() { return this; } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() { bitField0_ |= 0x00000008; @@ -1383,45 +1668,57 @@ public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder() return getEarliestRestorableTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder() { if (earliestRestorableTimeBuilder_ != null) { return earliestRestorableTimeBuilder_.getMessageOrBuilder(); } else { - return earliestRestorableTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : earliestRestorableTime_; + return earliestRestorableTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : earliestRestorableTime_; } } /** + * + * *
      * Output only. The earliest restorable time that can be restored to. Output
      * only field.
      * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_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> getEarliestRestorableTimeFieldBuilder() { if (earliestRestorableTimeBuilder_ == null) { - earliestRestorableTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEarliestRestorableTime(), - getParentForChildren(), - isClean()); + earliestRestorableTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEarliestRestorableTime(), getParentForChildren(), isClean()); earliestRestorableTime_ = null; } return earliestRestorableTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1431,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupInfo) private static final com.google.cloud.alloydb.v1beta.ContinuousBackupInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupInfo(); } @@ -1445,27 +1742,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1777,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ContinuousBackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java index 4e05f4d722d2..f3fe409127f4 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupInfoOrBuilder.java @@ -1,153 +1,232 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ContinuousBackupInfoOrBuilder extends +public interface ContinuousBackupInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionInfo. */ com.google.cloud.alloydb.v1beta.EncryptionInfo getEncryptionInfo(); /** + * + * *
    * Output only. The encryption information for the WALs and backups required
    * for ContinuousBackup.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the enabledTime field is set. */ boolean hasEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enabledTime. */ com.google.protobuf.Timestamp getEnabledTime(); /** + * + * *
    * Output only. When ContinuousBackup was most recently enabled. Set to null
    * if ContinuousBackup is not enabled.
    * 
* - * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the schedule. */ java.util.List getScheduleList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of schedule. */ int getScheduleCount(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The schedule at the given index. */ com.google.type.DayOfWeek getSchedule(int index); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the enum numeric values on the wire for schedule. */ - java.util.List - getScheduleValueList(); + java.util.List getScheduleValueList(); /** + * + * *
    * Output only. Days of the week on which a continuous backup is taken. Output
    * only field. Ignored if passed into the request.
    * 
* - * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of schedule at the given index. */ int getScheduleValue(int index); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the earliestRestorableTime field is set. */ boolean hasEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The earliestRestorableTime. */ com.google.protobuf.Timestamp getEarliestRestorableTime(); /** + * + * *
    * Output only. The earliest restorable time that can be restored to. Output
    * only field.
    * 
* - * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java index 64b3e6ae5eff..9f959b3d3271 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSource.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message describing a ContinuousBackupSource.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupSource} */ -public final class ContinuousBackupSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContinuousBackupSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ContinuousBackupSource) ContinuousBackupSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousBackupSource.newBuilder() to construct. private ContinuousBackupSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContinuousBackupSource() { cluster_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContinuousBackupSource(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -54,6 +76,7 @@ protected java.lang.Object newInstance(
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ @java.lang.Override @@ -62,14 +85,15 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -77,16 +101,15 @@ public java.lang.String getCluster() {
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -97,11 +120,15 @@ public java.lang.String getCluster() { public static final int POINT_IN_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp pointInTime_; /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ @java.lang.Override @@ -109,11 +136,15 @@ public boolean hasPointInTime() { return pointInTime_ != null; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ @java.lang.Override @@ -121,11 +152,14 @@ public com.google.protobuf.Timestamp getPointInTime() { return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; } /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { @@ -133,6 +167,7 @@ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { } 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(cluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cluster_); } @@ -165,8 +199,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cluster_); } if (pointInTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPointInTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPointInTime()); } 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.cloud.alloydb.v1beta.ContinuousBackupSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ContinuousBackupSource other = (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) obj; + com.google.cloud.alloydb.v1beta.ContinuousBackupSource other = + (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) obj; - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; if (hasPointInTime() != other.hasPointInTime()) return false; if (hasPointInTime()) { - if (!getPointInTime() - .equals(other.getPointInTime())) return false; + if (!getPointInTime().equals(other.getPointInTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,131 +245,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ContinuousBackupSource prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.ContinuousBackupSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing a ContinuousBackupSource.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ContinuousBackupSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ContinuousBackupSource) com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.class, + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +389,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; } @java.lang.Override @@ -373,8 +410,11 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupSource buildPartial() { - com.google.cloud.alloydb.v1beta.ContinuousBackupSource result = new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ContinuousBackupSource result = + new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -385,9 +425,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupSourc result.cluster_ = cluster_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.pointInTime_ = pointInTimeBuilder_ == null - ? pointInTime_ - : pointInTimeBuilder_.build(); + result.pointInTime_ = + pointInTimeBuilder_ == null ? pointInTime_ : pointInTimeBuilder_.build(); } } @@ -395,38 +434,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ContinuousBackupSourc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ContinuousBackupSource) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupSource)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ContinuousBackupSource) other); } else { super.mergeFrom(other); return this; @@ -434,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ContinuousBackupSource other) { - if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) + return this; if (!other.getCluster().isEmpty()) { cluster_ = other.cluster_; bitField0_ |= 0x00000001; @@ -469,24 +510,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cluster_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPointInTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + cluster_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getPointInTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -496,10 +538,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object cluster_ = ""; /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -507,13 +552,13 @@ public Builder mergeFrom(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -522,6 +567,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -529,15 +576,14 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - public com.google.protobuf.ByteString - getClusterBytes() { + public com.google.protobuf.ByteString getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cluster_ = b; return b; } else { @@ -545,6 +591,8 @@ public java.lang.String getCluster() { } } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -552,18 +600,22 @@ public java.lang.String getCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCluster(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } cluster_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -571,6 +623,7 @@ public Builder setCluster(
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCluster() { @@ -580,6 +633,8 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The source cluster from which to restore. This cluster must have
      * continuous backup enabled for this operation to succeed. For the required
@@ -587,12 +642,14 @@ public Builder clearCluster() {
      * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000001; @@ -602,39 +659,55 @@ public Builder setClusterBytes( private com.google.protobuf.Timestamp pointInTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> pointInTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + pointInTimeBuilder_; /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ public boolean hasPointInTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ public com.google.protobuf.Timestamp getPointInTime() { if (pointInTimeBuilder_ == null) { - return pointInTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } else { return pointInTimeBuilder_.getMessage(); } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { @@ -650,14 +723,16 @@ public Builder setPointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPointInTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setPointInTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (pointInTimeBuilder_ == null) { pointInTime_ = builderForValue.build(); } else { @@ -668,17 +743,20 @@ public Builder setPointInTime( return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { if (pointInTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - pointInTime_ != null && - pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && pointInTime_ != null + && pointInTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getPointInTimeBuilder().mergeFrom(value); } else { pointInTime_ = value; @@ -691,11 +769,14 @@ public Builder mergePointInTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPointInTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -708,11 +789,14 @@ public Builder clearPointInTime() { return this; } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { bitField0_ |= 0x00000002; @@ -720,43 +804,53 @@ public com.google.protobuf.Timestamp.Builder getPointInTimeBuilder() { return getPointInTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder() { if (pointInTimeBuilder_ != null) { return pointInTimeBuilder_.getMessageOrBuilder(); } else { - return pointInTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : pointInTime_; + return pointInTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : pointInTime_; } } /** + * + * *
      * Required. The point in time to restore to.
      * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.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> getPointInTimeFieldBuilder() { if (pointInTimeBuilder_ == null) { - pointInTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getPointInTime(), - getParentForChildren(), - isClean()); + pointInTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getPointInTime(), getParentForChildren(), isClean()); pointInTime_ = null; } return pointInTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -766,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ContinuousBackupSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ContinuousBackupSource) private static final com.google.cloud.alloydb.v1beta.ContinuousBackupSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ContinuousBackupSource(); } @@ -780,27 +874,27 @@ public static com.google.cloud.alloydb.v1beta.ContinuousBackupSource getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousBackupSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousBackupSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -815,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java index 184223f001fd..bd5f13d7b5aa 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ContinuousBackupSourceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface ContinuousBackupSourceOrBuilder extends +public interface ContinuousBackupSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ContinuousBackupSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -15,10 +33,13 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The cluster. */ java.lang.String getCluster(); /** + * + * *
    * Required. The source cluster from which to restore. This cluster must have
    * continuous backup enabled for this operation to succeed. For the required
@@ -26,35 +47,46 @@ public interface ContinuousBackupSourceOrBuilder extends
    * 
* * string cluster = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for cluster. */ - com.google.protobuf.ByteString - getClusterBytes(); + com.google.protobuf.ByteString getClusterBytes(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the pointInTime field is set. */ boolean hasPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The pointInTime. */ com.google.protobuf.Timestamp getPointInTime(); /** + * + * *
    * Required. The point in time to restore to.
    * 
* - * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Timestamp point_in_time = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.TimestampOrBuilder getPointInTimeOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java index fcbb92ce76c4..06b1f802af20 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; @@ -27,33 +45,40 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, + com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -109,29 +140,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -142,11 +173,15 @@ public java.lang.String getBackupId() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Backup backup_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -154,11 +189,15 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -166,11 +205,14 @@ public com.google.cloud.alloydb.v1beta.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { @@ -178,9 +220,12 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +243,7 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +252,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +278,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +297,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +314,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,15 +358,13 @@ 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +374,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.cloud.alloydb.v1beta.CreateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateBackupRequest other = (com.google.cloud.alloydb.v1beta.CreateBackupRequest) obj; + com.google.cloud.alloydb.v1beta.CreateBackupRequest other = + (com.google.cloud.alloydb.v1beta.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +412,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for creating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateBackupRequest) com.google.cloud.alloydb.v1beta.CreateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, + com.google.cloud.alloydb.v1beta.CreateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -519,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; } @java.lang.Override @@ -540,8 +586,11 @@ public com.google.cloud.alloydb.v1beta.CreateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateBackupRequest result = new com.google.cloud.alloydb.v1beta.CreateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateBackupRequest result = + new com.google.cloud.alloydb.v1beta.CreateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +604,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateBackupRequest r result.backupId_ = backupId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +618,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateBackupRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -610,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -658,39 +707,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +753,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +782,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +806,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +848,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +874,20 @@ public Builder setParentBytes( private java.lang.Object backupId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -816,20 +896,21 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -837,28 +918,35 @@ public java.lang.String getBackupId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -868,17 +956,21 @@ public Builder clearBackupId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -888,39 +980,58 @@ public Builder setBackupIdBytes( private com.google.cloud.alloydb.v1beta.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1beta.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { @@ -936,14 +1047,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -954,17 +1068,21 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -977,11 +1095,15 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1116,15 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1132,48 @@ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() + : backup_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1043,6 +1181,8 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1200,13 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1215,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1234,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1249,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1268,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1301,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1311,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1330,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1345,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1363,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1383,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1400,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1412,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateBackupRequest) private static final com.google.cloud.alloydb.v1beta.CreateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateBackupRequest(); } @@ -1265,27 +1426,27 @@ public static com.google.cloud.alloydb.v1beta.CreateBackupRequest getDefaultInst 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; @@ -1300,6 +1461,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java index 9eff965740cd..46e3955c1862 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateBackupRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateBackupRequestOrBuilder extends +public interface CreateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ java.lang.String getBackupId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1beta.Backup getBackup(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +135,13 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +159,21 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java index fbd8a92c8700..3c02eeb285c7 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateClusterRequest} */ -public final class CreateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateClusterRequest) CreateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -27,34 +45,41 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, + com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -111,29 +142,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -144,11 +175,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -156,33 +192,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +252,7 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +261,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +287,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +306,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +315,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +324,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +368,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +384,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.cloud.alloydb.v1beta.CreateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateClusterRequest other = (com.google.cloud.alloydb.v1beta.CreateClusterRequest) obj; + com.google.cloud.alloydb.v1beta.CreateClusterRequest other = + (com.google.cloud.alloydb.v1beta.CreateClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +422,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateClusterRequest) com.google.cloud.alloydb.v1beta.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, + com.google.cloud.alloydb.v1beta.CreateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +575,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; } @java.lang.Override @@ -543,8 +596,11 @@ public com.google.cloud.alloydb.v1beta.CreateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateClusterRequest result = new com.google.cloud.alloydb.v1beta.CreateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateClusterRequest result = + new com.google.cloud.alloydb.v1beta.CreateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +614,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateClusterRequest result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +628,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +668,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +717,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +763,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +793,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +818,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -783,18 +862,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +889,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -824,20 +911,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -845,28 +933,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -876,17 +971,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +995,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -944,14 +1062,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -962,17 +1083,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -985,11 +1110,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1131,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1147,48 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1051,6 +1196,8 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1215,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1230,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1249,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1264,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1283,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1316,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1326,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1345,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1360,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1371,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1379,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1388,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1400,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1409,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1418,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1430,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateClusterRequest) private static final com.google.cloud.alloydb.v1beta.CreateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateClusterRequest(); } @@ -1276,27 +1444,27 @@ public static com.google.cloud.alloydb.v1beta.CreateClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,6 +1479,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java index 32b5b5710e91..53733edca894 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateClusterRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateClusterRequestOrBuilder extends +public interface CreateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java index 3a33f87b596d..1bb5669d1253 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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,34 +45,41 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +88,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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +122,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +142,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +175,16 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +192,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +252,7 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +261,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +287,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +306,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +315,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +324,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -312,15 +368,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +384,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.cloud.alloydb.v1beta.CreateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateInstanceRequest other = (com.google.cloud.alloydb.v1beta.CreateInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.CreateInstanceRequest other = + (com.google.cloud.alloydb.v1beta.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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +422,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for creating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.CreateInstanceRequest) com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -522,9 +576,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -543,8 +597,11 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateInstanceRequest result = new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateInstanceRequest result = + new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -558,9 +615,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +629,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +718,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +764,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +794,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +819,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +863,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +890,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +912,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +934,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +972,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +996,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1063,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1084,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1111,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1132,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1148,48 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1197,8 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1216,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1231,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1250,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1265,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1284,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1317,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1327,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1346,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1361,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1372,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1380,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1389,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1401,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1410,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1419,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,12 +1431,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateInstanceRequest) private static final com.google.cloud.alloydb.v1beta.CreateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateInstanceRequest(); } @@ -1276,27 +1445,27 @@ public static com.google.cloud.alloydb.v1beta.CreateInstanceRequest getDefaultIn 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; @@ -1311,6 +1480,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java index bd441d24d40c..cb3f3381885b 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateInstanceRequestOrBuilder extends +public interface CreateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java index 97463c198b83..8fd906f34072 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequests.java @@ -1,115 +1,159 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * See usage below for notes.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateInstanceRequests} */ -public final class CreateInstanceRequests extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateInstanceRequests extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateInstanceRequests) CreateInstanceRequestsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateInstanceRequests.newBuilder() to construct. private CreateInstanceRequests(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateInstanceRequests() { createInstanceRequests_ = 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 CreateInstanceRequests(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); } public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List createInstanceRequests_; + private java.util.List + createInstanceRequests_; /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getCreateInstanceRequestsOrBuilderList() { return createInstanceRequests_; } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getCreateInstanceRequestsCount() { return createInstanceRequests_.size(); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests( + int index) { return createInstanceRequests_.get(index); } /** + * + * *
    * Required. Primary and read replica instances to be created. This list
    * should not be empty.
    * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { return createInstanceRequests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < createInstanceRequests_.size(); i++) { output.writeMessage(1, createInstanceRequests_.get(i)); } @@ -136,8 +179,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < createInstanceRequests_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, createInstanceRequests_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, createInstanceRequests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +191,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.cloud.alloydb.v1beta.CreateInstanceRequests)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateInstanceRequests other = (com.google.cloud.alloydb.v1beta.CreateInstanceRequests) obj; + com.google.cloud.alloydb.v1beta.CreateInstanceRequests other = + (com.google.cloud.alloydb.v1beta.CreateInstanceRequests) obj; - if (!getCreateInstanceRequestsList() - .equals(other.getCreateInstanceRequestsList())) return false; + if (!getCreateInstanceRequestsList().equals(other.getCreateInstanceRequestsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,131 +222,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateInstanceRequests prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.CreateInstanceRequests prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * See usage below for notes.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateInstanceRequests} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateInstanceRequests) com.google.cloud.alloydb.v1beta.CreateInstanceRequestsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.class, + com.google.cloud.alloydb.v1beta.CreateInstanceRequests.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateInstanceRequests.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +367,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; } @java.lang.Override @@ -338,14 +388,18 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequests build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateInstanceRequests buildPartial() { - com.google.cloud.alloydb.v1beta.CreateInstanceRequests result = new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(this); + com.google.cloud.alloydb.v1beta.CreateInstanceRequests result = + new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.CreateInstanceRequests result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.CreateInstanceRequests result) { if (createInstanceRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createInstanceRequests_ = java.util.Collections.unmodifiableList(createInstanceRequests_); @@ -365,38 +419,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateInstanceRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateInstanceRequests) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequests)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateInstanceRequests) other); } else { super.mergeFrom(other); return this; @@ -404,7 +459,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequests other) { - if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.CreateInstanceRequests.getDefaultInstance()) + return this; if (createInstanceRequestsBuilder_ == null) { if (!other.createInstanceRequests_.isEmpty()) { if (createInstanceRequests_.isEmpty()) { @@ -423,9 +479,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateInstanceRequests createInstanceRequestsBuilder_ = null; createInstanceRequests_ = other.createInstanceRequests_; bitField0_ = (bitField0_ & ~0x00000001); - createInstanceRequestsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCreateInstanceRequestsFieldBuilder() : null; + createInstanceRequestsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCreateInstanceRequestsFieldBuilder() + : null; } else { createInstanceRequestsBuilder_.addAllMessages(other.createInstanceRequests_); } @@ -457,25 +514,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.CreateInstanceRequest m = - input.readMessage( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.parser(), - extensionRegistry); - if (createInstanceRequestsBuilder_ == null) { - ensureCreateInstanceRequestsIsMutable(); - createInstanceRequests_.add(m); - } else { - createInstanceRequestsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.CreateInstanceRequest m = + input.readMessage( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.parser(), + extensionRegistry); + if (createInstanceRequestsBuilder_ == null) { + ensureCreateInstanceRequestsIsMutable(); + createInstanceRequests_.add(m); + } else { + createInstanceRequestsBuilder_.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) { @@ -485,29 +544,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List createInstanceRequests_ = - java.util.Collections.emptyList(); + private java.util.List + createInstanceRequests_ = java.util.Collections.emptyList(); + private void ensureCreateInstanceRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - createInstanceRequests_ = new java.util.ArrayList(createInstanceRequests_); + createInstanceRequests_ = + new java.util.ArrayList( + createInstanceRequests_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> createInstanceRequestsBuilder_; + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> + createInstanceRequestsBuilder_; /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getCreateInstanceRequestsList() { + public java.util.List + getCreateInstanceRequestsList() { if (createInstanceRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(createInstanceRequests_); } else { @@ -515,12 +586,16 @@ public java.util.List get } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getCreateInstanceRequestsCount() { if (createInstanceRequestsBuilder_ == null) { @@ -530,14 +605,19 @@ public int getCreateInstanceRequestsCount() { } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests( + int index) { if (createInstanceRequestsBuilder_ == null) { return createInstanceRequests_.get(index); } else { @@ -545,12 +625,16 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRe } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { @@ -567,12 +651,16 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -586,14 +674,19 @@ public Builder setCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { + public Builder addCreateInstanceRequests( + com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { if (createInstanceRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -607,12 +700,16 @@ public Builder addCreateInstanceRequests(com.google.cloud.alloydb.v1beta.CreateI return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest value) { @@ -629,12 +726,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -648,12 +749,16 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addCreateInstanceRequests( int index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder builderForValue) { @@ -667,19 +772,23 @@ public Builder addCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllCreateInstanceRequests( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (createInstanceRequestsBuilder_ == null) { ensureCreateInstanceRequestsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, createInstanceRequests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, createInstanceRequests_); onChanged(); } else { createInstanceRequestsBuilder_.addAllMessages(values); @@ -687,12 +796,16 @@ public Builder addAllCreateInstanceRequests( return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCreateInstanceRequests() { if (createInstanceRequestsBuilder_ == null) { @@ -705,12 +818,16 @@ public Builder clearCreateInstanceRequests() { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeCreateInstanceRequests(int index) { if (createInstanceRequestsBuilder_ == null) { @@ -723,42 +840,55 @@ public Builder removeCreateInstanceRequests(int index) { return this; } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder + getCreateInstanceRequestsBuilder(int index) { return getCreateInstanceRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder + getCreateInstanceRequestsOrBuilder(int index) { if (createInstanceRequestsBuilder_ == null) { - return createInstanceRequests_.get(index); } else { + return createInstanceRequests_.get(index); + } else { return createInstanceRequestsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsOrBuilderList() { + public java.util.List + getCreateInstanceRequestsOrBuilderList() { if (createInstanceRequestsBuilder_ != null) { return createInstanceRequestsBuilder_.getMessageOrBuilderList(); } else { @@ -766,48 +896,68 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateI } } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder() { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder() { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder( - int index) { - return getCreateInstanceRequestsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder + addCreateInstanceRequestsBuilder(int index) { + return getCreateInstanceRequestsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance()); } /** + * + * *
      * Required. Primary and read replica instances to be created. This list
      * should not be empty.
      * 
* - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getCreateInstanceRequestsBuilderList() { + public java.util.List + getCreateInstanceRequestsBuilderList() { return getCreateInstanceRequestsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder> getCreateInstanceRequestsFieldBuilder() { if (createInstanceRequestsBuilder_ == null) { - createInstanceRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>( + createInstanceRequestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.CreateInstanceRequest, + com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder, + com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>( createInstanceRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -816,9 +966,9 @@ public com.google.cloud.alloydb.v1beta.CreateInstanceRequest.Builder addCreateIn } return createInstanceRequestsBuilder_; } + @java.lang.Override - 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,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateInstanceRequests) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateInstanceRequests) private static final com.google.cloud.alloydb.v1beta.CreateInstanceRequests DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateInstanceRequests(); } @@ -842,27 +992,27 @@ public static com.google.cloud.alloydb.v1beta.CreateInstanceRequests getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequests parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequests parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -877,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateInstanceRequests getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java new file mode 100644 index 000000000000..61f41e7cbbcd --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java @@ -0,0 +1,94 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface CreateInstanceRequestsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequests) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getCreateInstanceRequestsList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + int getCreateInstanceRequestsCount(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + java.util.List + getCreateInstanceRequestsOrBuilderList(); + /** + * + * + *
+   * Required. Primary and read replica instances to be created. This list
+   * should not be empty.
+   * 
+ * + * + * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( + int index); +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java index 81e956911950..3bf6ff438f2f 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -/** - * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} - */ -public final class CreateSecondaryClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} */ +public final class CreateSecondaryClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) CreateSecondaryClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryClusterRequest.newBuilder() to construct. private CreateSecondaryClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -23,34 +37,41 @@ private CreateSecondaryClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -59,30 +80,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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -91,14 +114,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -107,29 +134,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -140,11 +167,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -152,33 +184,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -196,6 +244,7 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -204,14 +253,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -229,16 +279,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -249,6 +298,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -256,6 +307,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -264,6 +316,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -308,15 +360,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -326,26 +376,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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other = (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) obj; + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other = + (com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -368,135 +414,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +560,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance(); } @@ -535,13 +582,17 @@ public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result = new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result = + new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -550,9 +601,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryCluste result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -566,38 +615,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryCluste public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -605,7 +655,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -653,39 +705,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 42: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 48: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 42: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 48: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + 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) { @@ -695,23 +751,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -720,21 +781,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -742,30 +806,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string 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() { @@ -775,18 +850,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The location of the new cluster. For the required
      * format, see the comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +877,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -816,20 +899,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -837,28 +921,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -868,17 +959,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object (the secondary cluster).
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -888,39 +983,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -936,14 +1050,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -954,17 +1071,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -977,11 +1098,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1119,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1135,48 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. Configuration of the requesting object (the secondary cluster).
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1043,6 +1184,8 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1203,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1237,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1252,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1271,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1304,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1314,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1333,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,8 +1348,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1202,6 +1359,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1209,6 +1367,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1216,6 +1376,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1227,6 +1388,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1234,6 +1397,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1242,9 +1406,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1254,12 +1418,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) - private static final com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest(); } @@ -1268,27 +1433,27 @@ public static com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1303,6 +1468,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java index 5b0eface974a..944bb75d84d3 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryClusterRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateSecondaryClusterRequestOrBuilder extends +public interface CreateSecondaryClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 location of the new cluster. For the required
    * format, see the comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object (the secondary cluster).
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** + * + * *
    * Required. Configuration of the requesting object (the secondary cluster).
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateSecondaryClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java index b22b4d81b473..c1f11842fa61 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a Secondary Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest} */ -public final class CreateSecondaryInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSecondaryInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) CreateSecondaryInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSecondaryInstanceRequest.newBuilder() to construct. - private CreateSecondaryInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSecondaryInstanceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSecondaryInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -27,34 +46,41 @@ private CreateSecondaryInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSecondaryInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,30 +89,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -95,14 +123,18 @@ public java.lang.String getParent() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -111,29 +143,29 @@ 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. ID of the requesting object.
    * 
* * 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 { @@ -144,11 +176,16 @@ public java.lang.String getInstanceId() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Instance instance_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -156,33 +193,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -200,6 +253,7 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -208,14 +262,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -233,16 +288,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -253,6 +307,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -260,6 +316,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -268,6 +325,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,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_); } @@ -312,15 +369,13 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -330,26 +385,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.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other = (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other = + (com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) 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 (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -372,139 +423,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a Secondary Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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,13 +577,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance(); } @@ -543,13 +599,17 @@ public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result = new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result = + new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -558,9 +618,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryInstan result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -574,38 +632,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateSecondaryInstan public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -613,7 +672,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -661,39 +722,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -703,23 +768,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.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; @@ -728,21 +798,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -750,30 +823,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -783,18 +867,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -804,18 +894,20 @@ public Builder setParentBytes( private java.lang.Object instanceId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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; @@ -824,20 +916,21 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * 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 { @@ -845,28 +938,35 @@ public java.lang.String getInstanceId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -876,17 +976,21 @@ public Builder clearInstanceId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -896,39 +1000,58 @@ public Builder setInstanceIdBytes( private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -944,14 +1067,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -962,17 +1088,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -985,11 +1115,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1002,11 +1136,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1014,36 +1152,48 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1051,6 +1201,8 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1068,13 +1220,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1083,6 +1235,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1100,15 +1254,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1116,6 +1269,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1133,18 +1288,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1162,6 +1321,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1171,6 +1331,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1188,12 +1350,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1201,8 +1365,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1210,6 +1376,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1217,6 +1384,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1224,6 +1393,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1235,6 +1405,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the create
@@ -1242,6 +1414,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1250,9 +1423,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1262,41 +1435,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) - private static final com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest(); } - public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSecondaryInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSecondaryInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1308,9 +1483,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java index 748b03513ea1..4b90ac38755e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateSecondaryInstanceRequestOrBuilder.java @@ -1,82 +1,128 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateSecondaryInstanceRequestOrBuilder extends +public interface CreateSecondaryInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ java.lang.String getInstanceId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * 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 resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -94,10 +140,13 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,12 +164,14 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the create
@@ -128,6 +179,7 @@ public interface CreateSecondaryInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java index 9525515b8051..bf632650cafd 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for creating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateUserRequest} */ -public final class CreateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.CreateUserRequest) CreateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateUserRequest.newBuilder() to construct. private CreateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateUserRequest() { parent_ = ""; userId_ = ""; @@ -27,33 +45,40 @@ private CreateUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateUserRequest.class, com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateUserRequest.class, + com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,29 +87,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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -93,14 +120,18 @@ public java.lang.String getParent() { } public static final int USER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object userId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ @java.lang.Override @@ -109,29 +140,29 @@ public java.lang.String getUserId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -142,11 +173,15 @@ public java.lang.String getUserId() { public static final int USER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.User user_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ @java.lang.Override @@ -154,11 +189,15 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ @java.lang.Override @@ -166,11 +205,14 @@ public com.google.cloud.alloydb.v1beta.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { @@ -178,9 +220,12 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -198,6 +243,7 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -206,14 +252,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -231,16 +278,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -251,12 +297,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 5; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -265,6 +314,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -276,8 +326,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,15 +358,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,26 +374,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.cloud.alloydb.v1beta.CreateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.CreateUserRequest other = (com.google.cloud.alloydb.v1beta.CreateUserRequest) obj; + com.google.cloud.alloydb.v1beta.CreateUserRequest other = + (com.google.cloud.alloydb.v1beta.CreateUserRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getUserId() - .equals(other.getUserId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getUserId().equals(other.getUserId())) return false; if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; + if (!getUser().equals(other.getUser())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -369,139 +412,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.CreateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.CreateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for creating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.CreateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.CreateUserRequest) com.google.cloud.alloydb.v1beta.CreateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.CreateUserRequest.class, com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.CreateUserRequest.class, + com.google.cloud.alloydb.v1beta.CreateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.CreateUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -519,9 +565,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; } @java.lang.Override @@ -540,8 +586,11 @@ public com.google.cloud.alloydb.v1beta.CreateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.CreateUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.CreateUserRequest result = new com.google.cloud.alloydb.v1beta.CreateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.CreateUserRequest result = + new com.google.cloud.alloydb.v1beta.CreateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -555,9 +604,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateUserRequest res result.userId_ = userId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.requestId_ = requestId_; @@ -571,38 +618,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.CreateUserRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.CreateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.CreateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.CreateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -610,7 +658,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.CreateUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -658,39 +707,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - userId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + userId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,22 +753,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.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; @@ -724,20 +782,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -745,28 +806,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string 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() { @@ -776,17 +848,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Value for parent.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -796,18 +874,20 @@ public Builder setParentBytes( private java.lang.Object userId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ public java.lang.String getUserId() { java.lang.Object ref = userId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userId_ = s; return s; @@ -816,20 +896,21 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - public com.google.protobuf.ByteString - getUserIdBytes() { + public com.google.protobuf.ByteString getUserIdBytes() { java.lang.Object ref = userId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); userId_ = b; return b; } else { @@ -837,28 +918,35 @@ public java.lang.String getUserId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The userId to set. * @return This builder for chaining. */ - public Builder setUserId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } userId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUserId() { @@ -868,17 +956,21 @@ public Builder clearUserId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for userId to set. * @return This builder for chaining. */ - public Builder setUserIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); userId_ = value; bitField0_ |= 0x00000002; @@ -888,24 +980,35 @@ public Builder setUserIdBytes( private com.google.cloud.alloydb.v1beta.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1beta.User getUser() { @@ -916,11 +1019,14 @@ public com.google.cloud.alloydb.v1beta.User getUser() { } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { @@ -936,14 +1042,16 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -954,17 +1062,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -977,11 +1088,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000004); @@ -994,11 +1108,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { bitField0_ |= 0x00000004; @@ -1006,36 +1123,44 @@ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1043,6 +1168,8 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1060,13 +1187,13 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1075,6 +1202,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1092,15 +1221,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1108,6 +1236,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1125,18 +1255,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1154,6 +1288,7 @@ public Builder setRequestId(
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1163,6 +1298,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1180,12 +1317,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000008; @@ -1193,14 +1332,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1208,12 +1350,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1225,12 +1370,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1239,9 +1387,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1251,12 +1399,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.CreateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.CreateUserRequest) private static final com.google.cloud.alloydb.v1beta.CreateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.CreateUserRequest(); } @@ -1265,27 +1413,27 @@ public static com.google.cloud.alloydb.v1beta.CreateUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1300,6 +1448,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.CreateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java index be7f0815bc00..cf53f106a0af 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateUserRequestOrBuilder.java @@ -1,80 +1,123 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface CreateUserRequestOrBuilder extends +public interface CreateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Value for parent.
    * 
* - * string parent = 1 [(.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. Value for parent.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The userId. */ java.lang.String getUserId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string user_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for userId. */ - com.google.protobuf.ByteString - getUserIdBytes(); + com.google.protobuf.ByteString getUserIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ com.google.cloud.alloydb.v1beta.User getUser(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -92,10 +135,13 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -113,18 +159,21 @@ public interface CreateUserRequestOrBuilder extends
    * 
* * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java index 05e097402a19..bc30e36fc388 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DatabaseVersion.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * The supported database engine versions.
  * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.DatabaseVersion} */ -public enum DatabaseVersion - implements com.google.protobuf.ProtocolMessageEnum { +public enum DatabaseVersion implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * This is an unknown database version.
    * 
@@ -21,6 +39,8 @@ public enum DatabaseVersion */ DATABASE_VERSION_UNSPECIFIED(0), /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -30,6 +50,8 @@ public enum DatabaseVersion @java.lang.Deprecated POSTGRES_13(1), /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -38,6 +60,8 @@ public enum DatabaseVersion */ POSTGRES_14(2), /** + * + * *
    * The database version is Postgres 15.
    * 
@@ -49,6 +73,8 @@ public enum DatabaseVersion ; /** + * + * *
    * This is an unknown database version.
    * 
@@ -57,6 +83,8 @@ public enum DatabaseVersion */ public static final int DATABASE_VERSION_UNSPECIFIED_VALUE = 0; /** + * + * *
    * DEPRECATED - The database version is Postgres 13.
    * 
@@ -65,6 +93,8 @@ public enum DatabaseVersion */ @java.lang.Deprecated public static final int POSTGRES_13_VALUE = 1; /** + * + * *
    * The database version is Postgres 14.
    * 
@@ -73,6 +103,8 @@ public enum DatabaseVersion */ public static final int POSTGRES_14_VALUE = 2; /** + * + * *
    * The database version is Postgres 15.
    * 
@@ -81,7 +113,6 @@ public enum DatabaseVersion */ public static final int POSTGRES_15_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static DatabaseVersion valueOf(int value) { */ public static DatabaseVersion forNumber(int value) { switch (value) { - case 0: return DATABASE_VERSION_UNSPECIFIED; - case 1: return POSTGRES_13; - case 2: return POSTGRES_14; - case 3: return POSTGRES_15; - default: return null; + case 0: + return DATABASE_VERSION_UNSPECIFIED; + case 1: + return POSTGRES_13; + case 2: + return POSTGRES_14; + case 3: + return POSTGRES_15; + 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< - DatabaseVersion> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DatabaseVersion findValueByNumber(int number) { - return DatabaseVersion.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 DatabaseVersion findValueByNumber(int number) { + return DatabaseVersion.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(2); } private static final DatabaseVersion[] VALUES = values(); - public static DatabaseVersion valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DatabaseVersion 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; @@ -165,4 +197,3 @@ private DatabaseVersion(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.DatabaseVersion) } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java index 8b8d5dbc6233..fa7abc7f7773 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for deleting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -168,12 +199,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -182,9 +216,12 @@ public boolean getValidateOnly() { } public static final int ETAG_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -192,6 +229,7 @@ public boolean getValidateOnly() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -200,14 +238,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; } } /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -215,16 +254,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -233,6 +271,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -274,8 +312,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -288,21 +325,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.cloud.alloydb.v1beta.DeleteBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteBackupRequest other = (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + com.google.cloud.alloydb.v1beta.DeleteBackupRequest other = + (com.google.cloud.alloydb.v1beta.DeleteBackupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -319,8 +353,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -329,131 +362,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for deleting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteBackupRequest) com.google.cloud.alloydb.v1beta.DeleteBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, + com.google.cloud.alloydb.v1beta.DeleteBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -466,9 +503,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; } @java.lang.Override @@ -487,8 +524,11 @@ public com.google.cloud.alloydb.v1beta.DeleteBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteBackupRequest result = new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.DeleteBackupRequest result = + new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +553,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteBackupRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +593,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +639,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +679,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +709,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +734,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string 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() { @@ -712,18 +778,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource. For the required format, see the comment on
      * the Backup.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +805,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +824,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +839,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +858,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +873,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +892,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +925,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +935,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +954,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -883,14 +969,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -898,12 +987,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -915,12 +1007,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -932,6 +1027,8 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -939,13 +1036,13 @@ public Builder clearValidateOnly() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -954,6 +1051,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -961,15 +1060,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -977,6 +1075,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -984,18 +1084,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1003,6 +1107,7 @@ public Builder setEtag(
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1012,6 +1117,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Backup.
      * If an etag is provided and does not match the current etag of the Backup,
@@ -1019,21 +1126,23 @@ public Builder clearEtag() {
      * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteBackupRequest) private static final com.google.cloud.alloydb.v1beta.DeleteBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteBackupRequest(); } @@ -1057,27 +1166,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteBackupRequest getDefaultInst 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; @@ -1092,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java index b5a68a15674c..4c29759ab2d0 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteBackupRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteBackupRequestOrBuilder extends +public interface DeleteBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.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. Name of the resource. For the required format, see the comment on
    * the Backup.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,23 +98,28 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -92,10 +127,13 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Backup.
    * If an etag is provided and does not match the current etag of the Backup,
@@ -103,8 +141,8 @@ public interface DeleteBackupRequestOrBuilder extends
    * 
* * string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java index 93b1afb540f1..e15c09989bab 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for deleting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -235,11 +273,14 @@ public boolean getValidateOnly() { public static final int FORCE_FIELD_NUMBER = 5; private boolean force_ = false; /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -248,6 +289,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +301,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -295,12 +336,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, force_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,23 +349,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.cloud.alloydb.v1beta.DeleteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteClusterRequest other = (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getForce() - != other.getForce()) return false; + com.google.cloud.alloydb.v1beta.DeleteClusterRequest other = + (com.google.cloud.alloydb.v1beta.DeleteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getForce() != other.getForce()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +380,144 @@ 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 = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.DeleteClusterRequest) com.google.cloud.alloydb.v1beta.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, + com.google.cloud.alloydb.v1beta.DeleteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.DeleteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +531,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -515,8 +552,11 @@ public com.google.cloud.alloydb.v1beta.DeleteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteClusterRequest result = new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.DeleteClusterRequest result = + new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +584,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +624,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -631,37 +673,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - force_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + force_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,23 +719,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.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; @@ -696,21 +749,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -718,30 +774,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -751,18 +818,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -772,6 +845,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -789,13 +864,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -804,6 +879,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -821,15 +898,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -837,6 +913,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -854,18 +932,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -883,6 +965,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -892,6 +975,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -909,12 +994,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -924,6 +1011,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -931,13 +1020,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -946,6 +1035,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -953,15 +1044,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -969,6 +1059,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -976,18 +1068,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -995,6 +1091,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -1004,6 +1101,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -1011,12 +1110,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -1024,14 +1125,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1039,12 +1143,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1056,12 +1163,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1071,13 +1181,16 @@ public Builder clearValidateOnly() { return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ @java.lang.Override @@ -1085,11 +1198,14 @@ public boolean getForce() { return force_; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The force to set. * @return This builder for chaining. */ @@ -1101,11 +1217,14 @@ public Builder setForce(boolean value) { return this; } /** + * + * *
      * Optional. Whether to cascade delete child instances for given cluster.
      * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearForce() { @@ -1114,9 +1233,9 @@ public Builder clearForce() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1126,12 +1245,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteClusterRequest) private static final com.google.cloud.alloydb.v1beta.DeleteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteClusterRequest(); } @@ -1140,27 +1259,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,6 +1294,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java index 62ca9154fb4a..c89480b4d097 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteClusterRequestOrBuilder extends +public interface DeleteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,28 +127,34 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Whether to cascade delete child instances for given cluster.
    * 
* * bool force = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java index 37487099bc9e..6bc419081e69 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for deleting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private DeleteInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1beta.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other = (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other = + (com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,143 @@ 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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for deleting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.DeleteInstanceRequest) com.google.cloud.alloydb.v1beta.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -466,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -487,8 +525,11 @@ public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest result = new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.DeleteInstanceRequest result = + new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +554,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +680,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -657,21 +710,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +735,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -712,18 +779,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +806,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +825,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +840,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +859,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +874,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +893,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +926,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +936,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +955,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +972,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -892,13 +981,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +996,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -914,15 +1005,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1020,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -937,18 +1029,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -956,6 +1052,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1062,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Instance.
      * If an etag is provided and does not match the current etag of the Instance,
@@ -972,12 +1071,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1086,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1104,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1124,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1141,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteInstanceRequest) private static final com.google.cloud.alloydb.v1beta.DeleteInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteInstanceRequest(); } @@ -1057,27 +1167,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteInstanceRequest getDefaultIn 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; @@ -1092,6 +1202,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java index d8abaa45b086..163e07014ce1 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteInstanceRequestOrBuilder extends +public interface DeleteInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -81,10 +113,13 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Instance.
    * If an etag is provided and does not match the current etag of the Instance,
@@ -92,18 +127,21 @@ public interface DeleteInstanceRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java index d5e94601a993..f9cd5b9f9489 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for deleting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteUserRequest} */ -public final class DeleteUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.DeleteUserRequest) DeleteUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteUserRequest.newBuilder() to construct. private DeleteUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteUserRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private DeleteUserRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, + com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1beta.DeleteUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.DeleteUserRequest other = (com.google.cloud.alloydb.v1beta.DeleteUserRequest) obj; + com.google.cloud.alloydb.v1beta.DeleteUserRequest other = + (com.google.cloud.alloydb.v1beta.DeleteUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.DeleteUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.DeleteUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for deleting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.DeleteUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.DeleteUserRequest) com.google.cloud.alloydb.v1beta.DeleteUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, + com.google.cloud.alloydb.v1beta.DeleteUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.DeleteUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; } @java.lang.Override @@ -424,8 +458,11 @@ public com.google.cloud.alloydb.v1beta.DeleteUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.DeleteUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.DeleteUserRequest result = new com.google.cloud.alloydb.v1beta.DeleteUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.DeleteUserRequest result = + new com.google.cloud.alloydb.v1beta.DeleteUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +484,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.DeleteUserRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.DeleteUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.DeleteUserRequest) other); } else { super.mergeFrom(other); return this; @@ -486,7 +524,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.DeleteUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -526,27 +565,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +599,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +629,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +654,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string 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() { @@ -636,18 +698,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +725,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +744,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +759,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +778,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +793,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +812,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +845,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +855,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +874,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +889,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +907,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +927,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +944,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.DeleteUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.DeleteUserRequest) private static final com.google.cloud.alloydb.v1beta.DeleteUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.DeleteUserRequest(); } @@ -879,27 +970,27 @@ public static com.google.cloud.alloydb.v1beta.DeleteUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1005,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.DeleteUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java index 9fa65899c711..757096167d77 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/DeleteUserRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface DeleteUserRequestOrBuilder extends +public interface DeleteUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.DeleteUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface DeleteUserRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java index 44e0b90b3572..4839c6545f73 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * EncryptionConfig describes the encryption config of a cluster or a backup
  * that is encrypted with a CMEK (customer-managed encryption key).
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig)
     EncryptionConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EncryptionConfig.newBuilder() to construct.
   private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EncryptionConfig() {
     kmsKeyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EncryptionConfig();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.EncryptionConfig.class, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.class,
+            com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
   }
 
   public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object kmsKeyName_ = "";
   /**
+   *
+   *
    * 
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ @java.lang.Override @@ -63,14 +86,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 fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -78,16 +102,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 1; + * * @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 { @@ -96,6 +119,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -132,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.EncryptionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.EncryptionConfig other = (com.google.cloud.alloydb.v1beta.EncryptionConfig) obj; + com.google.cloud.alloydb.v1beta.EncryptionConfig other = + (com.google.cloud.alloydb.v1beta.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; } @@ -159,99 +182,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.EncryptionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * EncryptionConfig describes the encryption config of a cluster or a backup
    * that is encrypted with a CMEK (customer-managed encryption key).
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionConfig)
       com.google.cloud.alloydb.v1beta.EncryptionConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.EncryptionConfig.class, com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
+              com.google.cloud.alloydb.v1beta.EncryptionConfig.class,
+              com.google.cloud.alloydb.v1beta.EncryptionConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.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 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.cloud.alloydb.v1beta.EncryptionConfig build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.EncryptionConfig buildPartial() {
-      com.google.cloud.alloydb.v1beta.EncryptionConfig result = new com.google.cloud.alloydb.v1beta.EncryptionConfig(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.EncryptionConfig result =
+          new com.google.cloud.alloydb.v1beta.EncryptionConfig(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.EncryptionConfig resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.EncryptionConfig) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionConfig)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.EncryptionConfig other) {
-      if (other == com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.EncryptionConfig.getDefaultInstance())
+        return this;
       if (!other.getKmsKeyName().isEmpty()) {
         kmsKeyName_ = other.kmsKeyName_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              kmsKeyName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -424,10 +458,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object kmsKeyName_ = "";
     /**
+     *
+     *
      * 
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -435,13 +472,13 @@ public Builder mergeFrom(
      * 
* * string kms_key_name = 1; + * * @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; @@ -450,6 +487,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -457,15 +496,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @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 { @@ -473,6 +511,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -480,18 +520,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -499,6 +543,7 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 1; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -508,6 +553,8 @@ public Builder clearKmsKeyName() { return this; } /** + * + * *
      * The fully-qualified resource name of the KMS key.
      * Each Cloud KMS key is regionalized and has the following format:
@@ -515,21 +562,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 1; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -539,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.EncryptionConfig) private static final com.google.cloud.alloydb.v1beta.EncryptionConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.EncryptionConfig(); } @@ -553,27 +602,27 @@ public static com.google.cloud.alloydb.v1beta.EncryptionConfig getDefaultInstanc 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; @@ -588,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java index 8b33eba832dc..9710aa6fc50e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface EncryptionConfigOrBuilder extends +public interface EncryptionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -15,10 +33,13 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The fully-qualified resource name of the KMS key.
    * Each Cloud KMS key is regionalized and has the following format:
@@ -26,8 +47,8 @@ public interface EncryptionConfigOrBuilder extends
    * 
* * string kms_key_name = 1; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java index e0e5bb288c69..24af4e704a6a 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfo.java @@ -1,60 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * EncryptionInfo describes the encryption information of a cluster or a backup.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EncryptionInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.EncryptionInfo.class, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1beta.EncryptionInfo.class, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); } /** + * + * *
    * Possible encryption types.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.EncryptionInfo.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -63,6 +84,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 will be populated. This is the default state.
@@ -72,6 +95,8 @@ public enum Type
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * The data is encrypted at rest with a key that is managed by the customer.
      * KMS key versions will be populated.
@@ -84,6 +109,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
      * 
@@ -92,6 +119,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 will be populated. This is the default state.
@@ -101,6 +130,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.
      * KMS key versions will be populated.
@@ -110,7 +141,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(
@@ -135,49 +165,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<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Type findValueByNumber(int number) {
+            return Type.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.alloydb.v1beta.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;
@@ -197,65 +227,95 @@ private Type(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 1;
   private int encryptionType_ = 0;
   /**
+   *
+   *
    * 
    * Output only. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
    * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED + : result; } public static final int KMS_KEY_VERSIONS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { return kmsKeyVersions_; } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -263,21 +323,26 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
    * Output only. Cloud KMS key versions that are being used to protect the
    * database or the backup.
    * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,9 +354,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (encryptionType_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (encryptionType_ + != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, encryptionType_); } for (int i = 0; i < kmsKeyVersions_.size(); i++) { @@ -306,9 +371,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (encryptionType_ != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, encryptionType_); + if (encryptionType_ + != com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, encryptionType_); } { int dataSize = 0; @@ -326,16 +391,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.cloud.alloydb.v1beta.EncryptionInfo)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.EncryptionInfo other = (com.google.cloud.alloydb.v1beta.EncryptionInfo) obj; + com.google.cloud.alloydb.v1beta.EncryptionInfo other = + (com.google.cloud.alloydb.v1beta.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; - if (!getKmsKeyVersionsList() - .equals(other.getKmsKeyVersionsList())) return false; + if (!getKmsKeyVersionsList().equals(other.getKmsKeyVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,146 +423,149 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.EncryptionInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * EncryptionInfo describes the encryption information of a cluster or a backup.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.EncryptionInfo) com.google.cloud.alloydb.v1beta.EncryptionInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.EncryptionInfo.class, com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); + com.google.cloud.alloydb.v1beta.EncryptionInfo.class, + com.google.cloud.alloydb.v1beta.EncryptionInfo.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); bitField0_ = 0; encryptionType_ = 0; - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; } @java.lang.Override @@ -516,8 +584,11 @@ public com.google.cloud.alloydb.v1beta.EncryptionInfo build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo buildPartial() { - com.google.cloud.alloydb.v1beta.EncryptionInfo result = new com.google.cloud.alloydb.v1beta.EncryptionInfo(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.EncryptionInfo result = + new com.google.cloud.alloydb.v1beta.EncryptionInfo(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -537,38 +608,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.EncryptionInfo result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.EncryptionInfo) { - return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionInfo)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.EncryptionInfo) other); } else { super.mergeFrom(other); return this; @@ -616,23 +688,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - encryptionType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureKmsKeyVersionsIsMutable(); - kmsKeyVersions_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + encryptionType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureKmsKeyVersionsIsMutable(); + kmsKeyVersions_.add(s); + 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,26 +717,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int encryptionType_ = 0; /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.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. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -672,24 +759,37 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The encryptionType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType() { - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); - return result == null ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type result = + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.forNumber(encryptionType_); + return result == null + ? com.google.cloud.alloydb.v1beta.EncryptionInfo.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The encryptionType to set. * @return This builder for chaining. */ @@ -703,11 +803,16 @@ public Builder setEncryptionType(com.google.cloud.alloydb.v1beta.EncryptionInfo. return this; } /** + * + * *
      * Output only. Type of encryption.
      * 
* - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -719,6 +824,7 @@ public Builder clearEncryptionType() { private com.google.protobuf.LazyStringArrayList kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureKmsKeyVersionsIsMutable() { if (!kmsKeyVersions_.isModifiable()) { kmsKeyVersions_ = new com.google.protobuf.LazyStringArrayList(kmsKeyVersions_); @@ -726,38 +832,52 @@ private void ensureKmsKeyVersionsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the kmsKeyVersions. */ - public com.google.protobuf.ProtocolStringList - getKmsKeyVersionsList() { + public com.google.protobuf.ProtocolStringList getKmsKeyVersionsList() { kmsKeyVersions_.makeImmutable(); return kmsKeyVersions_; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return The count of kmsKeyVersions. */ public int getKmsKeyVersionsCount() { return kmsKeyVersions_.size(); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The kmsKeyVersions at the given index. */ @@ -765,33 +885,43 @@ public java.lang.String getKmsKeyVersions(int index) { return kmsKeyVersions_.get(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the kmsKeyVersions at the given index. */ - public com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index) { + public com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index) { return kmsKeyVersions_.getByteString(index); } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The kmsKeyVersions to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersions( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKmsKeyVersions(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.set(index, value); bitField0_ |= 0x00000002; @@ -799,18 +929,24 @@ public Builder setKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersions( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersions(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); bitField0_ |= 0x00000002; @@ -818,53 +954,67 @@ public Builder addKmsKeyVersions( return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param values The kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addAllKmsKeyVersions( - java.lang.Iterable values) { + public Builder addAllKmsKeyVersions(java.lang.Iterable values) { ensureKmsKeyVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kmsKeyVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kmsKeyVersions_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearKmsKeyVersions() { - kmsKeyVersions_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + kmsKeyVersions_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. Cloud KMS key versions that are being used to protect the
      * database or the backup.
      * 
* - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the kmsKeyVersions to add. * @return This builder for chaining. */ - public Builder addKmsKeyVersionsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKmsKeyVersionsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKmsKeyVersionsIsMutable(); kmsKeyVersions_.add(value); @@ -872,9 +1022,9 @@ public Builder addKmsKeyVersionsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +1034,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.EncryptionInfo) private static final com.google.cloud.alloydb.v1beta.EncryptionInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.EncryptionInfo(); } @@ -898,27 +1048,27 @@ public static com.google.cloud.alloydb.v1beta.EncryptionInfo getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,6 +1083,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java new file mode 100644 index 000000000000..da5f0bc71933 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public interface EncryptionInfoOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionInfo) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for encryptionType. + */ + int getEncryptionTypeValue(); + /** + * + * + *
+   * Output only. Type of encryption.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The encryptionType. + */ + com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType(); + + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return A list containing the kmsKeyVersions. + */ + java.util.List getKmsKeyVersionsList(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The count of kmsKeyVersions. + */ + int getKmsKeyVersionsCount(); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the element to return. + * @return The kmsKeyVersions at the given index. + */ + java.lang.String getKmsKeyVersions(int index); + /** + * + * + *
+   * Output only. Cloud KMS key versions that are being used to protect the
+   * database or the backup.
+   * 
+ * + * + * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param index The index of the value to return. + * @return The bytes of the kmsKeyVersions at the given index. + */ + com.google.protobuf.ByteString getKmsKeyVersionsBytes(int index); +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java index ff95324310be..69608ec44f4b 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for triggering failover on an Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.FailoverInstanceRequest} */ -public final class FailoverInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FailoverInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.FailoverInstanceRequest) FailoverInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FailoverInstanceRequest.newBuilder() to construct. private FailoverInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FailoverInstanceRequest() { name_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private FailoverInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FailoverInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -94,9 +121,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -167,12 +198,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -181,6 +215,7 @@ public boolean getValidateOnly() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,8 +253,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,19 +263,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.cloud.alloydb.v1beta.FailoverInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other = (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other = + (com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,139 +290,143 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering failover on an Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.FailoverInstanceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.FailoverInstanceRequest) com.google.cloud.alloydb.v1beta.FailoverInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -403,9 +438,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; } @java.lang.Override @@ -424,8 +459,11 @@ public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest result = new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.FailoverInstanceRequest result = + new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,38 +485,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.FailoverInstanceReque public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -486,7 +525,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -526,27 +566,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,23 +600,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -581,21 +630,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.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 { @@ -603,30 +655,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -636,18 +699,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -657,6 +726,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -674,13 +745,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -689,6 +760,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -706,15 +779,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -722,6 +794,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -739,18 +813,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -768,6 +846,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -777,6 +856,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -794,12 +875,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -807,14 +890,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -822,12 +908,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -839,12 +928,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the failover.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -853,9 +945,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -865,12 +957,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.FailoverInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.FailoverInstanceRequest) private static final com.google.cloud.alloydb.v1beta.FailoverInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.FailoverInstanceRequest(); } @@ -879,27 +971,27 @@ public static com.google.cloud.alloydb.v1beta.FailoverInstanceRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FailoverInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FailoverInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -914,6 +1006,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.FailoverInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java index 75dde4787504..d50c43b1202f 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/FailoverInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface FailoverInstanceRequestOrBuilder extends +public interface FailoverInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.FailoverInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface FailoverInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the failover.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java index 5922eb9b5848..0a566a820751 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for requests to generate a client certificate signed by the Cluster
  * CA.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateRequest}
  */
-public final class GenerateClientCertificateRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GenerateClientCertificateRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)
     GenerateClientCertificateRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GenerateClientCertificateRequest.newBuilder() to construct.
-  private GenerateClientCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateClientCertificateRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GenerateClientCertificateRequest() {
     parent_ = "";
     requestId_ = "";
@@ -29,34 +48,41 @@ private GenerateClientCertificateRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GenerateClientCertificateRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
+            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class,
+            com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -65,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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,9 +125,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -117,6 +148,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -125,14 +157,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -150,16 +183,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -168,49 +200,55 @@ public java.lang.String getRequestId() { } public static final int PEM_CSR_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pemCsr_ = ""; /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getPemCsr() { + @java.lang.Deprecated + public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; } } /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCsrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -221,6 +259,8 @@ public java.lang.String getRequestId() { public static final int CERT_DURATION_FIELD_NUMBER = 4; private com.google.protobuf.Duration certDuration_; /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -229,7 +269,9 @@ public java.lang.String getRequestId() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ @java.lang.Override @@ -237,6 +279,8 @@ public boolean hasCertDuration() { return certDuration_ != null; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -245,14 +289,20 @@ public boolean hasCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ @java.lang.Override public com.google.protobuf.Duration getCertDuration() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -261,22 +311,29 @@ public com.google.protobuf.Duration getCertDuration() {
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } public static final int PUBLIC_KEY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object publicKey_ = ""; /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ @java.lang.Override @@ -285,29 +342,29 @@ public java.lang.String getPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; } } /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -318,6 +375,8 @@ public java.lang.String getPublicKey() { public static final int USE_METADATA_EXCHANGE_FIELD_NUMBER = 6; private boolean useMetadataExchange_ = false; /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -325,6 +384,7 @@ public java.lang.String getPublicKey() {
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -333,6 +393,7 @@ public boolean getUseMetadataExchange() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +405,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -383,15 +443,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pemCsr_); } if (certDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCertDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCertDuration()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_); } if (useMetadataExchange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, useMetadataExchange_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, useMetadataExchange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -401,28 +459,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.cloud.alloydb.v1beta.GenerateClientCertificateRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other = (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) obj; + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other = + (com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getPemCsr() - .equals(other.getPemCsr())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getPemCsr().equals(other.getPemCsr())) return false; if (hasCertDuration() != other.hasCertDuration()) return false; if (hasCertDuration()) { - if (!getCertDuration() - .equals(other.getCertDuration())) return false; + if (!getCertDuration().equals(other.getCertDuration())) return false; } - if (!getPublicKey() - .equals(other.getPublicKey())) return false; - if (getUseMetadataExchange() - != other.getUseMetadataExchange()) return false; + if (!getPublicKey().equals(other.getPublicKey())) return false; + if (getUseMetadataExchange() != other.getUseMetadataExchange()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -447,106 +500,111 @@ public int hashCode() { hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER; hash = (53 * hash) + getPublicKey().hashCode(); hash = (37 * hash) + USE_METADATA_EXCHANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseMetadataExchange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseMetadataExchange()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requests to generate a client certificate signed by the Cluster
    * CA.
@@ -554,33 +612,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)
       com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
+              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class,
+              com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -599,13 +656,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstanceForType() {
+    public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance();
     }
 
@@ -620,13 +678,17 @@ public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest build()
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest buildPartial() {
-      com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result =
+          new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result) {
+    private void buildPartial0(
+        com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -638,9 +700,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertifi
         result.pemCsr_ = pemCsr_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.certDuration_ = certDurationBuilder_ == null
-            ? certDuration_
-            : certDurationBuilder_.build();
+        result.certDuration_ =
+            certDurationBuilder_ == null ? certDuration_ : certDurationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.publicKey_ = publicKey_;
@@ -654,46 +715,50 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertifi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other) {
-      if (other == com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest other) {
+      if (other
+          == com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -746,44 +811,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              pemCsr_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCertDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              publicKey_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 48: {
-              useMetadataExchange_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                pemCsr_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCertDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                publicKey_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 48:
+              {
+                useMetadataExchange_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -793,23 +863,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -818,21 +893,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -840,30 +918,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -873,18 +962,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}/clusters/{cluster}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -894,6 +989,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -911,13 +1008,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -926,6 +1023,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -943,15 +1042,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -959,6 +1057,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -976,18 +1076,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1005,6 +1109,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1014,6 +1119,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1031,12 +1138,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -1046,20 +1155,23 @@ public Builder setRequestIdBytes( private java.lang.Object pemCsr_ = ""; /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated public java.lang.String getPemCsr() { + @java.lang.Deprecated + public java.lang.String getPemCsr() { java.lang.Object ref = pemCsr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCsr_ = s; return s; @@ -1068,22 +1180,24 @@ public Builder setRequestIdBytes( } } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPemCsrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPemCsrBytes() { java.lang.Object ref = pemCsr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCsr_ = b; return b; } else { @@ -1091,54 +1205,68 @@ public Builder setRequestIdBytes( } } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 * @param value The pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCsr( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCsr(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pemCsr_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPemCsr() { + @java.lang.Deprecated + public Builder clearPemCsr() { pemCsr_ = getDefaultInstance().getPemCsr(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** + * + * *
      * Optional. A pem-encoded X.509 certificate signing request (CSR).
      * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. - * See google/cloud/alloydb/v1beta/service.proto;l=1351 + * + * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is + * deprecated. See google/cloud/alloydb/v1beta/service.proto;l=1351 * @param value The bytes for pemCsr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPemCsrBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + @java.lang.Deprecated + public Builder setPemCsrBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pemCsr_ = value; bitField0_ |= 0x00000004; @@ -1148,8 +1276,13 @@ public Builder setRequestIdBytes( private com.google.protobuf.Duration certDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> certDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + certDurationBuilder_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1158,13 +1291,17 @@ public Builder setRequestIdBytes(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ public boolean hasCertDuration() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1173,17 +1310,23 @@ public boolean hasCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ public com.google.protobuf.Duration getCertDuration() { if (certDurationBuilder_ == null) { - return certDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } else { return certDurationBuilder_.getMessage(); } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1192,7 +1335,8 @@ public com.google.protobuf.Duration getCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { @@ -1208,6 +1352,8 @@ public Builder setCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1216,10 +1362,10 @@ public Builder setCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setCertDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setCertDuration(com.google.protobuf.Duration.Builder builderForValue) { if (certDurationBuilder_ == null) { certDuration_ = builderForValue.build(); } else { @@ -1230,6 +1376,8 @@ public Builder setCertDuration( return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1238,13 +1386,14 @@ public Builder setCertDuration(
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeCertDuration(com.google.protobuf.Duration value) { if (certDurationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - certDuration_ != null && - certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && certDuration_ != null + && certDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getCertDurationBuilder().mergeFrom(value); } else { certDuration_ = value; @@ -1257,6 +1406,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1265,7 +1416,8 @@ public Builder mergeCertDuration(com.google.protobuf.Duration value) {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearCertDuration() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1278,6 +1430,8 @@ public Builder clearCertDuration() { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1286,7 +1440,8 @@ public Builder clearCertDuration() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { bitField0_ |= 0x00000008; @@ -1294,6 +1449,8 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() { return getCertDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1302,17 +1459,21 @@ public com.google.protobuf.Duration.Builder getCertDurationBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { if (certDurationBuilder_ != null) { return certDurationBuilder_.getMessageOrBuilder(); } else { - return certDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : certDuration_; + return certDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : certDuration_; } } /** + * + * *
      * Optional. An optional hint to the endpoint to generate the client
      * certificate with the requested duration. The duration can be from 1 hour to
@@ -1321,17 +1482,21 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() {
      * default duration.
      * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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> getCertDurationFieldBuilder() { if (certDurationBuilder_ == null) { - certDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getCertDuration(), - getParentForChildren(), - isClean()); + certDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getCertDuration(), getParentForChildren(), isClean()); certDuration_ = null; } return certDurationBuilder_; @@ -1339,18 +1504,20 @@ public com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder() { private java.lang.Object publicKey_ = ""; /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ public java.lang.String getPublicKey() { java.lang.Object ref = publicKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKey_ = s; return s; @@ -1359,20 +1526,21 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - public com.google.protobuf.ByteString - getPublicKeyBytes() { + public com.google.protobuf.ByteString getPublicKeyBytes() { java.lang.Object ref = publicKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKey_ = b; return b; } else { @@ -1380,28 +1548,35 @@ public java.lang.String getPublicKey() { } } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPublicKey() { @@ -1411,17 +1586,21 @@ public Builder clearPublicKey() { return this; } /** + * + * *
      * Optional. The public key from the client.
      * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for publicKey to set. * @return This builder for chaining. */ - public Builder setPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKey_ = value; bitField0_ |= 0x00000010; @@ -1429,8 +1608,10 @@ public Builder setPublicKeyBytes( return this; } - private boolean useMetadataExchange_ ; + private boolean useMetadataExchange_; /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1438,6 +1619,7 @@ public Builder setPublicKeyBytes(
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ @java.lang.Override @@ -1445,6 +1627,8 @@ public boolean getUseMetadataExchange() { return useMetadataExchange_; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1452,6 +1636,7 @@ public boolean getUseMetadataExchange() {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The useMetadataExchange to set. * @return This builder for chaining. */ @@ -1463,6 +1648,8 @@ public Builder setUseMetadataExchange(boolean value) { return this; } /** + * + * *
      * Optional. An optional hint to the endpoint to generate a client
      * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -1470,6 +1657,7 @@ public Builder setUseMetadataExchange(boolean value) {
      * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearUseMetadataExchange() { @@ -1478,9 +1666,9 @@ public Builder clearUseMetadataExchange() { onChanged(); return this; } + @java.lang.Override - 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,41 +1678,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) - private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest(); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1536,9 +1726,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java index a5b609dbe00d..ed24e0de68f9 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GenerateClientCertificateRequestOrBuilder extends +public interface GenerateClientCertificateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}/clusters/{cluster}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,36 +98,45 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The pemCsr. */ - @java.lang.Deprecated java.lang.String getPemCsr(); + @java.lang.Deprecated + java.lang.String getPemCsr(); /** + * + * *
    * Optional. A pem-encoded X.509 certificate signing request (CSR).
    * 
* * string pem_csr = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * * @deprecated google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.pem_csr is deprecated. * See google/cloud/alloydb/v1beta/service.proto;l=1351 * @return The bytes for pemCsr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPemCsrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getPemCsrBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -106,11 +145,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the certDuration field is set. */ boolean hasCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -119,11 +162,15 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The certDuration. */ com.google.protobuf.Duration getCertDuration(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate the client
    * certificate with the requested duration. The duration can be from 1 hour to
@@ -132,31 +179,39 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * default duration.
    * 
* - * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Duration cert_duration = 4 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.DurationOrBuilder getCertDurationOrBuilder(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The publicKey. */ java.lang.String getPublicKey(); /** + * + * *
    * Optional. The public key from the client.
    * 
* * string public_key = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for publicKey. */ - com.google.protobuf.ByteString - getPublicKeyBytes(); + com.google.protobuf.ByteString getPublicKeyBytes(); /** + * + * *
    * Optional. An optional hint to the endpoint to generate a client
    * ceritificate that can be used by AlloyDB connectors to exchange additional
@@ -164,6 +219,7 @@ public interface GenerateClientCertificateRequestOrBuilder extends
    * 
* * bool use_metadata_exchange = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The useMetadataExchange. */ boolean getUseMetadataExchange(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java index 8d0755ff15fb..fbfc7b0256f3 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponse.java @@ -1,60 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message returned by a GenerateClientCertificate operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateResponse} */ -public final class GenerateClientCertificateResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GenerateClientCertificateResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) GenerateClientCertificateResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GenerateClientCertificateResponse.newBuilder() to construct. - private GenerateClientCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GenerateClientCertificateResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GenerateClientCertificateResponse() { pemCertificate_ = ""; - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GenerateClientCertificateResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object pemCertificate_ = ""; /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -94,41 +117,53 @@ public java.lang.String getPemCertificate() { } public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { return pemCertificateChain_; } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -136,29 +171,36 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } public static final int CA_CERT_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object caCert_ = ""; /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ @java.lang.Override @@ -167,29 +209,29 @@ public java.lang.String getCaCert() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; } } /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -198,6 +240,7 @@ public java.lang.String getCaCert() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -209,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pemCertificate_); } @@ -251,19 +293,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.cloud.alloydb.v1beta.GenerateClientCertificateResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other = (com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) obj; + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other = + (com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) obj; - if (!getPemCertificate() - .equals(other.getPemCertificate())) return false; - if (!getPemCertificateChainList() - .equals(other.getPemCertificateChainList())) return false; - if (!getCaCert() - .equals(other.getCaCert())) return false; + if (!getPemCertificate().equals(other.getPemCertificate())) return false; + if (!getPemCertificateChainList().equals(other.getPemCertificateChainList())) return false; + if (!getCaCert().equals(other.getCaCert())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,150 +329,157 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse 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.cloud.alloydb.v1beta.GenerateClientCertificateResponse + 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.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message returned by a GenerateClientCertificate operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GenerateClientCertificateResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.Builder.class); } - // Construct using com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; pemCertificate_ = ""; - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); caCert_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance(); } @@ -447,13 +494,17 @@ public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse build() @java.lang.Override public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse buildPartial() { - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result = + new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.pemCertificate_ = pemCertificate_; @@ -471,46 +522,50 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GenerateClientCertifi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other) { - if (other == com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse other) { + if (other + == com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance()) + return this; if (!other.getPemCertificate().isEmpty()) { pemCertificate_ = other.pemCertificate_; bitField0_ |= 0x00000001; @@ -557,28 +612,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - pemCertificate_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensurePemCertificateChainIsMutable(); - pemCertificateChain_.add(s); - break; - } // case 18 - case 26: { - caCert_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + pemCertificate_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensurePemCertificateChainIsMutable(); + pemCertificateChain_.add(s); + break; + } // case 18 + case 26: + { + caCert_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,22 +647,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object pemCertificate_ = ""; /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -612,20 +674,21 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -633,28 +696,35 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificate(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pemCertificate_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemCertificate() { @@ -664,17 +734,21 @@ public Builder clearPemCertificate() { return this; } /** + * + * *
      * Output only. The pem-encoded, signed X.509 certificate.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pemCertificate_ = value; bitField0_ |= 0x00000001; @@ -684,6 +758,7 @@ public Builder setPemCertificateBytes( private com.google.protobuf.LazyStringArrayList pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensurePemCertificateChainIsMutable() { if (!pemCertificateChain_.isModifiable()) { pemCertificateChain_ = new com.google.protobuf.LazyStringArrayList(pemCertificateChain_); @@ -691,38 +766,49 @@ private void ensurePemCertificateChainIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - public com.google.protobuf.ProtocolStringList - getPemCertificateChainList() { + public com.google.protobuf.ProtocolStringList getPemCertificateChainList() { pemCertificateChain_.makeImmutable(); return pemCertificateChain_; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ public int getPemCertificateChainCount() { return pemCertificateChain_.size(); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ @@ -730,33 +816,41 @@ public java.lang.String getPemCertificateChain(int index) { return pemCertificateChain_.get(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - public com.google.protobuf.ByteString - getPemCertificateChainBytes(int index) { + public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) { return pemCertificateChain_.getByteString(index); } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index to set the value at. * @param value The pemCertificateChain to set. * @return This builder for chaining. */ - public Builder setPemCertificateChain( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPemCertificateChain(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.set(index, value); bitField0_ |= 0x00000002; @@ -764,18 +858,23 @@ public Builder setPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); bitField0_ |= 0x00000002; @@ -783,53 +882,64 @@ public Builder addPemCertificateChain( return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param values The pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addAllPemCertificateChain( - java.lang.Iterable values) { + public Builder addAllPemCertificateChain(java.lang.Iterable values) { ensurePemCertificateChainIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, pemCertificateChain_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pemCertificateChain_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPemCertificateChain() { - pemCertificateChain_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + pemCertificateChain_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Output only. The pem-encoded chain that may be used to verify the X.509
      * certificate. Expected to be in issuer-to-root order according to RFC 5246.
      * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes of the pemCertificateChain to add. * @return This builder for chaining. */ - public Builder addPemCertificateChainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensurePemCertificateChainIsMutable(); pemCertificateChain_.add(value); @@ -840,18 +950,20 @@ public Builder addPemCertificateChainBytes( private java.lang.Object caCert_ = ""; /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ public java.lang.String getCaCert() { java.lang.Object ref = caCert_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caCert_ = s; return s; @@ -860,20 +972,21 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - public com.google.protobuf.ByteString - getCaCertBytes() { + public com.google.protobuf.ByteString getCaCertBytes() { java.lang.Object ref = caCert_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caCert_ = b; return b; } else { @@ -881,28 +994,35 @@ public java.lang.String getCaCert() { } } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The caCert to set. * @return This builder for chaining. */ - public Builder setCaCert( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCert(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaCert() { @@ -912,26 +1032,30 @@ public Builder clearCaCert() { return this; } /** + * + * *
      * Optional. The pem-encoded cluster ca X.509 certificate.
      * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for caCert to set. * @return This builder for chaining. */ - public Builder setCaCertBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCaCertBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); caCert_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -941,41 +1065,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) - private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse(); } - public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateClientCertificateResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateClientCertificateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,9 +1113,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java index f4f550c567ce..1dee5e4edb1f 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GenerateClientCertificateResponseOrBuilder.java @@ -1,94 +1,134 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GenerateClientCertificateResponseOrBuilder extends +public interface GenerateClientCertificateResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GenerateClientCertificateResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** + * + * *
    * Output only. The pem-encoded, signed X.509 certificate.
    * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString - getPemCertificateBytes(); + com.google.protobuf.ByteString getPemCertificateBytes(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return A list containing the pemCertificateChain. */ - java.util.List - getPemCertificateChainList(); + java.util.List getPemCertificateChainList(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The count of pemCertificateChain. */ int getPemCertificateChainCount(); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the element to return. * @return The pemCertificateChain at the given index. */ java.lang.String getPemCertificateChain(int index); /** + * + * *
    * Output only. The pem-encoded chain that may be used to verify the X.509
    * certificate. Expected to be in issuer-to-root order according to RFC 5246.
    * 
* - * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param index The index of the value to return. * @return The bytes of the pemCertificateChain at the given index. */ - com.google.protobuf.ByteString - getPemCertificateChainBytes(int index); + com.google.protobuf.ByteString getPemCertificateChainBytes(int index); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caCert. */ java.lang.String getCaCert(); /** + * + * *
    * Optional. The pem-encoded cluster ca X.509 certificate.
    * 
* * string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for caCert. */ - com.google.protobuf.ByteString - getCaCertBytes(); + com.google.protobuf.ByteString getCaCertBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java similarity index 61% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java index f34d996bc7e2..e344310bc5ff 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for getting a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest) GetBackupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetBackupRequest.newBuilder() to construct. private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetBackupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetBackupRequest.class, com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetBackupRequest.class, + com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the resource
    * 
* - * string name = 1 [(.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 @@ -60,29 +85,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 resource
    * 
* - * string name = 1 [(.google.api.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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -127,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.cloud.alloydb.v1beta.GetBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetBackupRequest other = (com.google.cloud.alloydb.v1beta.GetBackupRequest) obj; + com.google.cloud.alloydb.v1beta.GetBackupRequest other = + (com.google.cloud.alloydb.v1beta.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; } @@ -154,132 +181,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for getting a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetBackupRequest) com.google.cloud.alloydb.v1beta.GetBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetBackupRequest.class, com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetBackupRequest.class, + com.google.cloud.alloydb.v1beta.GetBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -289,9 +320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; } @java.lang.Override @@ -310,8 +341,11 @@ public com.google.cloud.alloydb.v1beta.GetBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetBackupRequest result = new com.google.cloud.alloydb.v1beta.GetBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GetBackupRequest result = + new com.google.cloud.alloydb.v1beta.GetBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +361,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetBackupRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -366,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -398,17 +434,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,22 +456,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.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; @@ -442,20 +485,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.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 { @@ -463,28 +509,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string 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() { @@ -494,26 +551,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the resource
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,12 +586,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetBackupRequest) private static final com.google.cloud.alloydb.v1beta.GetBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetBackupRequest(); } @@ -537,27 +600,27 @@ public static com.google.cloud.alloydb.v1beta.GetBackupRequest getDefaultInstanc 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; @@ -572,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java new file mode 100644 index 000000000000..84da82f2703e --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetBackupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the resource
+   * 
+ * + * + * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java index 327274f1f00f..c844832408a2 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for getting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { name_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetClusterRequest.class, com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetClusterRequest.class, + com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,32 +123,46 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. The view of the cluster to return. Returns all default fields if
    * not set.
    * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterView getView() { - com.google.cloud.alloydb.v1beta.ClusterView result = com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.ClusterView getView() { + com.google.cloud.alloydb.v1beta.ClusterView result = + com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.ClusterView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -154,8 +194,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.cloud.alloydb.v1beta.ClusterView.CLUSTER_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -165,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetClusterRequest other = (com.google.cloud.alloydb.v1beta.GetClusterRequest) obj; + com.google.cloud.alloydb.v1beta.GetClusterRequest other = + (com.google.cloud.alloydb.v1beta.GetClusterRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -196,131 +235,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetClusterRequest) com.google.cloud.alloydb.v1beta.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetClusterRequest.class, com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetClusterRequest.class, + com.google.cloud.alloydb.v1beta.GetClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; } @java.lang.Override @@ -352,8 +395,11 @@ public com.google.cloud.alloydb.v1beta.GetClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetClusterRequest result = new com.google.cloud.alloydb.v1beta.GetClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GetClusterRequest result = + new com.google.cloud.alloydb.v1beta.GetClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -372,38 +418,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetClusterRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +458,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,22 +494,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -471,23 +522,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -496,21 +552,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -518,30 +577,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -551,18 +621,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -572,24 +648,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -600,26 +687,37 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterView getView() { - com.google.cloud.alloydb.v1beta.ClusterView result = com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); + com.google.cloud.alloydb.v1beta.ClusterView result = + com.google.cloud.alloydb.v1beta.ClusterView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.ClusterView.UNRECOGNIZED : result; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -633,12 +731,17 @@ public Builder setView(com.google.cloud.alloydb.v1beta.ClusterView value) { return this; } /** + * + * *
      * Optional. The view of the cluster to return. Returns all default fields if
      * not set.
      * 
* - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -647,9 +750,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -659,12 +762,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetClusterRequest) private static final com.google.cloud.alloydb.v1beta.GetClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetClusterRequest(); } @@ -673,27 +776,27 @@ public static com.google.cloud.alloydb.v1beta.GetClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -708,6 +811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java new file mode 100644 index 000000000000..290b41367fb8 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java @@ -0,0 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetClusterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the Cluster.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + * + * + *
+   * Optional. The view of the cluster to return. Returns all default fields if
+   * not set.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The view. + */ + com.google.cloud.alloydb.v1beta.ClusterView getView(); +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java index ea0a5d9741f5..80e6d10f7853 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Request message for GetConnectionInfo.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetConnectionInfoRequest} */ -public final class GetConnectionInfoRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetConnectionInfoRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) GetConnectionInfoRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetConnectionInfoRequest.newBuilder() to construct. private GetConnectionInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetConnectionInfoRequest() { parent_ = ""; requestId_ = ""; @@ -26,34 +44,41 @@ private GetConnectionInfoRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetConnectionInfoRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -94,9 +121,12 @@ public java.lang.String getParent() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -114,6 +144,7 @@ public java.lang.String getParent() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -122,14 +153,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -147,16 +179,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -165,6 +196,7 @@ public java.lang.String getRequestId() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -207,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.cloud.alloydb.v1beta.GetConnectionInfoRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other = (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) obj; + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other = + (com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -239,131 +269,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for GetConnectionInfo.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetConnectionInfoRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) com.google.cloud.alloydb.v1beta.GetConnectionInfoRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -374,9 +409,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; } @java.lang.Override @@ -395,8 +430,11 @@ public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest result = new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest result = + new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -415,38 +453,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) other); } else { super.mergeFrom(other); return this; @@ -454,7 +493,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -491,22 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,23 +559,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.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; @@ -541,21 +589,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -563,30 +614,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string 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() { @@ -596,18 +658,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -617,6 +685,8 @@ public Builder setParentBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -634,13 +704,13 @@ public Builder setParentBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -649,6 +719,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,15 +738,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -682,6 +753,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -699,18 +772,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -728,6 +805,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -737,6 +815,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -754,21 +834,23 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) private static final com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest(); } @@ -792,27 +874,27 @@ public static com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetConnectionInfoRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetConnectionInfoRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java index f45643cf94f7..eae9c0629bc1 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetConnectionInfoRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GetConnectionInfoRequestOrBuilder extends +public interface GetConnectionInfoRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetConnectionInfoRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    * projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,8 +98,8 @@ public interface GetConnectionInfoRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java similarity index 64% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java index 521f30db7fd3..1b0c3b139ada 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for getting a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; view_ = 0; @@ -26,34 +44,41 @@ private GetInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, + com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -62,30 +87,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -96,30 +123,40 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceView getView() { - com.google.cloud.alloydb.v1beta.InstanceView result = com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.InstanceView getView() { + com.google.cloud.alloydb.v1beta.InstanceView result = + com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.InstanceView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,12 +168,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 (view_ != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -151,9 +188,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.alloydb.v1beta.InstanceView.INSTANCE_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,15 +200,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetInstanceRequest other = (com.google.cloud.alloydb.v1beta.GetInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.GetInstanceRequest other = + (com.google.cloud.alloydb.v1beta.GetInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -194,131 +231,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.GetInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for getting a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.GetInstanceRequest) com.google.cloud.alloydb.v1beta.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, + com.google.cloud.alloydb.v1beta.GetInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -329,9 +370,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; } @java.lang.Override @@ -350,8 +391,11 @@ public com.google.cloud.alloydb.v1beta.GetInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetInstanceRequest result = new com.google.cloud.alloydb.v1beta.GetInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GetInstanceRequest result = + new com.google.cloud.alloydb.v1beta.GetInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -370,38 +414,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetInstanceRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -409,7 +454,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.GetInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -444,22 +490,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,23 +518,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,21 +548,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -516,30 +573,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -549,18 +617,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -570,22 +644,29 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -596,24 +677,31 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The view. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceView getView() { - com.google.cloud.alloydb.v1beta.InstanceView result = com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); + com.google.cloud.alloydb.v1beta.InstanceView result = + com.google.cloud.alloydb.v1beta.InstanceView.forNumber(view_); return result == null ? com.google.cloud.alloydb.v1beta.InstanceView.UNRECOGNIZED : result; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -627,11 +715,14 @@ public Builder setView(com.google.cloud.alloydb.v1beta.InstanceView value) { return this; } /** + * + * *
      * The view of the instance to return.
      * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { @@ -640,9 +731,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -652,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetInstanceRequest) private static final com.google.cloud.alloydb.v1beta.GetInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetInstanceRequest(); } @@ -666,27 +757,27 @@ public static com.google.cloud.alloydb.v1beta.GetInstanceRequest getDefaultInsta 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; @@ -701,6 +792,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java index 039c807895a1..4d66e8ce8c7e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetInstanceRequestOrBuilder.java @@ -1,49 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface GetInstanceRequestOrBuilder extends +public interface GetInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view of the instance to return.
    * 
* * .google.cloud.alloydb.v1beta.InstanceView view = 2; + * * @return The view. */ com.google.cloud.alloydb.v1beta.InstanceView getView(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java index e4a39ffad685..dc0f15beb2f9 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for getting a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetUserRequest} */ -public final class GetUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.GetUserRequest) GetUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetUserRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetUserRequest.class, com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetUserRequest.class, + com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -61,30 +86,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the User.name field.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.GetUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.GetUserRequest other = (com.google.cloud.alloydb.v1beta.GetUserRequest) obj; + com.google.cloud.alloydb.v1beta.GetUserRequest other = + (com.google.cloud.alloydb.v1beta.GetUserRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -156,132 +183,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.GetUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.GetUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for getting a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.GetUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.GetUserRequest) com.google.cloud.alloydb.v1beta.GetUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.GetUserRequest.class, com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.GetUserRequest.class, + com.google.cloud.alloydb.v1beta.GetUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.GetUserRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; } @java.lang.Override @@ -312,8 +343,11 @@ public com.google.cloud.alloydb.v1beta.GetUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.GetUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.GetUserRequest result = new com.google.cloud.alloydb.v1beta.GetUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.GetUserRequest result = + new com.google.cloud.alloydb.v1beta.GetUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +363,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.GetUserRequest result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.GetUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.GetUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.GetUserRequest) other); } else { super.mergeFrom(other); return this; @@ -400,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +457,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -445,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -467,30 +512,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -500,27 +556,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the User.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +592,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.GetUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.GetUserRequest) private static final com.google.cloud.alloydb.v1beta.GetUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.GetUserRequest(); } @@ -544,27 +606,27 @@ public static com.google.cloud.alloydb.v1beta.GetUserRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +641,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java new file mode 100644 index 000000000000..7eabfce51dbe --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public interface GetUserRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetUserRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the resource. For the required format, see the
+   * comment on the User.name field.
+   * 
+ * + * + * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java index d386932946dd..ea2d8a6f7319 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for triggering fault injection on an instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.InjectFaultRequest} */ -public final class InjectFaultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InjectFaultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.InjectFaultRequest) InjectFaultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InjectFaultRequest.newBuilder() to construct. private InjectFaultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InjectFaultRequest() { faultType_ = 0; name_ = ""; @@ -27,25 +45,28 @@ private InjectFaultRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InjectFaultRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, + com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); } /** + * + * *
    * FaultType contains all valid types of faults that can be injected to an
    * instance.
@@ -53,9 +74,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType}
    */
-  public enum FaultType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum FaultType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The fault type is unknown.
      * 
@@ -64,6 +86,8 @@ public enum FaultType */ FAULT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Stop the VM
      * 
@@ -75,6 +99,8 @@ public enum FaultType ; /** + * + * *
      * The fault type is unknown.
      * 
@@ -83,6 +109,8 @@ public enum FaultType */ public static final int FAULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Stop the VM
      * 
@@ -91,7 +119,6 @@ public enum FaultType */ public static final int STOP_VM_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,48 +143,49 @@ public static FaultType valueOf(int value) { */ public static FaultType forNumber(int value) { switch (value) { - case 0: return FAULT_TYPE_UNSPECIFIED; - case 1: return STOP_VM; - default: return null; + case 0: + return FAULT_TYPE_UNSPECIFIED; + case 1: + return STOP_VM; + 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< - FaultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public FaultType findValueByNumber(int number) { - return FaultType.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 FaultType findValueByNumber(int number) { + return FaultType.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.cloud.alloydb.v1beta.InjectFaultRequest.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDescriptor() + .getEnumTypes() + .get(0); } private static final FaultType[] VALUES = values(); - public static FaultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static FaultType 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; @@ -177,39 +205,60 @@ private FaultType(int value) { public static final int FAULT_TYPE_FIELD_NUMBER = 1; private int faultType_ = 0; /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -218,30 +267,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -250,9 +301,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -270,6 +324,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -278,14 +333,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -303,16 +359,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -323,6 +378,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -330,6 +387,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -338,6 +396,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,9 +408,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (faultType_ != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (faultType_ + != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -372,9 +432,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (faultType_ != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, faultType_); + if (faultType_ + != com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.FAULT_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, faultType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); @@ -383,8 +444,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -394,20 +454,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.cloud.alloydb.v1beta.InjectFaultRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.InjectFaultRequest other = (com.google.cloud.alloydb.v1beta.InjectFaultRequest) obj; + com.google.cloud.alloydb.v1beta.InjectFaultRequest other = + (com.google.cloud.alloydb.v1beta.InjectFaultRequest) obj; if (faultType_ != other.faultType_) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,139 +484,142 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.InjectFaultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.InjectFaultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for triggering fault injection on an instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.InjectFaultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.InjectFaultRequest) com.google.cloud.alloydb.v1beta.InjectFaultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); + com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, + com.google.cloud.alloydb.v1beta.InjectFaultRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.InjectFaultRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +632,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; } @java.lang.Override @@ -592,8 +653,11 @@ public com.google.cloud.alloydb.v1beta.InjectFaultRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest buildPartial() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest result = new com.google.cloud.alloydb.v1beta.InjectFaultRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.InjectFaultRequest result = + new com.google.cloud.alloydb.v1beta.InjectFaultRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -618,38 +682,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.InjectFaultRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.InjectFaultRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.InjectFaultRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.InjectFaultRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +722,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.InjectFaultRequest other) { - if (other == com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance()) + return this; if (other.faultType_ != 0) { setFaultTypeValue(other.getFaultTypeValue()); } @@ -700,32 +766,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - faultType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + faultType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -735,26 +806,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int faultType_ = 0; /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ - @java.lang.Override public int getFaultTypeValue() { + @java.lang.Override + public int getFaultTypeValue() { return faultType_; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for faultType to set. * @return This builder for chaining. */ @@ -765,28 +848,42 @@ public Builder setFaultTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType() { - com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); - return result == null ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType result = + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.forNumber(faultType_); + return result == null + ? com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The faultType to set. * @return This builder for chaining. */ - public Builder setFaultType(com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType value) { + public Builder setFaultType( + com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType value) { if (value == null) { throw new NullPointerException(); } @@ -796,11 +893,16 @@ public Builder setFaultType(com.google.cloud.alloydb.v1beta.InjectFaultRequest.F return this; } /** + * + * *
      * Required. The type of fault to be injected in an instance.
      * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFaultType() { @@ -812,19 +914,23 @@ public Builder clearFaultType() { private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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; @@ -833,21 +939,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.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 { @@ -855,30 +964,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { @@ -888,18 +1008,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000002; @@ -909,6 +1035,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -926,13 +1054,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -941,6 +1069,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -958,15 +1088,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -974,6 +1103,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -991,18 +1122,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1020,6 +1155,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1029,6 +1165,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1046,12 +1184,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1059,8 +1199,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1068,6 +1210,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1075,6 +1218,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1082,6 +1227,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1093,6 +1239,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the fault
@@ -1100,6 +1248,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1108,9 +1257,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1120,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.InjectFaultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.InjectFaultRequest) private static final com.google.cloud.alloydb.v1beta.InjectFaultRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.InjectFaultRequest(); } @@ -1134,27 +1283,27 @@ public static com.google.cloud.alloydb.v1beta.InjectFaultRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InjectFaultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InjectFaultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1169,6 +1318,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.InjectFaultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java index f07d664fcab1..e22c11f13974 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InjectFaultRequestOrBuilder.java @@ -1,54 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface InjectFaultRequestOrBuilder extends +public interface InjectFaultRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.InjectFaultRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for faultType. */ int getFaultTypeValue(); /** + * + * *
    * Required. The type of fault to be injected in an instance.
    * 
* - * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType fault_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The faultType. */ com.google.cloud.alloydb.v1beta.InjectFaultRequest.FaultType getFaultType(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -66,10 +103,13 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -87,12 +127,14 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the fault
@@ -100,6 +142,7 @@ public interface InjectFaultRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java index 57ff3ca7fdcd..117e984142eb 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/Instance.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * An Instance is a computing unit that an end customer can connect to.
  * It's the main unit of computing resources in AlloyDB.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance)
     InstanceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -35,20 +53,18 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_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();
@@ -57,28 +73,33 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 18:
         return internalGetAnnotations();
       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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.Instance.class, com.google.cloud.alloydb.v1beta.Instance.Builder.class);
+            com.google.cloud.alloydb.v1beta.Instance.class,
+            com.google.cloud.alloydb.v1beta.Instance.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Instance State
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -87,6 +108,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The instance is active and running.
      * 
@@ -95,6 +118,8 @@ public enum State */ READY(1), /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -103,6 +128,8 @@ public enum State */ STOPPED(2), /** + * + * *
      * The instance is being created.
      * 
@@ -111,6 +138,8 @@ public enum State */ CREATING(3), /** + * + * *
      * The instance is being deleted.
      * 
@@ -119,6 +148,8 @@ public enum State */ DELETING(4), /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -127,6 +158,8 @@ public enum State */ MAINTENANCE(5), /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -138,6 +171,8 @@ public enum State
      */
     FAILED(6),
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -149,6 +184,8 @@ public enum State
      */
     BOOTSTRAPPING(8),
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -160,6 +197,8 @@ public enum State ; /** + * + * *
      * The state of the instance is unknown.
      * 
@@ -168,6 +207,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The instance is active and running.
      * 
@@ -176,6 +217,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The instance is stopped. Instance name and IP resources are preserved.
      * 
@@ -184,6 +227,8 @@ public enum State */ public static final int STOPPED_VALUE = 2; /** + * + * *
      * The instance is being created.
      * 
@@ -192,6 +237,8 @@ public enum State */ public static final int CREATING_VALUE = 3; /** + * + * *
      * The instance is being deleted.
      * 
@@ -200,6 +247,8 @@ public enum State */ public static final int DELETING_VALUE = 4; /** + * + * *
      * The instance is down for maintenance.
      * 
@@ -208,6 +257,8 @@ public enum State */ public static final int MAINTENANCE_VALUE = 5; /** + * + * *
      * The creation of the instance failed or a fatal error occurred during
      * an operation on the instance.
@@ -219,6 +270,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 6;
     /**
+     *
+     *
      * 
      * Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
      * index unused in case that state also needs to exposed via consumer apis
@@ -230,6 +283,8 @@ public enum State
      */
     public static final int BOOTSTRAPPING_VALUE = 8;
     /**
+     *
+     *
      * 
      * The instance is being promoted.
      * 
@@ -238,7 +293,6 @@ public enum State */ public static final int PROMOTING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -263,55 +317,61 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return READY; - case 2: return STOPPED; - case 3: return CREATING; - case 4: return DELETING; - case 5: return MAINTENANCE; - case 6: return FAILED; - case 8: return BOOTSTRAPPING; - case 9: return PROMOTING; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return READY; + case 2: + return STOPPED; + case 3: + return CREATING; + case 4: + return DELETING; + case 5: + return MAINTENANCE; + case 6: + return FAILED; + case 8: + return BOOTSTRAPPING; + case 9: + return PROMOTING; + 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.cloud.alloydb.v1beta.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; @@ -329,15 +389,18 @@ private State(int value) { } /** + * + * *
    * Type of an Instance
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.InstanceType} */ - public enum InstanceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum InstanceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The type of the instance is unknown.
      * 
@@ -346,6 +409,8 @@ public enum InstanceType */ INSTANCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -354,6 +419,8 @@ public enum InstanceType */ PRIMARY(1), /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -366,6 +433,8 @@ public enum InstanceType
      */
     READ_POOL(2),
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -378,6 +447,8 @@ public enum InstanceType
     ;
 
     /**
+     *
+     *
      * 
      * The type of the instance is unknown.
      * 
@@ -386,6 +457,8 @@ public enum InstanceType */ public static final int INSTANCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * PRIMARY instances support read and write operations.
      * 
@@ -394,6 +467,8 @@ public enum InstanceType */ public static final int PRIMARY_VALUE = 1; /** + * + * *
      * READ POOL instances support read operations only. Each read pool instance
      * consists of one or more homogeneous nodes.
@@ -406,6 +481,8 @@ public enum InstanceType
      */
     public static final int READ_POOL_VALUE = 2;
     /**
+     *
+     *
      * 
      * SECONDARY instances support read operations only. SECONDARY instance
      * is a cross-region read replica
@@ -415,7 +492,6 @@ public enum InstanceType
      */
     public static final int SECONDARY_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -440,50 +516,51 @@ public static InstanceType valueOf(int value) {
      */
     public static InstanceType forNumber(int value) {
       switch (value) {
-        case 0: return INSTANCE_TYPE_UNSPECIFIED;
-        case 1: return PRIMARY;
-        case 2: return READ_POOL;
-        case 3: return SECONDARY;
-        default: return null;
+        case 0:
+          return INSTANCE_TYPE_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        case 2:
+          return READ_POOL;
+        case 3:
+          return SECONDARY;
+        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<
-        InstanceType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public InstanceType findValueByNumber(int number) {
-              return InstanceType.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 InstanceType findValueByNumber(int number) {
+            return InstanceType.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.cloud.alloydb.v1beta.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final InstanceType[] VALUES = values();
 
-    public static InstanceType valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static InstanceType 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;
@@ -501,6 +578,8 @@ private InstanceType(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Availability type of an instance. Potential values:
    *
@@ -512,9 +591,10 @@ private InstanceType(int value) {
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.AvailabilityType}
    */
-  public enum AvailabilityType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AvailabilityType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown Availability type.
      * 
@@ -523,6 +603,8 @@ public enum AvailabilityType */ AVAILABILITY_TYPE_UNSPECIFIED(0), /** + * + * *
      * Zonal available instance.
      * 
@@ -531,6 +613,8 @@ public enum AvailabilityType */ ZONAL(1), /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -542,6 +626,8 @@ public enum AvailabilityType ; /** + * + * *
      * This is an unknown Availability type.
      * 
@@ -550,6 +636,8 @@ public enum AvailabilityType */ public static final int AVAILABILITY_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Zonal available instance.
      * 
@@ -558,6 +646,8 @@ public enum AvailabilityType */ public static final int ZONAL_VALUE = 1; /** + * + * *
      * Regional (or Highly) available instance.
      * 
@@ -566,7 +656,6 @@ public enum AvailabilityType */ public static final int REGIONAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -591,39 +680,42 @@ public static AvailabilityType valueOf(int value) { */ public static AvailabilityType forNumber(int value) { switch (value) { - case 0: return AVAILABILITY_TYPE_UNSPECIFIED; - case 1: return ZONAL; - case 2: return REGIONAL; - default: return null; + case 0: + return AVAILABILITY_TYPE_UNSPECIFIED; + case 1: + return ZONAL; + case 2: + return REGIONAL; + 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< - AvailabilityType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AvailabilityType findValueByNumber(int number) { - return AvailabilityType.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 AvailabilityType findValueByNumber(int number) { + return AvailabilityType.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.cloud.alloydb.v1beta.Instance.getDescriptor().getEnumTypes().get(2); } @@ -632,8 +724,7 @@ public AvailabilityType findValueByNumber(int number) { public static AvailabilityType 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; @@ -650,67 +741,77 @@ private AvailabilityType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.Instance.AvailabilityType) } - public interface MachineConfigOrBuilder extends + public interface MachineConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.MachineConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ int getCpuCount(); } /** + * + * *
    * MachineConfig describes the configuration of a machine.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.MachineConfig} */ - public static final class MachineConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class MachineConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.MachineConfig) MachineConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MachineConfig.newBuilder() to construct. private MachineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MachineConfig() { - } + + private MachineConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MachineConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); } public static final int CPU_COUNT_FIELD_NUMBER = 1; private int cpuCount_ = 0; /** + * + * *
      * The number of CPU's in the VM instance.
      * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -719,6 +820,7 @@ public int getCpuCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -730,8 +832,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (cpuCount_ != 0) { output.writeInt32(1, cpuCount_); } @@ -745,8 +846,7 @@ public int getSerializedSize() { size = 0; if (cpuCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, cpuCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, cpuCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -756,15 +856,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.cloud.alloydb.v1beta.Instance.MachineConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.MachineConfig other = (com.google.cloud.alloydb.v1beta.Instance.MachineConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.MachineConfig other = + (com.google.cloud.alloydb.v1beta.Instance.MachineConfig) obj; - if (getCpuCount() - != other.getCpuCount()) return false; + if (getCpuCount() != other.getCpuCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -784,89 +884,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.MachineConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Instance.MachineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -876,39 +981,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MachineConfig describes the configuration of a machine.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.MachineConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.MachineConfig) com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.class, + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.MachineConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -918,9 +1025,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; } @java.lang.Override @@ -939,8 +1046,11 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.MachineConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.MachineConfig result = new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Instance.MachineConfig result = + new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -956,38 +1066,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.MachineConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.MachineConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.MachineConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.MachineConfig) other); } else { super.mergeFrom(other); return this; @@ -995,7 +1108,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.MachineConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) + return this; if (other.getCpuCount() != 0) { setCpuCount(other.getCpuCount()); } @@ -1025,17 +1139,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - cpuCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + cpuCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1045,15 +1161,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int cpuCount_ ; + private int cpuCount_; /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return The cpuCount. */ @java.lang.Override @@ -1061,11 +1181,14 @@ public int getCpuCount() { return cpuCount_; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @param value The cpuCount to set. * @return This builder for chaining. */ @@ -1077,11 +1200,14 @@ public Builder setCpuCount(int value) { return this; } /** + * + * *
        * The number of CPU's in the VM instance.
        * 
* * int32 cpu_count = 1; + * * @return This builder for chaining. */ public Builder clearCpuCount() { @@ -1090,6 +1216,7 @@ public Builder clearCpuCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1102,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.MachineConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.MachineConfig) private static final com.google.cloud.alloydb.v1beta.Instance.MachineConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.MachineConfig(); } @@ -1116,27 +1243,28 @@ public static com.google.cloud.alloydb.v1beta.Instance.MachineConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MachineConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MachineConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,74 +1279,91 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface NodeOrBuilder extends + public interface NodeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.Node) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ java.lang.String getZoneId(); /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString - getZoneIdBytes(); + com.google.protobuf.ByteString getZoneIdBytes(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ java.lang.String getIp(); /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ - com.google.protobuf.ByteString - getIpBytes(); + com.google.protobuf.ByteString getIpBytes(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1227,10 +1372,13 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The state. */ java.lang.String getState(); /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1239,12 +1387,14 @@ public interface NodeOrBuilder extends
      * 
* * string state = 4; + * * @return The bytes for state. */ - com.google.protobuf.ByteString - getStateBytes(); + com.google.protobuf.ByteString getStateBytes(); } /** + * + * *
    * Details of a single node in the instance.
    * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1253,15 +1403,16 @@ public interface NodeOrBuilder extends
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.Node}
    */
-  public static final class Node extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Node extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.Node)
       NodeOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Node.newBuilder() to construct.
     private Node(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Node() {
       zoneId_ = "";
       id_ = "";
@@ -1271,33 +1422,38 @@ private Node() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Node();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Instance.Node.class, com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
+              com.google.cloud.alloydb.v1beta.Instance.Node.class,
+              com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
     }
 
     public static final int ZONE_ID_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object zoneId_ = "";
     /**
+     *
+     *
      * 
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The zoneId. */ @java.lang.Override @@ -1306,29 +1462,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** + * + * *
      * The Compute Engine zone of the VM e.g. "us-central1-b".
      * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1337,14 +1493,18 @@ public java.lang.String getZoneId() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -1353,29 +1513,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
      * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1384,14 +1544,18 @@ public java.lang.String getId() { } public static final int IP_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object ip_ = ""; /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The ip. */ @java.lang.Override @@ -1400,29 +1564,29 @@ public java.lang.String getIp() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } } /** + * + * *
      * The private IP address of the VM e.g. "10.57.0.34".
      * 
* * string ip = 3; + * * @return The bytes for ip. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -1431,9 +1595,12 @@ public java.lang.String getIp() { } public static final int STATE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object state_ = ""; /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1442,6 +1609,7 @@ public java.lang.String getIp() {
      * 
* * string state = 4; + * * @return The state. */ @java.lang.Override @@ -1450,14 +1618,15 @@ public java.lang.String getState() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } } /** + * + * *
      * Determined by state of the compute VM and postgres-service health.
      * Compute VM state can have values listed in
@@ -1466,16 +1635,15 @@ public java.lang.String getState() {
      * 
* * string state = 4; + * * @return The bytes for state. */ @java.lang.Override - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -1484,6 +1652,7 @@ public java.lang.String getState() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1495,8 +1664,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -1538,21 +1706,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.cloud.alloydb.v1beta.Instance.Node)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.Node other = (com.google.cloud.alloydb.v1beta.Instance.Node) obj; + com.google.cloud.alloydb.v1beta.Instance.Node other = + (com.google.cloud.alloydb.v1beta.Instance.Node) obj; - if (!getZoneId() - .equals(other.getZoneId())) return false; - if (!getId() - .equals(other.getId())) return false; - if (!getIp() - .equals(other.getIp())) return false; - if (!getState() - .equals(other.getState())) return false; + if (!getZoneId().equals(other.getZoneId())) return false; + if (!getId().equals(other.getId())) return false; + if (!getIp().equals(other.getIp())) return false; + if (!getState().equals(other.getState())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1577,90 +1742,94 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.Node parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.Node parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.Node prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1670,6 +1839,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details of a single node in the instance.
      * Nodes in an AlloyDB instance are ephemereal, they can change during
@@ -1678,33 +1849,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.Node}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.Node)
         com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.alloydb.v1beta.Instance.Node.class, com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
+                com.google.cloud.alloydb.v1beta.Instance.Node.class,
+                com.google.cloud.alloydb.v1beta.Instance.Node.Builder.class);
       }
 
       // Construct using com.google.cloud.alloydb.v1beta.Instance.Node.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1717,9 +1888,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.alloydb.v1beta.ResourcesProto
+            .internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor;
       }
 
       @java.lang.Override
@@ -1738,8 +1909,11 @@ public com.google.cloud.alloydb.v1beta.Instance.Node build() {
 
       @java.lang.Override
       public com.google.cloud.alloydb.v1beta.Instance.Node buildPartial() {
-        com.google.cloud.alloydb.v1beta.Instance.Node result = new com.google.cloud.alloydb.v1beta.Instance.Node(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.cloud.alloydb.v1beta.Instance.Node result =
+            new com.google.cloud.alloydb.v1beta.Instance.Node(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
@@ -1764,38 +1938,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.Node result)
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.alloydb.v1beta.Instance.Node) {
-          return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.Node)other);
+          return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.Node) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1803,7 +1980,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.Node other) {
-        if (other == com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) return this;
+        if (other == com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance())
+          return this;
         if (!other.getZoneId().isEmpty()) {
           zoneId_ = other.zoneId_;
           bitField0_ |= 0x00000001;
@@ -1850,32 +2028,37 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                ip_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              case 34: {
-                state_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  zoneId_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  id_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  ip_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  state_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1885,22 +2068,25 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object zoneId_ = "";
       /**
+       *
+       *
        * 
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -1909,20 +2095,21 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString - getZoneIdBytes() { + public com.google.protobuf.ByteString getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zoneId_ = b; return b; } else { @@ -1930,28 +2117,35 @@ public java.lang.String getZoneId() { } } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -1961,17 +2155,21 @@ public Builder clearZoneId() { return this; } /** + * + * *
        * The Compute Engine zone of the VM e.g. "us-central1-b".
        * 
* * string zone_id = 1; + * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -1981,18 +2179,20 @@ public Builder setZoneIdBytes( private java.lang.Object id_ = ""; /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2001,20 +2201,21 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2022,28 +2223,35 @@ public java.lang.String getId() { } } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -2053,17 +2261,21 @@ public Builder clearId() { return this; } /** + * + * *
        * The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
        * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2073,18 +2285,20 @@ public Builder setIdBytes( private java.lang.Object ip_ = ""; /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; @@ -2093,20 +2307,21 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return The bytes for ip. */ - public com.google.protobuf.ByteString - getIpBytes() { + public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ip_ = b; return b; } else { @@ -2114,28 +2329,35 @@ public java.lang.String getIp() { } } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The ip to set. * @return This builder for chaining. */ - public Builder setIp( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIp(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ip_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @return This builder for chaining. */ public Builder clearIp() { @@ -2145,17 +2367,21 @@ public Builder clearIp() { return this; } /** + * + * *
        * The private IP address of the VM e.g. "10.57.0.34".
        * 
* * string ip = 3; + * * @param value The bytes for ip to set. * @return This builder for chaining. */ - public Builder setIpBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ip_ = value; bitField0_ |= 0x00000004; @@ -2165,6 +2391,8 @@ public Builder setIpBytes( private java.lang.Object state_ = ""; /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2173,13 +2401,13 @@ public Builder setIpBytes(
        * 
* * string state = 4; + * * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; @@ -2188,6 +2416,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2196,15 +2426,14 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @return The bytes for state. */ - public com.google.protobuf.ByteString - getStateBytes() { + public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); state_ = b; return b; } else { @@ -2212,6 +2441,8 @@ public java.lang.String getState() { } } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2220,18 +2451,22 @@ public java.lang.String getState() {
        * 
* * string state = 4; + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setState(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2240,6 +2475,7 @@ public Builder setState(
        * 
* * string state = 4; + * * @return This builder for chaining. */ public Builder clearState() { @@ -2249,6 +2485,8 @@ public Builder clearState() { return this; } /** + * + * *
        * Determined by state of the compute VM and postgres-service health.
        * Compute VM state can have values listed in
@@ -2257,18 +2495,21 @@ public Builder clearState() {
        * 
* * string state = 4; + * * @param value The bytes for state to set. * @return This builder for chaining. */ - public Builder setStateBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStateBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); state_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2281,12 +2522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.Node) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.Node) private static final com.google.cloud.alloydb.v1beta.Instance.Node DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.Node(); } @@ -2295,27 +2536,28 @@ public static com.google.cloud.alloydb.v1beta.Instance.Node getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Node parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Node parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2330,67 +2572,84 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.Node getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface QueryInsightsInstanceConfigOrBuilder extends + public interface QueryInsightsInstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ boolean hasRecordApplicationTags(); /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ boolean getRecordApplicationTags(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ boolean hasRecordClientAddress(); /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ boolean getRecordClientAddress(); /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ int getQueryStringLength(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2398,10 +2657,13 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ boolean hasQueryPlansPerMinute(); /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2409,59 +2671,67 @@ public interface QueryInsightsInstanceConfigOrBuilder extends
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ int getQueryPlansPerMinute(); } /** + * + * *
    * QueryInsights Instance specific configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig} */ - public static final class QueryInsightsInstanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class QueryInsightsInstanceConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) QueryInsightsInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryInsightsInstanceConfig.newBuilder() to construct. private QueryInsightsInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryInsightsInstanceConfig() { - } + + private QueryInsightsInstanceConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryInsightsInstanceConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); } private int bitField0_; public static final int RECORD_APPLICATION_TAGS_FIELD_NUMBER = 2; private boolean recordApplicationTags_ = false; /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2469,12 +2739,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Record application tags for an instance.
      * This flag is turned "on" by default.
      * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -2485,12 +2758,15 @@ public boolean getRecordApplicationTags() { public static final int RECORD_CLIENT_ADDRESS_FIELD_NUMBER = 3; private boolean recordClientAddress_ = false; /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -2498,12 +2774,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Record client address for an instance. Client address is PII information.
      * This flag is turned "on" by default.
      * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -2514,12 +2793,15 @@ public boolean getRecordClientAddress() { public static final int QUERY_STRING_LENGTH_FIELD_NUMBER = 4; private int queryStringLength_ = 0; /** + * + * *
      * Query string length. The default value is 1024.
      * Any integer between 256 and 4500 is considered valid.
      * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -2530,6 +2812,8 @@ public int getQueryStringLength() { public static final int QUERY_PLANS_PER_MINUTE_FIELD_NUMBER = 5; private int queryPlansPerMinute_ = 0; /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2537,6 +2821,7 @@ public int getQueryStringLength() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -2544,6 +2829,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Number of query execution plans captured by Insights per minute
      * for all queries combined. The default value is 5.
@@ -2551,6 +2838,7 @@ public boolean hasQueryPlansPerMinute() {
      * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -2559,6 +2847,7 @@ public int getQueryPlansPerMinute() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2570,8 +2859,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(2, recordApplicationTags_); } @@ -2594,20 +2882,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, recordApplicationTags_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, recordApplicationTags_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, recordClientAddress_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recordClientAddress_); } if (queryStringLength_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, queryStringLength_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, queryStringLength_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, queryPlansPerMinute_); + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, queryPlansPerMinute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2617,29 +2901,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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other = (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other = + (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) obj; if (hasRecordApplicationTags() != other.hasRecordApplicationTags()) return false; if (hasRecordApplicationTags()) { - if (getRecordApplicationTags() - != other.getRecordApplicationTags()) return false; + if (getRecordApplicationTags() != other.getRecordApplicationTags()) return false; } if (hasRecordClientAddress() != other.hasRecordClientAddress()) return false; if (hasRecordClientAddress()) { - if (getRecordClientAddress() - != other.getRecordClientAddress()) return false; + if (getRecordClientAddress() != other.getRecordClientAddress()) return false; } - if (getQueryStringLength() - != other.getQueryStringLength()) return false; + if (getQueryStringLength() != other.getQueryStringLength()) return false; if (hasQueryPlansPerMinute() != other.hasQueryPlansPerMinute()) return false; if (hasQueryPlansPerMinute()) { - if (getQueryPlansPerMinute() - != other.getQueryPlansPerMinute()) return false; + if (getQueryPlansPerMinute() != other.getQueryPlansPerMinute()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2654,13 +2935,11 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasRecordApplicationTags()) { hash = (37 * hash) + RECORD_APPLICATION_TAGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordApplicationTags()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordApplicationTags()); } if (hasRecordClientAddress()) { hash = (37 * hash) + RECORD_CLIENT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecordClientAddress()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecordClientAddress()); } hash = (37 * hash) + QUERY_STRING_LENGTH_FIELD_NUMBER; hash = (53 * hash) + getQueryStringLength(); @@ -2674,89 +2953,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig 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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + 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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2766,39 +3051,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * QueryInsights Instance specific configuration.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.class, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder.class); } - // Construct using com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.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(); @@ -2811,19 +3099,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig build() { - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = buildPartial(); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2832,13 +3123,17 @@ public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig buil @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result = + new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -2863,46 +3158,53 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.QueryInsight public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig)other); + return mergeFrom( + (com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig other) { + if (other + == com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) return this; if (other.hasRecordApplicationTags()) { setRecordApplicationTags(other.getRecordApplicationTags()); } @@ -2941,32 +3243,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - recordApplicationTags_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: { - recordClientAddress_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: { - queryStringLength_ = input.readUInt32(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 40: { - queryPlansPerMinute_ = input.readUInt32(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + recordApplicationTags_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: + { + recordClientAddress_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: + { + queryStringLength_ = input.readUInt32(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 40: + { + queryPlansPerMinute_ = input.readUInt32(); + bitField0_ |= 0x00000008; + 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) { @@ -2976,16 +3283,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean recordApplicationTags_ ; + private boolean recordApplicationTags_; /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return Whether the recordApplicationTags field is set. */ @java.lang.Override @@ -2993,12 +3304,15 @@ public boolean hasRecordApplicationTags() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return The recordApplicationTags. */ @java.lang.Override @@ -3006,12 +3320,15 @@ public boolean getRecordApplicationTags() { return recordApplicationTags_; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @param value The recordApplicationTags to set. * @return This builder for chaining. */ @@ -3023,12 +3340,15 @@ public Builder setRecordApplicationTags(boolean value) { return this; } /** + * + * *
        * Record application tags for an instance.
        * This flag is turned "on" by default.
        * 
* * optional bool record_application_tags = 2; + * * @return This builder for chaining. */ public Builder clearRecordApplicationTags() { @@ -3038,14 +3358,17 @@ public Builder clearRecordApplicationTags() { return this; } - private boolean recordClientAddress_ ; + private boolean recordClientAddress_; /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return Whether the recordClientAddress field is set. */ @java.lang.Override @@ -3053,12 +3376,15 @@ public boolean hasRecordClientAddress() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return The recordClientAddress. */ @java.lang.Override @@ -3066,12 +3392,15 @@ public boolean getRecordClientAddress() { return recordClientAddress_; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @param value The recordClientAddress to set. * @return This builder for chaining. */ @@ -3083,12 +3412,15 @@ public Builder setRecordClientAddress(boolean value) { return this; } /** + * + * *
        * Record client address for an instance. Client address is PII information.
        * This flag is turned "on" by default.
        * 
* * optional bool record_client_address = 3; + * * @return This builder for chaining. */ public Builder clearRecordClientAddress() { @@ -3098,14 +3430,17 @@ public Builder clearRecordClientAddress() { return this; } - private int queryStringLength_ ; + private int queryStringLength_; /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return The queryStringLength. */ @java.lang.Override @@ -3113,12 +3448,15 @@ public int getQueryStringLength() { return queryStringLength_; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @param value The queryStringLength to set. * @return This builder for chaining. */ @@ -3130,12 +3468,15 @@ public Builder setQueryStringLength(int value) { return this; } /** + * + * *
        * Query string length. The default value is 1024.
        * Any integer between 256 and 4500 is considered valid.
        * 
* * uint32 query_string_length = 4; + * * @return This builder for chaining. */ public Builder clearQueryStringLength() { @@ -3145,8 +3486,10 @@ public Builder clearQueryStringLength() { return this; } - private int queryPlansPerMinute_ ; + private int queryPlansPerMinute_; /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3154,6 +3497,7 @@ public Builder clearQueryStringLength() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return Whether the queryPlansPerMinute field is set. */ @java.lang.Override @@ -3161,6 +3505,8 @@ public boolean hasQueryPlansPerMinute() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3168,6 +3514,7 @@ public boolean hasQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return The queryPlansPerMinute. */ @java.lang.Override @@ -3175,6 +3522,8 @@ public int getQueryPlansPerMinute() { return queryPlansPerMinute_; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3182,6 +3531,7 @@ public int getQueryPlansPerMinute() {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @param value The queryPlansPerMinute to set. * @return This builder for chaining. */ @@ -3193,6 +3543,8 @@ public Builder setQueryPlansPerMinute(int value) { return this; } /** + * + * *
        * Number of query execution plans captured by Insights per minute
        * for all queries combined. The default value is 5.
@@ -3200,6 +3552,7 @@ public Builder setQueryPlansPerMinute(int value) {
        * 
* * optional uint32 query_plans_per_minute = 5; + * * @return This builder for chaining. */ public Builder clearQueryPlansPerMinute() { @@ -3208,6 +3561,7 @@ public Builder clearQueryPlansPerMinute() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3220,41 +3574,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig) - private static final com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig(); } - public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryInsightsInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryInsightsInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3266,73 +3623,83 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadPoolConfigOrBuilder extends + public interface ReadPoolConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ int getNodeCount(); } /** + * + * *
    * Configuration for a read pool instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ReadPoolConfig} */ - public static final class ReadPoolConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReadPoolConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) ReadPoolConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadPoolConfig.newBuilder() to construct. private ReadPoolConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadPoolConfig() { - } + + private ReadPoolConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadPoolConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); } public static final int NODE_COUNT_FIELD_NUMBER = 1; private int nodeCount_ = 0; /** + * + * *
      * Read capacity, i.e. number of nodes in a read pool instance.
      * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3341,6 +3708,7 @@ public int getNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3352,8 +3720,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nodeCount_ != 0) { output.writeInt32(1, nodeCount_); } @@ -3367,8 +3734,7 @@ public int getSerializedSize() { size = 0; if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, nodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3378,15 +3744,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.cloud.alloydb.v1beta.Instance.ReadPoolConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other = (com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other = + (com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) obj; - if (getNodeCount() - != other.getNodeCount()) return false; + if (getNodeCount() != other.getNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3406,89 +3772,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3498,39 +3869,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration for a read pool instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ReadPoolConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.class, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3540,9 +3913,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; } @java.lang.Override @@ -3561,8 +3934,11 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig result = new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig result = + new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3578,38 +3954,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.ReadPoolConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) other); } else { super.mergeFrom(other); return this; @@ -3617,7 +3996,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) + return this; if (other.getNodeCount() != 0) { setNodeCount(other.getNodeCount()); } @@ -3647,17 +4027,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - nodeCount_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + nodeCount_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3667,15 +4049,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return The nodeCount. */ @java.lang.Override @@ -3683,11 +4069,14 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @param value The nodeCount to set. * @return This builder for chaining. */ @@ -3699,11 +4088,14 @@ public Builder setNodeCount(int value) { return this; } /** + * + * *
        * Read capacity, i.e. number of nodes in a read pool instance.
        * 
* * int32 node_count = 1; + * * @return This builder for chaining. */ public Builder clearNodeCount() { @@ -3712,6 +4104,7 @@ public Builder clearNodeCount() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3724,12 +4117,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.ReadPoolConfig) private static final com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig(); } @@ -3738,27 +4131,28 @@ public static com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadPoolConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadPoolConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3773,82 +4167,95 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdatePolicyOrBuilder extends + public interface UpdatePolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode(); } /** + * + * *
    * Policy to be used while updating the instance.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy} */ - public static final class UpdatePolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdatePolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) UpdatePolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicy.newBuilder() to construct. private UpdatePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdatePolicy() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); } /** + * + * *
      * Specifies the available modes of update.
      * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Mode is unknown.
        * 
@@ -3857,6 +4264,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
        * Least disruptive way to apply the update.
        * 
@@ -3865,6 +4274,8 @@ public enum Mode */ DEFAULT(1), /** + * + * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -3877,6 +4288,8 @@ public enum Mode
       ;
 
       /**
+       *
+       *
        * 
        * Mode is unknown.
        * 
@@ -3885,6 +4298,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Least disruptive way to apply the update.
        * 
@@ -3893,6 +4308,8 @@ public enum Mode */ public static final int DEFAULT_VALUE = 1; /** + * + * *
        * Performs a forced update when applicable. This will be fast but may
        * incur a downtime.
@@ -3902,7 +4319,6 @@ public enum Mode
        */
       public static final int FORCE_APPLY_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3927,49 +4343,51 @@ public static Mode valueOf(int value) {
        */
       public static Mode forNumber(int value) {
         switch (value) {
-          case 0: return MODE_UNSPECIFIED;
-          case 1: return DEFAULT;
-          case 2: return FORCE_APPLY;
-          default: return null;
+          case 0:
+            return MODE_UNSPECIFIED;
+          case 1:
+            return DEFAULT;
+          case 2:
+            return FORCE_APPLY;
+          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<
-          Mode> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Mode findValueByNumber(int number) {
-                return Mode.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 Mode findValueByNumber(int number) {
+              return Mode.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.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Mode[] VALUES = values();
 
-      public static Mode valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static Mode 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;
@@ -3989,30 +4407,42 @@ private Mode(int value) {
     public static final int MODE_FIELD_NUMBER = 1;
     private int mode_ = 0;
     /**
+     *
+     *
      * 
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode for updating the instance.
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4024,9 +4454,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (mode_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (mode_ + != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, mode_); } getUnknownFields().writeTo(output); @@ -4038,9 +4469,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (mode_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, mode_); + if (mode_ + != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4050,12 +4482,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.cloud.alloydb.v1beta.Instance.UpdatePolicy)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other = (com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) obj; + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other = + (com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4077,89 +4510,94 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4169,39 +4607,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Policy to be used while updating the instance.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.UpdatePolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.class, + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4211,9 +4651,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; } @java.lang.Override @@ -4232,8 +4672,11 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy result = new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy result = + new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -4249,38 +4692,41 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.UpdatePolicy) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy) other); } else { super.mergeFrom(other); return this; @@ -4288,7 +4734,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) + return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } @@ -4318,17 +4765,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4338,26 +4787,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int mode_ = 0; /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -4368,24 +4825,33 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return The mode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode getMode() { - com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode result = + com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.forNumber(mode_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode.UNRECOGNIZED + : result; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -4399,11 +4865,14 @@ public Builder setMode(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mod return this; } /** + * + * *
        * Mode for updating the instance.
        * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Mode mode = 1; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -4412,6 +4881,7 @@ public Builder clearMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4424,12 +4894,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.UpdatePolicy) private static final com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy(); } @@ -4438,27 +4908,28 @@ public static com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4473,99 +4944,122 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ClientConnectionConfigOrBuilder extends + public interface ClientConnectionConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ boolean getRequireConnectors(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ boolean hasSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ com.google.cloud.alloydb.v1beta.SslConfig getSslConfig(); /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder(); } /** + * + * *
    * Client connection configuration
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig} */ - public static final class ClientConnectionConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ClientConnectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) ClientConnectionConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientConnectionConfig.newBuilder() to construct. private ClientConnectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClientConnectionConfig() { - } + + private ClientConnectionConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientConnectionConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); } public static final int REQUIRE_CONNECTORS_FIELD_NUMBER = 1; private boolean requireConnectors_ = false; /** + * + * *
      * Optional. Configuration to enforce connectors only (ex: AuthProxy)
      * connections to the database.
      * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -4576,11 +5070,16 @@ public boolean getRequireConnectors() { public static final int SSL_CONFIG_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_; /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ @java.lang.Override @@ -4588,30 +5087,44 @@ public boolean hasSslConfig() { return sslConfig_ != null; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } /** + * + * *
      * Optional. SSL config option for this instance.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4623,8 +5136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (requireConnectors_ != false) { output.writeBool(1, requireConnectors_); } @@ -4641,12 +5153,10 @@ public int getSerializedSize() { size = 0; if (requireConnectors_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, requireConnectors_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, requireConnectors_); } if (sslConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSslConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSslConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4656,19 +5166,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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other = (com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) obj; + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other = + (com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) obj; - if (getRequireConnectors() - != other.getRequireConnectors()) return false; + if (getRequireConnectors() != other.getRequireConnectors()) return false; if (hasSslConfig() != other.hasSslConfig()) return false; if (hasSslConfig()) { - if (!getSslConfig() - .equals(other.getSslConfig())) return false; + if (!getSslConfig().equals(other.getSslConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4682,8 +5191,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REQUIRE_CONNECTORS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequireConnectors()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequireConnectors()); if (hasSslConfig()) { hash = (37 * hash) + SSL_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getSslConfig().hashCode(); @@ -4694,89 +5202,95 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig 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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + 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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4786,39 +5300,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Client connection configuration
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.class, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder.class); } - // Construct using com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.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(); @@ -4833,13 +5350,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance(); } @@ -4854,21 +5372,23 @@ public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig buildPartial() { - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result = new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result = + new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.requireConnectors_ = requireConnectors_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.sslConfig_ = sslConfigBuilder_ == null - ? sslConfig_ - : sslConfigBuilder_.build(); + result.sslConfig_ = sslConfigBuilder_ == null ? sslConfig_ : sslConfigBuilder_.build(); } } @@ -4876,46 +5396,52 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance.ClientConnec public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other) { - if (other == com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig other) { + if (other + == com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) + return this; if (other.getRequireConnectors() != false) { setRequireConnectors(other.getRequireConnectors()); } @@ -4948,24 +5474,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - requireConnectors_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getSslConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + requireConnectors_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getSslConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4975,16 +5502,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean requireConnectors_ ; + private boolean requireConnectors_; /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requireConnectors. */ @java.lang.Override @@ -4992,12 +5523,15 @@ public boolean getRequireConnectors() { return requireConnectors_; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requireConnectors to set. * @return This builder for chaining. */ @@ -5009,12 +5543,15 @@ public Builder setRequireConnectors(boolean value) { return this; } /** + * + * *
        * Optional. Configuration to enforce connectors only (ex: AuthProxy)
        * connections to the database.
        * 
* * bool require_connectors = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequireConnectors() { @@ -5026,39 +5563,58 @@ public Builder clearRequireConnectors() { private com.google.cloud.alloydb.v1beta.SslConfig sslConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> sslConfigBuilder_; + com.google.cloud.alloydb.v1beta.SslConfig, + com.google.cloud.alloydb.v1beta.SslConfig.Builder, + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> + sslConfigBuilder_; /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the sslConfig field is set. */ public boolean hasSslConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslConfig. */ public com.google.cloud.alloydb.v1beta.SslConfig getSslConfig() { if (sslConfigBuilder_ == null) { - return sslConfig_ == null ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } else { return sslConfigBuilder_.getMessage(); } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { @@ -5074,11 +5630,15 @@ public Builder setSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSslConfig( com.google.cloud.alloydb.v1beta.SslConfig.Builder builderForValue) { @@ -5092,17 +5652,21 @@ public Builder setSslConfig( return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { if (sslConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - sslConfig_ != null && - sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && sslConfig_ != null + && sslConfig_ != com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance()) { getSslConfigBuilder().mergeFrom(value); } else { sslConfig_ = value; @@ -5115,11 +5679,15 @@ public Builder mergeSslConfig(com.google.cloud.alloydb.v1beta.SslConfig value) { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSslConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5132,11 +5700,15 @@ public Builder clearSslConfig() { return this; } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { bitField0_ |= 0x00000002; @@ -5144,40 +5716,53 @@ public com.google.cloud.alloydb.v1beta.SslConfig.Builder getSslConfigBuilder() { return getSslConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.alloydb.v1beta.SslConfigOrBuilder getSslConfigOrBuilder() { if (sslConfigBuilder_ != null) { return sslConfigBuilder_.getMessageOrBuilder(); } else { - return sslConfig_ == null ? - com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() : sslConfig_; + return sslConfig_ == null + ? com.google.cloud.alloydb.v1beta.SslConfig.getDefaultInstance() + : sslConfig_; } } /** + * + * *
        * Optional. SSL config option for this instance.
        * 
* - * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig ssl_config = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> + com.google.cloud.alloydb.v1beta.SslConfig, + com.google.cloud.alloydb.v1beta.SslConfig.Builder, + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder> getSslConfigFieldBuilder() { if (sslConfigBuilder_ == null) { - sslConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SslConfig, com.google.cloud.alloydb.v1beta.SslConfig.Builder, com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( - getSslConfig(), - getParentForChildren(), - isClean()); + sslConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SslConfig, + com.google.cloud.alloydb.v1beta.SslConfig.Builder, + com.google.cloud.alloydb.v1beta.SslConfigOrBuilder>( + getSslConfig(), getParentForChildren(), isClean()); sslConfig_ = null; } return sslConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5190,41 +5775,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig) - private static final com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig(); } - public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientConnectionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientConnectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5236,16 +5824,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5259,6 +5850,7 @@ public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getDefaul
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -5267,14 +5859,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -5288,16 +5881,15 @@ public java.lang.String getName() {
    * 
* * 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 { @@ -5306,14 +5898,18 @@ public java.lang.String getName() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -5322,29 +5918,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; } } /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * 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 { @@ -5353,15 +5949,19 @@ public java.lang.String getDisplayName() { } public static final int UID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object uid_ = ""; /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ @java.lang.Override @@ -5370,30 +5970,30 @@ public java.lang.String getUid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } } /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -5404,11 +6004,15 @@ public java.lang.String getUid() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5416,11 +6020,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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 @@ -5428,11 +6036,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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() { @@ -5442,11 +6053,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5454,11 +6069,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -5466,11 +6085,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -5480,11 +6102,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -5492,11 +6118,15 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ @java.lang.Override @@ -5504,11 +6134,14 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -5516,32 +6149,34 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { } 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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5549,20 +6184,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5574,6 +6210,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5581,17 +6219,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Labels as key value pairs
    * 
@@ -5599,11 +6239,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5613,64 +6253,95 @@ public java.lang.String getLabelsOrThrow( public static final int STATE_FIELD_NUMBER = 8; private int state_ = 0; /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.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 serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.State getState() { - com.google.cloud.alloydb.v1beta.Instance.State result = com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Instance.State getState() { + com.google.cloud.alloydb.v1beta.Instance.State result = + com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Instance.State.UNRECOGNIZED : result; } public static final int INSTANCE_TYPE_FIELD_NUMBER = 9; private int instanceType_ = 0; /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { + com.google.cloud.alloydb.v1beta.Instance.InstanceType result = + com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED + : result; } public static final int MACHINE_CONFIG_FIELD_NUMBER = 10; private com.google.cloud.alloydb.v1beta.Instance.MachineConfig machineConfig_; /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ @java.lang.Override @@ -5678,19 +6349,26 @@ public boolean hasMachineConfig() { return machineConfig_ != null; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig() { - return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -5699,13 +6377,18 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig()
    * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
-    return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+  public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder
+      getMachineConfigOrBuilder() {
+    return machineConfig_ == null
+        ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()
+        : machineConfig_;
   }
 
   public static final int AVAILABILITY_TYPE_FIELD_NUMBER = 11;
   private int availabilityType_ = 0;
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5716,12 +6399,16 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -5732,17 +6419,25 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED + : result; } public static final int GCE_ZONE_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object gceZone_ = ""; /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5753,6 +6448,7 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ @java.lang.Override @@ -5761,14 +6457,15 @@ public java.lang.String getGceZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; } } /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -5779,16 +6476,15 @@ public java.lang.String getGceZone() {
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -5797,32 +6493,36 @@ public java.lang.String getGceZone() { } public static final int DATABASE_FLAGS_FIELD_NUMBER = 13; + private static final class DatabaseFlagsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField - internalGetDatabaseFlags() { + internalGetDatabaseFlags() { if (databaseFlags_ == null) { return com.google.protobuf.MapField.emptyMapField( DatabaseFlagsDefaultEntryHolder.defaultEntry); } return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5843,20 +6543,21 @@ public int getDatabaseFlagsCount() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public boolean containsDatabaseFlags(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsDatabaseFlags(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetDatabaseFlags().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getDatabaseFlags() {
     return getDatabaseFlagsMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5881,6 +6582,8 @@ public java.util.Map getDatabaseFlagsMap() {
     return internalGetDatabaseFlags().getMap();
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5901,17 +6604,19 @@ public java.util.Map getDatabaseFlagsMap() {
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -5932,11 +6637,11 @@ java.lang.String getDatabaseFlagsOrDefault(
    * map<string, string> database_flags = 13;
    */
   @java.lang.Override
-  public java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetDatabaseFlags().getMap();
+  public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetDatabaseFlags().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -5946,12 +6651,17 @@ public java.lang.String getDatabaseFlagsOrThrow(
   public static final int WRITABLE_NODE_FIELD_NUMBER = 19;
   private com.google.cloud.alloydb.v1beta.Instance.Node writableNode_;
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ @java.lang.Override @@ -5959,105 +6669,143 @@ public boolean hasWritableNode() { return writableNode_ != null; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode() { - return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() + : writableNode_; } /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder() { - return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() + : writableNode_; } public static final int NODES_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private java.util.List nodes_; /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public java.util.List getNodesList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List getNodesOrBuilderList() { return nodes_; } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getNodesCount() { return nodes_.size(); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { return nodes_.get(index); } /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index) { return nodes_.get(index); } public static final int QUERY_INSIGHTS_CONFIG_FIELD_NUMBER = 21; private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ @java.lang.Override @@ -6065,37 +6813,55 @@ public boolean hasQueryInsightsConfig() { return queryInsightsConfig_ != null; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + getQueryInsightsConfig() { + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() + : queryInsightsConfig_; } public static final int READ_POOL_CONFIG_FIELD_NUMBER = 14; private com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig readPoolConfig_; /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ @java.lang.Override @@ -6103,18 +6869,25 @@ public boolean hasReadPoolConfig() { return readPoolConfig_ != null; } /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig() { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } /** + * + * *
    * Read pool specific config.
    * 
@@ -6122,20 +6895,27 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder + getReadPoolConfigOrBuilder() { + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } public static final int IP_ADDRESS_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object ipAddress_ = ""; /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -6144,30 +6924,30 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -6178,6 +6958,8 @@ public java.lang.String getIpAddress() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_ = false; /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -6187,6 +6969,7 @@ public java.lang.String getIpAddress() {
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -6195,14 +6978,18 @@ public boolean getReconciling() { } public static final int ETAG_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ @java.lang.Override @@ -6211,29 +6998,29 @@ 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; } } /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @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 { @@ -6242,32 +7029,35 @@ public java.lang.String getEtag() { } public static final int ANNOTATIONS_FIELD_NUMBER = 18; + private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_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.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6277,20 +7067,21 @@ public int getAnnotationsCount() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public boolean containsAnnotations(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAnnotations(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6304,6 +7095,8 @@ public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6313,17 +7106,19 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  public /* nullable */ java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -6333,11 +7128,11 @@ java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 18;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAnnotations().getMap();
+  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -6347,6 +7142,8 @@ public java.lang.String getAnnotationsOrThrow(
   public static final int UPDATE_POLICY_FIELD_NUMBER = 22;
   private com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy updatePolicy_;
   /**
+   *
+   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6355,6 +7152,7 @@ public java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ @java.lang.Override @@ -6362,6 +7160,8 @@ public boolean hasUpdatePolicy() { return updatePolicy_ != null; } /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6370,13 +7170,18 @@ public boolean hasUpdatePolicy() {
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() { - return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; + return updatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() + : updatePolicy_; } /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -6388,17 +7193,24 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() {
    */
   @java.lang.Override
   public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
-    return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
+    return updatePolicy_ == null
+        ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()
+        : updatePolicy_;
   }
 
   public static final int CLIENT_CONNECTION_CONFIG_FIELD_NUMBER = 23;
   private com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig clientConnectionConfig_;
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ @java.lang.Override @@ -6406,30 +7218,46 @@ public boolean hasClientConnectionConfig() { return clientConnectionConfig_ != null; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + getClientConnectionConfig() { + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6441,8 +7269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6461,33 +7288,29 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deleteTime_ != null) { output.writeMessage(6, getDeleteTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 7); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 7); if (state_ != com.google.cloud.alloydb.v1beta.Instance.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { + if (instanceType_ + != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(9, instanceType_); } if (machineConfig_ != null) { output.writeMessage(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { + if (availabilityType_ + != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, gceZone_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetDatabaseFlags(), - DatabaseFlagsDefaultEntryHolder.defaultEntry, - 13); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetDatabaseFlags(), DatabaseFlagsDefaultEntryHolder.defaultEntry, 13); if (readPoolConfig_ != null) { output.writeMessage(14, getReadPoolConfig()); } @@ -6500,12 +7323,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, etag_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAnnotations(), - AnnotationsDefaultEntryHolder.defaultEntry, - 18); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 18); if (writableNode_ != null) { output.writeMessage(19, getWritableNode()); } @@ -6540,99 +7359,91 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDeleteTime()); - } - 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.computeMessageSize(6, getDeleteTime()); + } + 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__); } if (state_ != com.google.cloud.alloydb.v1beta.Instance.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } - if (instanceType_ != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, instanceType_); + if (instanceType_ + != com.google.cloud.alloydb.v1beta.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, instanceType_); } if (machineConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getMachineConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getMachineConfig()); } - if (availabilityType_ != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, availabilityType_); + if (availabilityType_ + != com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, availabilityType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gceZone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, gceZone_); } - for (java.util.Map.Entry entry - : internalGetDatabaseFlags().getMap().entrySet()) { - com.google.protobuf.MapEntry - databaseFlags__ = DatabaseFlagsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, databaseFlags__); + for (java.util.Map.Entry entry : + internalGetDatabaseFlags().getMap().entrySet()) { + com.google.protobuf.MapEntry databaseFlags__ = + DatabaseFlagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, databaseFlags__); } if (readPoolConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getReadPoolConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getReadPoolConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, ipAddress_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, etag_); } - for (java.util.Map.Entry entry - : internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry - annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, annotations__); + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, annotations__); } if (writableNode_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getWritableNode()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getWritableNode()); } for (int i = 0; i < nodes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, nodes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, nodes_.get(i)); } if (queryInsightsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getQueryInsightsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(21, getQueryInsightsConfig()); } if (updatePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getUpdatePolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getUpdatePolicy()); } if (clientConnectionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getClientConnectionConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(23, getClientConnectionConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6642,82 +7453,62 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.Instance)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.Instance other = (com.google.cloud.alloydb.v1beta.Instance) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getUid() - .equals(other.getUid())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getUid().equals(other.getUid())) 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 (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime() - .equals(other.getDeleteTime())) return false; + if (!getDeleteTime().equals(other.getDeleteTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (instanceType_ != other.instanceType_) return false; if (hasMachineConfig() != other.hasMachineConfig()) return false; if (hasMachineConfig()) { - if (!getMachineConfig() - .equals(other.getMachineConfig())) return false; + if (!getMachineConfig().equals(other.getMachineConfig())) return false; } if (availabilityType_ != other.availabilityType_) return false; - if (!getGceZone() - .equals(other.getGceZone())) return false; - if (!internalGetDatabaseFlags().equals( - other.internalGetDatabaseFlags())) return false; + if (!getGceZone().equals(other.getGceZone())) return false; + if (!internalGetDatabaseFlags().equals(other.internalGetDatabaseFlags())) return false; if (hasWritableNode() != other.hasWritableNode()) return false; if (hasWritableNode()) { - if (!getWritableNode() - .equals(other.getWritableNode())) return false; + if (!getWritableNode().equals(other.getWritableNode())) return false; } - if (!getNodesList() - .equals(other.getNodesList())) return false; + if (!getNodesList().equals(other.getNodesList())) return false; if (hasQueryInsightsConfig() != other.hasQueryInsightsConfig()) return false; if (hasQueryInsightsConfig()) { - if (!getQueryInsightsConfig() - .equals(other.getQueryInsightsConfig())) return false; + if (!getQueryInsightsConfig().equals(other.getQueryInsightsConfig())) return false; } if (hasReadPoolConfig() != other.hasReadPoolConfig()) return false; if (hasReadPoolConfig()) { - if (!getReadPoolConfig() - .equals(other.getReadPoolConfig())) return false; - } - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (getReconciling() - != other.getReconciling()) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (!internalGetAnnotations().equals( - other.internalGetAnnotations())) return false; + if (!getReadPoolConfig().equals(other.getReadPoolConfig())) return false; + } + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (getReconciling() != other.getReconciling()) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; if (hasUpdatePolicy() != other.hasUpdatePolicy()) return false; if (hasUpdatePolicy()) { - if (!getUpdatePolicy() - .equals(other.getUpdatePolicy())) return false; + if (!getUpdatePolicy().equals(other.getUpdatePolicy())) return false; } if (hasClientConnectionConfig() != other.hasClientConnectionConfig()) return false; if (hasClientConnectionConfig()) { - if (!getClientConnectionConfig() - .equals(other.getClientConnectionConfig())) return false; + if (!getClientConnectionConfig().equals(other.getClientConnectionConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6787,8 +7578,7 @@ public int hashCode() { hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getIpAddress().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) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); if (!internalGetAnnotations().getMap().isEmpty()) { @@ -6808,99 +7598,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.Instance parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.Instance parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.Instance parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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 Instance is a computing unit that an end customer can connect to.
    * It's the main unit of computing resources in AlloyDB.
@@ -6908,18 +7703,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.Instance)
       com.google.cloud.alloydb.v1beta.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_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();
@@ -6928,13 +7722,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 18:
           return internalGetAnnotations();
         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();
@@ -6943,28 +7736,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 18:
           return internalGetMutableAnnotations();
         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.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.Instance.class, com.google.cloud.alloydb.v1beta.Instance.Builder.class);
+              com.google.cloud.alloydb.v1beta.Instance.class,
+              com.google.cloud.alloydb.v1beta.Instance.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.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();
@@ -7038,9 +7830,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -7059,9 +7851,12 @@ public com.google.cloud.alloydb.v1beta.Instance build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.Instance buildPartial() {
-      com.google.cloud.alloydb.v1beta.Instance result = new com.google.cloud.alloydb.v1beta.Instance(this);
+      com.google.cloud.alloydb.v1beta.Instance result =
+          new com.google.cloud.alloydb.v1beta.Instance(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -7090,19 +7885,13 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.uid_ = uid_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null
-            ? createTime_
-            : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null
-            ? deleteTime_
-            : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.labels_ = internalGetLabels();
@@ -7115,9 +7904,8 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.instanceType_ = instanceType_;
       }
       if (((from_bitField0_ & 0x00000200) != 0)) {
-        result.machineConfig_ = machineConfigBuilder_ == null
-            ? machineConfig_
-            : machineConfigBuilder_.build();
+        result.machineConfig_ =
+            machineConfigBuilder_ == null ? machineConfig_ : machineConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
         result.availabilityType_ = availabilityType_;
@@ -7130,19 +7918,18 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.databaseFlags_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00002000) != 0)) {
-        result.writableNode_ = writableNodeBuilder_ == null
-            ? writableNode_
-            : writableNodeBuilder_.build();
+        result.writableNode_ =
+            writableNodeBuilder_ == null ? writableNode_ : writableNodeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00008000) != 0)) {
-        result.queryInsightsConfig_ = queryInsightsConfigBuilder_ == null
-            ? queryInsightsConfig_
-            : queryInsightsConfigBuilder_.build();
+        result.queryInsightsConfig_ =
+            queryInsightsConfigBuilder_ == null
+                ? queryInsightsConfig_
+                : queryInsightsConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00010000) != 0)) {
-        result.readPoolConfig_ = readPoolConfigBuilder_ == null
-            ? readPoolConfig_
-            : readPoolConfigBuilder_.build();
+        result.readPoolConfig_ =
+            readPoolConfigBuilder_ == null ? readPoolConfig_ : readPoolConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00020000) != 0)) {
         result.ipAddress_ = ipAddress_;
@@ -7158,14 +7945,14 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
         result.annotations_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00200000) != 0)) {
-        result.updatePolicy_ = updatePolicyBuilder_ == null
-            ? updatePolicy_
-            : updatePolicyBuilder_.build();
+        result.updatePolicy_ =
+            updatePolicyBuilder_ == null ? updatePolicy_ : updatePolicyBuilder_.build();
       }
       if (((from_bitField0_ & 0x00400000) != 0)) {
-        result.clientConnectionConfig_ = clientConnectionConfigBuilder_ == null
-            ? clientConnectionConfig_
-            : clientConnectionConfigBuilder_.build();
+        result.clientConnectionConfig_ =
+            clientConnectionConfigBuilder_ == null
+                ? clientConnectionConfig_
+                : clientConnectionConfigBuilder_.build();
       }
     }
 
@@ -7173,38 +7960,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.Instance result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.Instance) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.Instance)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.Instance) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7237,8 +8025,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
       if (other.hasDeleteTime()) {
         mergeDeleteTime(other.getDeleteTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000040;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
@@ -7257,8 +8044,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
         bitField0_ |= 0x00000800;
         onChanged();
       }
-      internalGetMutableDatabaseFlags().mergeFrom(
-          other.internalGetDatabaseFlags());
+      internalGetMutableDatabaseFlags().mergeFrom(other.internalGetDatabaseFlags());
       bitField0_ |= 0x00001000;
       if (other.hasWritableNode()) {
         mergeWritableNode(other.getWritableNode());
@@ -7281,9 +8067,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
             nodesBuilder_ = null;
             nodes_ = other.nodes_;
             bitField0_ = (bitField0_ & ~0x00004000);
-            nodesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodesFieldBuilder() : null;
+            nodesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodesFieldBuilder()
+                    : null;
           } else {
             nodesBuilder_.addAllMessages(other.nodes_);
           }
@@ -7308,8 +8095,7 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.Instance other) {
         bitField0_ |= 0x00080000;
         onChanged();
       }
-      internalGetMutableAnnotations().mergeFrom(
-          other.internalGetAnnotations());
+      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
       bitField0_ |= 0x00100000;
       if (other.hasUpdatePolicy()) {
         mergeUpdatePolicy(other.getUpdatePolicy());
@@ -7343,165 +8129,178 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              uid_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            case 58: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 58
-            case 64: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 72: {
-              instanceType_ = input.readEnum();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getMachineConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 88: {
-              availabilityType_ = input.readEnum();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 88
-            case 98: {
-              gceZone_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 98
-            case 106: {
-              com.google.protobuf.MapEntry
-              databaseFlags__ = input.readMessage(
-                  DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableDatabaseFlags().getMutableMap().put(
-                  databaseFlags__.getKey(), databaseFlags__.getValue());
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getReadPoolConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00010000;
-              break;
-            } // case 114
-            case 122: {
-              ipAddress_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00020000;
-              break;
-            } // case 122
-            case 128: {
-              reconciling_ = input.readBool();
-              bitField0_ |= 0x00040000;
-              break;
-            } // case 128
-            case 138: {
-              etag_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00080000;
-              break;
-            } // case 138
-            case 146: {
-              com.google.protobuf.MapEntry
-              annotations__ = input.readMessage(
-                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAnnotations().getMutableMap().put(
-                  annotations__.getKey(), annotations__.getValue());
-              bitField0_ |= 0x00100000;
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getWritableNodeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00002000;
-              break;
-            } // case 154
-            case 162: {
-              com.google.cloud.alloydb.v1beta.Instance.Node m =
-                  input.readMessage(
-                      com.google.cloud.alloydb.v1beta.Instance.Node.parser(),
-                      extensionRegistry);
-              if (nodesBuilder_ == null) {
-                ensureNodesIsMutable();
-                nodes_.add(m);
-              } else {
-                nodesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getQueryInsightsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00008000;
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getUpdatePolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00200000;
-              break;
-            } // case 178
-            case 186: {
-              input.readMessage(
-                  getClientConnectionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00400000;
-              break;
-            } // case 186
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                uid_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            case 58:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 58
+            case 64:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 72:
+              {
+                instanceType_ = input.readEnum();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getMachineConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 88:
+              {
+                availabilityType_ = input.readEnum();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 88
+            case 98:
+              {
+                gceZone_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.protobuf.MapEntry databaseFlags__ =
+                    input.readMessage(
+                        DatabaseFlagsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableDatabaseFlags()
+                    .getMutableMap()
+                    .put(databaseFlags__.getKey(), databaseFlags__.getValue());
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getReadPoolConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00010000;
+                break;
+              } // case 114
+            case 122:
+              {
+                ipAddress_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00020000;
+                break;
+              } // case 122
+            case 128:
+              {
+                reconciling_ = input.readBool();
+                bitField0_ |= 0x00040000;
+                break;
+              } // case 128
+            case 138:
+              {
+                etag_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00080000;
+                break;
+              } // case 138
+            case 146:
+              {
+                com.google.protobuf.MapEntry annotations__ =
+                    input.readMessage(
+                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableAnnotations()
+                    .getMutableMap()
+                    .put(annotations__.getKey(), annotations__.getValue());
+                bitField0_ |= 0x00100000;
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(getWritableNodeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00002000;
+                break;
+              } // case 154
+            case 162:
+              {
+                com.google.cloud.alloydb.v1beta.Instance.Node m =
+                    input.readMessage(
+                        com.google.cloud.alloydb.v1beta.Instance.Node.parser(), extensionRegistry);
+                if (nodesBuilder_ == null) {
+                  ensureNodesIsMutable();
+                  nodes_.add(m);
+                } else {
+                  nodesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(
+                    getQueryInsightsConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00008000;
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(getUpdatePolicyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00200000;
+                break;
+              } // case 178
+            case 186:
+              {
+                input.readMessage(
+                    getClientConnectionConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00400000;
+                break;
+              } // case 186
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -7511,10 +8310,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7528,13 +8330,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -7543,6 +8345,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7556,15 +8360,14 @@ public java.lang.String getName() {
      * 
* * 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 { @@ -7572,6 +8375,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7585,18 +8390,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7610,6 +8419,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -7619,6 +8429,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The name of the instance resource with the format:
      *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -7632,12 +8444,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -7647,18 +8461,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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; @@ -7667,20 +8483,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * 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 { @@ -7688,28 +8505,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -7719,17 +8543,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * User-settable and human-readable display name for the Instance.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -7739,19 +8567,21 @@ public Builder setDisplayNameBytes( private java.lang.Object uid_ = ""; /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; @@ -7760,21 +8590,22 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - public com.google.protobuf.ByteString - getUidBytes() { + public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uid_ = b; return b; } else { @@ -7782,30 +8613,37 @@ public java.lang.String getUid() { } } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUid(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uid_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearUid() { @@ -7815,18 +8653,22 @@ public Builder clearUid() { return this; } /** + * + * *
      * Output only. The system-generated UID of the resource. The UID is assigned
      * when the resource is created, and it is retained until it is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUidBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uid_ = value; bitField0_ |= 0x00000004; @@ -7836,39 +8678,58 @@ public Builder setUidBytes( 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. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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) { @@ -7884,14 +8745,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -7902,17 +8766,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -7925,11 +8793,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7942,11 +8814,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -7954,36 +8830,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Create time stamp
      * 
* - * .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. Create time stamp
      * 
* - * .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_; @@ -7991,39 +8879,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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8039,14 +8946,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8057,17 +8967,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8080,11 +8994,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -8097,11 +9015,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000010; @@ -8109,36 +9031,48 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.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. Update time stamp
      * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -8146,39 +9080,58 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deleteTimeBuilder_; /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -8194,14 +9147,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDeleteTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); } else { @@ -8212,17 +9168,21 @@ public Builder setDeleteTime( return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - deleteTime_ != null && - deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) + && deleteTime_ != null + && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeleteTimeBuilder().mergeFrom(value); } else { deleteTime_ = value; @@ -8235,11 +9195,15 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDeleteTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -8252,11 +9216,15 @@ public Builder clearDeleteTime() { return this; } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { bitField0_ |= 0x00000020; @@ -8264,56 +9232,66 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { return getDeleteTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; + return deleteTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deleteTime_; } } /** + * + * *
      * Output only. Delete time stamp
      * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp delete_time = 6 [(.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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), - getParentForChildren(), - isClean()); + deleteTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), getParentForChildren(), isClean()); deleteTime_ = null; } return deleteTimeBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -8322,10 +9300,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8333,20 +9314,21 @@ public int getLabelsCount() { * map<string, string> labels = 7; */ @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8358,6 +9340,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8365,17 +9349,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 7; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Labels as key value pairs
      * 
@@ -8383,95 +9369,108 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 7; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000040; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Labels as key value pairs
      * 
* * map<string, string> labels = 7; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private int state_ = 0; /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.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 serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8482,24 +9481,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.State getState() { - com.google.cloud.alloydb.v1beta.Instance.State result = com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); + com.google.cloud.alloydb.v1beta.Instance.State result = + com.google.cloud.alloydb.v1beta.Instance.State.forNumber(state_); return result == null ? com.google.cloud.alloydb.v1beta.Instance.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -8513,11 +9523,16 @@ public Builder setState(com.google.cloud.alloydb.v1beta.Instance.State value) { return this; } /** + * + * *
      * Output only. The current serving state of the instance.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -8529,22 +9544,33 @@ public Builder clearState() { private int instanceType_ = 0; /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ - @java.lang.Override public int getInstanceTypeValue() { + @java.lang.Override + public int getInstanceTypeValue() { return instanceType_; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ @@ -8555,24 +9581,37 @@ public Builder setInstanceTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType() { - com.google.cloud.alloydb.v1beta.Instance.InstanceType result = com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.Instance.InstanceType result = + com.google.cloud.alloydb.v1beta.Instance.InstanceType.forNumber(instanceType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.InstanceType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The instanceType to set. * @return This builder for chaining. */ @@ -8586,11 +9625,16 @@ public Builder setInstanceType(com.google.cloud.alloydb.v1beta.Instance.Instance return this; } /** + * + * *
      * Required. The type of the instance. Specified at creation time.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearInstanceType() { @@ -8602,36 +9646,49 @@ public Builder clearInstanceType() { private com.google.cloud.alloydb.v1beta.Instance.MachineConfig machineConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> machineConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.MachineConfig, + com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> + machineConfigBuilder_; /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ public boolean hasMachineConfig() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
      * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig() { if (machineConfigBuilder_ == null) { - return machineConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_; + return machineConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() + : machineConfig_; } else { return machineConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8653,6 +9710,8 @@ public Builder setMachineConfig(com.google.cloud.alloydb.v1beta.Instance.Machine
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8672,6 +9731,8 @@ public Builder setMachineConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8679,11 +9740,13 @@ public Builder setMachineConfig(
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public Builder mergeMachineConfig(com.google.cloud.alloydb.v1beta.Instance.MachineConfig value) {
+    public Builder mergeMachineConfig(
+        com.google.cloud.alloydb.v1beta.Instance.MachineConfig value) {
       if (machineConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000200) != 0) &&
-          machineConfig_ != null &&
-          machineConfig_ != com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000200) != 0)
+            && machineConfig_ != null
+            && machineConfig_
+                != com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()) {
           getMachineConfigBuilder().mergeFrom(value);
         } else {
           machineConfig_ = value;
@@ -8696,6 +9759,8 @@ public Builder mergeMachineConfig(com.google.cloud.alloydb.v1beta.Instance.Machi
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8714,6 +9779,8 @@ public Builder clearMachineConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8721,12 +9788,15 @@ public Builder clearMachineConfig() {
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder getMachineConfigBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder
+        getMachineConfigBuilder() {
       bitField0_ |= 0x00000200;
       onChanged();
       return getMachineConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8734,15 +9804,19 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder getMachine
      *
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder
+        getMachineConfigOrBuilder() {
       if (machineConfigBuilder_ != null) {
         return machineConfigBuilder_.getMessageOrBuilder();
       } else {
-        return machineConfig_ == null ?
-            com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance() : machineConfig_;
+        return machineConfig_ == null
+            ? com.google.cloud.alloydb.v1beta.Instance.MachineConfig.getDefaultInstance()
+            : machineConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configurations for the machines that host the underlying
      * database engine.
@@ -8751,14 +9825,17 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
      * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder> 
+            com.google.cloud.alloydb.v1beta.Instance.MachineConfig,
+            com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder,
+            com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>
         getMachineConfigFieldBuilder() {
       if (machineConfigBuilder_ == null) {
-        machineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.MachineConfig, com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>(
-                getMachineConfig(),
-                getParentForChildren(),
-                isClean());
+        machineConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1beta.Instance.MachineConfig,
+                com.google.cloud.alloydb.v1beta.Instance.MachineConfig.Builder,
+                com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder>(
+                getMachineConfig(), getParentForChildren(), isClean());
         machineConfig_ = null;
       }
       return machineConfigBuilder_;
@@ -8766,6 +9843,8 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
 
     private int availabilityType_ = 0;
     /**
+     *
+     *
      * 
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8776,12 +9855,16 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ - @java.lang.Override public int getAvailabilityTypeValue() { + @java.lang.Override + public int getAvailabilityTypeValue() { return availabilityType_; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8792,6 +9875,7 @@ public com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachin
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @param value The enum numeric value on the wire for availabilityType to set. * @return This builder for chaining. */ @@ -8802,6 +9886,8 @@ public Builder setAvailabilityTypeValue(int value) { return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8812,14 +9898,20 @@ public Builder setAvailabilityTypeValue(int value) {
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType() { - com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); - return result == null ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType result = + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.forNumber(availabilityType_); + return result == null + ? com.google.cloud.alloydb.v1beta.Instance.AvailabilityType.UNRECOGNIZED + : result; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8830,10 +9922,12 @@ public com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailability
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @param value The availabilityType to set. * @return This builder for chaining. */ - public Builder setAvailabilityType(com.google.cloud.alloydb.v1beta.Instance.AvailabilityType value) { + public Builder setAvailabilityType( + com.google.cloud.alloydb.v1beta.Instance.AvailabilityType value) { if (value == null) { throw new NullPointerException(); } @@ -8843,6 +9937,8 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1beta.Instance.Avai return this; } /** + * + * *
      * Availability type of an Instance.
      * If empty, defaults to REGIONAL for primary instances.
@@ -8853,6 +9949,7 @@ public Builder setAvailabilityType(com.google.cloud.alloydb.v1beta.Instance.Avai
      * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return This builder for chaining. */ public Builder clearAvailabilityType() { @@ -8864,6 +9961,8 @@ public Builder clearAvailabilityType() { private java.lang.Object gceZone_ = ""; /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8874,13 +9973,13 @@ public Builder clearAvailabilityType() {
      * 
* * string gce_zone = 12; + * * @return The gceZone. */ public java.lang.String getGceZone() { java.lang.Object ref = gceZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gceZone_ = s; return s; @@ -8889,6 +9988,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8899,15 +10000,14 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - public com.google.protobuf.ByteString - getGceZoneBytes() { + public com.google.protobuf.ByteString getGceZoneBytes() { java.lang.Object ref = gceZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gceZone_ = b; return b; } else { @@ -8915,6 +10015,8 @@ public java.lang.String getGceZone() { } } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8925,18 +10027,22 @@ public java.lang.String getGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The gceZone to set. * @return This builder for chaining. */ - public Builder setGceZone( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZone(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } gceZone_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8947,6 +10053,7 @@ public Builder setGceZone(
      * 
* * string gce_zone = 12; + * * @return This builder for chaining. */ public Builder clearGceZone() { @@ -8956,6 +10063,8 @@ public Builder clearGceZone() { return this; } /** + * + * *
      * The Compute Engine zone that the instance should serve from, per
      * https://cloud.google.com/compute/docs/regions-zones
@@ -8966,12 +10075,14 @@ public Builder clearGceZone() {
      * 
* * string gce_zone = 12; + * * @param value The bytes for gceZone to set. * @return This builder for chaining. */ - public Builder setGceZoneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setGceZoneBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); gceZone_ = value; bitField0_ |= 0x00000800; @@ -8979,8 +10090,8 @@ public Builder setGceZoneBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> databaseFlags_; + private com.google.protobuf.MapField databaseFlags_; + private com.google.protobuf.MapField internalGetDatabaseFlags() { if (databaseFlags_ == null) { @@ -8989,11 +10100,12 @@ public Builder setGceZoneBytes( } return databaseFlags_; } + private com.google.protobuf.MapField internalGetMutableDatabaseFlags() { if (databaseFlags_ == null) { - databaseFlags_ = com.google.protobuf.MapField.newMapField( - DatabaseFlagsDefaultEntryHolder.defaultEntry); + databaseFlags_ = + com.google.protobuf.MapField.newMapField(DatabaseFlagsDefaultEntryHolder.defaultEntry); } if (!databaseFlags_.isMutable()) { databaseFlags_ = databaseFlags_.copy(); @@ -9002,10 +10114,13 @@ public Builder setGceZoneBytes( onChanged(); return databaseFlags_; } + public int getDatabaseFlagsCount() { return internalGetDatabaseFlags().getMap().size(); } /** + * + * *
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9026,20 +10141,21 @@ public int getDatabaseFlagsCount() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public boolean containsDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetDatabaseFlags().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getDatabaseFlagsMap()} instead.
-     */
+    /** Use {@link #getDatabaseFlagsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getDatabaseFlags() {
       return getDatabaseFlagsMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9064,6 +10180,8 @@ public java.util.Map getDatabaseFlagsMap() {
       return internalGetDatabaseFlags().getMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9084,17 +10202,19 @@ public java.util.Map getDatabaseFlagsMap() {
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+    public /* nullable */ java.lang.String getDatabaseFlagsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9115,23 +10235,25 @@ java.lang.String getDatabaseFlagsOrDefault(
      * map<string, string> database_flags = 13;
      */
     @java.lang.Override
-    public java.lang.String getDatabaseFlagsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetDatabaseFlags().getMap();
+    public java.lang.String getDatabaseFlagsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetDatabaseFlags().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearDatabaseFlags() {
       bitField0_ = (bitField0_ & ~0x00001000);
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .clear();
+      internalGetMutableDatabaseFlags().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9151,23 +10273,22 @@ public Builder clearDatabaseFlags() {
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder removeDatabaseFlags(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .remove(key);
+    public Builder removeDatabaseFlags(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableDatabaseFlags() {
+    public java.util.Map getMutableDatabaseFlags() {
       bitField0_ |= 0x00001000;
       return internalGetMutableDatabaseFlags().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9187,17 +10308,20 @@ public Builder removeDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putDatabaseFlags(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .put(key, value);
+    public Builder putDatabaseFlags(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableDatabaseFlags().getMutableMap().put(key, value);
       bitField0_ |= 0x00001000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Database flags. Set at instance level.
      *  * They are copied from primary instance on read instance creation.
@@ -9217,52 +10341,69 @@ public Builder putDatabaseFlags(
      *
      * map<string, string> database_flags = 13;
      */
-    public Builder putAllDatabaseFlags(
-        java.util.Map values) {
-      internalGetMutableDatabaseFlags().getMutableMap()
-          .putAll(values);
+    public Builder putAllDatabaseFlags(java.util.Map values) {
+      internalGetMutableDatabaseFlags().getMutableMap().putAll(values);
       bitField0_ |= 0x00001000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1beta.Instance.Node writableNode_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> writableNodeBuilder_;
+            com.google.cloud.alloydb.v1beta.Instance.Node,
+            com.google.cloud.alloydb.v1beta.Instance.Node.Builder,
+            com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>
+        writableNodeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ public boolean hasWritableNode() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ public com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode() { if (writableNodeBuilder_ == null) { - return writableNode_ == null ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() + : writableNode_; } else { return writableNodeBuilder_.getMessage(); } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (writableNodeBuilder_ == null) { @@ -9278,12 +10419,16 @@ public Builder setWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node val return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setWritableNode( com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -9297,18 +10442,23 @@ public Builder setWritableNode( return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (writableNodeBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) && - writableNode_ != null && - writableNode_ != com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) { + if (((bitField0_ & 0x00002000) != 0) + && writableNode_ != null + && writableNode_ + != com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()) { getWritableNodeBuilder().mergeFrom(value); } else { writableNode_ = value; @@ -9321,12 +10471,16 @@ public Builder mergeWritableNode(com.google.cloud.alloydb.v1beta.Instance.Node v return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearWritableNode() { bitField0_ = (bitField0_ & ~0x00002000); @@ -9339,12 +10493,16 @@ public Builder clearWritableNode() { return this; } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getWritableNodeBuilder() { bitField0_ |= 0x00002000; @@ -9352,62 +10510,82 @@ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getWritableNodeBuil return getWritableNodeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder() { if (writableNodeBuilder_ != null) { return writableNodeBuilder_.getMessageOrBuilder(); } else { - return writableNode_ == null ? - com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() : writableNode_; + return writableNode_ == null + ? com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance() + : writableNode_; } } /** + * + * *
      * Output only. This is set for the read-write VM of the PRIMARY instance
      * only.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.Node, + com.google.cloud.alloydb.v1beta.Instance.Node.Builder, + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> getWritableNodeFieldBuilder() { if (writableNodeBuilder_ == null) { - writableNodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( - getWritableNode(), - getParentForChildren(), - isClean()); + writableNodeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.Node, + com.google.cloud.alloydb.v1beta.Instance.Node.Builder, + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( + getWritableNode(), getParentForChildren(), isClean()); writableNode_ = null; } return writableNodeBuilder_; } private java.util.List nodes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodesIsMutable() { if (!((bitField0_ & 0x00004000) != 0)) { nodes_ = new java.util.ArrayList(nodes_); bitField0_ |= 0x00004000; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> nodesBuilder_; + com.google.cloud.alloydb.v1beta.Instance.Node, + com.google.cloud.alloydb.v1beta.Instance.Node.Builder, + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> + nodesBuilder_; /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public java.util.List getNodesList() { if (nodesBuilder_ == null) { @@ -9417,12 +10595,16 @@ public java.util.List getNodesLis } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getNodesCount() { if (nodesBuilder_ == null) { @@ -9432,12 +10614,16 @@ public int getNodesCount() { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { if (nodesBuilder_ == null) { @@ -9447,15 +10633,18 @@ public com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index) { } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setNodes( - int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { + public Builder setNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9469,12 +10658,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setNodes( int index, com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -9488,12 +10681,16 @@ public Builder setNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { @@ -9509,15 +10706,18 @@ public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node value) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addNodes( - int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { + public Builder addNodes(int index, com.google.cloud.alloydb.v1beta.Instance.Node value) { if (nodesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9531,15 +10731,18 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addNodes( - com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { + public Builder addNodes(com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); nodes_.add(builderForValue.build()); @@ -9550,12 +10753,16 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addNodes( int index, com.google.cloud.alloydb.v1beta.Instance.Node.Builder builderForValue) { @@ -9569,19 +10776,22 @@ public Builder addNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllNodes( java.lang.Iterable values) { if (nodesBuilder_ == null) { ensureNodesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodes_); onChanged(); } else { nodesBuilder_.addAllMessages(values); @@ -9589,12 +10799,16 @@ public Builder addAllNodes( return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearNodes() { if (nodesBuilder_ == null) { @@ -9607,12 +10821,16 @@ public Builder clearNodes() { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeNodes(int index) { if (nodesBuilder_ == null) { @@ -9625,42 +10843,53 @@ public Builder removeNodes(int index) { return this; } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getNodesBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Instance.Node.Builder getNodesBuilder(int index) { return getNodesFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index) { if (nodesBuilder_ == null) { - return nodes_.get(index); } else { + return nodes_.get(index); + } else { return nodesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesOrBuilderList() { + public java.util.List + getNodesOrBuilderList() { if (nodesBuilder_ != null) { return nodesBuilder_.getMessageOrBuilderList(); } else { @@ -9668,94 +10897,131 @@ public com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( } } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder() { - return getNodesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); + return getNodesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder( - int index) { - return getNodesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Node.Builder addNodesBuilder(int index) { + return getNodesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.Node.getDefaultInstance()); } /** + * + * *
      * Output only. List of available read-only VMs in this instance, including
      * the standby for a PRIMARY instance.
      * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getNodesBuilderList() { + public java.util.List + getNodesBuilderList() { return getNodesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.Node, + com.google.cloud.alloydb.v1beta.Instance.Node.Builder, + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder> getNodesFieldBuilder() { if (nodesBuilder_ == null) { - nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.Node, com.google.cloud.alloydb.v1beta.Instance.Node.Builder, com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( - nodes_, - ((bitField0_ & 0x00004000) != 0), - getParentForChildren(), - isClean()); + nodesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.Node, + com.google.cloud.alloydb.v1beta.Instance.Node.Builder, + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder>( + nodes_, ((bitField0_ & 0x00004000) != 0), getParentForChildren(), isClean()); nodes_ = null; } return nodesBuilder_; } - private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig queryInsightsConfig_; + private com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + queryInsightsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> queryInsightsConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> + queryInsightsConfigBuilder_; /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ public boolean hasQueryInsightsConfig() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + getQueryInsightsConfig() { if (queryInsightsConfigBuilder_ == null) { - return queryInsightsConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + .getDefaultInstance() + : queryInsightsConfig_; } else { return queryInsightsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { + public Builder setQueryInsightsConfig( + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9769,14 +11035,19 @@ public Builder setQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance.Q return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder setQueryInsightsConfig( - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder + builderForValue) { if (queryInsightsConfigBuilder_ == null) { queryInsightsConfig_ = builderForValue.build(); } else { @@ -9787,17 +11058,24 @@ public Builder setQueryInsightsConfig( return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { + public Builder mergeQueryInsightsConfig( + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig value) { if (queryInsightsConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - queryInsightsConfig_ != null && - queryInsightsConfig_ != com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && queryInsightsConfig_ != null + && queryInsightsConfig_ + != com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + .getDefaultInstance()) { getQueryInsightsConfigBuilder().mergeFrom(value); } else { queryInsightsConfig_ = value; @@ -9810,11 +11088,15 @@ public Builder mergeQueryInsightsConfig(com.google.cloud.alloydb.v1beta.Instance return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ public Builder clearQueryInsightsConfig() { bitField0_ = (bitField0_ & ~0x00008000); @@ -9827,48 +11109,67 @@ public Builder clearQueryInsightsConfig() { return this; } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder getQueryInsightsConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder + getQueryInsightsConfigBuilder() { bitField0_ |= 0x00008000; onChanged(); return getQueryInsightsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder() { if (queryInsightsConfigBuilder_ != null) { return queryInsightsConfigBuilder_.getMessageOrBuilder(); } else { - return queryInsightsConfig_ == null ? - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.getDefaultInstance() : queryInsightsConfig_; + return queryInsightsConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig + .getDefaultInstance() + : queryInsightsConfig_; } } /** + * + * *
      * Configuration for query insights.
      * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder> getQueryInsightsConfigFieldBuilder() { if (queryInsightsConfigBuilder_ == null) { - queryInsightsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder>( - getQueryInsightsConfig(), - getParentForChildren(), - isClean()); + queryInsightsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder>( + getQueryInsightsConfig(), getParentForChildren(), isClean()); queryInsightsConfig_ = null; } return queryInsightsConfigBuilder_; @@ -9876,41 +11177,55 @@ public com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBui private com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig readPoolConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> readPoolConfigBuilder_; + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> + readPoolConfigBuilder_; /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ public boolean hasReadPoolConfig() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig() { if (readPoolConfigBuilder_ == null) { - return readPoolConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } else { return readPoolConfigBuilder_.getMessage(); } } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder setReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { + public Builder setReadPoolConfig( + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9924,6 +11239,8 @@ public Builder setReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.ReadPo return this; } /** + * + * *
      * Read pool specific config.
      * 
@@ -9942,17 +11259,21 @@ public Builder setReadPoolConfig( return this; } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { + public Builder mergeReadPoolConfig( + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig value) { if (readPoolConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - readPoolConfig_ != null && - readPoolConfig_ != com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && readPoolConfig_ != null + && readPoolConfig_ + != com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance()) { getReadPoolConfigBuilder().mergeFrom(value); } else { readPoolConfig_ = value; @@ -9965,6 +11286,8 @@ public Builder mergeReadPoolConfig(com.google.cloud.alloydb.v1beta.Instance.Read return this; } /** + * + * *
      * Read pool specific config.
      * 
@@ -9982,33 +11305,42 @@ public Builder clearReadPoolConfig() { return this; } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder getReadPoolConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder + getReadPoolConfigBuilder() { bitField0_ |= 0x00010000; onChanged(); return getReadPoolConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Read pool specific config.
      * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ - public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder + getReadPoolConfigOrBuilder() { if (readPoolConfigBuilder_ != null) { return readPoolConfigBuilder_.getMessageOrBuilder(); } else { - return readPoolConfig_ == null ? - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() : readPoolConfig_; + return readPoolConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.getDefaultInstance() + : readPoolConfig_; } } /** + * + * *
      * Read pool specific config.
      * 
@@ -10016,14 +11348,17 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadP * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder> getReadPoolConfigFieldBuilder() { if (readPoolConfigBuilder_ == null) { - readPoolConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder>( - getReadPoolConfig(), - getParentForChildren(), - isClean()); + readPoolConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder>( + getReadPoolConfig(), getParentForChildren(), isClean()); readPoolConfig_ = null; } return readPoolConfigBuilder_; @@ -10031,19 +11366,21 @@ public com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadP private java.lang.Object ipAddress_ = ""; /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -10052,21 +11389,22 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -10074,30 +11412,37 @@ public java.lang.String getIpAddress() { } } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddress(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ipAddress_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { @@ -10107,18 +11452,22 @@ public Builder clearIpAddress() { return this; } /** + * + * *
      * Output only. The IP address for the Instance.
      * This is the connection endpoint for an end-user application.
      * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ipAddress_ = value; bitField0_ |= 0x00020000; @@ -10126,8 +11475,10 @@ public Builder setIpAddressBytes( return this; } - private boolean reconciling_ ; + private boolean reconciling_; /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10137,6 +11488,7 @@ public Builder setIpAddressBytes(
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ @java.lang.Override @@ -10144,6 +11496,8 @@ public boolean getReconciling() { return reconciling_; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10153,6 +11507,7 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The reconciling to set. * @return This builder for chaining. */ @@ -10164,6 +11519,8 @@ public Builder setReconciling(boolean value) { return this; } /** + * + * *
      * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
      * Set to true if the current state of Instance does not match the user's
@@ -10173,6 +11530,7 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReconciling() { @@ -10184,18 +11542,20 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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; @@ -10204,20 +11564,21 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @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 { @@ -10225,28 +11586,35 @@ public java.lang.String getEtag() { } } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -10256,17 +11624,21 @@ public Builder clearEtag() { return this; } /** + * + * *
      * For Resource freshness validation (https://google.aip.dev/154)
      * 
* * string etag = 17; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00080000; @@ -10274,8 +11646,8 @@ public Builder setEtagBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> annotations_; + private com.google.protobuf.MapField annotations_; + private com.google.protobuf.MapField internalGetAnnotations() { if (annotations_ == null) { @@ -10284,11 +11656,12 @@ public Builder setEtagBytes( } return annotations_; } + private com.google.protobuf.MapField internalGetMutableAnnotations() { if (annotations_ == null) { - annotations_ = com.google.protobuf.MapField.newMapField( - AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -10297,10 +11670,13 @@ public Builder setEtagBytes( onChanged(); return annotations_; } + public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** + * + * *
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10310,20 +11686,21 @@ public int getAnnotationsCount() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public boolean containsAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAnnotationsMap()} instead.
-     */
+    /** Use {@link #getAnnotationsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10337,6 +11714,8 @@ public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10346,17 +11725,19 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getAnnotationsOrDefault(
+    public /* nullable */ java.lang.String getAnnotationsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10366,23 +11747,25 @@ java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 18;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAnnotations().getMap();
+    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearAnnotations() {
       bitField0_ = (bitField0_ & ~0x00100000);
-      internalGetMutableAnnotations().getMutableMap()
-          .clear();
+      internalGetMutableAnnotations().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10391,23 +11774,22 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 18;
      */
-    public Builder removeAnnotations(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .remove(key);
+    public Builder removeAnnotations(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAnnotations().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableAnnotations() {
+    public java.util.Map getMutableAnnotations() {
       bitField0_ |= 0x00100000;
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10416,17 +11798,20 @@ public Builder removeAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAnnotations(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAnnotations().getMutableMap()
-          .put(key, value);
+    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAnnotations().getMutableMap().put(key, value);
       bitField0_ |= 0x00100000;
       return this;
     }
     /**
+     *
+     *
      * 
      * Annotations to allow client tools to store small amount of arbitrary data.
      * This is distinct from labels.
@@ -10435,18 +11820,21 @@ public Builder putAnnotations(
      *
      * map<string, string> annotations = 18;
      */
-    public Builder putAllAnnotations(
-        java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap()
-          .putAll(values);
+    public Builder putAllAnnotations(java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap().putAll(values);
       bitField0_ |= 0x00100000;
       return this;
     }
 
     private com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy updatePolicy_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder> updatePolicyBuilder_;
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>
+        updatePolicyBuilder_;
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10455,12 +11843,15 @@ public Builder putAllAnnotations(
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ public boolean hasUpdatePolicy() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10469,16 +11860,21 @@ public boolean hasUpdatePolicy() {
      * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy() { if (updatePolicyBuilder_ == null) { - return updatePolicy_ == null ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_; + return updatePolicy_ == null + ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() + : updatePolicy_; } else { return updatePolicyBuilder_.getMessage(); } } /** + * + * *
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10502,6 +11898,8 @@ public Builder setUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.UpdatePo
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10523,6 +11921,8 @@ public Builder setUpdatePolicy(
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10534,9 +11934,10 @@ public Builder setUpdatePolicy(
      */
     public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy value) {
       if (updatePolicyBuilder_ == null) {
-        if (((bitField0_ & 0x00200000) != 0) &&
-          updatePolicy_ != null &&
-          updatePolicy_ != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) {
+        if (((bitField0_ & 0x00200000) != 0)
+            && updatePolicy_ != null
+            && updatePolicy_
+                != com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()) {
           getUpdatePolicyBuilder().mergeFrom(value);
         } else {
           updatePolicy_ = value;
@@ -10549,6 +11950,8 @@ public Builder mergeUpdatePolicy(com.google.cloud.alloydb.v1beta.Instance.Update
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10569,6 +11972,8 @@ public Builder clearUpdatePolicy() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10584,6 +11989,8 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
       return getUpdatePolicyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10593,15 +12000,19 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder getUpdatePo
      *
      * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      */
-    public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder() {
+    public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder
+        getUpdatePolicyOrBuilder() {
       if (updatePolicyBuilder_ != null) {
         return updatePolicyBuilder_.getMessageOrBuilder();
       } else {
-        return updatePolicy_ == null ?
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance() : updatePolicy_;
+        return updatePolicy_ == null
+            ? com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.getDefaultInstance()
+            : updatePolicy_;
       }
     }
     /**
+     *
+     *
      * 
      * Update policy that will be applied during instance update.
      * This field is not persisted when you update the instance.
@@ -10612,14 +12023,17 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdateP
      * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder> 
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
+            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>
         getUpdatePolicyFieldBuilder() {
       if (updatePolicyBuilder_ == null) {
-        updatePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder, com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>(
-                getUpdatePolicy(),
-                getParentForChildren(),
-                isClean());
+        updatePolicyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy,
+                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy.Builder,
+                com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder>(
+                getUpdatePolicy(), getParentForChildren(), isClean());
         updatePolicy_ = null;
       }
       return updatePolicyBuilder_;
@@ -10627,41 +12041,62 @@ public com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdateP
 
     private com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig clientConnectionConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> clientConnectionConfigBuilder_;
+            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig,
+            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder,
+            com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>
+        clientConnectionConfigBuilder_;
     /**
+     *
+     *
      * 
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ public boolean hasClientConnectionConfig() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + getClientConnectionConfig() { if (clientConnectionConfigBuilder_ == null) { - return clientConnectionConfig_ == null ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } else { return clientConnectionConfigBuilder_.getMessage(); } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { + public Builder setClientConnectionConfig( + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10675,11 +12110,15 @@ public Builder setClientConnectionConfig(com.google.cloud.alloydb.v1beta.Instanc return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setClientConnectionConfig( com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder builderForValue) { @@ -10693,17 +12132,24 @@ public Builder setClientConnectionConfig( return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { + public Builder mergeClientConnectionConfig( + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig value) { if (clientConnectionConfigBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) && - clientConnectionConfig_ != null && - clientConnectionConfig_ != com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00400000) != 0) + && clientConnectionConfig_ != null + && clientConnectionConfig_ + != com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig + .getDefaultInstance()) { getClientConnectionConfigBuilder().mergeFrom(value); } else { clientConnectionConfig_ = value; @@ -10716,11 +12162,15 @@ public Builder mergeClientConnectionConfig(com.google.cloud.alloydb.v1beta.Insta return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearClientConnectionConfig() { bitField0_ = (bitField0_ & ~0x00400000); @@ -10733,55 +12183,73 @@ public Builder clearClientConnectionConfig() { return this; } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder getClientConnectionConfigBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder + getClientConnectionConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getClientConnectionConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder() { + public com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder() { if (clientConnectionConfigBuilder_ != null) { return clientConnectionConfigBuilder_.getMessageOrBuilder(); } else { - return clientConnectionConfig_ == null ? - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() : clientConnectionConfig_; + return clientConnectionConfig_ == null + ? com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.getDefaultInstance() + : clientConnectionConfig_; } } /** + * + * *
      * Optional. Client connection specific configurations
      * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder> getClientConnectionConfigFieldBuilder() { if (clientConnectionConfigBuilder_ == null) { - clientConnectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>( - getClientConnectionConfig(), - getParentForChildren(), - isClean()); + clientConnectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig.Builder, + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder>( + getClientConnectionConfig(), getParentForChildren(), isClean()); clientConnectionConfig_ = null; } return clientConnectionConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10791,12 +12259,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.Instance) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.Instance) private static final com.google.cloud.alloydb.v1beta.Instance DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.Instance(); } @@ -10805,27 +12273,27 @@ public static com.google.cloud.alloydb.v1beta.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; @@ -10840,6 +12308,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java index e988b006b4dd..cb9edc16954f 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface InstanceOrBuilder extends +public interface InstanceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.Instance) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -21,10 +39,13 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The name of the instance resource with the format:
    *  * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id}
@@ -38,135 +59,180 @@ public interface InstanceOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * User-settable and human-readable display name for the Instance.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The uid. */ java.lang.String getUid(); /** + * + * *
    * Output only. The system-generated UID of the resource. The UID is assigned
    * when the resource is created, and it is retained until it is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for uid. */ - com.google.protobuf.ByteString - getUidBytes(); + com.google.protobuf.ByteString getUidBytes(); /** + * + * *
    * Output only. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Create time stamp
    * 
* - * .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. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Update time stamp
    * 
* - * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. Delete time stamp
    * 
* - * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp delete_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -175,30 +241,31 @@ public interface InstanceOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Labels as key value pairs
    * 
* * 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(); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Labels as key value pairs
    * 
@@ -206,79 +273,108 @@ boolean containsLabels( * map<string, string> labels = 7; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Labels as key value pairs
    * 
* * map<string, string> labels = 7; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The current serving state of the instance.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.alloydb.v1beta.Instance.State getState(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** + * + * *
    * Required. The type of the instance. Specified at creation time.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instanceType. */ com.google.cloud.alloydb.v1beta.Instance.InstanceType getInstanceType(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return Whether the machineConfig field is set. */ boolean hasMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
    * 
* * .google.cloud.alloydb.v1beta.Instance.MachineConfig machine_config = 10; + * * @return The machineConfig. */ com.google.cloud.alloydb.v1beta.Instance.MachineConfig getMachineConfig(); /** + * + * *
    * Configurations for the machines that host the underlying
    * database engine.
@@ -289,6 +385,8 @@ java.lang.String getLabelsOrThrow(
   com.google.cloud.alloydb.v1beta.Instance.MachineConfigOrBuilder getMachineConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -299,10 +397,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The enum numeric value on the wire for availabilityType. */ int getAvailabilityTypeValue(); /** + * + * *
    * Availability type of an Instance.
    * If empty, defaults to REGIONAL for primary instances.
@@ -313,11 +414,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.Instance.AvailabilityType availability_type = 11; + * * @return The availabilityType. */ com.google.cloud.alloydb.v1beta.Instance.AvailabilityType getAvailabilityType(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -328,10 +432,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The gceZone. */ java.lang.String getGceZone(); /** + * + * *
    * The Compute Engine zone that the instance should serve from, per
    * https://cloud.google.com/compute/docs/regions-zones
@@ -342,12 +449,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string gce_zone = 12; + * * @return The bytes for gceZone. */ - com.google.protobuf.ByteString - getGceZoneBytes(); + com.google.protobuf.ByteString getGceZoneBytes(); /** + * + * *
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -369,6 +478,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getDatabaseFlagsCount();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -388,15 +499,13 @@ java.lang.String getLabelsOrThrow(
    *
    * map<string, string> database_flags = 13;
    */
-  boolean containsDatabaseFlags(
-      java.lang.String key);
-  /**
-   * Use {@link #getDatabaseFlagsMap()} instead.
-   */
+  boolean containsDatabaseFlags(java.lang.String key);
+  /** Use {@link #getDatabaseFlagsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getDatabaseFlags();
+  java.util.Map getDatabaseFlags();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -416,9 +525,10 @@ boolean containsDatabaseFlags(
    *
    * map<string, string> database_flags = 13;
    */
-  java.util.Map
-  getDatabaseFlagsMap();
+  java.util.Map getDatabaseFlagsMap();
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -439,11 +549,13 @@ boolean containsDatabaseFlags(
    * map<string, string> database_flags = 13;
    */
   /* nullable */
-java.lang.String getDatabaseFlagsOrDefault(
+  java.lang.String getDatabaseFlagsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Database flags. Set at instance level.
    *  * They are copied from primary instance on read instance creation.
@@ -463,134 +575,188 @@ java.lang.String getDatabaseFlagsOrDefault(
    *
    * map<string, string> database_flags = 13;
    */
-  java.lang.String getDatabaseFlagsOrThrow(
-      java.lang.String key);
+  java.lang.String getDatabaseFlagsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the writableNode field is set. */ boolean hasWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The writableNode. */ com.google.cloud.alloydb.v1beta.Instance.Node getWritableNode(); /** + * + * *
    * Output only. This is set for the read-write VM of the PRIMARY instance
    * only.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.Instance.Node writable_node = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getWritableNodeOrBuilder(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List - getNodesList(); + java.util.List getNodesList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.alloydb.v1beta.Instance.Node getNodes(int index); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getNodesCount(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getNodesOrBuilderList(); /** + * + * *
    * Output only. List of available read-only VMs in this instance, including
    * the standby for a PRIMARY instance.
    * 
* - * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.alloydb.v1beta.Instance.Node nodes = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(int index); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return Whether the queryInsightsConfig field is set. */ boolean hasQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * * @return The queryInsightsConfig. */ com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig getQueryInsightsConfig(); /** + * + * *
    * Configuration for query insights.
    * 
* - * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * + * .google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfig query_insights_config = 21; + * */ - com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder getQueryInsightsConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.Instance.QueryInsightsInstanceConfigOrBuilder + getQueryInsightsConfigOrBuilder(); /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return Whether the readPoolConfig field is set. */ boolean hasReadPoolConfig(); /** + * + * *
    * Read pool specific config.
    * 
* * .google.cloud.alloydb.v1beta.Instance.ReadPoolConfig read_pool_config = 14; + * * @return The readPoolConfig. */ com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfig getReadPoolConfig(); /** + * + * *
    * Read pool specific config.
    * 
@@ -600,28 +766,35 @@ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder( com.google.cloud.alloydb.v1beta.Instance.ReadPoolConfigOrBuilder getReadPoolConfigOrBuilder(); /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
    * Output only. The IP address for the Instance.
    * This is the connection endpoint for an end-user application.
    * 
* * string ip_address = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
    * Output only. Reconciling (https://google.aip.dev/128#reconciliation).
    * Set to true if the current state of Instance does not match the user's
@@ -631,31 +804,39 @@ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The reconciling. */ boolean getReconciling(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * For Resource freshness validation (https://google.aip.dev/154)
    * 
* * string etag = 17; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -666,6 +847,8 @@ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(
    */
   int getAnnotationsCount();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -674,15 +857,13 @@ com.google.cloud.alloydb.v1beta.Instance.NodeOrBuilder getNodesOrBuilder(
    *
    * map<string, string> annotations = 18;
    */
-  boolean containsAnnotations(
-      java.lang.String key);
-  /**
-   * Use {@link #getAnnotationsMap()} instead.
-   */
+  boolean containsAnnotations(java.lang.String key);
+  /** Use {@link #getAnnotationsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAnnotations();
+  java.util.Map getAnnotations();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -691,9 +872,10 @@ boolean containsAnnotations(
    *
    * map<string, string> annotations = 18;
    */
-  java.util.Map
-  getAnnotationsMap();
+  java.util.Map getAnnotationsMap();
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -703,11 +885,13 @@ boolean containsAnnotations(
    * map<string, string> annotations = 18;
    */
   /* nullable */
-java.lang.String getAnnotationsOrDefault(
+  java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Annotations to allow client tools to store small amount of arbitrary data.
    * This is distinct from labels.
@@ -716,10 +900,11 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 18;
    */
-  java.lang.String getAnnotationsOrThrow(
-      java.lang.String key);
+  java.lang.String getAnnotationsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -728,10 +913,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return Whether the updatePolicy field is set. */ boolean hasUpdatePolicy(); /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -740,10 +928,13 @@ java.lang.String getAnnotationsOrThrow(
    * 
* * .google.cloud.alloydb.v1beta.Instance.UpdatePolicy update_policy = 22; + * * @return The updatePolicy. */ com.google.cloud.alloydb.v1beta.Instance.UpdatePolicy getUpdatePolicy(); /** + * + * *
    * Update policy that will be applied during instance update.
    * This field is not persisted when you update the instance.
@@ -756,29 +947,44 @@ java.lang.String getAnnotationsOrThrow(
   com.google.cloud.alloydb.v1beta.Instance.UpdatePolicyOrBuilder getUpdatePolicyOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the clientConnectionConfig field is set. */ boolean hasClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The clientConnectionConfig. */ com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig getClientConnectionConfig(); /** + * + * *
    * Optional. Client connection specific configurations
    * 
* - * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.Instance.ClientConnectionConfig client_connection_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder(); + com.google.cloud.alloydb.v1beta.Instance.ClientConnectionConfigOrBuilder + getClientConnectionConfigOrBuilder(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java index 8fc7515acb1c..ec117864b081 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/InstanceView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * View on Instance. Pass this enum to rpcs that returns an Instance message to
  * control which subsets of fields to get.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.cloud.alloydb.v1beta.InstanceView}
  */
-public enum InstanceView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum InstanceView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -22,6 +40,8 @@ public enum InstanceView */ INSTANCE_VIEW_UNSPECIFIED(0), /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -32,6 +52,8 @@ public enum InstanceView
    */
   INSTANCE_VIEW_BASIC(1),
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -44,6 +66,8 @@ public enum InstanceView
   ;
 
   /**
+   *
+   *
    * 
    * INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
    * 
@@ -52,6 +76,8 @@ public enum InstanceView */ public static final int INSTANCE_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * BASIC server responses for a primary or read instance include all the
    * relevant instance details, excluding the details of each node in the
@@ -62,6 +88,8 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * FULL response is equivalent to BASIC for primary instance (for now).
    * For read pool instance, this includes details of each node in the pool.
@@ -71,7 +99,6 @@ public enum InstanceView
    */
   public static final int INSTANCE_VIEW_FULL_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -96,49 +123,49 @@ public static InstanceView valueOf(int value) {
    */
   public static InstanceView forNumber(int value) {
     switch (value) {
-      case 0: return INSTANCE_VIEW_UNSPECIFIED;
-      case 1: return INSTANCE_VIEW_BASIC;
-      case 2: return INSTANCE_VIEW_FULL;
-      default: return null;
+      case 0:
+        return INSTANCE_VIEW_UNSPECIFIED;
+      case 1:
+        return INSTANCE_VIEW_BASIC;
+      case 2:
+        return INSTANCE_VIEW_FULL;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      InstanceView> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public InstanceView findValueByNumber(int number) {
-            return InstanceView.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 InstanceView findValueByNumber(int number) {
+          return InstanceView.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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor().getEnumTypes().get(0);
   }
 
   private static final InstanceView[] VALUES = values();
 
-  public static InstanceView valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static InstanceView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,4 +181,3 @@ private InstanceView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.InstanceView)
 }
-
diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
similarity index 68%
rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
index 1ae58adca903..580d34b64697 100644
--- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
+++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/alloydb/v1beta/service.proto
 
 package com.google.cloud.alloydb.v1beta;
 
 /**
+ *
+ *
  * 
  * Message for requesting list of Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, + com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Filtering results
    * 
* * 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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1beta.ListBackupsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListBackupsRequest other = (com.google.cloud.alloydb.v1beta.ListBackupsRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListBackupsRequest other = + (com.google.cloud.alloydb.v1beta.ListBackupsRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,131 +393,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListBackupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for requesting list of Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsRequest) com.google.cloud.alloydb.v1beta.ListBackupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, + com.google.cloud.alloydb.v1beta.ListBackupsRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1beta.ListBackupsRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListBackupsRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListBackupsRequest result = new com.google.cloud.alloydb.v1beta.ListBackupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ListBackupsRequest result = + new com.google.cloud.alloydb.v1beta.ListBackupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListBackupsRequest re public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListBackupsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +725,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +754,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +778,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string 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() { @@ -749,17 +820,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListBackupsRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +844,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +862,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +882,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +902,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -836,20 +924,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -857,28 +946,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +984,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1008,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering results
      * 
* * 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; @@ -928,20 +1030,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * 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 { @@ -949,28 +1052,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1090,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Filtering results
      * 
* * string filter = 4; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1114,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1136,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1158,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1196,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Hint for how to order the results
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListBackupsRequest) private static final com.google.cloud.alloydb.v1beta.ListBackupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListBackupsRequest(); } @@ -1115,27 +1243,27 @@ public static com.google.cloud.alloydb.v1beta.ListBackupsRequest getDefaultInsta 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; @@ -1150,6 +1278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java index 2d762d474c34..6ad7c33261da 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListBackupsRequestOrBuilder extends +public interface ListBackupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListBackupsRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering results
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Hint for how to order the results
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java index 2fa1f62fbdac..52eb0707bdcc 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for response to listing Backups
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, + com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); } public static final int BACKUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List backups_; /** + * + * *
    * The list of Backup
    * 
@@ -61,6 +82,8 @@ public java.util.List getBackupsList() { return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -68,11 +91,13 @@ public java.util.List getBackupsList() { * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** + * + * *
    * The list of Backup
    * 
@@ -84,6 +109,8 @@ public int getBackupsCount() { return backups_.size(); } /** + * + * *
    * The list of Backup
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { return backups_.get(index); } /** + * + * *
    * The list of Backup
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListBackupsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListBackupsResponse other = (com.google.cloud.alloydb.v1beta.ListBackupsResponse) obj; + com.google.cloud.alloydb.v1beta.ListBackupsResponse other = + (com.google.cloud.alloydb.v1beta.ListBackupsResponse) obj; - if (!getBackupsList() - .equals(other.getBackupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getBackupsList().equals(other.getBackupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListBackupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListBackupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for response to listing Backups
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListBackupsResponse) com.google.cloud.alloydb.v1beta.ListBackupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, + com.google.cloud.alloydb.v1beta.ListBackupsResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1beta.ListBackupsResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListBackupsResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListBackupsResponse result = new com.google.cloud.alloydb.v1beta.ListBackupsResponse(this); + com.google.cloud.alloydb.v1beta.ListBackupsResponse result = + new com.google.cloud.alloydb.v1beta.ListBackupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListBackupsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.ListBackupsResponse result) { if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { backups_ = java.util.Collections.unmodifiableList(backups_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListBackupsResponse r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListBackupsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListBackupsResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance()) + return this; if (backupsBuilder_ == null) { if (!other.backups_.isEmpty()) { if (backups_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListBackupsResponse oth 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_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.Backup m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Backup.parser(), - extensionRegistry); - if (backupsBuilder_ == null) { - ensureBackupsIsMutable(); - backups_.add(m); - } else { - backupsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.Backup m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Backup.parser(), extensionRegistry); + if (backupsBuilder_ == null) { + ensureBackupsIsMutable(); + backups_.add(m); + } else { + backupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,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.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupsBuilder_; + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> + backupsBuilder_; /** + * + * *
      * The list of Backup
      * 
@@ -675,6 +735,8 @@ public java.util.List getBackupsList() { } } /** + * + * *
      * The list of Backup
      * 
@@ -689,6 +751,8 @@ public int getBackupsCount() { } } /** + * + * *
      * The list of Backup
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1beta.Backup getBackups(int index) { } } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder setBackups( - int index, com.google.cloud.alloydb.v1beta.Backup value) { + public Builder setBackups(int index, com.google.cloud.alloydb.v1beta.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -742,6 +809,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -762,14 +831,15 @@ public Builder addBackups(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder addBackups( - int index, com.google.cloud.alloydb.v1beta.Backup value) { + public Builder addBackups(int index, com.google.cloud.alloydb.v1beta.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public Builder addBackups( - com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder addBackups(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -819,6 +892,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -829,8 +904,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); @@ -838,6 +912,8 @@ public Builder addAllBackups( return this; } /** + * + * *
      * The list of Backup
      * 
@@ -855,6 +931,8 @@ public Builder clearBackups() { return this; } /** + * + * *
      * The list of Backup
      * 
@@ -872,39 +950,44 @@ public Builder removeBackups(int index) { return this; } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupsBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupsBuilder(int index) { return getBackupsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index) { if (backupsBuilder_ == null) { - return backups_.get(index); } else { + return backups_.get(index); + } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( } } /** + * + * *
      * The list of Backup
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); + return getBackupsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder( - int index) { - return getBackupsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder(int index) { + return getBackupsFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()); } /** + * + * *
      * The list of Backup
      * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - public java.util.List - getBackupsBuilderList() { + public java.util.List getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - backups_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + backupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); backups_ = null; } return backupsBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1beta.Backup.Builder addBackupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListBackupsResponse) private static final com.google.cloud.alloydb.v1beta.ListBackupsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListBackupsResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1beta.ListBackupsResponse getDefaultInst 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; @@ -1259,6 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java index 02745a0bc5df..1f20429eb8e6 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListBackupsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListBackupsResponseOrBuilder extends +public interface ListBackupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - java.util.List - getBackupsList(); + java.util.List getBackupsList(); /** + * + * *
    * The list of Backup
    * 
@@ -25,6 +44,8 @@ public interface ListBackupsResponseOrBuilder extends */ com.google.cloud.alloydb.v1beta.Backup getBackups(int index); /** + * + * *
    * The list of Backup
    * 
@@ -33,82 +54,100 @@ public interface ListBackupsResponseOrBuilder extends */ int getBackupsCount(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - java.util.List + java.util.List getBackupsOrBuilderList(); /** + * + * *
    * The list of Backup
    * 
* * repeated .google.cloud.alloydb.v1beta.Backup backups = 1; */ - com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupsOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java index 9b92d1203b0e..5cb225e9c942 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for requesting list of Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersRequest} */ -public final class ListClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListClustersRequest) ListClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,28 +46,32 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersRequest.class, com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersRequest.class, + com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -57,7 +79,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,14 +91,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -81,17 +107,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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 +129,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -116,14 +146,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,29 +166,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -163,14 +197,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -179,29 +217,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -210,14 +248,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -226,29 +268,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -257,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -268,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -298,8 +340,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_); @@ -318,23 +359,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.cloud.alloydb.v1beta.ListClustersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListClustersRequest other = (com.google.cloud.alloydb.v1beta.ListClustersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListClustersRequest other = + (com.google.cloud.alloydb.v1beta.ListClustersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,131 +399,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListClustersRequest) com.google.cloud.alloydb.v1beta.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersRequest.class, com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersRequest.class, + com.google.cloud.alloydb.v1beta.ListClustersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListClustersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor; } @java.lang.Override @@ -521,8 +562,11 @@ public com.google.cloud.alloydb.v1beta.ListClustersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListClustersRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListClustersRequest result = new com.google.cloud.alloydb.v1beta.ListClustersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ListClustersRequest result = + new com.google.cloud.alloydb.v1beta.ListClustersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -550,38 +594,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListClustersRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListClustersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -589,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -639,37 +685,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -679,10 +731,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -690,14 +745,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.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; @@ -706,6 +763,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -713,16 +772,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.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 { @@ -730,6 +790,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -737,19 +799,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -757,7 +825,10 @@ public Builder setParent(
      *  * projects/{project}/locations/-
      * 
* - * string 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() { @@ -767,6 +838,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field. Additionally, you can perform an
@@ -774,13 +847,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -788,14 +865,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -803,12 +883,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -820,12 +903,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -837,18 +923,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -857,20 +945,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -878,28 +967,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -909,17 +1005,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -929,18 +1029,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -949,20 +1051,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -970,28 +1073,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1001,17 +1111,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1021,18 +1135,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1041,20 +1157,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1062,28 +1179,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1093,26 +1217,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1122,12 +1250,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListClustersRequest) private static final com.google.cloud.alloydb.v1beta.ListClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListClustersRequest(); } @@ -1136,27 +1264,27 @@ public static com.google.cloud.alloydb.v1beta.ListClustersRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1171,6 +1299,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java index 54db11b282f1..5bbe056974a1 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListClustersRequestOrBuilder extends +public interface ListClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -15,11 +33,16 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field. Additionally, you can perform an
@@ -27,80 +50,100 @@ public interface ListClustersRequestOrBuilder extends
    *  * projects/{project}/locations/-
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java index c688a6b9d8d2..c8f94965cc32 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for response to listing Clusters
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersResponse.class, com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersResponse.class, + com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List clusters_; /** + * + * *
    * The list of Cluster
    * 
@@ -61,6 +82,8 @@ public java.util.List getClustersList() return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -68,11 +91,13 @@ public java.util.List getClustersList() * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** + * + * *
    * The list of Cluster
    * 
@@ -84,6 +109,8 @@ public int getClustersCount() { return clusters_.size(); } /** + * + * *
    * The list of Cluster
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { return clusters_.get(index); } /** + * + * *
    * The list of Cluster
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index) { return clusters_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListClustersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListClustersResponse other = (com.google.cloud.alloydb.v1beta.ListClustersResponse) obj; + com.google.cloud.alloydb.v1beta.ListClustersResponse other = + (com.google.cloud.alloydb.v1beta.ListClustersResponse) obj; - if (!getClustersList() - .equals(other.getClustersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getClustersList().equals(other.getClustersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Clusters
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListClustersResponse) com.google.cloud.alloydb.v1beta.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListClustersResponse.class, com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListClustersResponse.class, + com.google.cloud.alloydb.v1beta.ListClustersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1beta.ListClustersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListClustersResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListClustersResponse result = new com.google.cloud.alloydb.v1beta.ListClustersResponse(this); + com.google.cloud.alloydb.v1beta.ListClustersResponse result = + new com.google.cloud.alloydb.v1beta.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListClustersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListClustersResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListClustersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance()) + return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListClustersResponse ot clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getClustersFieldBuilder() : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getClustersFieldBuilder() + : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.Cluster m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Cluster.parser(), - extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.Cluster m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clustersBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + clustersBuilder_; /** + * + * *
      * The list of Cluster
      * 
@@ -675,6 +735,8 @@ public java.util.List getClustersList() } } /** + * + * *
      * The list of Cluster
      * 
@@ -689,6 +751,8 @@ public int getClustersCount() { } } /** + * + * *
      * The list of Cluster
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1beta.Cluster getClusters(int index) { } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder setClusters( - int index, com.google.cloud.alloydb.v1beta.Cluster value) { + public Builder setClusters(int index, com.google.cloud.alloydb.v1beta.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -742,6 +809,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -762,14 +831,15 @@ public Builder addClusters(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder addClusters( - int index, com.google.cloud.alloydb.v1beta.Cluster value) { + public Builder addClusters(int index, com.google.cloud.alloydb.v1beta.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public Builder addClusters( - com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder addClusters(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -819,6 +892,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -829,8 +904,7 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -838,6 +912,8 @@ public Builder addAllClusters( return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -855,6 +931,8 @@ public Builder clearClusters() { return this; } /** + * + * *
      * The list of Cluster
      * 
@@ -872,39 +950,44 @@ public Builder removeClusters(int index) { return this; } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.Cluster.Builder getClustersBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Cluster.Builder getClustersBuilder(int index) { return getClustersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); } else { + return clusters_.get(index); + } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( } } /** + * + * *
      * The list of Cluster
      * 
@@ -919,42 +1004,48 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); + return getClustersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder( - int index) { - return getClustersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder(int index) { + return getClustersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()); } /** + * + * *
      * The list of Cluster
      * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - public java.util.List - getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - clusters_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + clustersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; @@ -962,18 +1053,20 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder addClustersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1075,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1097,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1135,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1159,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1167,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1211,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1249,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1271,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1330,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1342,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListClustersResponse) private static final com.google.cloud.alloydb.v1beta.ListClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListClustersResponse(); } @@ -1224,27 +1356,27 @@ public static com.google.cloud.alloydb.v1beta.ListClustersResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1259,6 +1391,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java index a62ef17ac8ac..9aeae751b38e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListClustersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListClustersResponseOrBuilder extends +public interface ListClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - java.util.List - getClustersList(); + java.util.List getClustersList(); /** + * + * *
    * The list of Cluster
    * 
@@ -25,6 +44,8 @@ public interface ListClustersResponseOrBuilder extends */ com.google.cloud.alloydb.v1beta.Cluster getClusters(int index); /** + * + * *
    * The list of Cluster
    * 
@@ -33,82 +54,100 @@ public interface ListClustersResponseOrBuilder extends */ int getClustersCount(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** + * + * *
    * The list of Cluster
    * 
* * repeated .google.cloud.alloydb.v1beta.Cluster clusters = 1; */ - com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClustersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java index 999df6afc578..c48ead2fb286 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for requesting list of Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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,28 +46,32 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, + com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -59,7 +81,10 @@ protected java.lang.Object newInstance(
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -68,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -85,17 +111,18 @@ public java.lang.String getParent() {
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +133,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +150,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +170,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,14 +201,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -183,29 +221,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -214,14 +252,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -230,29 +272,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +303,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -302,8 +344,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_); @@ -322,23 +363,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.cloud.alloydb.v1beta.ListInstancesRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListInstancesRequest other = (com.google.cloud.alloydb.v1beta.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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListInstancesRequest other = + (com.google.cloud.alloydb.v1beta.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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,131 +403,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListInstancesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for requesting list of Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesRequest) com.google.cloud.alloydb.v1beta.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, + com.google.cloud.alloydb.v1beta.ListInstancesRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -504,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; } @java.lang.Override @@ -525,8 +566,11 @@ public com.google.cloud.alloydb.v1beta.ListInstancesRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListInstancesRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListInstancesRequest result = new com.google.cloud.alloydb.v1beta.ListInstancesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ListInstancesRequest result = + new com.google.cloud.alloydb.v1beta.ListInstancesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,38 +598,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListInstancesRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListInstancesRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +638,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -643,37 +689,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,10 +735,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -696,14 +751,16 @@ public Builder mergeFrom(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -712,6 +769,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -721,16 +780,17 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -738,6 +798,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -747,19 +809,25 @@ public java.lang.String getParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -769,7 +837,10 @@ public Builder setParent(
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -779,6 +850,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Instance.name field. Additionally, you can perform an
@@ -788,13 +861,17 @@ public Builder clearParent() {
      *  * projects/{project}/locations/{region}/clusters/-
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -802,14 +879,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -817,12 +897,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -834,12 +917,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -851,18 +937,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -871,20 +959,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -892,28 +981,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -923,17 +1019,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -943,18 +1043,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -963,20 +1065,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -984,28 +1087,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1015,17 +1125,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1035,18 +1149,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1055,20 +1171,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1076,28 +1193,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1107,26 +1231,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1136,12 +1264,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListInstancesRequest) private static final com.google.cloud.alloydb.v1beta.ListInstancesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListInstancesRequest(); } @@ -1150,27 +1278,27 @@ public static com.google.cloud.alloydb.v1beta.ListInstancesRequest getDefaultIns 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; @@ -1185,6 +1313,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java index 48fa2bc7b075..6115ef788257 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListInstancesRequestOrBuilder extends +public interface ListInstancesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -17,11 +35,16 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Instance.name field. Additionally, you can perform an
@@ -31,80 +54,100 @@ public interface ListInstancesRequestOrBuilder extends
    *  * projects/{project}/locations/{region}/clusters/-
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java index 7b144674ba58..1b22e9704fc7 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for response to listing Instances
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, + com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List instances_; /** + * + * *
    * The list of Instance
    * 
@@ -61,6 +82,8 @@ public java.util.List getInstancesList return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -68,11 +91,13 @@ public java.util.List getInstancesList * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** + * + * *
    * The list of Instance
    * 
@@ -84,6 +109,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of Instance
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of Instance
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { return instances_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,8 +283,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_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListInstancesResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListInstancesResponse other = (com.google.cloud.alloydb.v1beta.ListInstancesResponse) obj; + com.google.cloud.alloydb.v1beta.ListInstancesResponse other = + (com.google.cloud.alloydb.v1beta.ListInstancesResponse) obj; - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,136 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListInstancesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListInstancesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for response to listing Instances
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.ListInstancesResponse) com.google.cloud.alloydb.v1beta.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, + com.google.cloud.alloydb.v1beta.ListInstancesResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -439,15 +484,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; } @java.lang.Override @@ -466,14 +510,18 @@ public com.google.cloud.alloydb.v1beta.ListInstancesResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListInstancesResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListInstancesResponse result = new com.google.cloud.alloydb.v1beta.ListInstancesResponse(this); + com.google.cloud.alloydb.v1beta.ListInstancesResponse result = + new com.google.cloud.alloydb.v1beta.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListInstancesResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -500,38 +548,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListInstancesResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListInstancesResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListInstancesResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +588,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance()) + return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -558,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListInstancesResponse o 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_); } @@ -607,36 +658,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.Instance m = - input.readMessage( - com.google.cloud.alloydb.v1beta.Instance.parser(), - extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.Instance m = + input.readMessage( + com.google.cloud.alloydb.v1beta.Instance.parser(), extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +700,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instancesBuilder_; + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + instancesBuilder_; /** + * + * *
      * The list of Instance
      * 
@@ -675,6 +736,8 @@ public java.util.List getInstancesList } } /** + * + * *
      * The list of Instance
      * 
@@ -689,6 +752,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of Instance
      * 
@@ -703,14 +768,15 @@ public com.google.cloud.alloydb.v1beta.Instance getInstances(int index) { } } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder setInstances( - int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder setInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +790,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -742,6 +810,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -762,14 +832,15 @@ public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances( - int index, com.google.cloud.alloydb.v1beta.Instance value) { + public Builder addInstances(int index, com.google.cloud.alloydb.v1beta.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +854,15 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public Builder addInstances( - com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder addInstances(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -801,6 +873,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -819,6 +893,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -829,8 +905,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); @@ -838,6 +913,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of Instance
      * 
@@ -855,6 +932,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of Instance
      * 
@@ -872,39 +951,44 @@ public Builder removeInstances(int index) { return this; } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.Instance.Builder getInstancesBuilder(int index) { return getInstancesFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index) { if (instancesBuilder_ == null) { - return instances_.get(index); } else { + return instances_.get(index); + } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +996,8 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * The list of Instance
      * 
@@ -919,42 +1005,48 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + return getInstancesFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder(int index) { + return getInstancesFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()); } /** + * + * *
      * The list of Instance
      * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - public java.util.List - getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - instances_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + instancesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); instances_ = null; } return instancesBuilder_; @@ -962,18 +1054,20 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder addInstancesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1076,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1098,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1136,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1160,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1168,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1212,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1250,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1272,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1331,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListInstancesResponse) private static final com.google.cloud.alloydb.v1beta.ListInstancesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListInstancesResponse(); } @@ -1224,27 +1357,27 @@ public static com.google.cloud.alloydb.v1beta.ListInstancesResponse getDefaultIn 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; @@ -1259,6 +1392,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java index 53448839ad5f..a1d50bc2ac6d 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListInstancesResponseOrBuilder extends +public interface ListInstancesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List - getInstancesList(); + java.util.List getInstancesList(); /** + * + * *
    * The list of Instance
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.cloud.alloydb.v1beta.Instance getInstances(int index); /** + * + * *
    * The list of Instance
    * 
@@ -33,82 +54,100 @@ public interface ListInstancesResponseOrBuilder extends */ int getInstancesCount(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** + * + * *
    * The list of Instance
    * 
* * repeated .google.cloud.alloydb.v1beta.Instance instances = 1; */ - com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstancesOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java index 16ccf626ae5c..c302a7d4de18 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for listing the information about the supported Database flags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest} */ -public final class ListSupportedDatabaseFlagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) ListSupportedDatabaseFlagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsRequest.newBuilder() to construct. - private ListSupportedDatabaseFlagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +45,32 @@ private ListSupportedDatabaseFlagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -58,7 +81,10 @@ protected java.lang.Object newInstance(
    * flags.
    * 
* - * string parent = 1 [(.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,14 +93,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -85,17 +112,18 @@ public java.lang.String getParent() {
    * flags.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -106,12 +134,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -120,14 +151,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,29 +171,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -167,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,8 +214,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -202,8 +237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -216,19 +250,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other = (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) obj; + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other = + (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) 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; } @@ -252,131 +284,138 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for listing the information about the supported Database flags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.Builder.class); } - // Construct using com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.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(); @@ -388,13 +427,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + getDefaultInstanceForType() { return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance(); } @@ -409,13 +449,17 @@ public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest build() @java.lang.Override public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result = + new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +476,50 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabase public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest other) { + if (other + == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +559,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,10 +593,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -555,14 +610,16 @@ public Builder mergeFrom(
      * flags.
      * 
* - * string parent = 1 [(.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; @@ -571,6 +628,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -581,16 +640,17 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -598,6 +658,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -608,19 +670,25 @@ public java.lang.String getParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -631,7 +699,10 @@ public Builder setParent(
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { @@ -641,6 +712,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. The required format is:
      *  * projects/{project}/locations/{location}
@@ -651,13 +724,17 @@ public Builder clearParent() {
      * flags.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -665,14 +742,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -680,12 +760,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -697,12 +780,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. Server may return fewer items than requested.
      * If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -714,18 +800,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -734,20 +822,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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 { @@ -755,28 +844,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -786,26 +882,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,41 +915,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) - private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest(); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,9 +963,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java index b02878c9b684..9067581b6beb 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListSupportedDatabaseFlagsRequestOrBuilder extends +public interface ListSupportedDatabaseFlagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -18,11 +36,16 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.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 parent resource. The required format is:
    *  * projects/{project}/locations/{location}
@@ -33,40 +56,50 @@ public interface ListSupportedDatabaseFlagsRequestOrBuilder extends
    * flags.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. Server may return fewer items than requested.
    * If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java similarity index 62% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java index 9c8f9c139a5a..93d37db47577 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for response to listing SupportedDatabaseFlags.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse} */ -public final class ListSupportedDatabaseFlagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSupportedDatabaseFlagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) ListSupportedDatabaseFlagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSupportedDatabaseFlagsResponse.newBuilder() to construct. - private ListSupportedDatabaseFlagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSupportedDatabaseFlagsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSupportedDatabaseFlagsResponse() { supportedDatabaseFlags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,94 +45,118 @@ private ListSupportedDatabaseFlagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSupportedDatabaseFlagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); } public static final int SUPPORTED_DATABASE_FLAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List supportedDatabaseFlags_; + private java.util.List + supportedDatabaseFlags_; /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getSupportedDatabaseFlagsOrBuilderList() { return supportedDatabaseFlags_; } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override public int getSupportedDatabaseFlagsCount() { return supportedDatabaseFlags_.size(); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags( + int index) { return supportedDatabaseFlags_.get(index); } /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { return supportedDatabaseFlags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -122,29 +165,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -153,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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 < supportedDatabaseFlags_.size(); i++) { output.writeMessage(1, supportedDatabaseFlags_.get(i)); } @@ -182,8 +225,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < supportedDatabaseFlags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, supportedDatabaseFlags_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, supportedDatabaseFlags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -196,17 +240,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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other = (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) obj; + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other = + (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) obj; - if (!getSupportedDatabaseFlagsList() - .equals(other.getSupportedDatabaseFlagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSupportedDatabaseFlagsList().equals(other.getSupportedDatabaseFlagsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -230,131 +274,138 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + 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.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing SupportedDatabaseFlags.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.Builder.class); } - // Construct using com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.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(); @@ -371,14 +422,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + .getDefaultInstance(); } @java.lang.Override @@ -392,14 +445,18 @@ public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse build( @java.lang.Override public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(this); + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result = + new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { if (supportedDatabaseFlagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { supportedDatabaseFlags_ = java.util.Collections.unmodifiableList(supportedDatabaseFlags_); @@ -411,7 +468,8 @@ private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListSupp } } - private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -422,46 +480,51 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListSupportedDatabase public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse)other); + return mergeFrom( + (com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse other) { + if (other + == com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + .getDefaultInstance()) return this; if (supportedDatabaseFlagsBuilder_ == null) { if (!other.supportedDatabaseFlags_.isEmpty()) { if (supportedDatabaseFlags_.isEmpty()) { @@ -480,9 +543,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFl supportedDatabaseFlagsBuilder_ = null; supportedDatabaseFlags_ = other.supportedDatabaseFlags_; bitField0_ = (bitField0_ & ~0x00000001); - supportedDatabaseFlagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSupportedDatabaseFlagsFieldBuilder() : null; + supportedDatabaseFlagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSupportedDatabaseFlagsFieldBuilder() + : null; } else { supportedDatabaseFlagsBuilder_.addAllMessages(other.supportedDatabaseFlags_); } @@ -519,30 +583,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag m = - input.readMessage( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.parser(), - extensionRegistry); - if (supportedDatabaseFlagsBuilder_ == null) { - ensureSupportedDatabaseFlagsIsMutable(); - supportedDatabaseFlags_.add(m); - } else { - supportedDatabaseFlagsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag m = + input.readMessage( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.parser(), + extensionRegistry); + if (supportedDatabaseFlagsBuilder_ == null) { + ensureSupportedDatabaseFlagsIsMutable(); + supportedDatabaseFlags_.add(m); + } else { + supportedDatabaseFlagsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,28 +619,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List supportedDatabaseFlags_ = - java.util.Collections.emptyList(); + private java.util.List + supportedDatabaseFlags_ = java.util.Collections.emptyList(); + private void ensureSupportedDatabaseFlagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - supportedDatabaseFlags_ = new java.util.ArrayList(supportedDatabaseFlags_); + supportedDatabaseFlags_ = + new java.util.ArrayList( + supportedDatabaseFlags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> supportedDatabaseFlagsBuilder_; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> + supportedDatabaseFlagsBuilder_; /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List getSupportedDatabaseFlagsList() { + public java.util.List + getSupportedDatabaseFlagsList() { if (supportedDatabaseFlagsBuilder_ == null) { return java.util.Collections.unmodifiableList(supportedDatabaseFlags_); } else { @@ -581,11 +660,15 @@ public java.util.List get } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public int getSupportedDatabaseFlagsCount() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -595,13 +678,18 @@ public int getSupportedDatabaseFlagsCount() { } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags( + int index) { if (supportedDatabaseFlagsBuilder_ == null) { return supportedDatabaseFlags_.get(index); } else { @@ -609,11 +697,15 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabas } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { @@ -630,11 +722,15 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder setSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -648,13 +744,18 @@ public Builder setSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { + public Builder addSupportedDatabaseFlags( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { if (supportedDatabaseFlagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -668,11 +769,15 @@ public Builder addSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.Support return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag value) { @@ -689,11 +794,15 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -707,11 +816,15 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addSupportedDatabaseFlags( int index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder builderForValue) { @@ -725,18 +838,22 @@ public Builder addSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder addAllSupportedDatabaseFlags( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (supportedDatabaseFlagsBuilder_ == null) { ensureSupportedDatabaseFlagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, supportedDatabaseFlags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, supportedDatabaseFlags_); onChanged(); } else { supportedDatabaseFlagsBuilder_.addAllMessages(values); @@ -744,11 +861,15 @@ public Builder addAllSupportedDatabaseFlags( return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder clearSupportedDatabaseFlags() { if (supportedDatabaseFlagsBuilder_ == null) { @@ -761,11 +882,15 @@ public Builder clearSupportedDatabaseFlags() { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ public Builder removeSupportedDatabaseFlags(int index) { if (supportedDatabaseFlagsBuilder_ == null) { @@ -778,39 +903,52 @@ public Builder removeSupportedDatabaseFlags(int index) { return this; } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder getSupportedDatabaseFlagsBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder + getSupportedDatabaseFlagsBuilder(int index) { return getSupportedDatabaseFlagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder + getSupportedDatabaseFlagsOrBuilder(int index) { if (supportedDatabaseFlagsBuilder_ == null) { - return supportedDatabaseFlags_.get(index); } else { + return supportedDatabaseFlags_.get(index); + } else { return supportedDatabaseFlagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsOrBuilderList() { + public java.util.List + getSupportedDatabaseFlagsOrBuilderList() { if (supportedDatabaseFlagsBuilder_ != null) { return supportedDatabaseFlagsBuilder_.getMessageOrBuilderList(); } else { @@ -818,45 +956,65 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupport } } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder() { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder() { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder addSupportedDatabaseFlagsBuilder( - int index) { - return getSupportedDatabaseFlagsFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder + addSupportedDatabaseFlagsBuilder(int index) { + return getSupportedDatabaseFlagsFieldBuilder() + .addBuilder( + index, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()); } /** + * + * *
      * The list of SupportedDatabaseFlags.
      * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - public java.util.List - getSupportedDatabaseFlagsBuilderList() { + public java.util.List + getSupportedDatabaseFlagsBuilderList() { return getSupportedDatabaseFlagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder> getSupportedDatabaseFlagsFieldBuilder() { if (supportedDatabaseFlagsBuilder_ == null) { - supportedDatabaseFlagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder>( + supportedDatabaseFlagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder>( supportedDatabaseFlags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -868,18 +1026,20 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder addSupporte private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -888,20 +1048,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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,28 +1070,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -940,26 +1108,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,41 +1141,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) - private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse(); } - public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSupportedDatabaseFlagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSupportedDatabaseFlagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1015,9 +1189,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java index 377df683691d..bc4155aed34a 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListSupportedDatabaseFlagsResponseOrBuilder.java @@ -1,73 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListSupportedDatabaseFlagsResponseOrBuilder extends +public interface ListSupportedDatabaseFlagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List + java.util.List getSupportedDatabaseFlagsList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getSupportedDatabaseFlags(int index); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ int getSupportedDatabaseFlagsCount(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ - java.util.List + java.util.List getSupportedDatabaseFlagsOrBuilderList(); /** + * + * *
    * The list of SupportedDatabaseFlags.
    * 
* - * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * repeated .google.cloud.alloydb.v1beta.SupportedDatabaseFlag supported_database_flags = 1; + * */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder getSupportedDatabaseFlagsOrBuilder( int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java index 07974400dd2d..9382024ed318 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for requesting list of Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersRequest} */ -public final class ListUsersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListUsersRequest) ListUsersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersRequest.newBuilder() to construct. private ListUsersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersRequest() { parent_ = ""; pageToken_ = ""; @@ -28,33 +46,40 @@ private ListUsersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersRequest.class, com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersRequest.class, + com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -63,29 +88,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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -110,14 +140,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -126,29 +160,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -157,14 +191,18 @@ public java.lang.String getPageToken() { } public static final int FILTER_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -173,29 +211,29 @@ 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; } } /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -204,14 +242,18 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -220,29 +262,29 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -251,6 +293,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,8 +334,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_); @@ -312,23 +353,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.cloud.alloydb.v1beta.ListUsersRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListUsersRequest other = (com.google.cloud.alloydb.v1beta.ListUsersRequest) 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 (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.alloydb.v1beta.ListUsersRequest other = + (com.google.cloud.alloydb.v1beta.ListUsersRequest) 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 (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,132 +392,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListUsersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListUsersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for requesting list of Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListUsersRequest) com.google.cloud.alloydb.v1beta.ListUsersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersRequest.class, com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersRequest.class, + com.google.cloud.alloydb.v1beta.ListUsersRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListUsersRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; } @java.lang.Override @@ -515,8 +556,11 @@ public com.google.cloud.alloydb.v1beta.ListUsersRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListUsersRequest buildPartial() { - com.google.cloud.alloydb.v1beta.ListUsersRequest result = new com.google.cloud.alloydb.v1beta.ListUsersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.ListUsersRequest result = + new com.google.cloud.alloydb.v1beta.ListUsersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -544,38 +588,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListUsersRequest resu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListUsersRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersRequest) other); } else { super.mergeFrom(other); return this; @@ -583,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersRequest other) { - if (other == com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -633,37 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -673,22 +725,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.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; @@ -697,20 +754,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.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,28 +778,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string 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() { @@ -749,17 +820,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Parent value for ListUsersRequest
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -767,14 +844,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -782,12 +862,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -799,12 +882,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. Requested page size. Server may return fewer items than
      * requested. If unspecified, server will pick an appropriate default.
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -816,18 +902,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -836,20 +924,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -857,28 +946,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,17 +984,21 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A token identifying a page of results the server should return.
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -908,18 +1008,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -928,20 +1030,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -949,28 +1052,35 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -980,17 +1090,21 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filtering results
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000008; @@ -1000,18 +1114,20 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1020,20 +1136,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1041,28 +1158,35 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1072,26 +1196,30 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. Hint for how to order the results
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1101,12 +1229,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListUsersRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListUsersRequest) private static final com.google.cloud.alloydb.v1beta.ListUsersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListUsersRequest(); } @@ -1115,27 +1243,27 @@ public static com.google.cloud.alloydb.v1beta.ListUsersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,6 +1278,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListUsersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java index 6df217201185..8965a38280c7 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersRequestOrBuilder.java @@ -1,100 +1,143 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListUsersRequestOrBuilder extends +public interface ListUsersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListUsersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.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. Parent value for ListUsersRequest
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Optional. Requested page size. Server may return fewer items than
    * requested. If unspecified, server will pick an appropriate default.
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A token identifying a page of results the server should return.
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filtering results
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. Hint for how to order the results
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java index d71039048196..cdc046ce4ecc 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for response to listing Users
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersResponse} */ -public final class ListUsersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListUsersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.ListUsersResponse) ListUsersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListUsersResponse.newBuilder() to construct. private ListUsersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListUsersResponse() { users_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListUsersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersResponse.class, com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersResponse.class, + com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); } public static final int USERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List users_; /** + * + * *
    * The list of User
    * 
@@ -61,6 +82,8 @@ public java.util.List getUsersList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -68,11 +91,13 @@ public java.util.List getUsersList() { * repeated .google.cloud.alloydb.v1beta.User users = 1; */ @java.lang.Override - public java.util.List + public java.util.List getUsersOrBuilderList() { return users_; } /** + * + * *
    * The list of User
    * 
@@ -84,6 +109,8 @@ public int getUsersCount() { return users_.size(); } /** + * + * *
    * The list of User
    * 
@@ -95,6 +122,8 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { return users_.get(index); } /** + * + * *
    * The list of User
    * 
@@ -102,20 +131,23 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { * repeated .google.cloud.alloydb.v1beta.User users = 1; */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index) { return users_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +156,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * 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 { @@ -155,38 +187,47 @@ public java.lang.String getNextPageToken() { } public static final int UNREACHABLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -194,20 +235,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < users_.size(); i++) { output.writeMessage(1, users_.get(i)); } @@ -240,8 +283,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < users_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, users_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, users_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -262,19 +304,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.alloydb.v1beta.ListUsersResponse)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.ListUsersResponse other = (com.google.cloud.alloydb.v1beta.ListUsersResponse) obj; + com.google.cloud.alloydb.v1beta.ListUsersResponse other = + (com.google.cloud.alloydb.v1beta.ListUsersResponse) obj; - if (!getUsersList() - .equals(other.getUsersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getUsersList().equals(other.getUsersList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -302,131 +342,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.ListUsersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.ListUsersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for response to listing Users
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.ListUsersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.ListUsersResponse) com.google.cloud.alloydb.v1beta.ListUsersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.ListUsersResponse.class, com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); + com.google.cloud.alloydb.v1beta.ListUsersResponse.class, + com.google.cloud.alloydb.v1beta.ListUsersResponse.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.ListUsersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,15 +483,14 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; } @java.lang.Override @@ -466,14 +509,18 @@ public com.google.cloud.alloydb.v1beta.ListUsersResponse build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.ListUsersResponse buildPartial() { - com.google.cloud.alloydb.v1beta.ListUsersResponse result = new com.google.cloud.alloydb.v1beta.ListUsersResponse(this); + com.google.cloud.alloydb.v1beta.ListUsersResponse result = + new com.google.cloud.alloydb.v1beta.ListUsersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.ListUsersResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.alloydb.v1beta.ListUsersResponse result) { if (usersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { users_ = java.util.Collections.unmodifiableList(users_); @@ -500,38 +547,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.ListUsersResponse res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.ListUsersResponse) { - return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersResponse)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.ListUsersResponse) other); } else { super.mergeFrom(other); return this; @@ -539,7 +587,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersResponse other) { - if (other == com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance()) + return this; if (usersBuilder_ == null) { if (!other.users_.isEmpty()) { if (users_.isEmpty()) { @@ -558,9 +607,10 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.ListUsersResponse other usersBuilder_ = null; users_ = other.users_; bitField0_ = (bitField0_ & ~0x00000001); - usersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUsersFieldBuilder() : null; + usersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUsersFieldBuilder() + : null; } else { usersBuilder_.addAllMessages(other.users_); } @@ -607,36 +657,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.alloydb.v1beta.User m = - input.readMessage( - com.google.cloud.alloydb.v1beta.User.parser(), - extensionRegistry); - if (usersBuilder_ == null) { - ensureUsersIsMutable(); - users_.add(m); - } else { - usersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.alloydb.v1beta.User m = + input.readMessage( + com.google.cloud.alloydb.v1beta.User.parser(), extensionRegistry); + if (usersBuilder_ == null) { + ensureUsersIsMutable(); + users_.add(m); + } else { + usersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,21 +699,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List users_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUsersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { users_ = new java.util.ArrayList(users_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> usersBuilder_; + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> + usersBuilder_; /** + * + * *
      * The list of User
      * 
@@ -675,6 +735,8 @@ public java.util.List getUsersList() { } } /** + * + * *
      * The list of User
      * 
@@ -689,6 +751,8 @@ public int getUsersCount() { } } /** + * + * *
      * The list of User
      * 
@@ -703,14 +767,15 @@ public com.google.cloud.alloydb.v1beta.User getUsers(int index) { } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder setUsers( - int index, com.google.cloud.alloydb.v1beta.User value) { + public Builder setUsers(int index, com.google.cloud.alloydb.v1beta.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -724,6 +789,8 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -742,6 +809,8 @@ public Builder setUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -762,14 +831,15 @@ public Builder addUsers(com.google.cloud.alloydb.v1beta.User value) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder addUsers( - int index, com.google.cloud.alloydb.v1beta.User value) { + public Builder addUsers(int index, com.google.cloud.alloydb.v1beta.User value) { if (usersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -783,14 +853,15 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public Builder addUsers( - com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder addUsers(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (usersBuilder_ == null) { ensureUsersIsMutable(); users_.add(builderForValue.build()); @@ -801,6 +872,8 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -819,6 +892,8 @@ public Builder addUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -829,8 +904,7 @@ public Builder addAllUsers( java.lang.Iterable values) { if (usersBuilder_ == null) { ensureUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, users_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, users_); onChanged(); } else { usersBuilder_.addAllMessages(values); @@ -838,6 +912,8 @@ public Builder addAllUsers( return this; } /** + * + * *
      * The list of User
      * 
@@ -855,6 +931,8 @@ public Builder clearUsers() { return this; } /** + * + * *
      * The list of User
      * 
@@ -872,39 +950,44 @@ public Builder removeUsers(int index) { return this; } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.User.Builder getUsersBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.User.Builder getUsersBuilder(int index) { return getUsersFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( - int index) { + public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index) { if (usersBuilder_ == null) { - return users_.get(index); } else { + return users_.get(index); + } else { return usersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public java.util.List - getUsersOrBuilderList() { + public java.util.List + getUsersOrBuilderList() { if (usersBuilder_ != null) { return usersBuilder_.getMessageOrBuilderList(); } else { @@ -912,6 +995,8 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( } } /** + * + * *
      * The list of User
      * 
@@ -919,42 +1004,47 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( * repeated .google.cloud.alloydb.v1beta.User users = 1; */ public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder() { - return getUsersFieldBuilder().addBuilder( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); + return getUsersFieldBuilder() + .addBuilder(com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder( - int index) { - return getUsersFieldBuilder().addBuilder( - index, com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); + public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder(int index) { + return getUsersFieldBuilder() + .addBuilder(index, com.google.cloud.alloydb.v1beta.User.getDefaultInstance()); } /** + * + * *
      * The list of User
      * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - public java.util.List - getUsersBuilderList() { + public java.util.List getUsersBuilderList() { return getUsersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> getUsersFieldBuilder() { if (usersBuilder_ == null) { - usersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( - users_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + usersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder>( + users_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); users_ = null; } return usersBuilder_; @@ -962,18 +1052,20 @@ public com.google.cloud.alloydb.v1beta.User.Builder addUsersBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * 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; @@ -982,20 +1074,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,28 +1096,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,17 +1134,21 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1054,6 +1158,7 @@ public Builder setNextPageTokenBytes( private com.google.protobuf.LazyStringArrayList unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureUnreachableIsMutable() { if (!unreachable_.isModifiable()) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); @@ -1061,35 +1166,43 @@ private void ensureUnreachableIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { unreachable_.makeImmutable(); return unreachable_; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1097,31 +1210,37 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.set(index, value); bitField0_ |= 0x00000004; @@ -1129,17 +1248,21 @@ public Builder setUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureUnreachableIsMutable(); unreachable_.add(value); bitField0_ |= 0x00000004; @@ -1147,50 +1270,58 @@ public Builder addUnreachable( return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { - unreachable_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); @@ -1198,9 +1329,9 @@ public Builder addUnreachableBytes( onChanged(); return this; } + @java.lang.Override - 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 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.ListUsersResponse) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.ListUsersResponse) private static final com.google.cloud.alloydb.v1beta.ListUsersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.ListUsersResponse(); } @@ -1224,27 +1355,27 @@ public static com.google.cloud.alloydb.v1beta.ListUsersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1390,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.ListUsersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java index 15835d9208da..4bc1eed15a37 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ListUsersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface ListUsersResponseOrBuilder extends +public interface ListUsersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.ListUsersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - java.util.List - getUsersList(); + java.util.List getUsersList(); /** + * + * *
    * The list of User
    * 
@@ -25,6 +44,8 @@ public interface ListUsersResponseOrBuilder extends */ com.google.cloud.alloydb.v1beta.User getUsers(int index); /** + * + * *
    * The list of User
    * 
@@ -33,82 +54,99 @@ public interface ListUsersResponseOrBuilder extends */ int getUsersCount(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - java.util.List - getUsersOrBuilderList(); + java.util.List getUsersOrBuilderList(); /** + * + * *
    * The list of User
    * 
* * repeated .google.cloud.alloydb.v1beta.User users = 1; */ - com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder( - int index); + com.google.cloud.alloydb.v1beta.UserOrBuilder getUsersOrBuilder(int index); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token identifying a page of results the server should return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/LocationName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java similarity index 67% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java index 99132bc321c2..ea991b8ddd25 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSource.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Subset of the source instance configuration that is available when reading
  * the cluster resource.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.MigrationSource}
  */
-public final class MigrationSource extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationSource extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.MigrationSource)
     MigrationSourceOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationSource.newBuilder() to construct.
   private MigrationSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationSource() {
     hostPort_ = "";
     referenceId_ = "";
@@ -28,34 +46,38 @@ private MigrationSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationSource();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.MigrationSource.class, com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
+            com.google.cloud.alloydb.v1beta.MigrationSource.class,
+            com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Denote the type of migration source that created this cluster.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType} */ - public enum MigrationSourceType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MigrationSourceType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Migration source is unknown.
      * 
@@ -64,6 +86,8 @@ public enum MigrationSourceType */ MIGRATION_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -75,6 +99,8 @@ public enum MigrationSourceType ; /** + * + * *
      * Migration source is unknown.
      * 
@@ -83,6 +109,8 @@ public enum MigrationSourceType */ public static final int MIGRATION_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DMS source means the cluster was created via DMS migration job.
      * 
@@ -91,7 +119,6 @@ public enum MigrationSourceType */ public static final int DMS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,9 +143,12 @@ public static MigrationSourceType valueOf(int value) { */ public static MigrationSourceType forNumber(int value) { switch (value) { - case 0: return MIGRATION_SOURCE_TYPE_UNSPECIFIED; - case 1: return DMS; - default: return null; + case 0: + return MIGRATION_SOURCE_TYPE_UNSPECIFIED; + case 1: + return DMS; + default: + return null; } } @@ -126,28 +156,28 @@ public static MigrationSourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MigrationSourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationSourceType findValueByNumber(int number) { - return MigrationSourceType.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 MigrationSourceType findValueByNumber(int number) { + return MigrationSourceType.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.cloud.alloydb.v1beta.MigrationSource.getDescriptor().getEnumTypes().get(0); } @@ -156,8 +186,7 @@ public MigrationSourceType findValueByNumber(int number) { public static MigrationSourceType 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; @@ -175,15 +204,19 @@ private MigrationSourceType(int value) { } public static final int HOST_PORT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object hostPort_ = ""; /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ @java.lang.Override @@ -192,30 +225,30 @@ public java.lang.String getHostPort() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; } } /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -224,15 +257,19 @@ public java.lang.String getHostPort() { } public static final int REFERENCE_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object referenceId_ = ""; /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ @java.lang.Override @@ -241,30 +278,30 @@ public java.lang.String getReferenceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; } } /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -275,30 +312,46 @@ public java.lang.String getReferenceId() { public static final int SOURCE_TYPE_FIELD_NUMBER = 3; private int sourceType_ = 0; /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); + return result == null + ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,15 +363,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(hostPort_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (sourceType_ + != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, sourceType_); } getUnknownFields().writeTo(output); @@ -336,9 +391,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referenceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referenceId_); } - if (sourceType_ != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.MIGRATION_SOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, sourceType_); + if (sourceType_ + != com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType + .MIGRATION_SOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, sourceType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -348,17 +405,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.cloud.alloydb.v1beta.MigrationSource)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.MigrationSource other = (com.google.cloud.alloydb.v1beta.MigrationSource) obj; + com.google.cloud.alloydb.v1beta.MigrationSource other = + (com.google.cloud.alloydb.v1beta.MigrationSource) obj; - if (!getHostPort() - .equals(other.getHostPort())) return false; - if (!getReferenceId() - .equals(other.getReferenceId())) return false; + if (!getHostPort().equals(other.getHostPort())) return false; + if (!getReferenceId().equals(other.getReferenceId())) return false; if (sourceType_ != other.sourceType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -382,99 +438,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.MigrationSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.MigrationSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.MigrationSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of the source instance configuration that is available when reading
    * the cluster resource.
@@ -482,33 +543,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.MigrationSource}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.MigrationSource)
       com.google.cloud.alloydb.v1beta.MigrationSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.MigrationSource.class, com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
+              com.google.cloud.alloydb.v1beta.MigrationSource.class,
+              com.google.cloud.alloydb.v1beta.MigrationSource.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.MigrationSource.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -520,9 +580,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor;
     }
 
     @java.lang.Override
@@ -541,8 +601,11 @@ public com.google.cloud.alloydb.v1beta.MigrationSource build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.MigrationSource buildPartial() {
-      com.google.cloud.alloydb.v1beta.MigrationSource result = new com.google.cloud.alloydb.v1beta.MigrationSource(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.MigrationSource result =
+          new com.google.cloud.alloydb.v1beta.MigrationSource(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -564,38 +627,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.MigrationSource resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.MigrationSource) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.MigrationSource)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.MigrationSource) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -603,7 +667,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.MigrationSource other) {
-      if (other == com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.MigrationSource.getDefaultInstance())
+        return this;
       if (!other.getHostPort().isEmpty()) {
         hostPort_ = other.hostPort_;
         bitField0_ |= 0x00000001;
@@ -643,27 +708,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              hostPort_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              referenceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 24: {
-              sourceType_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                hostPort_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                referenceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 24:
+              {
+                sourceType_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -673,23 +742,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object hostPort_ = "";
     /**
+     *
+     *
      * 
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ public java.lang.String getHostPort() { java.lang.Object ref = hostPort_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); hostPort_ = s; return s; @@ -698,21 +770,22 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - public com.google.protobuf.ByteString - getHostPortBytes() { + public com.google.protobuf.ByteString getHostPortBytes() { java.lang.Object ref = hostPort_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); hostPort_ = b; return b; } else { @@ -720,30 +793,37 @@ public java.lang.String getHostPort() { } } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The hostPort to set. * @return This builder for chaining. */ - public Builder setHostPort( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPort(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } hostPort_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearHostPort() { @@ -753,18 +833,22 @@ public Builder clearHostPort() { return this; } /** + * + * *
      * Output only. The host and port of the on-premises instance in host:port
      * format
      * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for hostPort to set. * @return This builder for chaining. */ - public Builder setHostPortBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setHostPortBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); hostPort_ = value; bitField0_ |= 0x00000001; @@ -774,19 +858,21 @@ public Builder setHostPortBytes( private java.lang.Object referenceId_ = ""; /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ public java.lang.String getReferenceId() { java.lang.Object ref = referenceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); referenceId_ = s; return s; @@ -795,21 +881,22 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - public com.google.protobuf.ByteString - getReferenceIdBytes() { + public com.google.protobuf.ByteString getReferenceIdBytes() { java.lang.Object ref = referenceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); referenceId_ = b; return b; } else { @@ -817,30 +904,37 @@ public java.lang.String getReferenceId() { } } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } referenceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearReferenceId() { @@ -850,18 +944,22 @@ public Builder clearReferenceId() { return this; } /** + * + * *
      * Output only. Place holder for the external source identifier(e.g DMS job
      * name) that created the cluster.
      * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for referenceId to set. * @return This builder for chaining. */ - public Builder setReferenceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); referenceId_ = value; bitField0_ |= 0x00000002; @@ -871,22 +969,33 @@ public Builder setReferenceIdBytes( private int sourceType_ = 0; /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override public int getSourceTypeValue() { + @java.lang.Override + public int getSourceTypeValue() { return sourceType_; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -897,28 +1006,43 @@ public Builder setSourceTypeValue(int value) { return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType() { - com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber(sourceType_); - return result == null ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType result = + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.forNumber( + sourceType_); + return result == null + ? com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The sourceType to set. * @return This builder for chaining. */ - public Builder setSourceType(com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType value) { + public Builder setSourceType( + com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType value) { if (value == null) { throw new NullPointerException(); } @@ -928,11 +1052,16 @@ public Builder setSourceType(com.google.cloud.alloydb.v1beta.MigrationSource.Mig return this; } /** + * + * *
      * Output only. Type of migration source.
      * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -941,9 +1070,9 @@ public Builder clearSourceType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,12 +1082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.MigrationSource) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.MigrationSource) private static final com.google.cloud.alloydb.v1beta.MigrationSource DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.MigrationSource(); } @@ -967,27 +1096,27 @@ public static com.google.cloud.alloydb.v1beta.MigrationSource getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1002,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.MigrationSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java similarity index 60% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java index 81afcb7bc7e0..aca975740de1 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/MigrationSourceOrBuilder.java @@ -1,71 +1,107 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface MigrationSourceOrBuilder extends +public interface MigrationSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.MigrationSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The hostPort. */ java.lang.String getHostPort(); /** + * + * *
    * Output only. The host and port of the on-premises instance in host:port
    * format
    * 
* * string host_port = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for hostPort. */ - com.google.protobuf.ByteString - getHostPortBytes(); + com.google.protobuf.ByteString getHostPortBytes(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The referenceId. */ java.lang.String getReferenceId(); /** + * + * *
    * Output only. Place holder for the external source identifier(e.g DMS job
    * name) that created the cluster.
    * 
* * string reference_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for referenceId. */ - com.google.protobuf.ByteString - getReferenceIdBytes(); + com.google.protobuf.ByteString getReferenceIdBytes(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** + * + * *
    * Output only. Type of migration source.
    * 
* - * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType source_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The sourceType. */ com.google.cloud.alloydb.v1beta.MigrationSource.MigrationSourceType getSourceType(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java similarity index 68% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java index 16e457214ec0..cad921589642 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Represents the metadata of the long-running operation.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,33 +46,38 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.OperationMetadata.class, com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1beta.OperationMetadata.class, + com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); } private int requestSpecificCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object requestSpecific_; + public enum RequestSpecificCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_CREATE_INSTANCES_METADATA(8), REQUESTSPECIFIC_NOT_SET(0); private final int value; + private RequestSpecificCase(int value) { this.value = value; } @@ -70,29 +93,36 @@ public static RequestSpecificCase valueOf(int value) { public static RequestSpecificCase forNumber(int value) { switch (value) { - case 8: return BATCH_CREATE_INSTANCES_METADATA; - case 0: return REQUESTSPECIFIC_NOT_SET; - default: return null; + case 8: + return BATCH_CREATE_INSTANCES_METADATA; + case 0: + return REQUESTSPECIFIC_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public static final int BATCH_CREATE_INSTANCES_METADATA_FIELD_NUMBER = 8; /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -100,31 +130,42 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if (requestSpecificCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; + return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; } return com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } @@ -132,11 +173,15 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder get public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -144,11 +189,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -156,11 +205,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -170,11 +222,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -182,11 +238,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -194,11 +254,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -206,14 +269,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int TARGET_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object target_ = ""; /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ @java.lang.Override @@ -222,29 +289,29 @@ public java.lang.String getTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; } } /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -253,14 +320,18 @@ public java.lang.String getTarget() { } public static final int VERB_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object verb_ = ""; /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ @java.lang.Override @@ -269,29 +340,29 @@ public java.lang.String getVerb() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; } } /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ @java.lang.Override - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -300,14 +371,18 @@ public java.lang.String getVerb() { } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object statusMessage_ = ""; /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ @java.lang.Override @@ -316,29 +391,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -349,6 +424,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_ = false; /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -358,6 +435,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -366,14 +444,18 @@ public boolean getRequestedCancellation() { } public static final int API_VERSION_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object apiVersion_ = ""; /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ @java.lang.Override @@ -382,29 +464,29 @@ public java.lang.String getApiVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; } } /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -413,6 +495,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -424,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createTime_ != null) { output.writeMessage(1, getCreateTime()); } @@ -448,7 +530,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 7, apiVersion_); } if (requestSpecificCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); + output.writeMessage( + 8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); } getUnknownFields().writeTo(output); } @@ -460,12 +543,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -477,15 +558,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); } if (requestSpecificCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -495,38 +576,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.cloud.alloydb.v1beta.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.OperationMetadata other = (com.google.cloud.alloydb.v1beta.OperationMetadata) obj; + com.google.cloud.alloydb.v1beta.OperationMetadata other = + (com.google.cloud.alloydb.v1beta.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getRequestSpecificCase().equals(other.getRequestSpecificCase())) return false; switch (requestSpecificCase_) { case 8: - if (!getBatchCreateInstancesMetadata() - .equals(other.getBatchCreateInstancesMetadata())) return false; + if (!getBatchCreateInstancesMetadata().equals(other.getBatchCreateInstancesMetadata())) + return false; break; case 0: default: @@ -557,8 +632,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); switch (requestSpecificCase_) { @@ -575,131 +649,135 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.OperationMetadata) com.google.cloud.alloydb.v1beta.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.OperationMetadata.class, com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); + com.google.cloud.alloydb.v1beta.OperationMetadata.class, + com.google.cloud.alloydb.v1beta.OperationMetadata.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.OperationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -728,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; } @java.lang.Override @@ -749,8 +827,11 @@ public com.google.cloud.alloydb.v1beta.OperationMetadata build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.OperationMetadata buildPartial() { - com.google.cloud.alloydb.v1beta.OperationMetadata result = new com.google.cloud.alloydb.v1beta.OperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.OperationMetadata result = + new com.google.cloud.alloydb.v1beta.OperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -759,14 +840,10 @@ public com.google.cloud.alloydb.v1beta.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.OperationMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.target_ = target_; @@ -788,8 +865,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.OperationMetadata res private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.OperationMetadata result) { result.requestSpecificCase_ = requestSpecificCase_; result.requestSpecific_ = this.requestSpecific_; - if (requestSpecificCase_ == 8 && - batchCreateInstancesMetadataBuilder_ != null) { + if (requestSpecificCase_ == 8 && batchCreateInstancesMetadataBuilder_ != null) { result.requestSpecific_ = batchCreateInstancesMetadataBuilder_.build(); } } @@ -798,38 +874,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.OperationMetadat public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.OperationMetadata) { - return mergeFrom((com.google.cloud.alloydb.v1beta.OperationMetadata)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -837,7 +914,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.OperationMetadata other) { - if (other == com.google.cloud.alloydb.v1beta.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -868,13 +946,15 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.OperationMetadata other onChanged(); } switch (other.getRequestSpecificCase()) { - case BATCH_CREATE_INSTANCES_METADATA: { - mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); - break; - } - case REQUESTSPECIFIC_NOT_SET: { - break; - } + case BATCH_CREATE_INSTANCES_METADATA: + { + mergeBatchCreateInstancesMetadata(other.getBatchCreateInstancesMetadata()); + break; + } + case REQUESTSPECIFIC_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -902,58 +982,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 58 - case 66: { - input.readMessage( - getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), - extensionRegistry); - requestSpecificCase_ = 8; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: + { + input.readMessage( + getBatchCreateInstancesMetadataFieldBuilder().getBuilder(), extensionRegistry); + requestSpecificCase_ = 8; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -963,12 +1047,12 @@ public Builder mergeFrom( } // finally return this; } + private int requestSpecificCase_ = 0; private java.lang.Object requestSpecific_; - public RequestSpecificCase - getRequestSpecificCase() { - return RequestSpecificCase.forNumber( - requestSpecificCase_); + + public RequestSpecificCase getRequestSpecificCase() { + return RequestSpecificCase.forNumber(requestSpecificCase_); } public Builder clearRequestSpecific() { @@ -981,13 +1065,21 @@ public Builder clearRequestSpecific() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> batchCreateInstancesMetadataBuilder_; + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> + batchCreateInstancesMetadataBuilder_; /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ @java.lang.Override @@ -995,15 +1087,21 @@ public boolean hasBatchCreateInstancesMetadata() { return requestSpecificCase_ == 8; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata + getBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { if (requestSpecificCase_ == 8) { return (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_; @@ -1017,13 +1115,18 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCrea } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { + public Builder setBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1037,11 +1140,15 @@ public Builder setBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta.B return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBatchCreateInstancesMetadata( com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder builderForValue) { @@ -1055,18 +1162,29 @@ public Builder setBatchCreateInstancesMetadata( return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { + public Builder mergeBatchCreateInstancesMetadata( + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata value) { if (batchCreateInstancesMetadataBuilder_ == null) { - if (requestSpecificCase_ == 8 && - requestSpecific_ != com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance()) { - requestSpecific_ = com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder((com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_) - .mergeFrom(value).buildPartial(); + if (requestSpecificCase_ == 8 + && requestSpecific_ + != com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata + .getDefaultInstance()) { + requestSpecific_ = + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.newBuilder( + (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) + requestSpecific_) + .mergeFrom(value) + .buildPartial(); } else { requestSpecific_ = value; } @@ -1082,11 +1200,15 @@ public Builder mergeBatchCreateInstancesMetadata(com.google.cloud.alloydb.v1beta return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBatchCreateInstancesMetadata() { if (batchCreateInstancesMetadataBuilder_ == null) { @@ -1105,24 +1227,34 @@ public Builder clearBatchCreateInstancesMetadata() { return this; } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder getBatchCreateInstancesMetadataBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder + getBatchCreateInstancesMetadataBuilder() { return getBatchCreateInstancesMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder() { + public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder() { if ((requestSpecificCase_ == 8) && (batchCreateInstancesMetadataBuilder_ != null)) { return batchCreateInstancesMetadataBuilder_.getMessageOrBuilder(); } else { @@ -1133,21 +1265,31 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder get } } /** + * + * *
      * Output only. BatchCreateInstances related metadata.
      * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder> getBatchCreateInstancesMetadataFieldBuilder() { if (batchCreateInstancesMetadataBuilder_ == null) { if (!(requestSpecificCase_ == 8)) { - requestSpecific_ = com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); + requestSpecific_ = + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.getDefaultInstance(); } - batchCreateInstancesMetadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder>( + batchCreateInstancesMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata.Builder, + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder>( (com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata) requestSpecific_, getParentForChildren(), isClean()); @@ -1160,39 +1302,58 @@ public com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder get 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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1208,14 +1369,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1226,17 +1390,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1249,11 +1417,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1266,11 +1438,15 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000002; @@ -1278,36 +1454,48 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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 operation was created.
      * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 1 [(.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_; @@ -1315,24 +1503,35 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1343,11 +1542,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1363,14 +1565,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1381,17 +1585,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1404,11 +1611,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1421,11 +1631,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1433,36 +1646,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. The time the operation finished running.
      * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1470,18 +1691,20 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1490,20 +1713,21 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - public com.google.protobuf.ByteString - getTargetBytes() { + public com.google.protobuf.ByteString getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); target_ = b; return b; } else { @@ -1511,28 +1735,35 @@ public java.lang.String getTarget() { } } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTarget(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } target_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTarget() { @@ -1542,17 +1773,21 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. Server-defined resource path for the target of the operation.
      * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTargetBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); target_ = value; bitField0_ |= 0x00000008; @@ -1562,18 +1797,20 @@ public Builder setTargetBytes( private java.lang.Object verb_ = ""; /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1582,20 +1819,21 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - public com.google.protobuf.ByteString - getVerbBytes() { + public com.google.protobuf.ByteString getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); verb_ = b; return b; } else { @@ -1603,28 +1841,35 @@ public java.lang.String getVerb() { } } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerb(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } verb_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearVerb() { @@ -1634,17 +1879,21 @@ public Builder clearVerb() { return this; } /** + * + * *
      * Output only. Name of the verb executed by the operation.
      * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVerbBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); verb_ = value; bitField0_ |= 0x00000010; @@ -1654,18 +1903,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1674,20 +1925,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1695,28 +1947,35 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } statusMessage_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { @@ -1726,17 +1985,21 @@ public Builder clearStatusMessage() { return this; } /** + * + * *
      * Output only. Human-readable status of the operation, if any.
      * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); statusMessage_ = value; bitField0_ |= 0x00000020; @@ -1744,8 +2007,10 @@ public Builder setStatusMessageBytes( return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1755,6 +2020,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1762,6 +2028,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1771,6 +2039,7 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ @@ -1782,6 +2051,8 @@ public Builder setRequestedCancellation(boolean value) { return this; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1791,6 +2062,7 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { @@ -1802,18 +2074,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ public java.lang.String getApiVersion() { java.lang.Object ref = apiVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); apiVersion_ = s; return s; @@ -1822,20 +2096,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - public com.google.protobuf.ByteString - getApiVersionBytes() { + public com.google.protobuf.ByteString getApiVersionBytes() { java.lang.Object ref = apiVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); apiVersion_ = b; return b; } else { @@ -1843,28 +2118,35 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersion( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -1874,26 +2156,30 @@ public Builder clearApiVersion() { return this; } /** + * + * *
      * Output only. API version used to start the operation.
      * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for apiVersion to set. * @return This builder for chaining. */ - public Builder setApiVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); apiVersion_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1903,12 +2189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.OperationMetadata) private static final com.google.cloud.alloydb.v1beta.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.OperationMetadata(); } @@ -1917,27 +2203,27 @@ public static com.google.cloud.alloydb.v1beta.OperationMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,6 +2238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java index 45bfb4ed9316..bb7dec0f1877 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/OperationMetadataOrBuilder.java @@ -1,154 +1,224 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the batchCreateInstancesMetadata field is set. */ boolean hasBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The batchCreateInstancesMetadata. */ com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata getBatchCreateInstancesMetadata(); /** + * + * *
    * Output only. BatchCreateInstances related metadata.
    * 
* - * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata batch_create_instances_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder getBatchCreateInstancesMetadataOrBuilder(); + com.google.cloud.alloydb.v1beta.BatchCreateInstancesMetadataOrBuilder + getBatchCreateInstancesMetadataOrBuilder(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time the operation was created.
    * 
* - * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. The time the operation finished running.
    * 
* - * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The target. */ java.lang.String getTarget(); /** + * + * *
    * Output only. Server-defined resource path for the target of the operation.
    * 
* * string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for target. */ - com.google.protobuf.ByteString - getTargetBytes(); + com.google.protobuf.ByteString getTargetBytes(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The verb. */ java.lang.String getVerb(); /** + * + * *
    * Output only. Name of the verb executed by the operation.
    * 
* * string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for verb. */ - com.google.protobuf.ByteString - getVerbBytes(); + com.google.protobuf.ByteString getVerbBytes(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Output only. Human-readable status of the operation, if any.
    * 
* * string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Output only. Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -158,29 +228,35 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * Output only. API version used to start the operation.
    * 
* * string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); com.google.cloud.alloydb.v1beta.OperationMetadata.RequestSpecificCase getRequestSpecificCase(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java index 22240b8125d5..4cc66051cfb6 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for promoting a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.PromoteClusterRequest} */ -public final class PromoteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PromoteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.PromoteClusterRequest) PromoteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PromoteClusterRequest.newBuilder() to construct. private PromoteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PromoteClusterRequest() { name_ = ""; requestId_ = ""; @@ -27,34 +45,41 @@ private PromoteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PromoteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -63,30 +88,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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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,9 +122,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -115,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -123,14 +154,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -148,16 +180,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -166,9 +197,12 @@ public java.lang.String getRequestId() { } public static final int ETAG_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -176,6 +210,7 @@ public java.lang.String getRequestId() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ @java.lang.Override @@ -184,14 +219,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; } } /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -199,16 +235,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -219,12 +254,15 @@ public java.lang.String getEtag() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -233,6 +271,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,8 +315,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -288,21 +325,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.cloud.alloydb.v1beta.PromoteClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.PromoteClusterRequest other = (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + com.google.cloud.alloydb.v1beta.PromoteClusterRequest other = + (com.google.cloud.alloydb.v1beta.PromoteClusterRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getEtag().equals(other.getEtag())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,139 +355,143 @@ 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.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.PromoteClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.PromoteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for promoting a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.PromoteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.PromoteClusterRequest) com.google.cloud.alloydb.v1beta.PromoteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, + com.google.cloud.alloydb.v1beta.PromoteClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.PromoteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; } @java.lang.Override @@ -487,8 +525,11 @@ public com.google.cloud.alloydb.v1beta.PromoteClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.PromoteClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.PromoteClusterRequest result = new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.PromoteClusterRequest result = + new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -513,38 +554,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.PromoteClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.PromoteClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.PromoteClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.PromoteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -552,7 +594,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.PromoteClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -597,32 +640,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - etag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + etag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,23 +680,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.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; @@ -657,21 +710,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.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 { @@ -679,30 +735,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string 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() { @@ -712,18 +779,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Cluster.name field
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -733,6 +806,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -750,13 +825,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -765,6 +840,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -782,15 +859,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -798,6 +874,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -815,18 +893,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -844,6 +926,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -853,6 +936,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -870,12 +955,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -885,6 +972,8 @@ public Builder setRequestIdBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -892,13 +981,13 @@ public Builder setRequestIdBytes(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -907,6 +996,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -914,15 +1005,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -930,6 +1020,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -937,18 +1029,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtag(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } etag_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -956,6 +1052,7 @@ public Builder setEtag(
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearEtag() { @@ -965,6 +1062,8 @@ public Builder clearEtag() { return this; } /** + * + * *
      * Optional. The current etag of the Cluster.
      * If an etag is provided and does not match the current etag of the Cluster,
@@ -972,12 +1071,14 @@ public Builder clearEtag() {
      * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setEtagBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000004; @@ -985,14 +1086,17 @@ public Builder setEtagBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1000,12 +1104,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1017,12 +1124,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the delete.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1031,9 +1141,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.PromoteClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.PromoteClusterRequest) private static final com.google.cloud.alloydb.v1beta.PromoteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.PromoteClusterRequest(); } @@ -1057,27 +1167,27 @@ public static com.google.cloud.alloydb.v1beta.PromoteClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PromoteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PromoteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1202,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.PromoteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java similarity index 76% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java index 56d27c690029..3c3ffc749fb8 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/PromoteClusterRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface PromoteClusterRequestOrBuilder extends +public interface PromoteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.PromoteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Cluster.name field
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,12 +98,14 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -81,10 +113,13 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * Optional. The current etag of the Cluster.
    * If an etag is provided and does not match the current etag of the Cluster,
@@ -92,18 +127,21 @@ public interface PromoteClusterRequestOrBuilder extends
    * 
* * string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the delete.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java new file mode 100644 index 000000000000..6e69f9c9ba81 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java @@ -0,0 +1,930 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public final class ResourcesProto { + private ResourcesProto() {} + + 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_cloud_alloydb_v1beta_UserPassword_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_User_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_User_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/cloud/alloydb/v1beta/resources." + + "proto\022\033google.cloud.alloydb.v1beta\032\037goog" + + "le/api/field_behavior.proto\032\031google/api/" + + "resource.proto\032\036google/protobuf/duration" + + ".proto\032\037google/protobuf/timestamp.proto\032" + + "\036google/protobuf/wrappers.proto\032\033google/" + + "type/dayofweek.proto\032\033google/type/timeof" + + "day.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022" + + "\020\n\010password\030\002 \001(\t\"\352\001\n\017MigrationSource\022\027\n" + + "\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002" + + " \001(\tB\004\342A\001\003\022[\n\013source_type\030\003 \001(\0162@.google" + + ".cloud.alloydb.v1beta.MigrationSource.Mi" + + "grationSourceTypeB\004\342A\001\003\"E\n\023MigrationSour" + + "ceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPECIF" + + "IED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n\014km" + + "s_key_name\030\001 \001(\t\"\214\002\n\016EncryptionInfo\022O\n\017e" + + "ncryption_type\030\001 \001(\01620.google.cloud.allo" + + "ydb.v1beta.EncryptionInfo.TypeB\004\342A\001\003\022K\n\020" + + "kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkm" + + "s.googleapis.com/CryptoKeyVersion\"\\\n\004Typ" + + "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DEFAUL" + + "T_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_ENCRY" + + "PTION\020\002\"\210\003\n\tSslConfig\022F\n\010ssl_mode\030\001 \001(\0162" + + "..google.cloud.alloydb.v1beta.SslConfig." + + "SslModeB\004\342A\001\001\022H\n\tca_source\030\002 \001(\0162/.googl" + + "e.cloud.alloydb.v1beta.SslConfig.CaSourc" + + "eB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UNSPECIF" + + "IED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020SSL_MOD" + + "E_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY_CA\020\003\032" + + "\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRYPTED\020\004" + + "\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031\n\025CA_S" + + "OURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_MANAGED" + + "\020\001\"\372\006\n\025AutomatedBackupPolicy\022\\\n\017weekly_s" + + "chedule\030\002 \001(\0132A.google.cloud.alloydb.v1b" + + "eta.AutomatedBackupPolicy.WeeklySchedule" + + "H\000\022e\n\024time_based_retention\030\004 \001(\0132E.googl" + + "e.cloud.alloydb.v1beta.AutomatedBackupPo" + + "licy.TimeBasedRetentionH\001\022m\n\030quantity_ba" + + "sed_retention\030\005 \001(\0132I.google.cloud.alloy" + + "db.v1beta.AutomatedBackupPolicy.Quantity" + + "BasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210\001\001\0220" + + "\n\rbackup_window\030\003 \001(\0132\031.google.protobuf." + + "Duration\022N\n\021encryption_config\030\010 \001(\0132-.go" + + "ogle.cloud.alloydb.v1beta.EncryptionConf" + + "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022N\n\006labels\030\007 \003" + + "(\0132>.google.cloud.alloydb.v1beta.Automat" + + "edBackupPolicy.LabelsEntry\032k\n\016WeeklySche" + + "dule\022+\n\013start_times\030\001 \003(\0132\026.google.type." + + "TimeOfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google" + + ".type.DayOfWeek\032I\n\022TimeBasedRetention\0223\n" + + "\020retention_period\030\001 \001(\0132\031.google.protobu" + + "f.Duration\032\'\n\026QuantityBasedRetention\022\r\n\005" + + "count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretent" + + "ionB\n\n\010_enabled\"\242\001\n\026ContinuousBackupConf" + + "ig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_win" + + "dow_days\030\004 \001(\005\022H\n\021encryption_config\030\003 \001(" + + "\0132-.google.cloud.alloydb.v1beta.Encrypti" + + "onConfigB\n\n\010_enabled\"\216\002\n\024ContinuousBacku" + + "pInfo\022J\n\017encryption_info\030\001 \001(\0132+.google." + + "cloud.alloydb.v1beta.EncryptionInfoB\004\342A\001" + + "\003\0226\n\014enabled_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.go" + + "ogle.type.DayOfWeekB\004\342A\001\003\022B\n\030earliest_re" + + "storable_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\"e\n\014BackupSource\022\030\n\nbackup_" + + "uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A" + + "\001\002\372A\037\n\035alloydb.googleapis.com/Backup\"h\n\026" + + "ContinuousBackupSource\022\025\n\007cluster\030\001 \001(\tB" + + "\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\002\"\206\022\n\007Cluster\022H\n\rba" + + "ckup_source\030\017 \001(\0132).google.cloud.alloydb" + + ".v1beta.BackupSourceB\004\342A\001\003H\000\022N\n\020migratio" + + "n_source\030\020 \001(\0132,.google.cloud.alloydb.v1" + + "beta.MigrationSourceB\004\342A\001\003H\000\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022@\n\006labels\030\007 \003(\01320.google." + + "cloud.alloydb.v1beta.Cluster.LabelsEntry" + + "\022?\n\005state\030\010 \001(\0162*.google.cloud.alloydb.v" + + "1beta.Cluster.StateB\004\342A\001\003\022L\n\014cluster_typ" + + "e\030\030 \001(\01620.google.cloud.alloydb.v1beta.Cl" + + "uster.ClusterTypeB\004\342A\001\003\022L\n\020database_vers" + + "ion\030\t \001(\0162,.google.cloud.alloydb.v1beta." + + "DatabaseVersionB\004\342A\001\001\022P\n\016network_config\030" + + "\035 \001(\01322.google.cloud.alloydb.v1beta.Clus" + + "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + + "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + + "ork\022\014\n\004etag\030\013 \001(\t\022J\n\013annotations\030\014 \003(\01325" + + ".google.cloud.alloydb.v1beta.Cluster.Ann" + + "otationsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003" + + "\022E\n\014initial_user\030\016 \001(\0132).google.cloud.al" + + "loydb.v1beta.UserPasswordB\004\342A\001\004\022S\n\027autom" + + "ated_backup_policy\030\021 \001(\01322.google.cloud." + + "alloydb.v1beta.AutomatedBackupPolicy\022>\n\n" + + "ssl_config\030\022 \001(\0132&.google.cloud.alloydb." + + "v1beta.SslConfigB\002\030\001\022N\n\021encryption_confi" + + "g\030\023 \001(\0132-.google.cloud.alloydb.v1beta.En" + + "cryptionConfigB\004\342A\001\001\022J\n\017encryption_info\030" + + "\024 \001(\0132+.google.cloud.alloydb.v1beta.Encr" + + "yptionInfoB\004\342A\001\003\022[\n\030continuous_backup_co" + + "nfig\030\033 \001(\01323.google.cloud.alloydb.v1beta" + + ".ContinuousBackupConfigB\004\342A\001\001\022W\n\026continu" + + "ous_backup_info\030\034 \001(\01321.google.cloud.all" + + "oydb.v1beta.ContinuousBackupInfoB\004\342A\001\003\022N" + + "\n\020secondary_config\030\026 \001(\01324.google.cloud." + + "alloydb.v1beta.Cluster.SecondaryConfig\022P" + + "\n\016primary_config\030\027 \001(\01322.google.cloud.al" + + "loydb.v1beta.Cluster.PrimaryConfigB\004\342A\001\003" + + "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + + "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + + "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + + "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + + "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + + "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + + "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + + "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + + "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + + "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + + "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + + "googleapis.com/Cluster\022:projects/{projec" + + "t}/locations/{location}/clusters/{cluste" + + "r}R\001\001B\010\n\006source\"\255\024\n\010Instance\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + + "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + + "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + + "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\022A\n\006labels\030\007 \003(\01321.google." + + "cloud.alloydb.v1beta.Instance.LabelsEntr" + + "y\022@\n\005state\030\010 \001(\0162+.google.cloud.alloydb." + + "v1beta.Instance.StateB\004\342A\001\003\022O\n\rinstance_" + + "type\030\t \001(\01622.google.cloud.alloydb.v1beta" + + ".Instance.InstanceTypeB\004\342A\001\002\022K\n\016machine_" + + "config\030\n \001(\01323.google.cloud.alloydb.v1be" + + "ta.Instance.MachineConfig\022Q\n\021availabilit" + + "y_type\030\013 \001(\01626.google.cloud.alloydb.v1be" + + "ta.Instance.AvailabilityType\022\020\n\010gce_zone" + + "\030\014 \001(\t\022P\n\016database_flags\030\r \003(\01328.google." + + "cloud.alloydb.v1beta.Instance.DatabaseFl" + + "agsEntry\022G\n\rwritable_node\030\023 \001(\0132*.google" + + ".cloud.alloydb.v1beta.Instance.NodeB\004\342A\001" + + "\003\022?\n\005nodes\030\024 \003(\0132*.google.cloud.alloydb." + + "v1beta.Instance.NodeB\004\342A\001\003\022`\n\025query_insi" + + "ghts_config\030\025 \001(\0132A.google.cloud.alloydb" + + ".v1beta.Instance.QueryInsightsInstanceCo" + + "nfig\022N\n\020read_pool_config\030\016 \001(\01324.google." + + "cloud.alloydb.v1beta.Instance.ReadPoolCo" + + "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + + "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022K\n\013annot" + + "ations\030\022 \003(\01326.google.cloud.alloydb.v1be" + + "ta.Instance.AnnotationsEntry\022I\n\rupdate_p" + + "olicy\030\026 \001(\01322.google.cloud.alloydb.v1bet" + + "a.Instance.UpdatePolicy\022d\n\030client_connec" + + "tion_config\030\027 \001(\0132<.google.cloud.alloydb" + + ".v1beta.Instance.ClientConnectionConfigB" + + "\004\342A\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(" + + "\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n" + + "\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsig" + + "htsInstanceConfig\022$\n\027record_application_" + + "tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address" + + "\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r" + + "\022#\n\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n" + + "\030_record_application_tagsB\030\n\026_record_cli" + + "ent_addressB\031\n\027_query_plans_per_minute\032$" + + "\n\016ReadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032\221\001\n" + + "\014UpdatePolicy\022E\n\004mode\030\001 \001(\01627.google.clo" + + "ud.alloydb.v1beta.Instance.UpdatePolicy." + + "Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\013\n\007DE" + + "FAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032|\n\026ClientConnec" + + "tionConfig\022 \n\022require_connectors\030\001 \001(\010B\004" + + "\342A\001\001\022@\n\nssl_config\030\002 \001(\0132&.google.cloud." + + "alloydb.v1beta.SslConfigB\004\342A\001\001\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n" + + "\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + + "e\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025\n\021STA" + + "TE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002" + + "\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAINTENA" + + "NCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\010\022\r\n\t" + + "PROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INSTANCE_" + + "TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tREAD_" + + "POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020AvailabilityTyp" + + "e\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020\000\022\t\n\005" + + "ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb.goog" + + "leapis.com/Instance\022Oprojects/{project}/" + + "locations/{location}/clusters/{cluster}/" + + "instances/{instance}R\001\001\"\211\002\n\016ConnectionIn" + + "fo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(\tB\004\342A" + + "\001\003\022%\n\025pem_certificate_chain\030\003 \003(\tB\006\030\001\342A\001" + + "\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A\207\001\n%al" + + "loydb.googleapis.com/ConnectionInfo\022^pro" + + "jects/{project}/locations/{location}/clu" + + "sters/{cluster}/instances/{instance}/con" + + "nectionInfo\"\327\013\n\006Backup\022\022\n\004name\030\001 \001(\tB\004\342A" + + "\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342" + + "A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013del" + + "ete_time\030\017 \001(\0132\032.google.protobuf.Timesta" + + "mpB\004\342A\001\003\022?\n\006labels\030\006 \003(\0132/.google.cloud." + + "alloydb.v1beta.Backup.LabelsEntry\022>\n\005sta" + + "te\030\007 \001(\0162).google.cloud.alloydb.v1beta.B" + + "ackup.StateB\004\342A\001\003\0226\n\004type\030\010 \001(\0162(.google" + + ".cloud.alloydb.v1beta.Backup.Type\022\023\n\013des" + + "cription\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001" + + "\003\022=\n\014cluster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloyd" + + "b.googleapis.com/Cluster\022\031\n\013reconciling\030" + + "\013 \001(\010B\004\342A\001\003\022N\n\021encryption_config\030\014 \001(\0132-" + + ".google.cloud.alloydb.v1beta.EncryptionC" + + "onfigB\004\342A\001\001\022J\n\017encryption_info\030\r \001(\0132+.g" + + "oogle.cloud.alloydb.v1beta.EncryptionInf" + + "oB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022I\n\013annotations\030\020 \003" + + "(\01324.google.cloud.alloydb.v1beta.Backup." + + "AnnotationsEntry\022\030\n\nsize_bytes\030\021 \001(\003B\004\342A" + + "\001\003\0225\n\013expiry_time\030\023 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022V\n\017expiry_quantity\030\024 \001" + + "(\01327.google.cloud.alloydb.v1beta.Backup." + + "QuantityBasedExpiryB\004\342A\001\003\022L\n\020database_ve" + + "rsion\030\026 \001(\0162,.google.cloud.alloydb.v1bet" + + "a.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBased" + + "Expiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022#\n" + + "\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAILED" + + "\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPECI" + + "FIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016\n\n" + + "CONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis.co" + + "m/Backup\0228projects/{project}/locations/{" + + "location}/backups/{backup}R\001\001\"\330\006\n\025Suppor" + + "tedDatabaseFlag\022d\n\023string_restrictions\030\007" + + " \001(\0132E.google.cloud.alloydb.v1beta.Suppo" + + "rtedDatabaseFlag.StringRestrictionsH\000\022f\n" + + "\024integer_restrictions\030\010 \001(\0132F.google.clo" + + "ud.alloydb.v1beta.SupportedDatabaseFlag." + + "IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022\021\n\tf" + + "lag_name\030\002 \001(\t\022P\n\nvalue_type\030\003 \001(\0162<.goo" + + "gle.cloud.alloydb.v1beta.SupportedDataba" + + "seFlag.ValueType\022\037\n\027accepts_multiple_val" + + "ues\030\004 \001(\010\022K\n\025supported_db_versions\030\005 \003(\016" + + "2,.google.cloud.alloydb.v1beta.DatabaseV" + + "ersion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022S" + + "tringRestrictions\022\026\n\016allowed_values\030\001 \003(" + + "\t\032u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 " + + "\001(\0132\033.google.protobuf.Int64Value\022.\n\tmax_" + + "value\030\002 \001(\0132\033.google.protobuf.Int64Value" + + "\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n" + + "\004NONE\020\004:g\352Ad\n,alloydb.googleapis.com/Sup" + + "portedDatabaseFlag\0224projects/{project}/l" + + "ocations/{location}/flags/{flag}B\016\n\014rest" + + "rictions\"\326\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n" + + "\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030" + + "\004 \003(\tB\004\342A\001\001\022C\n\tuser_type\030\005 \001(\0162*.google." + + "cloud.alloydb.v1beta.User.UserTypeB\004\342A\001\001" + + "\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022" + + "\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USE" + + "R\020\002:l\352Ai\n\033alloydb.googleapis.com/User\022Gp" + + "rojects/{project}/locations/{location}/c" + + "lusters/{cluster}/users/{user}R\001\001*^\n\014Ins" + + "tanceView\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000" + + "\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VI" + + "EW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW" + + "_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"" + + "\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*j\n\017Da" + + "tabaseVersion\022 \n\034DATABASE_VERSION_UNSPEC" + + "IFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES" + + "_14\020\002\022\017\n\013POSTGRES_15\020\003B\306\003\n\037com.google.cl" + + "oud.alloydb.v1betaB\016ResourcesProtoP\001Z9cl" + + "oud.google.com/go/alloydb/apiv1beta/allo" + + "ydbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V" + + "1Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Go" + + "ogle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudk" + + "ms.googleapis.com/CryptoKeyVersion\022zproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{key_ring}/cryptoKeys/{crypto_key}/" + + "cryptoKeyVersions/{crypto_key_version}\352A" + + "N\n\036compute.googleapis.com/Network\022,proje" + + "cts/{project}/global/networks/{network}b" + + "\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.type.DayOfWeekProto.getDescriptor(), + com.google.type.TimeOfDayProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor, + new java.lang.String[] { + "User", "Password", + }); + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor, + new java.lang.String[] { + "HostPort", "ReferenceId", "SourceType", + }); + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor, + new java.lang.String[] { + "KmsKeyName", + }); + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor, + new java.lang.String[] { + "EncryptionType", "KmsKeyVersions", + }); + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor, + new java.lang.String[] { + "SslMode", "CaSource", + }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor, + new java.lang.String[] { + "WeeklySchedule", + "TimeBasedRetention", + "QuantityBasedRetention", + "Enabled", + "BackupWindow", + "EncryptionConfig", + "Location", + "Labels", + "Schedule", + "Retention", + "Enabled", + }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor, + new java.lang.String[] { + "StartTimes", "DaysOfWeek", + }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor, + new java.lang.String[] { + "RetentionPeriod", + }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, + new java.lang.String[] { + "Count", + }); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor, + new java.lang.String[] { + "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", + }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor, + new java.lang.String[] { + "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", + }); + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor, + new java.lang.String[] { + "BackupUid", "BackupName", + }); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor, + new java.lang.String[] { + "Cluster", "PointInTime", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor, + new java.lang.String[] { + "BackupSource", + "MigrationSource", + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "ClusterType", + "DatabaseVersion", + "NetworkConfig", + "Network", + "Etag", + "Annotations", + "Reconciling", + "InitialUser", + "AutomatedBackupPolicy", + "SslConfig", + "EncryptionConfig", + "EncryptionInfo", + "ContinuousBackupConfig", + "ContinuousBackupInfo", + "SecondaryConfig", + "PrimaryConfig", + "Source", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor, + new java.lang.String[] { + "Network", "AllocatedIpRange", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor, + new java.lang.String[] { + "PrimaryClusterName", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor, + new java.lang.String[] { + "SecondaryClusterNames", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "InstanceType", + "MachineConfig", + "AvailabilityType", + "GceZone", + "DatabaseFlags", + "WritableNode", + "Nodes", + "QueryInsightsConfig", + "ReadPoolConfig", + "IpAddress", + "Reconciling", + "Etag", + "Annotations", + "UpdatePolicy", + "ClientConnectionConfig", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor, + new java.lang.String[] { + "CpuCount", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor, + new java.lang.String[] { + "ZoneId", "Id", "Ip", "State", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor, + new java.lang.String[] { + "RecordApplicationTags", + "RecordClientAddress", + "QueryStringLength", + "QueryPlansPerMinute", + "RecordApplicationTags", + "RecordClientAddress", + "QueryPlansPerMinute", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor, + new java.lang.String[] { + "NodeCount", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor, + new java.lang.String[] { + "Mode", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor, + new java.lang.String[] { + "RequireConnectors", "SslConfig", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor, + new java.lang.String[] { + "Name", "IpAddress", "PemCertificateChain", "InstanceUid", + }); + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor, + new java.lang.String[] { + "Name", + "DisplayName", + "Uid", + "CreateTime", + "UpdateTime", + "DeleteTime", + "Labels", + "State", + "Type", + "Description", + "ClusterUid", + "ClusterName", + "Reconciling", + "EncryptionConfig", + "EncryptionInfo", + "Etag", + "Annotations", + "SizeBytes", + "ExpiryTime", + "ExpiryQuantity", + "DatabaseVersion", + }); + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor, + new java.lang.String[] { + "RetentionCount", "TotalRetentionCount", + }); + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor, + new java.lang.String[] { + "StringRestrictions", + "IntegerRestrictions", + "Name", + "FlagName", + "ValueType", + "AcceptsMultipleValues", + "SupportedDbVersions", + "RequiresDbRestart", + "Restrictions", + }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor, + new java.lang.String[] { + "AllowedValues", + }); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor = + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor, + new java.lang.String[] { + "MinValue", "MaxValue", + }); + internal_static_google_cloud_alloydb_v1beta_User_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_User_descriptor, + new java.lang.String[] { + "Name", "Password", "DatabaseRoles", "UserType", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.type.DayOfWeekProto.getDescriptor(); + com.google.type.TimeOfDayProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java index 102b87efda8b..cc2d7a9f8e76 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequest.java @@ -1,20 +1,34 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -/** - * Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} - */ -public final class RestartInstanceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +/** Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} */ +public final class RestartInstanceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.RestartInstanceRequest) RestartInstanceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RestartInstanceRequest.newBuilder() to construct. private RestartInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RestartInstanceRequest() { name_ = ""; requestId_ = ""; @@ -22,34 +36,41 @@ private RestartInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RestartInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 @@ -58,30 +79,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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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 { @@ -90,9 +113,12 @@ public java.lang.String getName() { } public static final int REQUEST_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -110,6 +136,7 @@ public java.lang.String getName() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -118,14 +145,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -143,16 +171,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -163,12 +190,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -177,6 +207,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,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_); } @@ -215,8 +245,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,19 +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.cloud.alloydb.v1beta.RestartInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.RestartInstanceRequest other = (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.RestartInstanceRequest other = + (com.google.cloud.alloydb.v1beta.RestartInstanceRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -255,135 +282,135 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.RestartInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.RestartInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.cloud.alloydb.v1beta.RestartInstanceRequest} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + /** Protobuf type {@code google.cloud.alloydb.v1beta.RestartInstanceRequest} */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.RestartInstanceRequest) com.google.cloud.alloydb.v1beta.RestartInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, + com.google.cloud.alloydb.v1beta.RestartInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.RestartInstanceRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +422,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; } @java.lang.Override @@ -416,8 +443,11 @@ public com.google.cloud.alloydb.v1beta.RestartInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.RestartInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.RestartInstanceRequest result = new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.RestartInstanceRequest result = + new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -439,38 +469,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestartInstanceReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.RestartInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.RestartInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.RestartInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -478,7 +509,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestartInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -518,27 +550,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -548,23 +584,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.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; @@ -573,21 +614,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -595,30 +639,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string 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() { @@ -628,18 +683,24 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the resource. For the required format, see the
      * comment on the Instance.name field.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -649,6 +710,8 @@ public Builder setNameBytes( private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -666,13 +729,13 @@ public Builder setNameBytes(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -681,6 +744,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -698,15 +763,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -714,6 +778,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -731,18 +797,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -760,6 +830,7 @@ public Builder setRequestId(
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -769,6 +840,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -786,12 +859,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000002; @@ -799,14 +874,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -814,12 +892,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -831,12 +912,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the restart.
      * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -845,9 +929,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -857,12 +941,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.RestartInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.RestartInstanceRequest) private static final com.google.cloud.alloydb.v1beta.RestartInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.RestartInstanceRequest(); } @@ -871,27 +955,27 @@ public static com.google.cloud.alloydb.v1beta.RestartInstanceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestartInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestartInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,6 +990,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.RestartInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java index 7c36450c21dc..50af94541413 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestartInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface RestartInstanceRequestOrBuilder extends +public interface RestartInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.RestartInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.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 resource. For the required format, see the
    * comment on the Instance.name field.
    * 
* - * string name = 1 [(.google.api.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(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -47,10 +74,13 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -68,18 +98,21 @@ public interface RestartInstanceRequestOrBuilder extends
    * 
* * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the restart.
    * 
* * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java similarity index 71% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java index ac51555f177c..ad7dddcdab20 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for restoring a Cluster from a backup or another cluster at a given
  * point in time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.RestoreClusterRequest}
  */
-public final class RestoreClusterRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RestoreClusterRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.RestoreClusterRequest)
     RestoreClusterRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RestoreClusterRequest.newBuilder() to construct.
   private RestoreClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RestoreClusterRequest() {
     parent_ = "";
     clusterId_ = "";
@@ -28,34 +46,39 @@ private RestoreClusterRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreClusterRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ServiceProto
+        .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
+            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class,
+            com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object source_;
+
   public enum SourceCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_SOURCE(4),
     CONTINUOUS_BACKUP_SOURCE(8),
     SOURCE_NOT_SET(0);
     private final int value;
+
     private SourceCase(int value) {
       this.value = value;
     }
@@ -71,30 +94,36 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 4: return BACKUP_SOURCE;
-        case 8: return CONTINUOUS_BACKUP_SOURCE;
-        case 0: return SOURCE_NOT_SET;
-        default: return null;
+        case 4:
+          return BACKUP_SOURCE;
+        case 8:
+          return CONTINUOUS_BACKUP_SOURCE;
+        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 BACKUP_SOURCE_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -102,21 +131,26 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } /** + * + * *
    * Backup source.
    * 
@@ -126,19 +160,22 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder() { if (sourceCase_ == 4) { - return (com.google.cloud.alloydb.v1beta.BackupSource) source_; + return (com.google.cloud.alloydb.v1beta.BackupSource) source_; } return com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } public static final int CONTINUOUS_BACKUP_SOURCE_FIELD_NUMBER = 8; /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -146,22 +183,27 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBackupSource() { if (sourceCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_; + return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_; } return com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance(); } /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -170,23 +212,30 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBacku
    * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8;
    */
   @java.lang.Override
-  public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() {
+  public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder
+      getContinuousBackupSourceOrBuilder() {
     if (sourceCase_ == 8) {
-       return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_;
+      return (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_;
     }
     return com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance();
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 @@ -195,30 +244,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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -227,14 +278,18 @@ public java.lang.String getParent() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -243,29 +298,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -276,11 +331,16 @@ public java.lang.String getClusterId() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -288,33 +348,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -332,6 +408,7 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -340,14 +417,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -365,16 +443,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -385,6 +462,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 6; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -392,6 +471,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -400,6 +480,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -411,8 +492,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -450,23 +530,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (sourceCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.alloydb.v1beta.BackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.cloud.alloydb.v1beta.BackupSource) source_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, validateOnly_); } if (sourceCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -476,35 +556,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.cloud.alloydb.v1beta.RestoreClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.RestoreClusterRequest other = (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) obj; + com.google.cloud.alloydb.v1beta.RestoreClusterRequest other = + (com.google.cloud.alloydb.v1beta.RestoreClusterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 4: - if (!getBackupSource() - .equals(other.getBackupSource())) return false; + if (!getBackupSource().equals(other.getBackupSource())) return false; break; case 8: - if (!getContinuousBackupSource() - .equals(other.getContinuousBackupSource())) return false; + if (!getContinuousBackupSource().equals(other.getContinuousBackupSource())) return false; break; case 0: default: @@ -531,8 +605,7 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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()); switch (sourceCase_) { case 4: hash = (37 * hash) + BACKUP_SOURCE_FIELD_NUMBER; @@ -551,98 +624,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.RestoreClusterRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.RestoreClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for restoring a Cluster from a backup or another cluster at a given
    * point in time.
@@ -650,33 +729,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.RestoreClusterRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.RestoreClusterRequest)
       com.google.cloud.alloydb.v1beta.RestoreClusterRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
+              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class,
+              com.google.cloud.alloydb.v1beta.RestoreClusterRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.RestoreClusterRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +780,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ServiceProto
+          .internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor;
     }
 
     @java.lang.Override
@@ -723,8 +801,11 @@ public com.google.cloud.alloydb.v1beta.RestoreClusterRequest build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.RestoreClusterRequest buildPartial() {
-      com.google.cloud.alloydb.v1beta.RestoreClusterRequest result = new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.RestoreClusterRequest result =
+          new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -739,9 +820,7 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestoreClusterRequest
         result.clusterId_ = clusterId_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.cluster_ = clusterBuilder_ == null
-            ? cluster_
-            : clusterBuilder_.build();
+        result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.requestId_ = requestId_;
@@ -754,12 +833,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.RestoreClusterRequest
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.RestoreClusterRequest result) {
       result.sourceCase_ = sourceCase_;
       result.source_ = this.source_;
-      if (sourceCase_ == 4 &&
-          backupSourceBuilder_ != null) {
+      if (sourceCase_ == 4 && backupSourceBuilder_ != null) {
         result.source_ = backupSourceBuilder_.build();
       }
-      if (sourceCase_ == 8 &&
-          continuousBackupSourceBuilder_ != null) {
+      if (sourceCase_ == 8 && continuousBackupSourceBuilder_ != null) {
         result.source_ = continuousBackupSourceBuilder_.build();
       }
     }
@@ -768,38 +845,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.RestoreClusterRe
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.RestoreClusterRequest) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.RestoreClusterRequest)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.RestoreClusterRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -807,7 +885,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestoreClusterRequest other) {
-      if (other == com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000004;
@@ -830,17 +909,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.RestoreClusterRequest o
         setValidateOnly(other.getValidateOnly());
       }
       switch (other.getSourceCase()) {
-        case BACKUP_SOURCE: {
-          mergeBackupSource(other.getBackupSource());
-          break;
-        }
-        case CONTINUOUS_BACKUP_SOURCE: {
-          mergeContinuousBackupSource(other.getContinuousBackupSource());
-          break;
-        }
-        case SOURCE_NOT_SET: {
-          break;
-        }
+        case BACKUP_SOURCE:
+          {
+            mergeBackupSource(other.getBackupSource());
+            break;
+          }
+        case CONTINUOUS_BACKUP_SOURCE:
+          {
+            mergeContinuousBackupSource(other.getContinuousBackupSource());
+            break;
+          }
+        case SOURCE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -868,53 +950,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              clusterId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getClusterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 4;
-              break;
-            } // case 34
-            case 42: {
-              requestId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 48: {
-              validateOnly_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 48
-            case 66: {
-              input.readMessage(
-                  getContinuousBackupSourceFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 4;
+                break;
+              } // case 34
+            case 42:
+              {
+                requestId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 48:
+              {
+                validateOnly_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 48
+            case 66:
+              {
+                input.readMessage(
+                    getContinuousBackupSourceFieldBuilder().getBuilder(), extensionRegistry);
+                sourceCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -924,12 +1009,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() {
@@ -942,13 +1027,19 @@ public Builder clearSource() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> backupSourceBuilder_;
+            com.google.cloud.alloydb.v1beta.BackupSource,
+            com.google.cloud.alloydb.v1beta.BackupSource.Builder,
+            com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>
+        backupSourceBuilder_;
     /**
+     *
+     *
      * 
      * Backup source.
      * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ @java.lang.Override @@ -956,11 +1047,14 @@ public boolean hasBackupSource() { return sourceCase_ == 4; } /** + * + * *
      * Backup source.
      * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return The backupSource. */ @java.lang.Override @@ -978,6 +1072,8 @@ public com.google.cloud.alloydb.v1beta.BackupSource getBackupSource() { } } /** + * + * *
      * Backup source.
      * 
@@ -998,6 +1094,8 @@ public Builder setBackupSource(com.google.cloud.alloydb.v1beta.BackupSource valu return this; } /** + * + * *
      * Backup source.
      * 
@@ -1016,6 +1114,8 @@ public Builder setBackupSource( return this; } /** + * + * *
      * Backup source.
      * 
@@ -1024,10 +1124,13 @@ public Builder setBackupSource( */ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource value) { if (backupSourceBuilder_ == null) { - if (sourceCase_ == 4 && - source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1beta.BackupSource.newBuilder((com.google.cloud.alloydb.v1beta.BackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 4 + && source_ != com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1beta.BackupSource.newBuilder( + (com.google.cloud.alloydb.v1beta.BackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1043,6 +1146,8 @@ public Builder mergeBackupSource(com.google.cloud.alloydb.v1beta.BackupSource va return this; } /** + * + * *
      * Backup source.
      * 
@@ -1066,6 +1171,8 @@ public Builder clearBackupSource() { return this; } /** + * + * *
      * Backup source.
      * 
@@ -1076,6 +1183,8 @@ public com.google.cloud.alloydb.v1beta.BackupSource.Builder getBackupSourceBuild return getBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Backup source.
      * 
@@ -1094,6 +1203,8 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } } /** + * + * *
      * Backup source.
      * 
@@ -1101,14 +1212,19 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.BackupSource, + com.google.cloud.alloydb.v1beta.BackupSource.Builder, + com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder> getBackupSourceFieldBuilder() { if (backupSourceBuilder_ == null) { if (!(sourceCase_ == 4)) { source_ = com.google.cloud.alloydb.v1beta.BackupSource.getDefaultInstance(); } - backupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.BackupSource, com.google.cloud.alloydb.v1beta.BackupSource.Builder, com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( + backupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.BackupSource, + com.google.cloud.alloydb.v1beta.BackupSource.Builder, + com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.BackupSource) source_, getParentForChildren(), isClean()); @@ -1120,14 +1236,21 @@ public com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> continuousBackupSourceBuilder_; + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> + continuousBackupSourceBuilder_; /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * + * * @return Whether the continuousBackupSource field is set. */ @java.lang.Override @@ -1135,12 +1258,16 @@ public boolean hasContinuousBackupSource() { return sourceCase_ == 8; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * + * * @return The continuousBackupSource. */ @java.lang.Override @@ -1158,14 +1285,18 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBacku } } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ - public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { + public Builder setContinuousBackupSource( + com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1179,12 +1310,15 @@ public Builder setContinuousBackupSource(com.google.cloud.alloydb.v1beta.Continu return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ public Builder setContinuousBackupSource( com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder builderForValue) { @@ -1198,19 +1332,27 @@ public Builder setContinuousBackupSource( return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ - public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { + public Builder mergeContinuousBackupSource( + com.google.cloud.alloydb.v1beta.ContinuousBackupSource value) { if (continuousBackupSourceBuilder_ == null) { - if (sourceCase_ == 8 && - source_ != com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) { - source_ = com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder((com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 8 + && source_ + != com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance()) { + source_ = + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.newBuilder( + (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -1226,12 +1368,15 @@ public Builder mergeContinuousBackupSource(com.google.cloud.alloydb.v1beta.Conti return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ public Builder clearContinuousBackupSource() { if (continuousBackupSourceBuilder_ == null) { @@ -1250,26 +1395,34 @@ public Builder clearContinuousBackupSource() { return this; } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ - public com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder getContinuousBackupSourceBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder + getContinuousBackupSourceBuilder() { return getContinuousBackupSourceFieldBuilder().getBuilder(); } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder() { + public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder + getContinuousBackupSourceOrBuilder() { if ((sourceCase_ == 8) && (continuousBackupSourceBuilder_ != null)) { return continuousBackupSourceBuilder_.getMessageOrBuilder(); } else { @@ -1280,22 +1433,30 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContin } } /** + * + * *
      * ContinuousBackup source. Continuous backup needs to be enabled in the
      * source cluster for this operation to succeed.
      * 
* - * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder> getContinuousBackupSourceFieldBuilder() { if (continuousBackupSourceBuilder_ == null) { if (!(sourceCase_ == 8)) { source_ = com.google.cloud.alloydb.v1beta.ContinuousBackupSource.getDefaultInstance(); } - continuousBackupSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.ContinuousBackupSource, com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder>( + continuousBackupSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.ContinuousBackupSource, + com.google.cloud.alloydb.v1beta.ContinuousBackupSource.Builder, + com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder>( (com.google.cloud.alloydb.v1beta.ContinuousBackupSource) source_, getParentForChildren(), isClean()); @@ -1308,19 +1469,23 @@ public com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContin private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.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; @@ -1329,21 +1494,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -1351,30 +1519,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string 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() { @@ -1384,18 +1563,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the parent resource. For the required format, see the
      * comment on the Cluster.name field.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000004; @@ -1405,18 +1590,20 @@ public Builder setParentBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1425,20 +1612,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1446,28 +1634,35 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } clusterId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1477,17 +1672,21 @@ public Builder clearClusterId() { return this; } /** + * + * *
      * Required. ID of the requesting object.
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000008; @@ -1497,39 +1696,58 @@ public Builder setClusterIdBytes( private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -1545,14 +1763,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -1563,17 +1784,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -1586,11 +1811,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1603,11 +1832,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000010; @@ -1615,36 +1848,48 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being created
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1652,6 +1897,8 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1669,13 +1916,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1684,6 +1931,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1701,15 +1950,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1717,6 +1965,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1734,18 +1984,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1763,6 +2017,7 @@ public Builder setRequestId(
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1772,6 +2027,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1789,12 +2046,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000020; @@ -1802,8 +2061,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1811,6 +2072,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1818,6 +2080,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1825,6 +2089,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1836,6 +2101,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the import
@@ -1843,6 +2110,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1851,9 +2119,9 @@ public Builder clearValidateOnly() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1863,12 +2131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.RestoreClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.RestoreClusterRequest) private static final com.google.cloud.alloydb.v1beta.RestoreClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.RestoreClusterRequest(); } @@ -1877,27 +2145,27 @@ public static com.google.cloud.alloydb.v1beta.RestoreClusterRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1912,6 +2180,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.RestoreClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java similarity index 77% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java index 3b65f8763dd5..e4d7e6e1fe4d 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/RestoreClusterRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface RestoreClusterRequestOrBuilder extends +public interface RestoreClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.RestoreClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return Whether the backupSource field is set. */ boolean hasBackupSource(); /** + * + * *
    * Backup source.
    * 
* * .google.cloud.alloydb.v1beta.BackupSource backup_source = 4; + * * @return The backupSource. */ com.google.cloud.alloydb.v1beta.BackupSource getBackupSource(); /** + * + * *
    * Backup source.
    * 
@@ -35,26 +59,34 @@ public interface RestoreClusterRequestOrBuilder extends com.google.cloud.alloydb.v1beta.BackupSourceOrBuilder getBackupSourceOrBuilder(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * * @return Whether the continuousBackupSource field is set. */ boolean hasContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
    * 
* * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8; + * * @return The continuousBackupSource. */ com.google.cloud.alloydb.v1beta.ContinuousBackupSource getContinuousBackupSource(); /** + * + * *
    * ContinuousBackup source. Continuous backup needs to be enabled in the
    * source cluster for this operation to succeed.
@@ -62,78 +94,109 @@ public interface RestoreClusterRequestOrBuilder extends
    *
    * .google.cloud.alloydb.v1beta.ContinuousBackupSource continuous_backup_source = 8;
    */
-  com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder getContinuousBackupSourceOrBuilder();
+  com.google.cloud.alloydb.v1beta.ContinuousBackupSourceOrBuilder
+      getContinuousBackupSourceOrBuilder();
 
   /**
+   *
+   *
    * 
    * Required. The name of the parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.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 parent resource. For the required format, see the
    * comment on the Cluster.name field.
    * 
* - * string parent = 1 [(.google.api.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. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. ID of the requesting object.
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** + * + * *
    * Required. The resource being created
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -151,10 +214,13 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -172,12 +238,14 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * string request_id = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the import
@@ -185,6 +253,7 @@ public interface RestoreClusterRequestOrBuilder extends
    * 
* * bool validate_only = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java new file mode 100644 index 000000000000..a56a186c65e6 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java @@ -0,0 +1,992 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/service.proto + +package com.google.cloud.alloydb.v1beta; + +public final class ServiceProto { + private ServiceProto() {} + + 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_cloud_alloydb_v1beta_ListClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_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/cloud/alloydb/v1beta/service.pr" + + "oto\022\033google.cloud.alloydb.v1beta\032\034google" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\032+google/clou" + + "d/alloydb/v1beta/resources.proto\032#google" + + "/longrunning/operations.proto\032\036google/pr" + + "otobuf/duration.proto\032\033google/protobuf/e" + + "mpty.proto\032 google/protobuf/field_mask.p" + + "roto\032\037google/protobuf/timestamp.proto\032\027g" + + "oogle/rpc/status.proto\"\251\001\n\023ListClustersR" + + "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb" + + ".googleapis.com/Cluster\022\027\n\tpage_size\030\002 \001" + + "(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030\004" + + " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"|\n\024Li" + + "stClustersResponse\0226\n\010clusters\030\001 \003(\0132$.g" + + "oogle.cloud.alloydb.v1beta.Cluster\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"\210\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A" + + "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022<\n" + + "\004view\030\002 \001(\0162(.google.cloud.alloydb.v1bet" + + "a.ClusterViewB\004\342A\001\001\"\346\001\n\035CreateSecondaryC" + + "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + + "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + + "r_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.goog" + + "le.cloud.alloydb.v1beta.ClusterB\004\342A\001\002\022\030\n" + + "\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + + "\030\006 \001(\010B\004\342A\001\001\"\335\001\n\024CreateClusterRequest\0227\n" + + "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleap" + + "is.com/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002" + + "\022;\n\007cluster\030\003 \001(\0132$.google.cloud.alloydb" + + ".v1beta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(" + + "\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\336\001\n" + + "\024UpdateClusterRequest\0225\n\013update_mask\030\001 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\022;\n\007" + + "cluster\030\002 \001(\0132$.google.cloud.alloydb.v1b" + + "eta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + + "A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallo" + + "w_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024DeleteClusterR" + + "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + + "oogleapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(" + + "\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" + + "only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B\004\342A\001\001\"\231\001" + + "\n\025PromoteClusterRequest\0225\n\004name\030\001 \001(\tB\'\342" + + "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030" + + "\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004" + + "\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\205\003\n\025Re" + + "storeClusterRequest\022B\n\rbackup_source\030\004 \001" + + "(\0132).google.cloud.alloydb.v1beta.BackupS" + + "ourceH\000\022W\n\030continuous_backup_source\030\010 \001(" + + "\01323.google.cloud.alloydb.v1beta.Continuo" + + "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + + " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + + "ster_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.g" + + "oogle.cloud.alloydb.v1beta.ClusterB\004\342A\001\002" + + "\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + + "nly\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstan" + + "cesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + + "oydb.googleapis.com/Instance\022\027\n\tpage_siz" + + "e\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006fil" + + "ter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"" + + "\177\n\025ListInstancesResponse\0228\n\tinstances\030\001 " + + "\003(\0132%.google.cloud.alloydb.v1beta.Instan" + + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"\205\001\n\022GetInstanceRequest\0226\n\004name\030" + + "\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + + "nstance\0227\n\004view\030\002 \001(\0162).google.cloud.all" + + "oydb.v1beta.InstanceView\"\342\001\n\025CreateInsta" + + "nceRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + + "oydb.googleapis.com/Instance\022\031\n\013instance" + + "_id\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.goog" + + "le.cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030" + + "\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_onl" + + "y\030\005 \001(\010B\004\342A\001\001\"\353\001\n\036CreateSecondaryInstanc" + + "eRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloy" + + "db.googleapis.com/Instance\022\031\n\013instance_i" + + "d\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.google" + + ".cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030\n\n" + + "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + + "\005 \001(\010B\004\342A\001\001\"t\n\026CreateInstanceRequests\022Z\n" + + "\030create_instance_requests\030\001 \003(\01322.google" + + ".cloud.alloydb.v1beta.CreateInstanceRequ" + + "estB\004\342A\001\002\"\276\001\n\033BatchCreateInstancesReques" + + "t\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.goog" + + "leapis.com/Instance\022K\n\010requests\030\002 \001(\01323." + + "google.cloud.alloydb.v1beta.CreateInstan" + + "ceRequestsB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" + + "\001\001\"X\n\034BatchCreateInstancesResponse\0228\n\tin" + + "stances\030\001 \003(\0132%.google.cloud.alloydb.v1b" + + "eta.Instance\"\225\002\n\034BatchCreateInstancesMet" + + "adata\022\030\n\020instance_targets\030\001 \003(\t\022j\n\021insta" + + "nce_statuses\030\002 \003(\0132O.google.cloud.alloyd" + + "b.v1beta.BatchCreateInstancesMetadata.In" + + "stanceStatusesEntry\032o\n\025InstanceStatusesE" + + "ntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.googl" + + "e.cloud.alloydb.v1beta.BatchCreateInstan" + + "ceStatus:\0028\001\"\330\002\n\031BatchCreateInstanceStat" + + "us\022K\n\005state\030\001 \001(\0162<.google.cloud.alloydb" + + ".v1beta.BatchCreateInstanceStatus.State\022" + + "\021\n\terror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.goog" + + "le.rpc.Status\022@\n\004type\030\003 \001(\01622.google.clo" + + "ud.alloydb.v1beta.Instance.InstanceType\"" + + "v\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDI" + + "NG_CREATE\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010" + + "DELETING\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"" + + "\341\001\n\025UpdateInstanceRequest\0225\n\013update_mask" + + "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001" + + "\022=\n\010instance\030\002 \001(\0132%.google.cloud.alloyd" + + "b.v1beta.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 " + + "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033" + + "\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteIn" + + "stanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037al" + + "loydb.googleapis.com/Instance\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + + "alidate_only\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverIns" + + "tanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037all" + + "oydb.googleapis.com/Instance\022\030\n\nrequest_" + + "id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342" + + "A\001\001\"\216\002\n\022InjectFaultRequest\022S\n\nfault_type" + + "\030\001 \001(\01629.google.cloud.alloydb.v1beta.Inj" + + "ectFaultRequest.FaultTypeB\004\342A\001\002\0226\n\004name\030" + + "\002 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + + "nstance\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\004 \001(\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026F" + + "AULT_TYPE_UNSPECIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n" + + "\026RestartInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + + "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + + "\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_on" + + "ly\030\003 \001(\010B\004\342A\001\001\"\225\001\n\022ListBackupsRequest\0226\n" + + "\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloydb.googleap" + + "is.com/Backup\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\022\020\n\010order_by" + + "\030\005 \001(\t\"y\n\023ListBackupsResponse\0224\n\007backups" + + "\030\001 \003(\0132#.google.cloud.alloydb.v1beta.Bac" + + "kup\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha" + + "ble\030\003 \003(\t\"H\n\020GetBackupRequest\0224\n\004name\030\001 " + + "\001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Bac" + + "kup\"\330\001\n\023CreateBackupRequest\0226\n\006parent\030\001 " + + "\001(\tB&\342A\001\002\372A\037\022\035alloydb.googleapis.com/Bac" + + "kup\022\027\n\tbackup_id\030\002 \001(\tB\004\342A\001\002\0229\n\006backup\030\003" + + " \001(\0132#.google.cloud.alloydb.v1beta.Backu" + + "pB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rval" + + "idate_only\030\005 \001(\010B\004\342A\001\001\"\333\001\n\023UpdateBackupR" + + "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\004\342A\001\001\0229\n\006backup\030\002 \001(\0132#." + + "google.cloud.alloydb.v1beta.BackupB\004\342A\001\002" + + "\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + + "nly\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004" + + "\342A\001\001\"\226\001\n\023DeleteBackupRequest\0224\n\004name\030\001 \001" + + "(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Back" + + "up\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate" + + "_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001" + + "\n!ListSupportedDatabaseFlagsRequest\022E\n\006p" + + "arent\030\001 \001(\tB5\342A\001\002\372A.\022,alloydb.googleapis" + + ".com/SupportedDatabaseFlag\022\021\n\tpage_size\030" + + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\223\001\n\"ListSuppor" + + "tedDatabaseFlagsResponse\022T\n\030supported_da" + + "tabase_flags\030\001 \003(\01322.google.cloud.alloyd" + + "b.v1beta.SupportedDatabaseFlag\022\027\n\017next_p" + + "age_token\030\002 \001(\t\"\205\002\n GenerateClientCertif" + + "icateRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + + "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + + "_id\030\002 \001(\tB\004\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001" + + "\0226\n\rcert_duration\030\004 \001(\0132\031.google.protobu" + + "f.DurationB\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A" + + "\001\001\022#\n\025use_metadata_exchange\030\006 \001(\010B\004\342A\001\001\"" + + "~\n!GenerateClientCertificateResponse\022\035\n\017" + + "pem_certificate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certi" + + "ficate_chain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(" + + "\tB\004\342A\001\001\"n\n\030GetConnectionInfoRequest\0228\n\006p" + + "arent\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + + ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"" + + "\207\003\n\021OperationMetadata\022j\n\037batch_create_in" + + "stances_metadata\030\010 \001(\01329.google.cloud.al" + + "loydb.v1beta.BatchCreateInstancesMetadat" + + "aB\004\342A\001\003H\000\0225\n\013create_time\030\001 \001(\0132\032.google." + + "protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" + + "target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034" + + "\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requeste" + + "d_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_versio" + + "n\030\007 \001(\tB\004\342A\001\003B\022\n\020request_specific\"\251\001\n\020Li" + + "stUsersRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + + "\033alloydb.googleapis.com/User\022\027\n\tpage_siz" + + "e\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022" + + "\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB" + + "\004\342A\001\001\"s\n\021ListUsersResponse\0220\n\005users\030\001 \003(" + + "\0132!.google.cloud.alloydb.v1beta.User\022\027\n\017" + + "next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003" + + "(\t\"D\n\016GetUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002" + + "\372A\035\n\033alloydb.googleapis.com/User\"\316\001\n\021Cre" + + "ateUserRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + + "\033alloydb.googleapis.com/User\022\025\n\007user_id\030" + + "\002 \001(\tB\004\342A\001\002\0225\n\004user\030\003 \001(\0132!.google.cloud" + + ".alloydb.v1beta.UserB\004\342A\001\002\022\030\n\nrequest_id" + + "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" + + "\001\"\325\001\n\021UpdateUserRequest\0225\n\013update_mask\030\001" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225" + + "\n\004user\030\002 \001(\0132!.google.cloud.alloydb.v1be" + + "ta.UserB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022" + + "\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mi" + + "ssing\030\005 \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222" + + "\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapi" + + "s.com/User\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\r" + + "validate_only\030\003 \001(\010B\004\342A\001\0012\2464\n\014AlloyDBAdm" + + "in\022\266\001\n\014ListClusters\0220.google.cloud.alloy" + + "db.v1beta.ListClustersRequest\0321.google.c" + + "loud.alloydb.v1beta.ListClustersResponse" + + "\"A\332A\006parent\202\323\344\223\0022\0220/v1beta/{parent=proje" + + "cts/*/locations/*}/clusters\022\243\001\n\nGetClust" + + "er\022..google.cloud.alloydb.v1beta.GetClus" + + "terRequest\032$.google.cloud.alloydb.v1beta" + + ".Cluster\"?\332A\004name\202\323\344\223\0022\0220/v1beta/{name=p" + + "rojects/*/locations/*/clusters/*}\022\337\001\n\rCr" + + "eateCluster\0221.google.cloud.alloydb.v1bet" + + "a.CreateClusterRequest\032\035.google.longrunn" + + "ing.Operation\"|\312A\034\n\007Cluster\022\021OperationMe" + + "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002;" + + "\"0/v1beta/{parent=projects/*/locations/*" + + "}/clusters:\007cluster\022\341\001\n\rUpdateCluster\0221." + + "google.cloud.alloydb.v1beta.UpdateCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "~\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clust" + + "er,update_mask\202\323\344\223\002C28/v1beta/{cluster.n" + + "ame=projects/*/locations/*/clusters/*}:\007" + + "cluster\022\317\001\n\rDeleteCluster\0221.google.cloud" + + ".alloydb.v1beta.DeleteClusterRequest\032\035.g" + + "oogle.longrunning.Operation\"l\312A*\n\025google" + + ".protobuf.Empty\022\021OperationMetadata\332A\004nam" + + "e\202\323\344\223\0022*0/v1beta/{name=projects/*/locati" + + "ons/*/clusters/*}\022\316\001\n\016PromoteCluster\0222.g" + + "oogle.cloud.alloydb.v1beta.PromoteCluste" + + "rRequest\032\035.google.longrunning.Operation\"" + + "i\312A\034\n\007Cluster\022\021OperationMetadata\332A\004name\202" + + "\323\344\223\002=\"8/v1beta/{name=projects/*/location" + + "s/*/clusters/*}:promote:\001*\022\307\001\n\016RestoreCl" + + "uster\0222.google.cloud.alloydb.v1beta.Rest" + + "oreClusterRequest\032\035.google.longrunning.O" + + "peration\"b\312A\034\n\007Cluster\022\021OperationMetadat" + + "a\202\323\344\223\002=\"8/v1beta/{parent=projects/*/loca" + + "tions/*}/clusters:restore:\001*\022\202\002\n\026CreateS" + + "econdaryCluster\022:.google.cloud.alloydb.v" + + "1beta.CreateSecondaryClusterRequest\032\035.go" + + "ogle.longrunning.Operation\"\214\001\312A\034\n\007Cluste" + + "r\022\021OperationMetadata\332A\031parent,cluster,cl" + + "uster_id\202\323\344\223\002K\"@/v1beta/{parent=projects" + + "/*/locations/*}/clusters:createsecondary" + + ":\007cluster\022\305\001\n\rListInstances\0221.google.clo" + + "ud.alloydb.v1beta.ListInstancesRequest\0322" + + ".google.cloud.alloydb.v1beta.ListInstanc" + + "esResponse\"M\332A\006parent\202\323\344\223\002>\022\022*\332A\004name\202\323\344\223\0021\022//v1beta/{name=pro" + + "jects/*/locations/*/backups/*}\022\330\001\n\014Creat" + + "eBackup\0220.google.cloud.alloydb.v1beta.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"w\312A\033\n\006Backup\022\021OperationMetadata" + + "\332A\027parent,backup,backup_id\202\323\344\223\0029\"//v1bet" + + "a/{parent=projects/*/locations/*}/backup" + + "s:\006backup\022\332\001\n\014UpdateBackup\0220.google.clou" + + "d.alloydb.v1beta.UpdateBackupRequest\032\035.g" + + "oogle.longrunning.Operation\"y\312A\033\n\006Backup" + + "\022\021OperationMetadata\332A\022backup,update_mask" + + "\202\323\344\223\002@26/v1beta/{backup.name=projects/*/" + + "locations/*/backups/*}:\006backup\022\314\001\n\014Delet" + + "eBackup\0220.google.cloud.alloydb.v1beta.De" + + "leteBackupRequest\032\035.google.longrunning.O" + + "peration\"k\312A*\n\025google.protobuf.Empty\022\021Op" + + "erationMetadata\332A\004name\202\323\344\223\0021*//v1beta/{n" + + "ame=projects/*/locations/*/backups/*}\022\356\001" + + "\n\032ListSupportedDatabaseFlags\022>.google.cl" + + "oud.alloydb.v1beta.ListSupportedDatabase" + + "FlagsRequest\032?.google.cloud.alloydb.v1be" + + "ta.ListSupportedDatabaseFlagsResponse\"O\332" + + "A\006parent\202\323\344\223\002@\022>/v1beta/{parent=projects" + + "/*/locations/*}/supportedDatabaseFlags\022\374" + + "\001\n\031GenerateClientCertificate\022=.google.cl" + + "oud.alloydb.v1beta.GenerateClientCertifi" + + "cateRequest\032>.google.cloud.alloydb.v1bet" + + "a.GenerateClientCertificateResponse\"`\332A\006" + + "parent\202\323\344\223\002Q\"L/v1beta/{parent=projects/*" + + "/locations/*/clusters/*}:generateClientC" + + "ertificate:\001*\022\327\001\n\021GetConnectionInfo\0225.go" + + "ogle.cloud.alloydb.v1beta.GetConnectionI" + + "nfoRequest\032+.google.cloud.alloydb.v1beta" + + ".ConnectionInfo\"^\332A\006parent\202\323\344\223\002O\022M/v1bet" + + "a/{parent=projects/*/locations/*/cluster" + + "s/*/instances/*}/connectionInfo\022\265\001\n\tList" + + "Users\022-.google.cloud.alloydb.v1beta.List" + + "UsersRequest\032..google.cloud.alloydb.v1be" + + "ta.ListUsersResponse\"I\332A\006parent\202\323\344\223\002:\0228/" + + "v1beta/{parent=projects/*/locations/*/cl" + + "usters/*}/users\022\242\001\n\007GetUser\022+.google.clo" + + "ud.alloydb.v1beta.GetUserRequest\032!.googl" + + "e.cloud.alloydb.v1beta.User\"G\332A\004name\202\323\344\223" + + "\002:\0228/v1beta/{name=projects/*/locations/*" + + "/clusters/*/users/*}\022\275\001\n\nCreateUser\022..go" + + "ogle.cloud.alloydb.v1beta.CreateUserRequ" + + "est\032!.google.cloud.alloydb.v1beta.User\"\\" + + "\332A\023parent,user,user_id\202\323\344\223\002@\"8/v1beta/{p" + + "arent=projects/*/locations/*/clusters/*}" + + "/users:\004user\022\277\001\n\nUpdateUser\022..google.clo" + + "ud.alloydb.v1beta.UpdateUserRequest\032!.go" + + "ogle.cloud.alloydb.v1beta.User\"^\332A\020user," + + "update_mask\202\323\344\223\002E2=/v1beta/{user.name=pr" + + "ojects/*/locations/*/clusters/*/users/*}" + + ":\004user\022\235\001\n\nDeleteUser\022..google.cloud.all" + + "oydb.v1beta.DeleteUserRequest\032\026.google.p" + + "rotobuf.Empty\"G\332A\004name\202\323\344\223\002:*8/v1beta/{n" + + "ame=projects/*/locations/*/clusters/*/us" + + "ers/*}\032J\312A\026alloydb.googleapis.com\322A.http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rmB\311\001\n\037com.google.cloud.alloydb.v1betaB\014" + + "ServiceProtoP\001Z9cloud.google.com/go/allo" + + "ydb/apiv1beta/alloydbpb;alloydbpb\252\002\033Goog" + + "le.Cloud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\A" + + "lloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::" + + "V1betab\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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor, + new java.lang.String[] { + "Clusters", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor, + new java.lang.String[] { + "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", "Force", + }); + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor, + new java.lang.String[] { + "BackupSource", + "ContinuousBackupSource", + "Parent", + "ClusterId", + "Cluster", + "RequestId", + "ValidateOnly", + "Source", + }); + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "View", + }); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor, + new java.lang.String[] { + "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor, + new java.lang.String[] { + "CreateInstanceRequests", + }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", "RequestId", + }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor, + new java.lang.String[] { + "Instances", + }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor, + new java.lang.String[] { + "InstanceTargets", "InstanceStatuses", + }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor, + new java.lang.String[] { + "State", "ErrorMsg", "Error", "Type", + }); + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Etag", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor, + new java.lang.String[] { + "FaultType", "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor, + new java.lang.String[] { + "Backups", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor, + new java.lang.String[] { + "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", "Etag", + }); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor, + new java.lang.String[] { + "SupportedDatabaseFlags", "NextPageToken", + }); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", + }); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor, + new java.lang.String[] { + "PemCertificate", "PemCertificateChain", "CaCert", + }); + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor, + new java.lang.String[] { + "Parent", "RequestId", + }); + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor, + new java.lang.String[] { + "BatchCreateInstancesMetadata", + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + "RequestSpecific", + }); + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor, + new java.lang.String[] { + "Users", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor, + new java.lang.String[] { + "Parent", "UserId", "User", "RequestId", "ValidateOnly", + }); + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", + }); + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "ValidateOnly", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java similarity index 65% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java index ef6b14ad5adf..d58d8b6aaf93 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * SSL configuration.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SslConfig} */ -public final class SslConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SslConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SslConfig) SslConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SslConfig.newBuilder() to construct. private SslConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SslConfig() { sslMode_ = 0; caSource_ = 0; @@ -26,34 +44,38 @@ private SslConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SslConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SslConfig.class, com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); + com.google.cloud.alloydb.v1beta.SslConfig.class, + com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); } /** + * + * *
    * SSL mode options.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.SslConfig.SslMode} */ - public enum SslMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -62,6 +84,8 @@ public enum SslMode */ SSL_MODE_UNSPECIFIED(0), /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -71,6 +95,8 @@ public enum SslMode @java.lang.Deprecated SSL_MODE_ALLOW(1), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -82,6 +108,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_REQUIRE(2),
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -93,6 +121,8 @@ public enum SslMode
     @java.lang.Deprecated
     SSL_MODE_VERIFY_CA(3),
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -101,6 +131,8 @@ public enum SslMode */ ALLOW_UNENCRYPTED_AND_ENCRYPTED(4), /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -112,6 +144,8 @@ public enum SslMode ; /** + * + * *
      * SSL mode not specified. Defaults to ENCRYPTED_ONLY.
      * 
@@ -120,6 +154,8 @@ public enum SslMode */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -128,6 +164,8 @@ public enum SslMode */ @java.lang.Deprecated public static final int SSL_MODE_ALLOW_VALUE = 1; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * Clients may use locally self-signed certificates (default psql client
@@ -138,6 +176,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_REQUIRE_VALUE = 2;
     /**
+     *
+     *
      * 
      * SSL connections are required. CA verification enforced.
      * Clients must have certificates signed by a Cluster CA, e.g. via
@@ -148,6 +188,8 @@ public enum SslMode
      */
     @java.lang.Deprecated public static final int SSL_MODE_VERIFY_CA_VALUE = 3;
     /**
+     *
+     *
      * 
      * SSL connections are optional. CA verification not enforced.
      * 
@@ -156,6 +198,8 @@ public enum SslMode */ public static final int ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE = 4; /** + * + * *
      * SSL connections are required. CA verification not enforced.
      * 
@@ -164,7 +208,6 @@ public enum SslMode */ public static final int ENCRYPTED_ONLY_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -189,52 +232,55 @@ public static SslMode valueOf(int value) { */ public static SslMode forNumber(int value) { switch (value) { - case 0: return SSL_MODE_UNSPECIFIED; - case 1: return SSL_MODE_ALLOW; - case 2: return SSL_MODE_REQUIRE; - case 3: return SSL_MODE_VERIFY_CA; - case 4: return ALLOW_UNENCRYPTED_AND_ENCRYPTED; - case 5: return ENCRYPTED_ONLY; - default: return null; + case 0: + return SSL_MODE_UNSPECIFIED; + case 1: + return SSL_MODE_ALLOW; + case 2: + return SSL_MODE_REQUIRE; + case 3: + return SSL_MODE_VERIFY_CA; + case 4: + return ALLOW_UNENCRYPTED_AND_ENCRYPTED; + case 5: + return ENCRYPTED_ONLY; + 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< - SslMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SslMode findValueByNumber(int number) { - return SslMode.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 SslMode findValueByNumber(int number) { + return SslMode.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.cloud.alloydb.v1beta.SslConfig.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); - public static SslMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static SslMode 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; @@ -252,15 +298,18 @@ private SslMode(int value) { } /** + * + * *
    * Certificate Authority (CA) source for SSL/TLS certificates.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.SslConfig.CaSource} */ - public enum CaSource - implements com.google.protobuf.ProtocolMessageEnum { + public enum CaSource implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -270,6 +319,8 @@ public enum CaSource
      */
     CA_SOURCE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -281,6 +332,8 @@ public enum CaSource ; /** + * + * *
      * Certificate Authority (CA) source not specified. Defaults to
      * CA_SOURCE_MANAGED.
@@ -290,6 +343,8 @@ public enum CaSource
      */
     public static final int CA_SOURCE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * Certificate Authority (CA) managed by the AlloyDB Cluster.
      * 
@@ -298,7 +353,6 @@ public enum CaSource */ public static final int CA_SOURCE_MANAGED_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -323,48 +377,47 @@ public static CaSource valueOf(int value) { */ public static CaSource forNumber(int value) { switch (value) { - case 0: return CA_SOURCE_UNSPECIFIED; - case 1: return CA_SOURCE_MANAGED; - default: return null; + case 0: + return CA_SOURCE_UNSPECIFIED; + case 1: + return CA_SOURCE_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< - CaSource> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CaSource findValueByNumber(int number) { - return CaSource.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 CaSource findValueByNumber(int number) { + return CaSource.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.cloud.alloydb.v1beta.SslConfig.getDescriptor().getEnumTypes().get(1); } private static final CaSource[] VALUES = values(); - public static CaSource valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CaSource 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; @@ -384,58 +437,87 @@ private CaSource(int value) { public static final int SSL_MODE_FIELD_NUMBER = 1; private int sslMode_ = 0; /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
    * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { + com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = + com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED : result; } public static final int CA_SOURCE_FIELD_NUMBER = 2; private int caSource_ = 0; /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
    * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
    * supported currently, and is the default value.
    * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); - return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { + com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = + com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); + return result == null + ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,12 +529,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (sslMode_ != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sslMode_ + != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + if (caSource_ + != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { output.writeEnum(2, caSource_); } getUnknownFields().writeTo(output); @@ -464,13 +547,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (sslMode_ != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, sslMode_); + if (sslMode_ + != com.google.cloud.alloydb.v1beta.SslConfig.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sslMode_); } - if (caSource_ != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, caSource_); + if (caSource_ + != com.google.cloud.alloydb.v1beta.SslConfig.CaSource.CA_SOURCE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, caSource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,12 +563,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.cloud.alloydb.v1beta.SslConfig)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SslConfig other = (com.google.cloud.alloydb.v1beta.SslConfig) obj; + com.google.cloud.alloydb.v1beta.SslConfig other = + (com.google.cloud.alloydb.v1beta.SslConfig) obj; if (sslMode_ != other.sslMode_) return false; if (caSource_ != other.caSource_) return false; @@ -509,132 +593,136 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.SslConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.SslConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SslConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SSL configuration.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SslConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SslConfig) com.google.cloud.alloydb.v1beta.SslConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SslConfig.class, com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); + com.google.cloud.alloydb.v1beta.SslConfig.class, + com.google.cloud.alloydb.v1beta.SslConfig.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.SslConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -645,9 +733,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; } @java.lang.Override @@ -666,8 +754,11 @@ public com.google.cloud.alloydb.v1beta.SslConfig build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig buildPartial() { - com.google.cloud.alloydb.v1beta.SslConfig result = new com.google.cloud.alloydb.v1beta.SslConfig(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.SslConfig result = + new com.google.cloud.alloydb.v1beta.SslConfig(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -686,38 +777,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SslConfig result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.SslConfig) { - return mergeFrom((com.google.cloud.alloydb.v1beta.SslConfig)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.SslConfig) other); } else { super.mergeFrom(other); return this; @@ -758,22 +850,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sslMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - caSource_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + sslMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + caSource_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -783,26 +878,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int sslMode_ = 0; /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for sslMode. */ - @java.lang.Override public int getSslModeValue() { + @java.lang.Override + public int getSslModeValue() { return sslMode_; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ @@ -813,24 +920,37 @@ public Builder setSslModeValue(int value) { return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The sslMode. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode() { - com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); - return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.SslConfig.SslMode result = + com.google.cloud.alloydb.v1beta.SslConfig.SslMode.forNumber(sslMode_); + return result == null + ? com.google.cloud.alloydb.v1beta.SslConfig.SslMode.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The sslMode to set. * @return This builder for chaining. */ @@ -844,11 +964,16 @@ public Builder setSslMode(com.google.cloud.alloydb.v1beta.SslConfig.SslMode valu return this; } /** + * + * *
      * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearSslMode() { @@ -860,24 +985,35 @@ public Builder clearSslMode() { private int caSource_ = 0; /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for caSource. */ - @java.lang.Override public int getCaSourceValue() { + @java.lang.Override + public int getCaSourceValue() { return caSource_; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for caSource to set. * @return This builder for chaining. */ @@ -888,26 +1024,39 @@ public Builder setCaSourceValue(int value) { return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The caSource. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource() { - com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); - return result == null ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.SslConfig.CaSource result = + com.google.cloud.alloydb.v1beta.SslConfig.CaSource.forNumber(caSource_); + return result == null + ? com.google.cloud.alloydb.v1beta.SslConfig.CaSource.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The caSource to set. * @return This builder for chaining. */ @@ -921,12 +1070,17 @@ public Builder setCaSource(com.google.cloud.alloydb.v1beta.SslConfig.CaSource va return this; } /** + * + * *
      * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
      * supported currently, and is the default value.
      * 
* - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCaSource() { @@ -935,9 +1089,9 @@ public Builder clearCaSource() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,12 +1101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SslConfig) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SslConfig) private static final com.google.cloud.alloydb.v1beta.SslConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SslConfig(); } @@ -961,27 +1115,27 @@ public static com.google.cloud.alloydb.v1beta.SslConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SslConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SslConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.SslConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java new file mode 100644 index 000000000000..da875af027f3 --- /dev/null +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java @@ -0,0 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/alloydb/v1beta/resources.proto + +package com.google.cloud.alloydb.v1beta; + +public interface SslConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SslConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for sslMode. + */ + int getSslModeValue(); + /** + * + * + *
+   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The sslMode. + */ + com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode(); + + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for caSource. + */ + int getCaSourceValue(); + /** + * + * + *
+   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
+   * supported currently, and is the default value.
+   * 
+ * + * + * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The caSource. + */ + com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource(); +} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java index cdc583a3d895..1b61497c598e 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * SupportedDatabaseFlag gives general information about a database flag,
  * like type and allowed values. This is a static value that is defined
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag}
  */
-public final class SupportedDatabaseFlag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag)
     SupportedDatabaseFlagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SupportedDatabaseFlag.newBuilder() to construct.
   private SupportedDatabaseFlag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SupportedDatabaseFlag() {
     name_ = "";
     flagName_ = "";
@@ -32,25 +50,28 @@ private SupportedDatabaseFlag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SupportedDatabaseFlag();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class,
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * ValueType describes the semantic type of the value that the flag accepts.
    * Regardless of the ValueType, the Instance.database_flags field accepts the
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType}
    */
-  public enum ValueType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ValueType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * This is an unknown flag type.
      * 
@@ -70,6 +92,8 @@ public enum ValueType */ VALUE_TYPE_UNSPECIFIED(0), /** + * + * *
      * String type flag.
      * 
@@ -78,6 +102,8 @@ public enum ValueType */ STRING(1), /** + * + * *
      * Integer type flag.
      * 
@@ -86,6 +112,8 @@ public enum ValueType */ INTEGER(2), /** + * + * *
      * Float type flag.
      * 
@@ -94,6 +122,8 @@ public enum ValueType */ FLOAT(3), /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -105,6 +135,8 @@ public enum ValueType ; /** + * + * *
      * This is an unknown flag type.
      * 
@@ -113,6 +145,8 @@ public enum ValueType */ public static final int VALUE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * String type flag.
      * 
@@ -121,6 +155,8 @@ public enum ValueType */ public static final int STRING_VALUE = 1; /** + * + * *
      * Integer type flag.
      * 
@@ -129,6 +165,8 @@ public enum ValueType */ public static final int INTEGER_VALUE = 2; /** + * + * *
      * Float type flag.
      * 
@@ -137,6 +175,8 @@ public enum ValueType */ public static final int FLOAT_VALUE = 3; /** + * + * *
      * Denotes that the flag does not accept any values.
      * 
@@ -145,7 +185,6 @@ public enum ValueType */ public static final int NONE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,51 +209,55 @@ public static ValueType valueOf(int value) { */ public static ValueType forNumber(int value) { switch (value) { - case 0: return VALUE_TYPE_UNSPECIFIED; - case 1: return STRING; - case 2: return INTEGER; - case 3: return FLOAT; - case 4: return NONE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return VALUE_TYPE_UNSPECIFIED; + case 1: + return STRING; + case 2: + return INTEGER; + case 3: + return FLOAT; + case 4: + return NONE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ValueType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ValueType findValueByNumber(int number) { - return ValueType.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 ValueType findValueByNumber(int number) { + return ValueType.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.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDescriptor() + .getEnumTypes() + .get(0); } private static final ValueType[] VALUES = values(); - public static ValueType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ValueType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,132 +274,156 @@ private ValueType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType) } - public interface StringRestrictionsOrBuilder extends + public interface StringRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - java.util.List - getAllowedValuesList(); + java.util.List getAllowedValuesList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ int getAllowedValuesCount(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ java.lang.String getAllowedValues(int index); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - com.google.protobuf.ByteString - getAllowedValuesBytes(int index); + com.google.protobuf.ByteString getAllowedValuesBytes(int index); } /** + * + * *
    * Restrictions on STRING type values
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions} */ - public static final class StringRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StringRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) StringRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StringRestrictions.newBuilder() to construct. private StringRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StringRestrictions() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder + .class); } public static final int ALLOWED_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { return allowedValues_; } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -364,21 +431,24 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
      * The list of allowed values, if bounded. This field will be empty
      * if there is a unbounded number of allowed values.
      * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +460,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < allowedValues_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, allowedValues_.getRaw(i)); } @@ -420,15 +489,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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other = + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) obj; - if (!getAllowedValuesList() - .equals(other.getAllowedValuesList())) return false; + if (!getAllowedValuesList().equals(other.getAllowedValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -449,90 +519,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -542,62 +623,68 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on STRING type values
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder.class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.class, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions build() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -605,14 +692,19 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions buildPartial() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + buildPartial() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result = + new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { allowedValues_.makeImmutable(); @@ -624,46 +716,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions)other); + if (other + instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) { + return mergeFrom( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other) { - if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions other) { + if (other + == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) return this; if (!other.allowedValues_.isEmpty()) { if (allowedValues_.isEmpty()) { allowedValues_ = other.allowedValues_; @@ -700,18 +800,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - ensureAllowedValuesIsMutable(); - allowedValues_.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(); + ensureAllowedValuesIsMutable(); + allowedValues_.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) { @@ -721,10 +823,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureAllowedValuesIsMutable() { if (!allowedValues_.isModifiable()) { allowedValues_ = new com.google.protobuf.LazyStringArrayList(allowedValues_); @@ -732,38 +836,46 @@ private void ensureAllowedValuesIsMutable() { bitField0_ |= 0x00000001; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return A list containing the allowedValues. */ - public com.google.protobuf.ProtocolStringList - getAllowedValuesList() { + public com.google.protobuf.ProtocolStringList getAllowedValuesList() { allowedValues_.makeImmutable(); return allowedValues_; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return The count of allowedValues. */ public int getAllowedValuesCount() { return allowedValues_.size(); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the element to return. * @return The allowedValues at the given index. */ @@ -771,33 +883,39 @@ public java.lang.String getAllowedValues(int index) { return allowedValues_.get(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index of the value to return. * @return The bytes of the allowedValues at the given index. */ - public com.google.protobuf.ByteString - getAllowedValuesBytes(int index) { + public com.google.protobuf.ByteString getAllowedValuesBytes(int index) { return allowedValues_.getByteString(index); } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param index The index to set the value at. * @param value The allowedValues to set. * @return This builder for chaining. */ - public Builder setAllowedValues( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAllowedValues(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.set(index, value); bitField0_ |= 0x00000001; @@ -805,18 +923,22 @@ public Builder setAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValues( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValues(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureAllowedValuesIsMutable(); allowedValues_.add(value); bitField0_ |= 0x00000001; @@ -824,53 +946,61 @@ public Builder addAllowedValues( return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param values The allowedValues to add. * @return This builder for chaining. */ - public Builder addAllAllowedValues( - java.lang.Iterable values) { + public Builder addAllAllowedValues(java.lang.Iterable values) { ensureAllowedValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, allowedValues_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, allowedValues_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @return This builder for chaining. */ public Builder clearAllowedValues() { - allowedValues_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + allowedValues_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
        * The list of allowed values, if bounded. This field will be empty
        * if there is a unbounded number of allowed values.
        * 
* * repeated string allowed_values = 1; + * * @param value The bytes of the allowedValues to add. * @return This builder for chaining. */ - public Builder addAllowedValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addAllowedValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureAllowedValuesIsMutable(); allowedValues_.add(value); @@ -878,6 +1008,7 @@ public Builder addAllowedValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -890,41 +1021,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) - private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions(); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StringRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StringRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,35 +1071,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface IntegerRestrictionsOrBuilder extends + public interface IntegerRestrictionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ boolean hasMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ com.google.protobuf.Int64Value getMinValue(); /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -974,24 +1118,32 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ boolean hasMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ com.google.protobuf.Int64Value getMaxValue(); /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1001,52 +1153,59 @@ public interface IntegerRestrictionsOrBuilder extends com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder(); } /** + * + * *
    * Restrictions on INTEGER type values.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class IntegerRestrictions extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IntegerRestrictions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) IntegerRestrictionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IntegerRestrictions.newBuilder() to construct. private IntegerRestrictions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IntegerRestrictions() { - } + + private IntegerRestrictions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IntegerRestrictions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder + .class); } public static final int MIN_VALUE_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value minValue_; /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ @java.lang.Override @@ -1054,11 +1213,14 @@ public boolean hasMinValue() { return minValue_ != null; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ @java.lang.Override @@ -1066,6 +1228,8 @@ public com.google.protobuf.Int64Value getMinValue() { return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; } /** + * + * *
      * The minimum value that can be specified, if applicable.
      * 
@@ -1080,11 +1244,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { public static final int MAX_VALUE_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value maxValue_; /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ @java.lang.Override @@ -1092,11 +1259,14 @@ public boolean hasMaxValue() { return maxValue_ != null; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ @java.lang.Override @@ -1104,6 +1274,8 @@ public com.google.protobuf.Int64Value getMaxValue() { return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; } /** + * + * *
      * The maximum value that can be specified, if applicable.
      * 
@@ -1116,6 +1288,7 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1127,8 +1300,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (minValue_ != null) { output.writeMessage(1, getMinValue()); } @@ -1145,12 +1317,10 @@ public int getSerializedSize() { size = 0; if (minValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMinValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinValue()); } if (maxValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1160,22 +1330,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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)) { + if (!(obj + instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other = + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) obj; if (hasMinValue() != other.hasMinValue()) return false; if (hasMinValue()) { - if (!getMinValue() - .equals(other.getMinValue())) return false; + if (!getMinValue().equals(other.getMinValue())) return false; } if (hasMaxValue() != other.hasMaxValue()) return false; if (hasMaxValue()) { - if (!getMaxValue() - .equals(other.getMaxValue())) return false; + if (!getMaxValue().equals(other.getMaxValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1201,90 +1371,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + 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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1294,39 +1475,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Restrictions on INTEGER type values.
      * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder.class); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.class, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder + .class); } - // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.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(); @@ -1345,19 +1530,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions build() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = buildPartial(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1365,24 +1553,25 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions buildPartial() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + buildPartial() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result = + new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result) { + private void buildPartial0( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.minValue_ = minValueBuilder_ == null - ? minValue_ - : minValueBuilder_.build(); + result.minValue_ = minValueBuilder_ == null ? minValue_ : minValueBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.maxValue_ = maxValueBuilder_ == null - ? maxValue_ - : maxValueBuilder_.build(); + result.maxValue_ = maxValueBuilder_ == null ? maxValue_ : maxValueBuilder_.build(); } } @@ -1390,46 +1579,54 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) { - return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions)other); + if (other + instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) { + return mergeFrom( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other) { - if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions other) { + if (other + == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) return this; if (other.hasMinValue()) { mergeMinValue(other.getMinValue()); } @@ -1462,26 +1659,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getMinValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getMaxValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getMinValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getMaxValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1491,38 +1687,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.Int64Value minValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + minValueBuilder_; /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return Whether the minValue field is set. */ public boolean hasMinValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; + * * @return The minValue. */ public com.google.protobuf.Int64Value getMinValue() { if (minValueBuilder_ == null) { - return minValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } else { return minValueBuilder_.getMessage(); } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1543,14 +1753,15 @@ public Builder setMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value min_value = 1; */ - public Builder setMinValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMinValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (minValueBuilder_ == null) { minValue_ = builderForValue.build(); } else { @@ -1561,6 +1772,8 @@ public Builder setMinValue( return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1569,9 +1782,9 @@ public Builder setMinValue( */ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { if (minValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - minValue_ != null && - minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && minValue_ != null + && minValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMinValueBuilder().mergeFrom(value); } else { minValue_ = value; @@ -1584,6 +1797,8 @@ public Builder mergeMinValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1601,6 +1816,8 @@ public Builder clearMinValue() { return this; } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1613,6 +1830,8 @@ public com.google.protobuf.Int64Value.Builder getMinValueBuilder() { return getMinValueFieldBuilder().getBuilder(); } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1623,11 +1842,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { if (minValueBuilder_ != null) { return minValueBuilder_.getMessageOrBuilder(); } else { - return minValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : minValue_; + return minValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : minValue_; } } /** + * + * *
        * The minimum value that can be specified, if applicable.
        * 
@@ -1635,14 +1857,17 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { * .google.protobuf.Int64Value min_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMinValueFieldBuilder() { if (minValueBuilder_ == null) { - minValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMinValue(), - getParentForChildren(), - isClean()); + minValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMinValue(), getParentForChildren(), isClean()); minValue_ = null; } return minValueBuilder_; @@ -1650,34 +1875,47 @@ public com.google.protobuf.Int64ValueOrBuilder getMinValueOrBuilder() { private com.google.protobuf.Int64Value maxValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxValueBuilder_; + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> + maxValueBuilder_; /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return Whether the maxValue field is set. */ public boolean hasMaxValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; + * * @return The maxValue. */ public com.google.protobuf.Int64Value getMaxValue() { if (maxValueBuilder_ == null) { - return maxValue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } else { return maxValueBuilder_.getMessage(); } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1698,14 +1936,15 @@ public Builder setMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
* * .google.protobuf.Int64Value max_value = 2; */ - public Builder setMaxValue( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setMaxValue(com.google.protobuf.Int64Value.Builder builderForValue) { if (maxValueBuilder_ == null) { maxValue_ = builderForValue.build(); } else { @@ -1716,6 +1955,8 @@ public Builder setMaxValue( return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1724,9 +1965,9 @@ public Builder setMaxValue( */ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { if (maxValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - maxValue_ != null && - maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && maxValue_ != null + && maxValue_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getMaxValueBuilder().mergeFrom(value); } else { maxValue_ = value; @@ -1739,6 +1980,8 @@ public Builder mergeMaxValue(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1756,6 +1999,8 @@ public Builder clearMaxValue() { return this; } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1768,6 +2013,8 @@ public com.google.protobuf.Int64Value.Builder getMaxValueBuilder() { return getMaxValueFieldBuilder().getBuilder(); } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1778,11 +2025,14 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { if (maxValueBuilder_ != null) { return maxValueBuilder_.getMessageOrBuilder(); } else { - return maxValue_ == null ? - com.google.protobuf.Int64Value.getDefaultInstance() : maxValue_; + return maxValue_ == null + ? com.google.protobuf.Int64Value.getDefaultInstance() + : maxValue_; } } /** + * + * *
        * The maximum value that can be specified, if applicable.
        * 
@@ -1790,18 +2040,22 @@ public com.google.protobuf.Int64ValueOrBuilder getMaxValueOrBuilder() { * .google.protobuf.Int64Value max_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder> getMaxValueFieldBuilder() { if (maxValueBuilder_ == null) { - maxValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( - getMaxValue(), - getParentForChildren(), - isClean()); + maxValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Int64Value, + com.google.protobuf.Int64Value.Builder, + com.google.protobuf.Int64ValueOrBuilder>( + getMaxValue(), getParentForChildren(), isClean()); maxValue_ = null; } return maxValueBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1814,41 +2068,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) - private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions DEFAULT_INSTANCE; + private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(); + DEFAULT_INSTANCE = + new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions(); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstance() { + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntegerRestrictions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntegerRestrictions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1860,22 +2118,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getDefaultInstanceForType() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int restrictionsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object restrictions_; + public enum RestrictionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_RESTRICTIONS(7), INTEGER_RESTRICTIONS(8), RESTRICTIONS_NOT_SET(0); private final int value; + private RestrictionsCase(int value) { this.value = value; } @@ -1891,30 +2153,38 @@ public static RestrictionsCase valueOf(int value) { public static RestrictionsCase forNumber(int value) { switch (value) { - case 7: return STRING_RESTRICTIONS; - case 8: return INTEGER_RESTRICTIONS; - case 0: return RESTRICTIONS_NOT_SET; - default: return null; + case 7: + return STRING_RESTRICTIONS; + case 8: + return INTEGER_RESTRICTIONS; + case 0: + return RESTRICTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RestrictionsCase - getRestrictionsCase() { - return RestrictionsCase.forNumber( - restrictionsCase_); + public RestrictionsCase getRestrictionsCase() { + return RestrictionsCase.forNumber(restrictionsCase_); } public static final int STRING_RESTRICTIONS_FIELD_NUMBER = 7; /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -1922,42 +2192,62 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER = 8; /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -1965,39 +2255,57 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2005,6 +2313,7 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2013,14 +2322,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 flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -2028,16 +2338,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 { @@ -2046,15 +2355,19 @@ public java.lang.String getName() { } public static final int FLAG_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object flagName_ = ""; /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ @java.lang.Override @@ -2063,30 +2376,30 @@ public java.lang.String getFlagName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; } } /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ @java.lang.Override - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -2098,29 +2411,39 @@ public java.lang.String getFlagName() { private int valueType_ = 0; /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER = 4; private boolean acceptsMultipleValues_ = false; /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -2129,36 +2452,50 @@ public boolean getAcceptsMultipleValues() { } public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List supportedDbVersions_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion> supportedDbVersions_converter_ = + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion> + supportedDbVersions_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>() { public com.google.cloud.alloydb.v1beta.DatabaseVersion convert(java.lang.Integer from) { - com.google.cloud.alloydb.v1beta.DatabaseVersion result = com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(from); - return result == null ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.DatabaseVersion result = + com.google.cloud.alloydb.v1beta.DatabaseVersion.forNumber(from); + return result == null + ? com.google.cloud.alloydb.v1beta.DatabaseVersion.UNRECOGNIZED + : result; } }; /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ @java.lang.Override - public java.util.List getSupportedDbVersionsList() { + public java.util.List + getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ @java.lang.Override @@ -2166,11 +2503,14 @@ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -2179,24 +2519,29 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ @java.lang.Override - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return supportedDbVersions_; } /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -2204,11 +2549,14 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(in public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } + private int supportedDbVersionsMemoizedSerializedSize; public static final int REQUIRES_DB_RESTART_FIELD_NUMBER = 6; private boolean requiresDbRestart_ = false; /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -2217,6 +2565,7 @@ public int getSupportedDbVersionsValue(int index) {
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -2225,6 +2574,7 @@ public boolean getRequiresDbRestart() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2236,8 +2586,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -2245,7 +2594,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { + if (valueType_ + != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, valueType_); } if (acceptsMultipleValues_ != false) { @@ -2262,10 +2613,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeBool(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - output.writeMessage(7, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); + output.writeMessage( + 7, + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); } if (restrictionsCase_ == 8) { - output.writeMessage(8, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + output.writeMessage( + 8, + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_); } getUnknownFields().writeTo(output); } @@ -2282,37 +2638,43 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, flagName_); } - if (valueType_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, valueType_); + if (valueType_ + != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.VALUE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, valueType_); } if (acceptsMultipleValues_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, acceptsMultipleValues_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, acceptsMultipleValues_); } { int dataSize = 0; for (int i = 0; i < supportedDbVersions_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(supportedDbVersions_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(supportedDbVersions_.get(i)); } size += dataSize; - if (!getSupportedDbVersionsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }supportedDbVersionsMemoizedSerializedSize = dataSize; + if (!getSupportedDbVersionsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + supportedDbVersionsMemoizedSerializedSize = dataSize; } if (requiresDbRestart_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requiresDbRestart_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requiresDbRestart_); } if (restrictionsCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_); } if (restrictionsCase_ == 8) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2322,32 +2684,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.cloud.alloydb.v1beta.SupportedDatabaseFlag)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other = (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) obj; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other = + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getFlagName() - .equals(other.getFlagName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getFlagName().equals(other.getFlagName())) return false; if (valueType_ != other.valueType_) return false; - if (getAcceptsMultipleValues() - != other.getAcceptsMultipleValues()) return false; + if (getAcceptsMultipleValues() != other.getAcceptsMultipleValues()) return false; if (!supportedDbVersions_.equals(other.supportedDbVersions_)) return false; - if (getRequiresDbRestart() - != other.getRequiresDbRestart()) return false; + if (getRequiresDbRestart() != other.getRequiresDbRestart()) return false; if (!getRestrictionsCase().equals(other.getRestrictionsCase())) return false; switch (restrictionsCase_) { case 7: - if (!getStringRestrictions() - .equals(other.getStringRestrictions())) return false; + if (!getStringRestrictions().equals(other.getStringRestrictions())) return false; break; case 8: - if (!getIntegerRestrictions() - .equals(other.getIntegerRestrictions())) return false; + if (!getIntegerRestrictions().equals(other.getIntegerRestrictions())) return false; break; case 0: default: @@ -2370,15 +2727,13 @@ public int hashCode() { hash = (37 * hash) + VALUE_TYPE_FIELD_NUMBER; hash = (53 * hash) + valueType_; hash = (37 * hash) + ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAcceptsMultipleValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAcceptsMultipleValues()); if (getSupportedDbVersionsCount() > 0) { hash = (37 * hash) + SUPPORTED_DB_VERSIONS_FIELD_NUMBER; hash = (53 * hash) + supportedDbVersions_.hashCode(); } hash = (37 * hash) + REQUIRES_DB_RESTART_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequiresDbRestart()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequiresDbRestart()); switch (restrictionsCase_) { case 7: hash = (37 * hash) + STRING_RESTRICTIONS_FIELD_NUMBER; @@ -2397,98 +2752,104 @@ public int hashCode() { } public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SupportedDatabaseFlag gives general information about a database flag,
    * like type and allowed values. This is a static value that is defined
@@ -2499,33 +2860,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.SupportedDatabaseFlag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.SupportedDatabaseFlag)
       com.google.cloud.alloydb.v1beta.SupportedDatabaseFlagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
+              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.class,
+              com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2549,9 +2909,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor;
     }
 
     @java.lang.Override
@@ -2570,15 +2930,19 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag buildPartial() {
-      com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(this);
+      com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result =
+          new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
       if (((bitField0_ & 0x00000040) != 0)) {
         supportedDbVersions_ = java.util.Collections.unmodifiableList(supportedDbVersions_);
         bitField0_ = (bitField0_ & ~0x00000040);
@@ -2608,12 +2972,10 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag
     private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag result) {
       result.restrictionsCase_ = restrictionsCase_;
       result.restrictions_ = this.restrictions_;
-      if (restrictionsCase_ == 7 &&
-          stringRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 7 && stringRestrictionsBuilder_ != null) {
         result.restrictions_ = stringRestrictionsBuilder_.build();
       }
-      if (restrictionsCase_ == 8 &&
-          integerRestrictionsBuilder_ != null) {
+      if (restrictionsCase_ == 8 && integerRestrictionsBuilder_ != null) {
         result.restrictions_ = integerRestrictionsBuilder_.build();
       }
     }
@@ -2622,38 +2984,39 @@ private void buildPartialOneofs(com.google.cloud.alloydb.v1beta.SupportedDatabas
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2661,7 +3024,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag other) {
-      if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance()) return this;
+      if (other == com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000004;
@@ -2692,17 +3056,20 @@ public Builder mergeFrom(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag o
         setRequiresDbRestart(other.getRequiresDbRestart());
       }
       switch (other.getRestrictionsCase()) {
-        case STRING_RESTRICTIONS: {
-          mergeStringRestrictions(other.getStringRestrictions());
-          break;
-        }
-        case INTEGER_RESTRICTIONS: {
-          mergeIntegerRestrictions(other.getIntegerRestrictions());
-          break;
-        }
-        case RESTRICTIONS_NOT_SET: {
-          break;
-        }
+        case STRING_RESTRICTIONS:
+          {
+            mergeStringRestrictions(other.getStringRestrictions());
+            break;
+          }
+        case INTEGER_RESTRICTIONS:
+          {
+            mergeIntegerRestrictions(other.getIntegerRestrictions());
+            break;
+          }
+        case RESTRICTIONS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2730,68 +3097,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 10
-            case 18: {
-              flagName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 18
-            case 24: {
-              valueType_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 24
-            case 32: {
-              acceptsMultipleValues_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 32
-            case 40: {
-              int tmpRaw = input.readEnum();
-              ensureSupportedDbVersionsIsMutable();
-              supportedDbVersions_.add(tmpRaw);
-              break;
-            } // case 40
-            case 42: {
-              int length = input.readRawVarint32();
-              int oldLimit = input.pushLimit(length);
-              while(input.getBytesUntilLimit() > 0) {
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 10
+            case 18:
+              {
+                flagName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+            case 24:
+              {
+                valueType_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 24
+            case 32:
+              {
+                acceptsMultipleValues_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 32
+            case 40:
+              {
                 int tmpRaw = input.readEnum();
                 ensureSupportedDbVersionsIsMutable();
                 supportedDbVersions_.add(tmpRaw);
-              }
-              input.popLimit(oldLimit);
-              break;
-            } // case 42
-            case 48: {
-              requiresDbRestart_ = input.readBool();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 48
-            case 58: {
-              input.readMessage(
-                  getStringRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getIntegerRestrictionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              restrictionsCase_ = 8;
-              break;
-            } // case 66
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 40
+            case 42:
+              {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while (input.getBytesUntilLimit() > 0) {
+                  int tmpRaw = input.readEnum();
+                  ensureSupportedDbVersionsIsMutable();
+                  supportedDbVersions_.add(tmpRaw);
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 42
+            case 48:
+              {
+                requiresDbRestart_ = input.readBool();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 48
+            case 58:
+              {
+                input.readMessage(
+                    getStringRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getIntegerRestrictionsFieldBuilder().getBuilder(), extensionRegistry);
+                restrictionsCase_ = 8;
+                break;
+              } // case 66
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2801,12 +3176,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int restrictionsCase_ = 0;
     private java.lang.Object restrictions_;
-    public RestrictionsCase
-        getRestrictionsCase() {
-      return RestrictionsCase.forNumber(
-          restrictionsCase_);
+
+    public RestrictionsCase getRestrictionsCase() {
+      return RestrictionsCase.forNumber(restrictionsCase_);
     }
 
     public Builder clearRestrictions() {
@@ -2819,13 +3194,21 @@ public Builder clearRestrictions() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> stringRestrictionsBuilder_;
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions,
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder,
+            com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>
+        stringRestrictionsBuilder_;
     /**
+     *
+     *
      * 
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ @java.lang.Override @@ -2833,35 +3216,49 @@ public boolean hasStringRestrictions() { return restrictionsCase_ == 7; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + getStringRestrictions() { if (stringRestrictionsBuilder_ == null) { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 7) { return stringRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder setStringRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { + public Builder setStringRestrictions( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2875,14 +3272,19 @@ public Builder setStringRestrictions(com.google.cloud.alloydb.v1beta.SupportedDa return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder setStringRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder + builderForValue) { if (stringRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -2893,18 +3295,29 @@ public Builder setStringRestrictions( return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { + public Builder mergeStringRestrictions( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions value) { if (stringRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 7 && - restrictions_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 7 + && restrictions_ + != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.newBuilder( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -2920,11 +3333,15 @@ public Builder mergeStringRestrictions(com.google.cloud.alloydb.v1beta.Supported return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ public Builder clearStringRestrictions() { if (stringRestrictionsBuilder_ == null) { @@ -2943,50 +3360,74 @@ public Builder clearStringRestrictions() { return this; } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder + getStringRestrictionsBuilder() { return getStringRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder() { if ((restrictionsCase_ == 7) && (stringRestrictionsBuilder_ != null)) { return stringRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 7) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on STRING type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder> getStringRestrictionsFieldBuilder() { if (stringRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 7)) { - restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions + .getDefaultInstance(); } - stringRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) restrictions_, + stringRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -2997,13 +3438,21 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> integerRestrictionsBuilder_; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + integerRestrictionsBuilder_; /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ @java.lang.Override @@ -3011,35 +3460,49 @@ public boolean hasIntegerRestrictions() { return restrictionsCase_ == 8; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } else { if (restrictionsCase_ == 8) { return integerRestrictionsBuilder_.getMessage(); } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder setIntegerRestrictions( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3053,14 +3516,19 @@ public Builder setIntegerRestrictions(com.google.cloud.alloydb.v1beta.SupportedD return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder setIntegerRestrictions( - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) { + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder + builderForValue) { if (integerRestrictionsBuilder_ == null) { restrictions_ = builderForValue.build(); onChanged(); @@ -3071,18 +3539,29 @@ public Builder setIntegerRestrictions( return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { + public Builder mergeIntegerRestrictions( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions value) { if (integerRestrictionsBuilder_ == null) { - if (restrictionsCase_ == 8 && - restrictions_ != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance()) { - restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder((com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_) - .mergeFrom(value).buildPartial(); + if (restrictionsCase_ == 8 + && restrictions_ + != com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance()) { + restrictions_ = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.newBuilder( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_) + .mergeFrom(value) + .buildPartial(); } else { restrictions_ = value; } @@ -3098,11 +3577,15 @@ public Builder mergeIntegerRestrictions(com.google.cloud.alloydb.v1beta.Supporte return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ public Builder clearIntegerRestrictions() { if (integerRestrictionsBuilder_ == null) { @@ -3121,50 +3604,74 @@ public Builder clearIntegerRestrictions() { return this; } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder + getIntegerRestrictionsBuilder() { return getIntegerRestrictionsFieldBuilder().getBuilder(); } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ @java.lang.Override - public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder() { + public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder() { if ((restrictionsCase_ == 8) && (integerRestrictionsBuilder_ != null)) { return integerRestrictionsBuilder_.getMessageOrBuilder(); } else { if (restrictionsCase_ == 8) { - return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_; + return (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_; } - return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + return com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } } /** + * + * *
      * Restriction on INTEGER type value.
      * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder> getIntegerRestrictionsFieldBuilder() { if (integerRestrictionsBuilder_ == null) { if (!(restrictionsCase_ == 8)) { - restrictions_ = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.getDefaultInstance(); + restrictions_ = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + .getDefaultInstance(); } - integerRestrictionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( - (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) restrictions_, + integerRestrictionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions.Builder, + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder>( + (com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions) + restrictions_, getParentForChildren(), isClean()); restrictions_ = null; @@ -3176,6 +3683,8 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions private java.lang.Object name_ = ""; /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3183,13 +3692,13 @@ public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions
      * 
* * 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; @@ -3198,6 +3707,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3205,15 +3716,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 { @@ -3221,6 +3731,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3228,18 +3740,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3247,6 +3763,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -3256,6 +3773,8 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the flag resource, following Google Cloud conventions, e.g.:
      *  * projects/{project}/locations/{location}/flags/{flag}
@@ -3263,12 +3782,14 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; @@ -3278,19 +3799,21 @@ public Builder setNameBytes( private java.lang.Object flagName_ = ""; /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The flagName. */ public java.lang.String getFlagName() { java.lang.Object ref = flagName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagName_ = s; return s; @@ -3299,21 +3822,22 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - public com.google.protobuf.ByteString - getFlagNameBytes() { + public com.google.protobuf.ByteString getFlagNameBytes() { java.lang.Object ref = flagName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); flagName_ = b; return b; } else { @@ -3321,30 +3845,37 @@ public java.lang.String getFlagName() { } } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The flagName to set. * @return This builder for chaining. */ - public Builder setFlagName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } flagName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @return This builder for chaining. */ public Builder clearFlagName() { @@ -3354,18 +3885,22 @@ public Builder clearFlagName() { return this; } /** + * + * *
      * The name of the database flag, e.g. "max_allowed_packets".
      * The is a possibly key for the Instance.database_flags map field.
      * 
* * string flag_name = 2; + * * @param value The bytes for flagName to set. * @return This builder for chaining. */ - public Builder setFlagNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFlagNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); flagName_ = value; bitField0_ |= 0x00000008; @@ -3376,13 +3911,16 @@ public Builder setFlagNameBytes( private int valueType_ = 0; /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ - @java.lang.Override public int getValueTypeValue() { + @java.lang.Override + public int getValueTypeValue() { return valueType_; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The enum numeric value on the wire for valueType to set. * @return This builder for chaining. */ @@ -3394,19 +3932,25 @@ public Builder setValueTypeValue(int value) { } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType() { - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); - return result == null ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED : result; + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType result = + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.forNumber(valueType_); + return result == null + ? com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType.UNRECOGNIZED + : result; } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @param value The valueType to set. * @return This builder for chaining. */ - public Builder setValueType(com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value) { + public Builder setValueType( + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value) { if (value == null) { throw new NullPointerException(); } @@ -3417,6 +3961,7 @@ public Builder setValueType(com.google.cloud.alloydb.v1beta.SupportedDatabaseFla } /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return This builder for chaining. */ public Builder clearValueType() { @@ -3426,14 +3971,17 @@ public Builder clearValueType() { return this; } - private boolean acceptsMultipleValues_ ; + private boolean acceptsMultipleValues_; /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ @java.lang.Override @@ -3441,12 +3989,15 @@ public boolean getAcceptsMultipleValues() { return acceptsMultipleValues_; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @param value The acceptsMultipleValues to set. * @return This builder for chaining. */ @@ -3458,12 +4009,15 @@ public Builder setAcceptsMultipleValues(boolean value) { return this; } /** + * + * *
      * Whether the database flag accepts multiple values. If true,
      * a comma-separated list of stringified values may be specified.
      * 
* * bool accepts_multiple_values = 4; + * * @return This builder for chaining. */ public Builder clearAcceptsMultipleValues() { @@ -3474,7 +4028,8 @@ public Builder clearAcceptsMultipleValues() { } private java.util.List supportedDbVersions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureSupportedDbVersionsIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { supportedDbVersions_ = new java.util.ArrayList(supportedDbVersions_); @@ -3482,34 +4037,45 @@ private void ensureSupportedDbVersionsIsMutable() { } } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ - public java.util.List getSupportedDbVersionsList() { + public java.util.List + getSupportedDbVersionsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>(supportedDbVersions_, supportedDbVersions_converter_); + java.lang.Integer, com.google.cloud.alloydb.v1beta.DatabaseVersion>( + supportedDbVersions_, supportedDbVersions_converter_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ public int getSupportedDbVersionsCount() { return supportedDbVersions_.size(); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ @@ -3517,11 +4083,14 @@ public com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(in return supportedDbVersions_converter_.convert(supportedDbVersions_.get(index)); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index to set the value at. * @param value The supportedDbVersions to set. * @return This builder for chaining. @@ -3537,11 +4106,14 @@ public Builder setSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param value The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3555,11 +4127,14 @@ public Builder addSupportedDbVersions(com.google.cloud.alloydb.v1beta.DatabaseVe return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param values The supportedDbVersions to add. * @return This builder for chaining. */ @@ -3573,11 +4148,14 @@ public Builder addAllSupportedDbVersions( return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return This builder for chaining. */ public Builder clearSupportedDbVersions() { @@ -3587,23 +4165,28 @@ public Builder clearSupportedDbVersions() { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - public java.util.List - getSupportedDbVersionsValueList() { + public java.util.List getSupportedDbVersionsValueList() { return java.util.Collections.unmodifiableList(supportedDbVersions_); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ @@ -3611,28 +4194,33 @@ public int getSupportedDbVersionsValue(int index) { return supportedDbVersions_.get(index); } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for supportedDbVersions to set. * @return This builder for chaining. */ - public Builder setSupportedDbVersionsValue( - int index, int value) { + public Builder setSupportedDbVersionsValue(int index, int value) { ensureSupportedDbVersionsIsMutable(); supportedDbVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param value The enum numeric value on the wire for supportedDbVersions to add. * @return This builder for chaining. */ @@ -3643,16 +4231,18 @@ public Builder addSupportedDbVersionsValue(int value) { return this; } /** + * + * *
      * Major database engine versions for which this flag is supported.
      * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param values The enum numeric values on the wire for supportedDbVersions to add. * @return This builder for chaining. */ - public Builder addAllSupportedDbVersionsValue( - java.lang.Iterable values) { + public Builder addAllSupportedDbVersionsValue(java.lang.Iterable values) { ensureSupportedDbVersionsIsMutable(); for (int value : values) { supportedDbVersions_.add(value); @@ -3661,8 +4251,10 @@ public Builder addAllSupportedDbVersionsValue( return this; } - private boolean requiresDbRestart_ ; + private boolean requiresDbRestart_; /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3671,6 +4263,7 @@ public Builder addAllSupportedDbVersionsValue(
      * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ @java.lang.Override @@ -3678,6 +4271,8 @@ public boolean getRequiresDbRestart() { return requiresDbRestart_; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3686,6 +4281,7 @@ public boolean getRequiresDbRestart() {
      * 
* * bool requires_db_restart = 6; + * * @param value The requiresDbRestart to set. * @return This builder for chaining. */ @@ -3697,6 +4293,8 @@ public Builder setRequiresDbRestart(boolean value) { return this; } /** + * + * *
      * Whether setting or updating this flag on an Instance requires a database
      * restart. If a flag that requires database restart is set, the backend
@@ -3705,6 +4303,7 @@ public Builder setRequiresDbRestart(boolean value) {
      * 
* * bool requires_db_restart = 6; + * * @return This builder for chaining. */ public Builder clearRequiresDbRestart() { @@ -3713,9 +4312,9 @@ public Builder clearRequiresDbRestart() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3725,12 +4324,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) private static final com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag(); } @@ -3739,27 +4338,27 @@ public static com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SupportedDatabaseFlag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SupportedDatabaseFlag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3774,6 +4373,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java index 72e16cfcbf57..cd42bae43c56 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SupportedDatabaseFlagOrBuilder.java @@ -1,67 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface SupportedDatabaseFlagOrBuilder extends +public interface SupportedDatabaseFlagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SupportedDatabaseFlag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return Whether the stringRestrictions field is set. */ boolean hasStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * * @return The stringRestrictions. */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions getStringRestrictions(); /** + * + * *
    * Restriction on STRING type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; + * */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictionsOrBuilder + getStringRestrictionsOrBuilder(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return Whether the integerRestrictions field is set. */ boolean hasIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * * @return The integerRestrictions. */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions + getIntegerRestrictions(); /** + * + * *
    * Restriction on INTEGER type value.
    * 
* - * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * + * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; + * */ - com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder(); + com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictionsOrBuilder + getIntegerRestrictionsOrBuilder(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -69,10 +118,13 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the flag resource, following Google Cloud conventions, e.g.:
    *  * projects/{project}/locations/{location}/flags/{flag}
@@ -80,105 +132,131 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The flagName. */ java.lang.String getFlagName(); /** + * + * *
    * The name of the database flag, e.g. "max_allowed_packets".
    * The is a possibly key for the Instance.database_flags map field.
    * 
* * string flag_name = 2; + * * @return The bytes for flagName. */ - com.google.protobuf.ByteString - getFlagNameBytes(); + com.google.protobuf.ByteString getFlagNameBytes(); /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The enum numeric value on the wire for valueType. */ int getValueTypeValue(); /** * .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3; + * * @return The valueType. */ com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType getValueType(); /** + * + * *
    * Whether the database flag accepts multiple values. If true,
    * a comma-separated list of stringified values may be specified.
    * 
* * bool accepts_multiple_values = 4; + * * @return The acceptsMultipleValues. */ boolean getAcceptsMultipleValues(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the supportedDbVersions. */ java.util.List getSupportedDbVersionsList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return The count of supportedDbVersions. */ int getSupportedDbVersionsCount(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the element to return. * @return The supportedDbVersions at the given index. */ com.google.cloud.alloydb.v1beta.DatabaseVersion getSupportedDbVersions(int index); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @return A list containing the enum numeric values on the wire for supportedDbVersions. */ - java.util.List - getSupportedDbVersionsValueList(); + java.util.List getSupportedDbVersionsValueList(); /** + * + * *
    * Major database engine versions for which this flag is supported.
    * 
* * repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of supportedDbVersions at the given index. */ int getSupportedDbVersionsValue(int index); /** + * + * *
    * Whether setting or updating this flag on an Instance requires a database
    * restart. If a flag that requires database restart is set, the backend
@@ -187,6 +265,7 @@ public interface SupportedDatabaseFlagOrBuilder extends
    * 
* * bool requires_db_restart = 6; + * * @return The requiresDbRestart. */ boolean getRequiresDbRestart(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java similarity index 73% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java index 056be6dd1056..a23d7c22d1db 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for updating a Backup
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBackupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int BACKUP_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Backup backup_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasBackup() { return backup_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.alloydb.v1beta.Backup getBackup() { return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +196,7 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +250,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,12 +269,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -235,6 +286,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -273,23 +324,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getBackup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBackup()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,29 +346,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.cloud.alloydb.v1beta.UpdateBackupRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateBackupRequest other = (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateBackupRequest other = + (com.google.cloud.alloydb.v1beta.UpdateBackupRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup() - .equals(other.getBackup())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getBackup().equals(other.getBackup())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +387,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for updating a Backup
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateBackupRequest) com.google.cloud.alloydb.v1beta.UpdateBackupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, + com.google.cloud.alloydb.v1beta.UpdateBackupRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -501,9 +546,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; } @java.lang.Override @@ -522,8 +567,11 @@ public com.google.cloud.alloydb.v1beta.UpdateBackupRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateBackupRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateBackupRequest result = new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.UpdateBackupRequest result = + new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -531,14 +579,10 @@ public com.google.cloud.alloydb.v1beta.UpdateBackupRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateBackupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.backup_ = backupBuilder_ == null - ? backup_ - : backupBuilder_.build(); + result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -555,38 +599,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateBackupRequest r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateBackupRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateBackupRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateBackupRequest) other); } else { super.mergeFrom(other); return this; @@ -594,7 +639,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateBackupRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -638,41 +684,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -682,12 +730,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -696,13 +750,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -711,17 +769,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -730,7 +794,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -746,6 +811,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -754,10 +821,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -768,6 +835,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -776,13 +845,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -795,6 +865,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -803,7 +875,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -816,6 +889,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -824,7 +899,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -832,6 +908,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -840,17 +918,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Backup resource by the update.
@@ -859,17 +941,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -877,39 +963,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> backupBuilder_; + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> + backupBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ public com.google.cloud.alloydb.v1beta.Backup getBackup() { if (backupBuilder_ == null) { - return backup_ == null ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() + : backup_; } else { return backupBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { @@ -925,14 +1030,17 @@ public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setBackup( - com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { + public Builder setBackup(com.google.cloud.alloydb.v1beta.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -943,17 +1051,21 @@ public Builder setBackup( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - backup_ != null && - backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && backup_ != null + && backup_ != com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -966,11 +1078,15 @@ public Builder mergeBackup(com.google.cloud.alloydb.v1beta.Backup value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -983,11 +1099,15 @@ public Builder clearBackup() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000002; @@ -995,36 +1115,48 @@ public com.google.cloud.alloydb.v1beta.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? - com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() : backup_; + return backup_ == null + ? com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance() + : backup_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder> + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Backup, com.google.cloud.alloydb.v1beta.Backup.Builder, com.google.cloud.alloydb.v1beta.BackupOrBuilder>( - getBackup(), - getParentForChildren(), - isClean()); + backupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Backup, + com.google.cloud.alloydb.v1beta.Backup.Builder, + com.google.cloud.alloydb.v1beta.BackupOrBuilder>( + getBackup(), getParentForChildren(), isClean()); backup_ = null; } return backupBuilder_; @@ -1032,6 +1164,8 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1049,13 +1183,13 @@ public com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1064,6 +1198,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1081,15 +1217,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1097,6 +1232,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1114,18 +1251,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1143,6 +1284,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1152,6 +1294,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1169,12 +1313,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1182,14 +1328,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1197,12 +1346,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1214,12 +1366,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1229,14 +1384,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1244,12 +1402,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1261,12 +1422,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new backup is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1275,9 +1439,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1451,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateBackupRequest) private static final com.google.cloud.alloydb.v1beta.UpdateBackupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateBackupRequest(); } @@ -1301,27 +1465,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateBackupRequest getDefaultInst 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; @@ -1336,6 +1500,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java index 768d49192a15..66b6a7eaca01 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateBackupRequestOrBuilder extends +public interface UpdateBackupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Backup resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateBackupRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the backup field is set. */ boolean hasBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The backup. */ com.google.cloud.alloydb.v1beta.Backup getBackup(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.Backup backup = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.BackupOrBuilder getBackupOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,29 +155,35 @@ public interface UpdateBackupRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new backup is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java index 22fa5904e046..59f91016969d 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for updating a Cluster
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UpdateClusterRequest) UpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateClusterRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int CLUSTER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Cluster cluster_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Cluster getCluster() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +203,7 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +257,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +266,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +277,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +294,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +332,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +354,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.cloud.alloydb.v1beta.UpdateClusterRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateClusterRequest other = (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateClusterRequest other = + (com.google.cloud.alloydb.v1beta.UpdateClusterRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getCluster().equals(other.getCluster())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +395,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a Cluster
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UpdateClusterRequest) com.google.cloud.alloydb.v1beta.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, + com.google.cloud.alloydb.v1beta.UpdateClusterRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.UpdateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - 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 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -523,8 +575,11 @@ public com.google.cloud.alloydb.v1beta.UpdateClusterRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateClusterRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateClusterRequest result = new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.UpdateClusterRequest result = + new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +587,10 @@ public com.google.cloud.alloydb.v1beta.UpdateClusterRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.cluster_ = clusterBuilder_ == null - ? cluster_ - : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +607,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateClusterRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateClusterRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateClusterRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +647,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateClusterRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +692,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +738,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -697,13 +758,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -712,17 +777,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -731,7 +802,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +819,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -755,10 +829,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +843,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -777,13 +853,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +873,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -804,7 +883,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +897,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -825,7 +907,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +916,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -841,17 +926,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Cluster resource by the update.
@@ -860,17 +949,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +971,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> clusterBuilder_; + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.cloud.alloydb.v1beta.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { @@ -926,14 +1038,17 @@ public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.cloud.alloydb.v1beta.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -944,17 +1059,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - cluster_ != null && - cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && cluster_ != null + && cluster_ != com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -967,11 +1086,15 @@ public Builder mergeCluster(com.google.cloud.alloydb.v1beta.Cluster value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1107,15 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1123,48 @@ public com.google.cloud.alloydb.v1beta.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder> + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Cluster, com.google.cloud.alloydb.v1beta.Cluster.Builder, com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Cluster, + com.google.cloud.alloydb.v1beta.Cluster.Builder, + com.google.cloud.alloydb.v1beta.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1033,6 +1172,8 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1191,13 @@ public com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1206,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1225,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1240,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1259,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1292,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1302,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1321,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1336,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1347,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1355,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1364,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1376,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1385,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1395,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1413,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1433,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if cluster is not found. In
      * that case, a new cluster is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1450,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1462,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateClusterRequest) private static final com.google.cloud.alloydb.v1beta.UpdateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateClusterRequest(); } @@ -1305,27 +1476,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateClusterRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1511,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java index 894d9603bf53..0b210df89081 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateClusterRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateClusterRequestOrBuilder extends +public interface UpdateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Cluster resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateClusterRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.cloud.alloydb.v1beta.Cluster getCluster(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Cluster cluster = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +158,14 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +173,21 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if cluster is not found. In
    * that case, a new cluster is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java similarity index 72% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java index a60784a05463..d471699e1a6b 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for updating a Instance
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int INSTANCE_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.Instance instance_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ @java.lang.Override @@ -108,33 +143,49 @@ public boolean hasInstance() { return instance_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.Instance getInstance() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +203,7 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +212,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +238,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,6 +257,8 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -212,6 +266,7 @@ public java.lang.String getRequestId() {
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -222,12 +277,15 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -236,6 +294,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,8 +306,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -274,23 +332,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInstance()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstance()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -300,29 +354,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.cloud.alloydb.v1beta.UpdateInstanceRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other = (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other = + (com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance() - .equals(other.getInstance())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getInstance().equals(other.getInstance())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,142 +395,145 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.alloydb.v1beta.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; } /** + * + * *
    * Message for updating a Instance
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.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.cloud.alloydb.v1beta.UpdateInstanceRequest) com.google.cloud.alloydb.v1beta.UpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.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(); @@ -502,9 +555,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; } @java.lang.Override @@ -523,8 +576,11 @@ public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result = new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result = + new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -532,14 +588,10 @@ public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.instance_ = instanceBuilder_ == null - ? instance_ - : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -556,38 +608,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +648,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -639,41 +693,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -683,12 +739,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -697,13 +759,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -712,17 +778,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -731,7 +803,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -747,6 +820,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -755,10 +830,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -769,6 +844,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -777,13 +854,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -796,6 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -804,7 +884,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -817,6 +898,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -825,7 +908,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -833,6 +917,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -841,17 +927,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * Instance resource by the update.
@@ -860,17 +950,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -878,39 +972,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> instanceBuilder_; + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + instanceBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ public com.google.cloud.alloydb.v1beta.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } else { return instanceBuilder_.getMessage(); } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { @@ -926,14 +1039,17 @@ public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setInstance( - com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { + public Builder setInstance(com.google.cloud.alloydb.v1beta.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -944,17 +1060,21 @@ public Builder setInstance( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - instance_ != null && - instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && instance_ != null + && instance_ != com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -967,11 +1087,15 @@ public Builder mergeInstance(com.google.cloud.alloydb.v1beta.Instance value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000002); @@ -984,11 +1108,15 @@ public Builder clearInstance() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000002; @@ -996,36 +1124,48 @@ public com.google.cloud.alloydb.v1beta.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null ? - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() : instance_; + return instance_ == null + ? com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance() + : instance_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder> + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.Instance, com.google.cloud.alloydb.v1beta.Instance.Builder, com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( - getInstance(), - getParentForChildren(), - isClean()); + instanceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.Instance, + com.google.cloud.alloydb.v1beta.Instance.Builder, + com.google.cloud.alloydb.v1beta.InstanceOrBuilder>( + getInstance(), getParentForChildren(), isClean()); instance_ = null; } return instanceBuilder_; @@ -1033,6 +1173,8 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder() private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1050,13 +1192,13 @@ public com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder()
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1065,6 +1207,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1082,15 +1226,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1098,6 +1241,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1115,18 +1260,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1144,6 +1293,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1153,6 +1303,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1170,12 +1322,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1183,8 +1337,10 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1192,6 +1348,7 @@ public Builder setRequestIdBytes(
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1199,6 +1356,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1206,6 +1365,7 @@ public boolean getValidateOnly() {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1217,6 +1377,8 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, performs request validation (e.g. permission checks and
      * any other type of validation), but do not actually execute the update
@@ -1224,6 +1386,7 @@ public Builder setValidateOnly(boolean value) {
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1233,14 +1396,17 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1248,12 +1414,15 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1265,12 +1434,15 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, update succeeds even if instance is not found. In
      * that case, a new instance is created and `update_mask` is ignored.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1279,9 +1451,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - 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 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateInstanceRequest) private static final com.google.cloud.alloydb.v1beta.UpdateInstanceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateInstanceRequest(); } @@ -1305,27 +1477,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateInstanceRequest getDefaultIn 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; @@ -1340,6 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java index 63af3b8fc868..70a335cfd005 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateInstanceRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateInstanceRequestOrBuilder extends +public interface UpdateInstanceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * Instance resource by the update.
@@ -42,38 +68,55 @@ public interface UpdateInstanceRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the instance field is set. */ boolean hasInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The instance. */ com.google.cloud.alloydb.v1beta.Instance getInstance(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.alloydb.v1beta.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.InstanceOrBuilder getInstanceOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +134,13 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,12 +158,14 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, performs request validation (e.g. permission checks and
    * any other type of validation), but do not actually execute the update
@@ -125,17 +173,21 @@ public interface UpdateInstanceRequestOrBuilder extends
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. If set to true, update succeeds even if instance is not found. In
    * that case, a new instance is created and `update_mask` is ignored.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java similarity index 74% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java index 512b0d7532fd..8af4b0d65d09 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequest.java @@ -1,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message for updating a User
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateUserRequest} */ -public final class UpdateUserRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateUserRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UpdateUserRequest) UpdateUserRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateUserRequest.newBuilder() to construct. private UpdateUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateUserRequest() { requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateUserRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, + com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -54,7 +75,9 @@ protected java.lang.Object newInstance(
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -62,6 +85,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -70,7 +95,9 @@ public boolean hasUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -78,6 +105,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -86,7 +115,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -96,11 +126,15 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int USER_FIELD_NUMBER = 2; private com.google.cloud.alloydb.v1beta.User user_; /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ @java.lang.Override @@ -108,11 +142,15 @@ public boolean hasUser() { return user_ != null; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ @java.lang.Override @@ -120,11 +158,14 @@ public com.google.cloud.alloydb.v1beta.User getUser() { return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { @@ -132,9 +173,12 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { } public static final int REQUEST_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object requestId_ = ""; /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -152,6 +196,7 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ @java.lang.Override @@ -160,14 +205,15 @@ public java.lang.String getRequestId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; } } /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -185,16 +231,15 @@ public java.lang.String getRequestId() {
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -205,12 +250,15 @@ public java.lang.String getRequestId() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_ = false; /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -221,11 +269,14 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 5; private boolean allowMissing_ = false; /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -234,6 +285,7 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -272,23 +323,19 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (user_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUser()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUser()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, allowMissing_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,29 +345,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.cloud.alloydb.v1beta.UpdateUserRequest)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UpdateUserRequest other = (com.google.cloud.alloydb.v1beta.UpdateUserRequest) obj; + com.google.cloud.alloydb.v1beta.UpdateUserRequest other = + (com.google.cloud.alloydb.v1beta.UpdateUserRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { - if (!getUser() - .equals(other.getUser())) return false; - } - if (!getRequestId() - .equals(other.getRequestId())) return false; - if (getValidateOnly() - != other.getValidateOnly()) return false; - if (getAllowMissing() - != other.getAllowMissing()) return false; + if (!getUser().equals(other.getUser())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (getValidateOnly() != other.getValidateOnly()) return false; + if (getAllowMissing() != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -343,142 +386,144 @@ public int hashCode() { hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().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 = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UpdateUserRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UpdateUserRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message for updating a User
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.UpdateUserRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UpdateUserRequest) com.google.cloud.alloydb.v1beta.UpdateUserRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); + com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, + com.google.cloud.alloydb.v1beta.UpdateUserRequest.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.UpdateUserRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -500,9 +545,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ServiceProto.internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ServiceProto + .internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; } @java.lang.Override @@ -521,8 +566,11 @@ public com.google.cloud.alloydb.v1beta.UpdateUserRequest build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.UpdateUserRequest buildPartial() { - com.google.cloud.alloydb.v1beta.UpdateUserRequest result = new com.google.cloud.alloydb.v1beta.UpdateUserRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.alloydb.v1beta.UpdateUserRequest result = + new com.google.cloud.alloydb.v1beta.UpdateUserRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -530,14 +578,10 @@ public com.google.cloud.alloydb.v1beta.UpdateUserRequest buildPartial() { private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateUserRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.user_ = userBuilder_ == null - ? user_ - : userBuilder_.build(); + result.user_ = userBuilder_ == null ? user_ : userBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.requestId_ = requestId_; @@ -554,38 +598,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UpdateUserRequest res public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.UpdateUserRequest) { - return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateUserRequest)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.UpdateUserRequest) other); } else { super.mergeFrom(other); return this; @@ -593,7 +638,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.alloydb.v1beta.UpdateUserRequest other) { - if (other == com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -637,41 +683,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getUserFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - requestId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - validateOnly_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 40: { - allowMissing_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getUserFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + validateOnly_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 40: + { + allowMissing_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -681,12 +729,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -695,13 +749,17 @@ public Builder mergeFrom(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -710,17 +768,23 @@ public boolean hasUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @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(); } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -729,7 +793,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -745,6 +810,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -753,10 +820,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -767,6 +834,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -775,13 +844,14 @@ public Builder setUpdateMask(
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - updateMask_ != null && - updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -794,6 +864,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -802,7 +874,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000001); @@ -815,6 +888,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -823,7 +898,8 @@ public Builder clearUpdateMask() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000001; @@ -831,6 +907,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -839,17 +917,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; } } /** + * + * *
      * Optional. Field mask is used to specify the fields to be overwritten in the
      * User resource by the update.
@@ -858,17 +940,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * user does not provide a mask then all fields will be overwritten.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ 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_; @@ -876,24 +962,35 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.alloydb.v1beta.User user_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> userBuilder_; + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> + userBuilder_; /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ public boolean hasUser() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ public com.google.cloud.alloydb.v1beta.User getUser() { @@ -904,11 +1001,14 @@ public com.google.cloud.alloydb.v1beta.User getUser() { } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { @@ -924,14 +1024,16 @@ public Builder setUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUser( - com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { + public Builder setUser(com.google.cloud.alloydb.v1beta.User.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); } else { @@ -942,17 +1044,20 @@ public Builder setUser( return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { if (userBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - user_ != null && - user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && user_ != null + && user_ != com.google.cloud.alloydb.v1beta.User.getDefaultInstance()) { getUserBuilder().mergeFrom(value); } else { user_ = value; @@ -965,11 +1070,14 @@ public Builder mergeUser(com.google.cloud.alloydb.v1beta.User value) { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000002); @@ -982,11 +1090,14 @@ public Builder clearUser() { return this; } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { bitField0_ |= 0x00000002; @@ -994,36 +1105,44 @@ public com.google.cloud.alloydb.v1beta.User.Builder getUserBuilder() { return getUserFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { - return user_ == null ? - com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; + return user_ == null ? com.google.cloud.alloydb.v1beta.User.getDefaultInstance() : user_; } } /** + * + * *
      * Required. The resource being updated
      * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder> + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { - userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.alloydb.v1beta.User, com.google.cloud.alloydb.v1beta.User.Builder, com.google.cloud.alloydb.v1beta.UserOrBuilder>( - getUser(), - getParentForChildren(), - isClean()); + userBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.alloydb.v1beta.User, + com.google.cloud.alloydb.v1beta.User.Builder, + com.google.cloud.alloydb.v1beta.UserOrBuilder>( + getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; @@ -1031,6 +1150,8 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() { private java.lang.Object requestId_ = ""; /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1048,13 +1169,13 @@ public com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ public java.lang.String getRequestId() { java.lang.Object ref = requestId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); requestId_ = s; return s; @@ -1063,6 +1184,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1080,15 +1203,14 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - public com.google.protobuf.ByteString - getRequestIdBytes() { + public com.google.protobuf.ByteString getRequestIdBytes() { java.lang.Object ref = requestId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); requestId_ = b; return b; } else { @@ -1096,6 +1218,8 @@ public java.lang.String getRequestId() { } } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1113,18 +1237,22 @@ public java.lang.String getRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The requestId to set. * @return This builder for chaining. */ - public Builder setRequestId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } requestId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1142,6 +1270,7 @@ public Builder setRequestId(
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRequestId() { @@ -1151,6 +1280,8 @@ public Builder clearRequestId() { return this; } /** + * + * *
      * Optional. An optional request ID to identify requests. Specify a unique
      * request ID so that if you must retry your request, the server will know to
@@ -1168,12 +1299,14 @@ public Builder clearRequestId() {
      * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for requestId to set. * @return This builder for chaining. */ - public Builder setRequestIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); requestId_ = value; bitField0_ |= 0x00000004; @@ -1181,14 +1314,17 @@ public Builder setRequestIdBytes( return this; } - private boolean validateOnly_ ; + private boolean validateOnly_; /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ @java.lang.Override @@ -1196,12 +1332,15 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The validateOnly to set. * @return This builder for chaining. */ @@ -1213,12 +1352,15 @@ public Builder setValidateOnly(boolean value) { return this; } /** + * + * *
      * Optional. If set, the backend validates the request, but doesn't actually
      * execute it.
      * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearValidateOnly() { @@ -1228,13 +1370,16 @@ public Builder clearValidateOnly() { return this; } - private boolean allowMissing_ ; + private boolean allowMissing_; /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ @java.lang.Override @@ -1242,11 +1387,14 @@ public boolean getAllowMissing() { return allowMissing_; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The allowMissing to set. * @return This builder for chaining. */ @@ -1258,11 +1406,14 @@ public Builder setAllowMissing(boolean value) { return this; } /** + * + * *
      * Optional. Allow missing fields in the update mask.
      * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAllowMissing() { @@ -1271,9 +1422,9 @@ public Builder clearAllowMissing() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1283,12 +1434,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UpdateUserRequest) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UpdateUserRequest) private static final com.google.cloud.alloydb.v1beta.UpdateUserRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UpdateUserRequest(); } @@ -1297,27 +1448,27 @@ public static com.google.cloud.alloydb.v1beta.UpdateUserRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateUserRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateUserRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1332,6 +1483,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UpdateUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java similarity index 81% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java index a3620f888b3c..1e5da63eed22 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UpdateUserRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/service.proto package com.google.cloud.alloydb.v1beta; -public interface UpdateUserRequestOrBuilder extends +public interface UpdateUserRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UpdateUserRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -16,11 +34,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -29,11 +51,15 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Field mask is used to specify the fields to be overwritten in the
    * User resource by the update.
@@ -42,38 +68,52 @@ public interface UpdateUserRequestOrBuilder extends
    * user does not provide a mask then all fields will be overwritten.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The user. */ com.google.cloud.alloydb.v1beta.User getUser(); /** + * + * *
    * Required. The resource being updated
    * 
* - * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.alloydb.v1beta.User user = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.alloydb.v1beta.UserOrBuilder getUserOrBuilder(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -91,10 +131,13 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The requestId. */ java.lang.String getRequestId(); /** + * + * *
    * Optional. An optional request ID to identify requests. Specify a unique
    * request ID so that if you must retry your request, the server will know to
@@ -112,28 +155,34 @@ public interface UpdateUserRequestOrBuilder extends
    * 
* * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for requestId. */ - com.google.protobuf.ByteString - getRequestIdBytes(); + com.google.protobuf.ByteString getRequestIdBytes(); /** + * + * *
    * Optional. If set, the backend validates the request, but doesn't actually
    * execute it.
    * 
* * bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The validateOnly. */ boolean getValidateOnly(); /** + * + * *
    * Optional. Allow missing fields in the update mask.
    * 
* * bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java index 11fa0e8d8fe3..e06ecc642075 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/User.java @@ -1,62 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * Message describing User object.
  * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.User} */ -public final class User extends - com.google.protobuf.GeneratedMessageV3 implements +public final class User extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.User) UserOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use User.newBuilder() to construct. private User(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private User() { name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new User(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.User.class, com.google.cloud.alloydb.v1beta.User.Builder.class); + com.google.cloud.alloydb.v1beta.User.class, + com.google.cloud.alloydb.v1beta.User.Builder.class); } /** + * + * *
    * Enum that details the user type.
    * 
* * Protobuf enum {@code google.cloud.alloydb.v1beta.User.UserType} */ - public enum UserType - implements com.google.protobuf.ProtocolMessageEnum { + public enum UserType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified user type.
      * 
@@ -65,6 +86,8 @@ public enum UserType */ USER_TYPE_UNSPECIFIED(0), /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -74,6 +97,8 @@ public enum UserType
      */
     ALLOYDB_BUILT_IN(1),
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -85,6 +110,8 @@ public enum UserType ; /** + * + * *
      * Unspecified user type.
      * 
@@ -93,6 +120,8 @@ public enum UserType */ public static final int USER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The default user type that authenticates via password-based
      * authentication.
@@ -102,6 +131,8 @@ public enum UserType
      */
     public static final int ALLOYDB_BUILT_IN_VALUE = 1;
     /**
+     *
+     *
      * 
      * Database user that can authenticate via IAM-Based authentication.
      * 
@@ -110,7 +141,6 @@ public enum UserType */ public static final int ALLOYDB_IAM_USER_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,49 +165,49 @@ public static UserType valueOf(int value) { */ public static UserType forNumber(int value) { switch (value) { - case 0: return USER_TYPE_UNSPECIFIED; - case 1: return ALLOYDB_BUILT_IN; - case 2: return ALLOYDB_IAM_USER; - default: return null; + case 0: + return USER_TYPE_UNSPECIFIED; + case 1: + return ALLOYDB_BUILT_IN; + case 2: + return ALLOYDB_IAM_USER; + 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< - UserType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UserType findValueByNumber(int number) { - return UserType.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 UserType findValueByNumber(int number) { + return UserType.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.cloud.alloydb.v1beta.User.getDescriptor().getEnumTypes().get(0); } private static final UserType[] VALUES = values(); - public static UserType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static UserType 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; @@ -195,15 +225,19 @@ private UserType(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -212,30 +246,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; } } /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * 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 { @@ -244,14 +278,18 @@ public java.lang.String getName() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ @java.lang.Override @@ -260,29 +298,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -291,41 +329,50 @@ public java.lang.String getPassword() { } public static final int DATABASE_ROLES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { return databaseRoles_; } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -333,47 +380,63 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } public static final int USER_TYPE_FIELD_NUMBER = 5; private int userType_ = 0; /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ - @java.lang.Override public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { - com.google.cloud.alloydb.v1beta.User.UserType result = com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); + @java.lang.Override + public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { + com.google.cloud.alloydb.v1beta.User.UserType result = + com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1beta.User.UserType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,8 +448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -396,7 +458,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < databaseRoles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, databaseRoles_.getRaw(i)); } - if (userType_ != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + if (userType_ + != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, userType_); } getUnknownFields().writeTo(output); @@ -422,9 +485,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getDatabaseRolesList().size(); } - if (userType_ != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, userType_); + if (userType_ + != com.google.cloud.alloydb.v1beta.User.UserType.USER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, userType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -434,19 +497,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.cloud.alloydb.v1beta.User)) { return super.equals(obj); } com.google.cloud.alloydb.v1beta.User other = (com.google.cloud.alloydb.v1beta.User) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; - if (!getDatabaseRolesList() - .equals(other.getDatabaseRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPassword().equals(other.getPassword())) return false; + if (!getDatabaseRolesList().equals(other.getDatabaseRolesList())) return false; if (userType_ != other.userType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -474,148 +534,150 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.User parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.User parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.cloud.alloydb.v1beta.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.User parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.cloud.alloydb.v1beta.User 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.cloud.alloydb.v1beta.User parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.User parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.User prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Message describing User object.
    * 
* * Protobuf type {@code google.cloud.alloydb.v1beta.User} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.User) com.google.cloud.alloydb.v1beta.UserOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.alloydb.v1beta.User.class, com.google.cloud.alloydb.v1beta.User.Builder.class); + com.google.cloud.alloydb.v1beta.User.class, + com.google.cloud.alloydb.v1beta.User.Builder.class); } // Construct using com.google.cloud.alloydb.v1beta.User.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; password_ = ""; - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); userType_ = 0; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_User_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.alloydb.v1beta.ResourcesProto + .internal_static_google_cloud_alloydb_v1beta_User_descriptor; } @java.lang.Override @@ -635,7 +697,9 @@ public com.google.cloud.alloydb.v1beta.User build() { @java.lang.Override public com.google.cloud.alloydb.v1beta.User buildPartial() { com.google.cloud.alloydb.v1beta.User result = new com.google.cloud.alloydb.v1beta.User(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -661,38 +725,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.User result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.alloydb.v1beta.User) { - return mergeFrom((com.google.cloud.alloydb.v1beta.User)other); + return mergeFrom((com.google.cloud.alloydb.v1beta.User) other); } else { super.mergeFrom(other); return this; @@ -750,33 +815,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - password_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureDatabaseRolesIsMutable(); - databaseRoles_.add(s); - break; - } // case 34 - case 40: { - userType_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + password_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDatabaseRolesIsMutable(); + databaseRoles_.add(s); + break; + } // case 34 + case 40: + { + userType_ = input.readEnum(); + bitField0_ |= 0x00000008; + 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) { @@ -786,23 +856,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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; @@ -811,21 +884,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * 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 { @@ -833,30 +907,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -866,18 +947,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of the resource in the form of
      * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -887,18 +972,20 @@ public Builder setNameBytes( private java.lang.Object password_ = ""; /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -907,20 +994,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -928,28 +1016,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -959,17 +1054,21 @@ public Builder clearPassword() { return this; } /** + * + * *
      * Input only. Password for the user.
      * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; @@ -979,6 +1078,7 @@ public Builder setPasswordBytes( private com.google.protobuf.LazyStringArrayList databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDatabaseRolesIsMutable() { if (!databaseRoles_.isModifiable()) { databaseRoles_ = new com.google.protobuf.LazyStringArrayList(databaseRoles_); @@ -986,38 +1086,46 @@ private void ensureDatabaseRolesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - public com.google.protobuf.ProtocolStringList - getDatabaseRolesList() { + public com.google.protobuf.ProtocolStringList getDatabaseRolesList() { databaseRoles_.makeImmutable(); return databaseRoles_; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ public int getDatabaseRolesCount() { return databaseRoles_.size(); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ @@ -1025,33 +1133,39 @@ public java.lang.String getDatabaseRoles(int index) { return databaseRoles_.get(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - public com.google.protobuf.ByteString - getDatabaseRolesBytes(int index) { + public com.google.protobuf.ByteString getDatabaseRolesBytes(int index) { return databaseRoles_.getByteString(index); } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The databaseRoles to set. * @return This builder for chaining. */ - public Builder setDatabaseRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.set(index, value); bitField0_ |= 0x00000004; @@ -1059,18 +1173,22 @@ public Builder setDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); bitField0_ |= 0x00000004; @@ -1078,53 +1196,61 @@ public Builder addDatabaseRoles( return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The databaseRoles to add. * @return This builder for chaining. */ - public Builder addAllDatabaseRoles( - java.lang.Iterable values) { + public Builder addAllDatabaseRoles(java.lang.Iterable values) { ensureDatabaseRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, databaseRoles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, databaseRoles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDatabaseRoles() { - databaseRoles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + databaseRoles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * Optional. List of database roles this user has.
      * The database role strings are subject to the PostgreSQL naming conventions.
      * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the databaseRoles to add. * @return This builder for chaining. */ - public Builder addDatabaseRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addDatabaseRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureDatabaseRolesIsMutable(); databaseRoles_.add(value); @@ -1135,22 +1261,33 @@ public Builder addDatabaseRolesBytes( private int userType_ = 0; /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ - @java.lang.Override public int getUserTypeValue() { + @java.lang.Override + public int getUserTypeValue() { return userType_; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for userType to set. * @return This builder for chaining. */ @@ -1161,24 +1298,35 @@ public Builder setUserTypeValue(int value) { return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ @java.lang.Override public com.google.cloud.alloydb.v1beta.User.UserType getUserType() { - com.google.cloud.alloydb.v1beta.User.UserType result = com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); + com.google.cloud.alloydb.v1beta.User.UserType result = + com.google.cloud.alloydb.v1beta.User.UserType.forNumber(userType_); return result == null ? com.google.cloud.alloydb.v1beta.User.UserType.UNRECOGNIZED : result; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The userType to set. * @return This builder for chaining. */ @@ -1192,11 +1340,16 @@ public Builder setUserType(com.google.cloud.alloydb.v1beta.User.UserType value) return this; } /** + * + * *
      * Optional. Type of this user.
      * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearUserType() { @@ -1205,9 +1358,9 @@ public Builder clearUserType() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1217,12 +1370,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.User) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.User) private static final com.google.cloud.alloydb.v1beta.User DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.User(); } @@ -1231,27 +1384,27 @@ public static com.google.cloud.alloydb.v1beta.User getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public User parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public User parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1266,6 +1419,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.User getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserName.java diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java similarity index 70% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java index 17a86666847b..21804572825c 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserOrBuilder.java @@ -1,114 +1,160 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface UserOrBuilder extends +public interface UserOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.User) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of the resource in the form of
    * projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * Input only. Password for the user.
    * 
* * string password = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the databaseRoles. */ - java.util.List - getDatabaseRolesList(); + java.util.List getDatabaseRolesList(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of databaseRoles. */ int getDatabaseRolesCount(); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The databaseRoles at the given index. */ java.lang.String getDatabaseRoles(int index); /** + * + * *
    * Optional. List of database roles this user has.
    * The database role strings are subject to the PostgreSQL naming conventions.
    * 
* * repeated string database_roles = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the databaseRoles at the given index. */ - com.google.protobuf.ByteString - getDatabaseRolesBytes(int index); + com.google.protobuf.ByteString getDatabaseRolesBytes(int index); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for userType. */ int getUserTypeValue(); /** + * + * *
    * Optional. Type of this user.
    * 
* - * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.alloydb.v1beta.User.UserType user_type = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The userType. */ com.google.cloud.alloydb.v1beta.User.UserType getUserType(); diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java similarity index 66% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java index e8c712c50058..9751711313eb 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPassword.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; /** + * + * *
  * The username/password for a database user. Used for specifying initial
  * users at cluster creation time.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.alloydb.v1beta.UserPassword}
  */
-public final class UserPassword extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserPassword extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.alloydb.v1beta.UserPassword)
     UserPasswordOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserPassword.newBuilder() to construct.
   private UserPassword(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserPassword() {
     user_ = "";
     password_ = "";
@@ -27,33 +45,38 @@ private UserPassword() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserPassword();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
+    return com.google.cloud.alloydb.v1beta.ResourcesProto
+        .internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.alloydb.v1beta.UserPassword.class, com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
+            com.google.cloud.alloydb.v1beta.UserPassword.class,
+            com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
   }
 
   public static final int USER_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object user_ = "";
   /**
+   *
+   *
    * 
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ @java.lang.Override @@ -62,29 +85,29 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -93,14 +116,18 @@ public java.lang.String getUser() { } public static final int PASSWORD_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object password_ = ""; /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ @java.lang.Override @@ -109,29 +136,29 @@ public java.lang.String getPassword() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ @java.lang.Override - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getPassword() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_); } @@ -182,17 +209,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.cloud.alloydb.v1beta.UserPassword)) { return super.equals(obj); } - com.google.cloud.alloydb.v1beta.UserPassword other = (com.google.cloud.alloydb.v1beta.UserPassword) obj; + com.google.cloud.alloydb.v1beta.UserPassword other = + (com.google.cloud.alloydb.v1beta.UserPassword) obj; - if (!getUser() - .equals(other.getUser())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUser().equals(other.getUser())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,99 +239,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.alloydb.v1beta.UserPassword parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.alloydb.v1beta.UserPassword parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.alloydb.v1beta.UserPassword prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The username/password for a database user. Used for specifying initial
    * users at cluster creation time.
@@ -313,33 +344,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.alloydb.v1beta.UserPassword}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.alloydb.v1beta.UserPassword)
       com.google.cloud.alloydb.v1beta.UserPasswordOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.alloydb.v1beta.UserPassword.class, com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
+              com.google.cloud.alloydb.v1beta.UserPassword.class,
+              com.google.cloud.alloydb.v1beta.UserPassword.Builder.class);
     }
 
     // Construct using com.google.cloud.alloydb.v1beta.UserPassword.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.alloydb.v1beta.ResourcesProto.internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.alloydb.v1beta.ResourcesProto
+          .internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor;
     }
 
     @java.lang.Override
@@ -371,8 +401,11 @@ public com.google.cloud.alloydb.v1beta.UserPassword build() {
 
     @java.lang.Override
     public com.google.cloud.alloydb.v1beta.UserPassword buildPartial() {
-      com.google.cloud.alloydb.v1beta.UserPassword result = new com.google.cloud.alloydb.v1beta.UserPassword(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.alloydb.v1beta.UserPassword result =
+          new com.google.cloud.alloydb.v1beta.UserPassword(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -391,38 +424,39 @@ private void buildPartial0(com.google.cloud.alloydb.v1beta.UserPassword result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.alloydb.v1beta.UserPassword) {
-        return mergeFrom((com.google.cloud.alloydb.v1beta.UserPassword)other);
+        return mergeFrom((com.google.cloud.alloydb.v1beta.UserPassword) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -467,22 +501,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              user_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              password_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                user_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                password_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -492,22 +529,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object user_ = "";
     /**
+     *
+     *
      * 
      * The database username.
      * 
* * string user = 1; + * * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; @@ -516,20 +556,21 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return The bytes for user. */ - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); user_ = b; return b; } else { @@ -537,28 +578,35 @@ public java.lang.String getUser() { } } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } user_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @return This builder for chaining. */ public Builder clearUser() { @@ -568,17 +616,21 @@ public Builder clearUser() { return this; } /** + * + * *
      * The database username.
      * 
* * string user = 1; + * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); user_ = value; bitField0_ |= 0x00000001; @@ -588,18 +640,20 @@ public Builder setUserBytes( private java.lang.Object password_ = ""; /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -608,20 +662,21 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return The bytes for password. */ - public com.google.protobuf.ByteString - getPasswordBytes() { + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -629,28 +684,35 @@ public java.lang.String getPassword() { } } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The password to set. * @return This builder for chaining. */ - public Builder setPassword( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPassword(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @return This builder for chaining. */ public Builder clearPassword() { @@ -660,26 +722,30 @@ public Builder clearPassword() { return this; } /** + * + * *
      * The initial password for the user.
      * 
* * string password = 2; + * * @param value The bytes for password to set. * @return This builder for chaining. */ - public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); password_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.alloydb.v1beta.UserPassword) } // @@protoc_insertion_point(class_scope:google.cloud.alloydb.v1beta.UserPassword) private static final com.google.cloud.alloydb.v1beta.UserPassword DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.alloydb.v1beta.UserPassword(); } @@ -703,27 +769,27 @@ public static com.google.cloud.alloydb.v1beta.UserPassword getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserPassword parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserPassword parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.alloydb.v1beta.UserPassword getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java similarity index 53% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java index 414a0529d745..948bb4b7cbd4 100644 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java +++ b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/UserPasswordOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/alloydb/v1beta/resources.proto package com.google.cloud.alloydb.v1beta; -public interface UserPasswordOrBuilder extends +public interface UserPasswordOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.UserPassword) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The user. */ java.lang.String getUser(); /** + * + * *
    * The database username.
    * 
* * string user = 1; + * * @return The bytes for user. */ - com.google.protobuf.ByteString - getUserBytes(); + com.google.protobuf.ByteString getUserBytes(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The password. */ java.lang.String getPassword(); /** + * + * *
    * The initial password for the user.
    * 
* * string password = 2; + * * @return The bytes for password. */ - com.google.protobuf.ByteString - getPasswordBytes(); + com.google.protobuf.ByteString getPasswordBytes(); } diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/resources.proto diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto b/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto rename to java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/proto/google/cloud/alloydb/v1beta/service.proto diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/AsyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/listusers/SyncListUsersString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/AsyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/listusers/SyncListUsersString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1alpha/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1alpha/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/AsyncBatchCreateInstancesLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/batchcreateinstances/SyncBatchCreateInstances.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/AsyncCreateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupLocationnameBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createbackup/SyncCreateBackupStringBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/AsyncCreateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createcluster/SyncCreateClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/AsyncCreateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createinstance/SyncCreateInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/AsyncCreateSecondaryClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterLocationnameClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondarycluster/SyncCreateSecondaryClusterStringClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/AsyncCreateSecondaryInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceClusternameInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createsecondaryinstance/SyncCreateSecondaryInstanceStringInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/AsyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserClusternameUserString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/createuser/SyncCreateUserStringUserString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/AsyncDeleteBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletebackup/SyncDeleteBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/AsyncDeleteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deletecluster/SyncDeleteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/AsyncDeleteInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteinstance/SyncDeleteInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/AsyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/deleteuser/SyncDeleteUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/AsyncFailoverInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/failoverinstance/SyncFailoverInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/AsyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificate.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/generateclientcertificate/SyncGenerateClientCertificateString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/AsyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupBackupname.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getbackup/SyncGetBackupString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/AsyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getcluster/SyncGetClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/AsyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfo.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getconnectioninfo/SyncGetConnectionInfoString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/AsyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getinstance/SyncGetInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/AsyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/getuser/SyncGetUserUsername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/AsyncInjectFaultLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFault.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/injectfault/SyncInjectFaultInjectfaultrequestfaulttypeString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/AsyncListBackupsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackups.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listbackups/SyncListBackupsString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/AsyncListClustersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClusters.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listclusters/SyncListClustersString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/AsyncListInstancesPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstances.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listinstances/SyncListInstancesString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/AsyncListSupportedDatabaseFlagsPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlags.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsLocationname.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listsupporteddatabaseflags/SyncListSupportedDatabaseFlagsString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/AsyncListUsersPaged.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsers.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/listusers/SyncListUsersString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/AsyncPromoteClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterClustername.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/promotecluster/SyncPromoteClusterString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/AsyncRestartInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceInstancename.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restartinstance/SyncRestartInstanceString.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/AsyncRestoreClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/restorecluster/SyncRestoreCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/AsyncUpdateBackupLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackup.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatebackup/SyncUpdateBackupBackupFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/AsyncUpdateClusterLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updatecluster/SyncUpdateClusterClusterFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/AsyncUpdateInstanceLRO.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstance.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateinstance/SyncUpdateInstanceInstanceFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/AsyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUser.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadmin/updateuser/SyncUpdateUserUserFieldmask.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/alloydbadminsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java b/java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java similarity index 100% rename from owl-bot-staging/java-alloydb/v1beta/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java rename to java-alloydb/samples/snippets/generated/com/google/cloud/alloydb/v1beta/stub/alloydbadminstubsettings/getcluster/SyncGetCluster.java diff --git a/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java deleted file mode 100644 index c78f41366843..000000000000 --- a/owl-bot-staging/java-alloydb/v1/grpc-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,2995 +0,0 @@ -package com.google.cloud.alloydb.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListClustersMethod() { - io.grpc.MethodDescriptor getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetClusterMethod() { - io.grpc.MethodDescriptor getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClusterMethod() { - io.grpc.MethodDescriptor getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateClusterMethod() { - io.grpc.MethodDescriptor getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteClusterMethod() { - io.grpc.MethodDescriptor getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPromoteClusterMethod() { - io.grpc.MethodDescriptor getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.PromoteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestoreClusterMethod() { - io.grpc.MethodDescriptor getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.RestoreClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstancesMethod() { - io.grpc.MethodDescriptor getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListInstancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.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; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.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; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { - io.grpc.MethodDescriptor getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.FailoverInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInjectFaultMethod() { - io.grpc.MethodDescriptor getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.InjectFaultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartInstanceMethod() { - io.grpc.MethodDescriptor getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.RestartInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListBackupsMethod() { - io.grpc.MethodDescriptor getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.ListBackupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListBackupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetBackupMethod() { - io.grpc.MethodDescriptor getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.GetBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.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; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.CreateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateBackupMethod() { - io.grpc.MethodDescriptor getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.UpdateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteBackupMethod() { - io.grpc.MethodDescriptor getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1.DeleteBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUsersMethod() { - io.grpc.MethodDescriptor getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListUsersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.ListUsersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUserMethod() { - io.grpc.MethodDescriptor getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUserMethod() { - io.grpc.MethodDescriptor getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.CreateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUserMethod() { - io.grpc.MethodDescriptor getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.UpdateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUserMethod() { - io.grpc.MethodDescriptor getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1.DeleteUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AlloyDBAdminFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser(com.google.cloud.alloydb.v1.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser(com.google.cloud.alloydb.v1.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static abstract class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser(com.google.cloud.alloydb.v1.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser(com.google.cloud.alloydb.v1.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListClustersResponse listClusters(com.google.cloud.alloydb.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1.Cluster getCluster(com.google.cloud.alloydb.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1.Instance getInstance(com.google.cloud.alloydb.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1.Backup getBackup(com.google.cloud.alloydb.v1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1.ListUsersResponse listUsers(com.google.cloud.alloydb.v1.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1.User getUser(com.google.cloud.alloydb.v1.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1.User createUser(com.google.cloud.alloydb.v1.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1.User updateUser(com.google.cloud.alloydb.v1.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.cloud.alloydb.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.cloud.alloydb.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.cloud.alloydb.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.cloud.alloydb.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.cloud.alloydb.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture promoteCluster( - com.google.cloud.alloydb.v1.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restoreCluster( - com.google.cloud.alloydb.v1.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.cloud.alloydb.v1.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.alloydb.v1.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.alloydb.v1.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.cloud.alloydb.v1.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.alloydb.v1.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture failoverInstance( - com.google.cloud.alloydb.v1.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture injectFault( - com.google.cloud.alloydb.v1.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restartInstance( - com.google.cloud.alloydb.v1.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.cloud.alloydb.v1.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.cloud.alloydb.v1.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createBackup( - com.google.cloud.alloydb.v1.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.cloud.alloydb.v1.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.cloud.alloydb.v1.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( - com.google.cloud.alloydb.v1.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUsers( - com.google.cloud.alloydb.v1.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUser( - com.google.cloud.alloydb.v1.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUser( - com.google.cloud.alloydb.v1.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUser( - com.google.cloud.alloydb.v1.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.cloud.alloydb.v1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.cloud.alloydb.v1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.cloud.alloydb.v1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.cloud.alloydb.v1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.cloud.alloydb.v1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster((com.google.cloud.alloydb.v1.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster((com.google.cloud.alloydb.v1.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.cloud.alloydb.v1.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.alloydb.v1.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.alloydb.v1.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.cloud.alloydb.v1.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.alloydb.v1.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance((com.google.cloud.alloydb.v1.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault((com.google.cloud.alloydb.v1.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance((com.google.cloud.alloydb.v1.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.cloud.alloydb.v1.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.cloud.alloydb.v1.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.cloud.alloydb.v1.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.cloud.alloydb.v1.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.cloud.alloydb.v1.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers((com.google.cloud.alloydb.v1.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser((com.google.cloud.alloydb.v1.GetUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser((com.google.cloud.alloydb.v1.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser((com.google.cloud.alloydb.v1.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser((com.google.cloud.alloydb.v1.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListClustersRequest, - com.google.cloud.alloydb.v1.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetClusterRequest, - com.google.cloud.alloydb.v1.Cluster>( - service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.PromoteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.RestoreClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListInstancesRequest, - com.google.cloud.alloydb.v1.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetInstanceRequest, - com.google.cloud.alloydb.v1.Instance>( - service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.BatchCreateInstancesRequest, - com.google.longrunning.Operation>( - service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.FailoverInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.InjectFaultRequest, - com.google.longrunning.Operation>( - service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.RestartInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListBackupsRequest, - com.google.cloud.alloydb.v1.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetBackupRequest, - com.google.cloud.alloydb.v1.Backup>( - service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.ListUsersRequest, - com.google.cloud.alloydb.v1.ListUsersResponse>( - service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.GetUserRequest, - com.google.cloud.alloydb.v1.User>( - service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.CreateUserRequest, - com.google.cloud.alloydb.v1.User>( - service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.UpdateUserRequest, - com.google.cloud.alloydb.v1.User>( - service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1.DeleteUserRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private static abstract class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 760acc212783..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface CreateInstanceRequestsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getCreateInstanceRequestsCount(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java deleted file mode 100644 index 34734642ea39..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/resources.proto - -package com.google.cloud.alloydb.v1; - -public interface EncryptionInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1.EncryptionInfo.Type getEncryptionType(); - - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return A list containing the kmsKeyVersions. - */ - java.util.List - getKmsKeyVersionsList(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index); -} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java deleted file mode 100644 index a6f5c206ea61..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface GetBackupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java deleted file mode 100644 index 7e996c8b755b..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public interface GetUserRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * 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/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java deleted file mode 100644 index 4b78aa553398..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ResourcesProto.java +++ /dev/null @@ -1,749 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/resources.proto - -package com.google.cloud.alloydb.v1; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_cloud_alloydb_v1_UserPassword_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_User_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_User_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/cloud/alloydb/v1/resources.prot" + - "o\022\027google.cloud.alloydb.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032\036google/protobuf/duration.proto\032\037" + - "google/protobuf/timestamp.proto\032\036google/" + - "protobuf/wrappers.proto\032\033google/type/day" + - "ofweek.proto\032\033google/type/timeofday.prot" + - "o\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022\020\n\010passw" + - "ord\030\002 \001(\t\"\346\001\n\017MigrationSource\022\027\n\thost_po" + - "rt\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002 \001(\tB\004\342A" + - "\001\003\022W\n\013source_type\030\003 \001(\0162<.google.cloud.a" + - "lloydb.v1.MigrationSource.MigrationSourc" + - "eTypeB\004\342A\001\003\"E\n\023MigrationSourceType\022%\n!MI" + - "GRATION_SOURCE_TYPE_UNSPECIFIED\020\000\022\007\n\003DMS" + - "\020\001\"(\n\020EncryptionConfig\022\024\n\014kms_key_name\030\001" + - " \001(\t\"\210\002\n\016EncryptionInfo\022K\n\017encryption_ty" + - "pe\030\001 \001(\0162,.google.cloud.alloydb.v1.Encry" + - "ptionInfo.TypeB\004\342A\001\003\022K\n\020kms_key_versions" + - "\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkms.googleapis.com" + - "/CryptoKeyVersion\"\\\n\004Type\022\024\n\020TYPE_UNSPEC" + - "IFIED\020\000\022\035\n\031GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037" + - "\n\033CUSTOMER_MANAGED_ENCRYPTION\020\002\"\200\003\n\tSslC" + - "onfig\022B\n\010ssl_mode\030\001 \001(\0162*.google.cloud.a" + - "lloydb.v1.SslConfig.SslModeB\004\342A\001\001\022D\n\tca_" + - "source\030\002 \001(\0162+.google.cloud.alloydb.v1.S" + - "slConfig.CaSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024S" + - "SL_MODE_UNSPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020" + - "\001\032\002\010\001\022\030\n\020SSL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_M" + - "ODE_VERIFY_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED" + - "_AND_ENCRYPTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010" + - "CaSource\022\031\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021C" + - "A_SOURCE_MANAGED\020\001\"\346\006\n\025AutomatedBackupPo" + - "licy\022X\n\017weekly_schedule\030\002 \001(\0132=.google.c" + - "loud.alloydb.v1.AutomatedBackupPolicy.We" + - "eklyScheduleH\000\022a\n\024time_based_retention\030\004" + - " \001(\0132A.google.cloud.alloydb.v1.Automated" + - "BackupPolicy.TimeBasedRetentionH\001\022i\n\030qua" + - "ntity_based_retention\030\005 \001(\0132E.google.clo" + - "ud.alloydb.v1.AutomatedBackupPolicy.Quan" + - "tityBasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210" + - "\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google.proto" + - "buf.Duration\022J\n\021encryption_config\030\010 \001(\0132" + - ").google.cloud.alloydb.v1.EncryptionConf" + - "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022J\n\006labels\030\007 \003" + - "(\0132:.google.cloud.alloydb.v1.AutomatedBa" + - "ckupPolicy.LabelsEntry\032k\n\016WeeklySchedule" + - "\022+\n\013start_times\030\001 \003(\0132\026.google.type.Time" + - "OfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google.typ" + - "e.DayOfWeek\032I\n\022TimeBasedRetention\0223\n\020ret" + - "ention_period\030\001 \001(\0132\031.google.protobuf.Du" + - "ration\032\'\n\026QuantityBasedRetention\022\r\n\005coun" + - "t\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretentionB" + - "\n\n\010_enabled\"\236\001\n\026ContinuousBackupConfig\022\024" + - "\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_window_" + - "days\030\004 \001(\005\022D\n\021encryption_config\030\003 \001(\0132)." + - "google.cloud.alloydb.v1.EncryptionConfig" + - "B\n\n\010_enabled\"\212\002\n\024ContinuousBackupInfo\022F\n" + - "\017encryption_info\030\001 \001(\0132\'.google.cloud.al" + - "loydb.v1.EncryptionInfoB\004\342A\001\003\0226\n\014enabled" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.google.type.Da" + - "yOfWeekB\004\342A\001\003\022B\n\030earliest_restorable_tim" + - "e\030\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + - "\003\"e\n\014BackupSource\022\030\n\nbackup_uid\030\002 \001(\tB\004\342" + - "A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloy" + - "db.googleapis.com/Backup\"h\n\026ContinuousBa" + - "ckupSource\022\025\n\007cluster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoi" + - "nt_in_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\004\342A\001\002\"\302\021\n\007Cluster\022D\n\rbackup_source\030" + - "\017 \001(\0132%.google.cloud.alloydb.v1.BackupSo" + - "urceB\004\342A\001\003H\000\022J\n\020migration_source\030\020 \001(\0132(" + - ".google.cloud.alloydb.v1.MigrationSource" + - "B\004\342A\001\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_" + - "name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_" + - "time\030\004 \001(\0132\032.google.protobuf.TimestampB\004" + - "\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.google.proto" + - "buf.TimestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\013" + - "2\032.google.protobuf.TimestampB\004\342A\001\003\022<\n\006la" + - "bels\030\007 \003(\0132,.google.cloud.alloydb.v1.Clu" + - "ster.LabelsEntry\022;\n\005state\030\010 \001(\0162&.google" + - ".cloud.alloydb.v1.Cluster.StateB\004\342A\001\003\022H\n" + - "\014cluster_type\030\030 \001(\0162,.google.cloud.alloy" + - "db.v1.Cluster.ClusterTypeB\004\342A\001\003\022H\n\020datab" + - "ase_version\030\t \001(\0162(.google.cloud.alloydb" + - ".v1.DatabaseVersionB\004\342A\001\001\022L\n\016network_con" + - "fig\030\035 \001(\0132..google.cloud.alloydb.v1.Clus" + - "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + - "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + - "ork\022\014\n\004etag\030\013 \001(\t\022F\n\013annotations\030\014 \003(\01321" + - ".google.cloud.alloydb.v1.Cluster.Annotat" + - "ionsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003\022A\n\014" + - "initial_user\030\016 \001(\0132%.google.cloud.alloyd" + - "b.v1.UserPasswordB\004\342A\001\004\022O\n\027automated_bac" + - "kup_policy\030\021 \001(\0132..google.cloud.alloydb." + - "v1.AutomatedBackupPolicy\022:\n\nssl_config\030\022" + - " \001(\0132\".google.cloud.alloydb.v1.SslConfig" + - "B\002\030\001\022J\n\021encryption_config\030\023 \001(\0132).google" + - ".cloud.alloydb.v1.EncryptionConfigB\004\342A\001\001" + - "\022F\n\017encryption_info\030\024 \001(\0132\'.google.cloud" + - ".alloydb.v1.EncryptionInfoB\004\342A\001\003\022W\n\030cont" + - "inuous_backup_config\030\033 \001(\0132/.google.clou" + - "d.alloydb.v1.ContinuousBackupConfigB\004\342A\001" + - "\001\022S\n\026continuous_backup_info\030\034 \001(\0132-.goog" + - "le.cloud.alloydb.v1.ContinuousBackupInfo" + - "B\004\342A\001\003\022J\n\020secondary_config\030\026 \001(\01320.googl" + - "e.cloud.alloydb.v1.Cluster.SecondaryConf" + - "ig\022L\n\016primary_config\030\027 \001(\0132..google.clou" + - "d.alloydb.v1.Cluster.PrimaryConfigB\004\342A\001\003" + - "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + - "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + - "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + - "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + - "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + - "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + - "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + - "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + - "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + - "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + - "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + - "googleapis.com/Cluster\022:projects/{projec" + - "t}/locations/{location}/clusters/{cluste" + - "r}R\001\001B\010\n\006source\"\232\022\n\010Instance\022\022\n\004name\030\001 \001" + - "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + - "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022=\n\006labels\030\007 \003(\0132-.google." + - "cloud.alloydb.v1.Instance.LabelsEntry\022<\n" + - "\005state\030\010 \001(\0162\'.google.cloud.alloydb.v1.I" + - "nstance.StateB\004\342A\001\003\022K\n\rinstance_type\030\t \001" + - "(\0162..google.cloud.alloydb.v1.Instance.In" + - "stanceTypeB\004\342A\001\002\022G\n\016machine_config\030\n \001(\013" + - "2/.google.cloud.alloydb.v1.Instance.Mach" + - "ineConfig\022M\n\021availability_type\030\013 \001(\01622.g" + - "oogle.cloud.alloydb.v1.Instance.Availabi" + - "lityType\022\020\n\010gce_zone\030\014 \001(\t\022L\n\016database_f" + - "lags\030\r \003(\01324.google.cloud.alloydb.v1.Ins" + - "tance.DatabaseFlagsEntry\022C\n\rwritable_nod" + - "e\030\023 \001(\0132&.google.cloud.alloydb.v1.Instan" + - "ce.NodeB\004\342A\001\003\022;\n\005nodes\030\024 \003(\0132&.google.cl" + - "oud.alloydb.v1.Instance.NodeB\004\342A\001\003\022\\\n\025qu" + - "ery_insights_config\030\025 \001(\0132=.google.cloud" + - ".alloydb.v1.Instance.QueryInsightsInstan" + - "ceConfig\022J\n\020read_pool_config\030\016 \001(\01320.goo" + - "gle.cloud.alloydb.v1.Instance.ReadPoolCo" + - "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + - "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022G\n\013annot" + - "ations\030\022 \003(\01322.google.cloud.alloydb.v1.I" + - "nstance.AnnotationsEntry\022`\n\030client_conne" + - "ction_config\030\027 \001(\01328.google.cloud.alloyd" + - "b.v1.Instance.ClientConnectionConfigB\004\342A" + - "\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(\005\032>" + - "\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n\n\002i" + - "p\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsights" + - "InstanceConfig\022$\n\027record_application_tag" + - "s\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address\030\003 " + - "\001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r\022#\n" + - "\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n\030_r" + - "ecord_application_tagsB\030\n\026_record_client" + - "_addressB\031\n\027_query_plans_per_minute\032$\n\016R" + - "eadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032x\n\026Cli" + - "entConnectionConfig\022 \n\022require_connector" + - "s\030\001 \001(\010B\004\342A\001\001\022<\n\nssl_config\030\002 \001(\0132\".goog" + - "le.cloud.alloydb.v1.SslConfigB\004\342A\001\001\032-\n\013L" + - "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025" + - "\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOP" + - "PED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAI" + - "NTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020" + - "\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INST" + - "ANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\t" + - "READ_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Availabili" + - "tyType\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020" + - "\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb" + - ".googleapis.com/Instance\022Oprojects/{proj" + - "ect}/locations/{location}/clusters/{clus" + - "ter}/instances/{instance}R\001\001\"\342\001\n\016Connect" + - "ionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(" + - "\tB\004\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A" + - "\207\001\n%alloydb.googleapis.com/ConnectionInf" + - "o\022^projects/{project}/locations/{locatio" + - "n}/clusters/{cluster}/instances/{instanc" + - "e}/connectionInfo\"\267\013\n\006Backup\022\022\n\004name\030\001 \001" + - "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + - "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013delete_time\030\017 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022;\n\006labels\030\006 \003(\0132+.google." + - "cloud.alloydb.v1.Backup.LabelsEntry\022:\n\005s" + - "tate\030\007 \001(\0162%.google.cloud.alloydb.v1.Bac" + - "kup.StateB\004\342A\001\003\0222\n\004type\030\010 \001(\0162$.google.c" + - "loud.alloydb.v1.Backup.Type\022\023\n\013descripti" + - "on\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001\003\022=\n\014c" + - "luster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + - "leapis.com/Cluster\022\031\n\013reconciling\030\013 \001(\010B" + - "\004\342A\001\003\022J\n\021encryption_config\030\014 \001(\0132).googl" + - "e.cloud.alloydb.v1.EncryptionConfigB\004\342A\001" + - "\001\022F\n\017encryption_info\030\r \001(\0132\'.google.clou" + - "d.alloydb.v1.EncryptionInfoB\004\342A\001\003\022\014\n\004eta" + - "g\030\016 \001(\t\022E\n\013annotations\030\020 \003(\01320.google.cl" + - "oud.alloydb.v1.Backup.AnnotationsEntry\022\030" + - "\n\nsize_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030" + - "\023 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "R\n\017expiry_quantity\030\024 \001(\01323.google.cloud." + - "alloydb.v1.Backup.QuantityBasedExpiryB\004\342" + - "A\001\003\022H\n\020database_version\030\026 \001(\0162(.google.c" + - "loud.alloydb.v1.DatabaseVersionB\004\342A\001\003\032Y\n" + - "\023QuantityBasedExpiry\022\035\n\017retention_count\030" + - "\001 \001(\005B\004\342A\001\003\022#\n\025total_retention_count\030\002 \001" + - "(\005B\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021" + - "STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATI" + - "NG\020\002\022\n\n\006FAILED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024" + - "\n\020TYPE_UNSPECIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tA" + - "UTOMATED\020\002\022\016\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb" + - ".googleapis.com/Backup\0228projects/{projec" + - "t}/locations/{location}/backups/{backup}" + - "R\001\001\"\310\006\n\025SupportedDatabaseFlag\022`\n\023string_" + - "restrictions\030\007 \001(\0132A.google.cloud.alloyd" + - "b.v1.SupportedDatabaseFlag.StringRestric" + - "tionsH\000\022b\n\024integer_restrictions\030\010 \001(\0132B." + - "google.cloud.alloydb.v1.SupportedDatabas" + - "eFlag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(" + - "\t\022\021\n\tflag_name\030\002 \001(\t\022L\n\nvalue_type\030\003 \001(\016" + - "28.google.cloud.alloydb.v1.SupportedData" + - "baseFlag.ValueType\022\037\n\027accepts_multiple_v" + - "alues\030\004 \001(\010\022G\n\025supported_db_versions\030\005 \003" + - "(\0162(.google.cloud.alloydb.v1.DatabaseVer" + - "sion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022Str" + - "ingRestrictions\022\026\n\016allowed_values\030\001 \003(\t\032" + - "u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 \001(" + - "\0132\033.google.protobuf.Int64Value\022.\n\tmax_va" + - "lue\030\002 \001(\0132\033.google.protobuf.Int64Value\"U" + - "\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020\000\022" + - "\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n\004N" + - "ONE\020\004:g\352Ad\n,alloydb.googleapis.com/Suppo" + - "rtedDatabaseFlag\0224projects/{project}/loc" + - "ations/{location}/flags/{flag}B\016\n\014restri" + - "ctions\"\322\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n\010p" + - "assword\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030\004 " + - "\003(\tB\004\342A\001\001\022?\n\tuser_type\030\005 \001(\0162&.google.cl" + - "oud.alloydb.v1.User.UserTypeB\004\342A\001\001\"Q\n\010Us" + - "erType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022\024\n\020ALL" + - "OYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USER\020\002:l\352" + - "Ai\n\033alloydb.googleapis.com/User\022Gproject" + - "s/{project}/locations/{location}/cluster" + - "s/{cluster}/users/{user}R\001\001*^\n\014InstanceV" + - "iew\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000\022\027\n\023IN" + - "STANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VIEW_FUL" + - "L\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW_UNSPE" + - "CIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"\n\036CLUS" + - "TER_VIEW_CONTINUOUS_BACKUP\020\002*Y\n\017Database" + - "Version\022 \n\034DATABASE_VERSION_UNSPECIFIED\020" + - "\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES_14\020\002B" + - "\262\003\n\033com.google.cloud.alloydb.v1B\016Resourc" + - "esProtoP\001Z5cloud.google.com/go/alloydb/a" + - "piv1/alloydbpb;alloydbpb\252\002\027Google.Cloud." + - "AlloyDb.V1\312\002\027Google\\Cloud\\AlloyDb\\V1\352\002\032G" + - "oogle::Cloud::AlloyDB::V1\352A\246\001\n(cloudkms." + - "googleapis.com/CryptoKeyVersion\022zproject" + - "s/{project}/locations/{location}/keyRing" + - "s/{key_ring}/cryptoKeys/{crypto_key}/cry" + - "ptoKeyVersions/{crypto_key_version}\352AN\n\036" + - "compute.googleapis.com/Network\022,projects" + - "/{project}/global/networks/{network}b\006pr" + - "oto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1_UserPassword_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_UserPassword_descriptor, - new java.lang.String[] { "User", "Password", }); - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1_MigrationSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_MigrationSource_descriptor, - new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1_EncryptionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_EncryptionInfo_descriptor, - new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1_SslConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SslConfig_descriptor, - new java.lang.String[] { "SslMode", "CaSource", }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { "StartTimes", "DaysOfWeek", }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { "RetentionPeriod", }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { "Count", }); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupConfig_descriptor, - new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupInfo_descriptor, - new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1_BackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_BackupSource_descriptor, - new java.lang.String[] { "BackupUid", "BackupName", }); - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ContinuousBackupSource_descriptor, - new java.lang.String[] { "Cluster", "PointInTime", }); - internal_static_google_cloud_alloydb_v1_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1_Cluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_descriptor, - new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "Source", }); - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { "Network", "AllocatedIpRange", }); - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { "PrimaryClusterName", }); - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { "SecondaryClusterNames", }); - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "ClientConnectionConfig", }); - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_MachineConfig_descriptor, - new java.lang.String[] { "CpuCount", }); - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Instance_Node_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_Node_descriptor, - new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { "NodeCount", }); - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { "RequireConnectors", "SslConfig", }); - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1_ConnectionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_ConnectionInfo_descriptor, - new java.lang.String[] { "Name", "IpAddress", "InstanceUid", }); - internal_static_google_cloud_alloydb_v1_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1_Backup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "DatabaseVersion", }); - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { "AllowedValues", }); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { "MinValue", "MaxValue", }); - internal_static_google_cloud_alloydb_v1_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1_User_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1_User_descriptor, - new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java b/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java deleted file mode 100644 index 788286873745..000000000000 --- a/owl-bot-staging/java-alloydb/v1/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ServiceProto.java +++ /dev/null @@ -1,905 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1/service.proto - -package com.google.cloud.alloydb.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_cloud_alloydb_v1_ListClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_InjectFaultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListBackupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListBackupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListUsersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_ListUsersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_GetUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_CreateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_UpdateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1_DeleteUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1_DeleteUserRequest_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/cloud/alloydb/v1/service.proto\022" + - "\027google.cloud.alloydb.v1\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032\'google/cloud/alloyd" + - "b/v1/resources.proto\032#google/longrunning" + - "/operations.proto\032\036google/protobuf/durat" + - "ion.proto\032\033google/protobuf/empty.proto\032 " + - "google/protobuf/field_mask.proto\032\037google" + - "/protobuf/timestamp.proto\032\027google/rpc/st" + - "atus.proto\"\251\001\n\023ListClustersRequest\0227\n\006pa" + - "rent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis." + - "com/Cluster\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\n" + - "page_token\030\003 \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026" + - "\n\010order_by\030\005 \001(\tB\004\342A\001\001\"x\n\024ListClustersRe" + - "sponse\0222\n\010clusters\030\001 \003(\0132 .google.cloud." + - "alloydb.v1.Cluster\022\027\n\017next_page_token\030\002 " + - "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"\204\001\n\021GetClusterR" + - "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + - "oogleapis.com/Cluster\0228\n\004view\030\002 \001(\0162$.go" + - "ogle.cloud.alloydb.v1.ClusterViewB\004\342A\001\001\"" + - "\342\001\n\035CreateSecondaryClusterRequest\0227\n\006par" + - "ent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.c" + - "om/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007" + - "cluster\030\003 \001(\0132 .google.cloud.alloydb.v1." + - "ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022" + - "\033\n\rvalidate_only\030\006 \001(\010B\004\342A\001\001\"\331\001\n\024CreateC" + - "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + - "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + - "r_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .goog" + - "le.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nreq" + - "uest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001" + - "(\010B\004\342A\001\001\"\332\001\n\024UpdateClusterRequest\0225\n\013upd" + - "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + - "skB\004\342A\001\001\0227\n\007cluster\030\002 \001(\0132 .google.cloud" + - ".alloydb.v1.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + - "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + - "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + - "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + - "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + - "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + - "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + - "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + - "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + - "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + - "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + - "\001\"\371\002\n\025RestoreClusterRequest\022>\n\rbackup_so" + - "urce\030\004 \001(\0132%.google.cloud.alloydb.v1.Bac" + - "kupSourceH\000\022S\n\030continuous_backup_source\030" + - "\010 \001(\0132/.google.cloud.alloydb.v1.Continuo" + - "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + - " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + - "ster_id\030\002 \001(\tB\004\342A\001\002\0227\n\007cluster\030\003 \001(\0132 .g" + - "oogle.cloud.alloydb.v1.ClusterB\004\342A\001\002\022\030\n\n" + - "request_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + - "\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstancesR" + - "equest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb" + - ".googleapis.com/Instance\022\027\n\tpage_size\030\002 " + - "\001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030" + - "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"{\n\025L" + - "istInstancesResponse\0224\n\tinstances\030\001 \003(\0132" + - "!.google.cloud.alloydb.v1.Instance\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + - "\"\201\001\n\022GetInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + - "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + - "3\n\004view\030\002 \001(\0162%.google.cloud.alloydb.v1." + - "InstanceView\"\336\001\n\025CreateInstanceRequest\0228" + - "\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googlea" + - "pis.com/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342" + - "A\001\002\0229\n\010instance\030\003 \001(\0132!.google.cloud.all" + - "oydb.v1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001" + - "(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\347\001" + - "\n\036CreateSecondaryInstanceRequest\0228\n\006pare" + - "nt\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.googleapis.co" + - "m/Instance\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\0229\n" + - "\010instance\030\003 \001(\0132!.google.cloud.alloydb.v" + - "1.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A" + - "\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"p\n\026Creat" + - "eInstanceRequests\022V\n\030create_instance_req" + - "uests\030\001 \003(\0132..google.cloud.alloydb.v1.Cr" + - "eateInstanceRequestB\004\342A\001\002\"\272\001\n\033BatchCreat" + - "eInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372" + - "A!\022\037alloydb.googleapis.com/Instance\022G\n\010r" + - "equests\030\002 \001(\0132/.google.cloud.alloydb.v1." + - "CreateInstanceRequestsB\004\342A\001\002\022\030\n\nrequest_" + - "id\030\003 \001(\tB\004\342A\001\001\"T\n\034BatchCreateInstancesRe" + - "sponse\0224\n\tinstances\030\001 \003(\0132!.google.cloud" + - ".alloydb.v1.Instance\"\215\002\n\034BatchCreateInst" + - "ancesMetadata\022\030\n\020instance_targets\030\001 \003(\t\022" + - "f\n\021instance_statuses\030\002 \003(\0132K.google.clou" + - "d.alloydb.v1.BatchCreateInstancesMetadat" + - "a.InstanceStatusesEntry\032k\n\025InstanceStatu" + - "sesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.g" + - "oogle.cloud.alloydb.v1.BatchCreateInstan" + - "ceStatus:\0028\001\"\320\002\n\031BatchCreateInstanceStat" + - "us\022G\n\005state\030\001 \001(\01628.google.cloud.alloydb" + - ".v1.BatchCreateInstanceStatus.State\022\021\n\te" + - "rror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.google.r" + - "pc.Status\022<\n\004type\030\003 \001(\0162..google.cloud.a" + - "lloydb.v1.Instance.InstanceType\"v\n\005State" + - "\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDING_CREAT" + - "E\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING" + - "\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"\335\001\n\025Upda" + - "teInstanceRequest\0225\n\013update_mask\030\001 \001(\0132\032" + - ".google.protobuf.FieldMaskB\004\342A\001\001\0229\n\010inst" + - "ance\030\002 \001(\0132!.google.cloud.alloydb.v1.Ins" + - "tanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n" + - "\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_miss" + - "ing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceReques" + - "t\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.google" + - "apis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342" + - "A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + - "\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest" + - "\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googlea" + - "pis.com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A" + - "\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\212\002\n\022Inje" + - "ctFaultRequest\022O\n\nfault_type\030\001 \001(\01625.goo" + - "gle.cloud.alloydb.v1.InjectFaultRequest." + - "FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n\037" + - "alloydb.googleapis.com/Instance\022\030\n\nreque" + - "st_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010" + - "B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPEC" + - "IFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstance" + - "Request\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb." + - "googleapis.com/Instance\022\030\n\nrequest_id\030\002 " + - "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\225" + - "\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&\342" + - "A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006" + - "filter\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"u\n\023ListBa" + - "ckupsResponse\0220\n\007backups\030\001 \003(\0132\037.google." + - "cloud.alloydb.v1.Backup\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020GetBack" + - "upRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloyd" + - "b.googleapis.com/Backup\"\324\001\n\023CreateBackup" + - "Request\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloyd" + - "b.googleapis.com/Backup\022\027\n\tbackup_id\030\002 \001" + - "(\tB\004\342A\001\002\0225\n\006backup\030\003 \001(\0132\037.google.cloud." + - "alloydb.v1.BackupB\004\342A\001\002\022\030\n\nrequest_id\030\004 " + - "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\327" + - "\001\n\023UpdateBackupRequest\0225\n\013update_mask\030\001 " + - "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225\n" + - "\006backup\030\002 \001(\0132\037.google.cloud.alloydb.v1." + - "BackupB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033" + - "\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mis" + - "sing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023DeleteBackupRequest" + - "\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googlea" + - "pis.com/Backup\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001" + - "\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 " + - "\001(\tB\004\342A\001\001\"\221\001\n!ListSupportedDatabaseFlags" + - "Request\022E\n\006parent\030\001 \001(\tB5\342A\001\002\372A.\022,alloyd" + - "b.googleapis.com/SupportedDatabaseFlag\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\217\001" + - "\n\"ListSupportedDatabaseFlagsResponse\022P\n\030" + - "supported_database_flags\030\001 \003(\0132..google." + - "cloud.alloydb.v1.SupportedDatabaseFlag\022\027" + - "\n\017next_page_token\030\002 \001(\t\"\354\001\n GenerateClie" + - "ntCertificateRequest\0227\n\006parent\030\001 \001(\tB\'\342A" + - "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030\n" + - "\nrequest_id\030\002 \001(\tB\004\342A\001\001\0226\n\rcert_duration" + - "\030\004 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001\022" + - "\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_metadat" + - "a_exchange\030\006 \001(\010B\004\342A\001\001\"_\n!GenerateClient" + - "CertificateResponse\022#\n\025pem_certificate_c" + - "hain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"" + - "n\n\030GetConnectionInfoRequest\0228\n\006parent\030\001 " + - "\001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/Ins" + - "tance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\203\003\n\021Oper" + - "ationMetadata\022f\n\037batch_create_instances_" + - "metadata\030\010 \001(\01325.google.cloud.alloydb.v1" + - ".BatchCreateInstancesMetadataB\004\342A\001\003H\000\0225\n" + - "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" + - "estampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001(\t" + - "B\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_mes" + - "sage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancellati" + - "on\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342A\001" + - "\003B\022\n\020request_specific\"\251\001\n\020ListUsersReque" + - "st\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.goo" + - "gleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001" + - "\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030\004 " + - "\001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"o\n\021Lis" + - "tUsersResponse\022,\n\005users\030\001 \003(\0132\035.google.c" + - "loud.alloydb.v1.User\022\027\n\017next_page_token\030" + - "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016GetUserReq" + - "uest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.goo" + - "gleapis.com/User\"\312\001\n\021CreateUserRequest\0224" + - "\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.googlea" + - "pis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A\001\002\0221\n\004u" + - "ser\030\003 \001(\0132\035.google.cloud.alloydb.v1.User" + - "B\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvali" + - "date_only\030\005 \001(\010B\004\342A\001\001\"\321\001\n\021UpdateUserRequ" + - "est\0225\n\013update_mask\030\001 \001(\0132\032.google.protob" + - "uf.FieldMaskB\004\342A\001\001\0221\n\004user\030\002 \001(\0132\035.googl" + - "e.cloud.alloydb.v1.UserB\004\342A\001\002\022\030\n\nrequest" + - "_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004" + - "\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"~\n\021Del" + - "eteUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033a" + - "lloydb.googleapis.com/User\022\030\n\nrequest_id" + - "\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001" + - "\0012\3721\n\014AlloyDBAdmin\022\252\001\n\014ListClusters\022,.go" + - "ogle.cloud.alloydb.v1.ListClustersReques" + - "t\032-.google.cloud.alloydb.v1.ListClusters" + - "Response\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=p" + - "rojects/*/locations/*}/clusters\022\227\001\n\nGetC" + - "luster\022*.google.cloud.alloydb.v1.GetClus" + - "terRequest\032 .google.cloud.alloydb.v1.Clu" + - "ster\";\332A\004name\202\323\344\223\002.\022,/v1/{name=projects/" + - "*/locations/*/clusters/*}\022\327\001\n\rCreateClus" + - "ter\022-.google.cloud.alloydb.v1.CreateClus" + - "terRequest\032\035.google.longrunning.Operatio" + - "n\"x\312A\034\n\007Cluster\022\021OperationMetadata\332A\031par" + - "ent,cluster,cluster_id\202\323\344\223\0027\",/v1/{paren" + - "t=projects/*/locations/*}/clusters:\007clus" + - "ter\022\331\001\n\rUpdateCluster\022-.google.cloud.all" + - "oydb.v1.UpdateClusterRequest\032\035.google.lo" + - "ngrunning.Operation\"z\312A\034\n\007Cluster\022\021Opera" + - "tionMetadata\332A\023cluster,update_mask\202\323\344\223\002?" + - "24/v1/{cluster.name=projects/*/locations" + - "/*/clusters/*}:\007cluster\022\307\001\n\rDeleteCluste" + - "r\022-.google.cloud.alloydb.v1.DeleteCluste" + - "rRequest\032\035.google.longrunning.Operation\"" + - "h\312A*\n\025google.protobuf.Empty\022\021OperationMe" + - "tadata\332A\004name\202\323\344\223\002.*,/v1/{name=projects/" + - "*/locations/*/clusters/*}\022\306\001\n\016PromoteClu" + - "ster\022..google.cloud.alloydb.v1.PromoteCl" + - "usterRequest\032\035.google.longrunning.Operat" + - "ion\"e\312A\034\n\007Cluster\022\021OperationMetadata\332A\004n" + - "ame\202\323\344\223\0029\"4/v1/{name=projects/*/location" + - "s/*/clusters/*}:promote:\001*\022\277\001\n\016RestoreCl" + - "uster\022..google.cloud.alloydb.v1.RestoreC" + - "lusterRequest\032\035.google.longrunning.Opera" + - "tion\"^\312A\034\n\007Cluster\022\021OperationMetadata\202\323\344" + - "\223\0029\"4/v1/{parent=projects/*/locations/*}" + - "/clusters:restore:\001*\022\372\001\n\026CreateSecondary" + - "Cluster\0226.google.cloud.alloydb.v1.Create" + - "SecondaryClusterRequest\032\035.google.longrun" + - "ning.Operation\"\210\001\312A\034\n\007Cluster\022\021Operation" + - "Metadata\332A\031parent,cluster,cluster_id\202\323\344\223" + - "\002G\" - * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior. - *
- * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * .google.cloud.alloydb.v1.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The sslMode. - */ - com.google.cloud.alloydb.v1.SslConfig.SslMode getSslMode(); - - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The caSource. - */ - com.google.cloud.alloydb.v1.SslConfig.CaSource getCaSource(); -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java deleted file mode 100644 index 5452bcddc571..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/grpc-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,2995 +0,0 @@ -package com.google.cloud.alloydb.v1alpha; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1alpha/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1alpha.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1alpha.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListClustersMethod() { - io.grpc.MethodDescriptor getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1alpha.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetClusterMethod() { - io.grpc.MethodDescriptor getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1alpha.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClusterMethod() { - io.grpc.MethodDescriptor getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateClusterMethod() { - io.grpc.MethodDescriptor getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteClusterMethod() { - io.grpc.MethodDescriptor getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPromoteClusterMethod() { - io.grpc.MethodDescriptor getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestoreClusterMethod() { - io.grpc.MethodDescriptor getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1alpha.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstancesMethod() { - io.grpc.MethodDescriptor getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListInstancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1alpha.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.v1alpha.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInstanceMethod() { - io.grpc.MethodDescriptor getCreateInstanceMethod; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { - io.grpc.MethodDescriptor getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { - io.grpc.MethodDescriptor getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1alpha.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInjectFaultMethod() { - io.grpc.MethodDescriptor getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartInstanceMethod() { - io.grpc.MethodDescriptor getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1alpha.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListBackupsMethod() { - io.grpc.MethodDescriptor getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.ListBackupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListBackupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1alpha.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetBackupMethod() { - io.grpc.MethodDescriptor getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.GetBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.v1alpha.CreateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateBackupMethod() { - io.grpc.MethodDescriptor getCreateBackupMethod; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.CreateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1alpha.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateBackupMethod() { - io.grpc.MethodDescriptor getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.UpdateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1alpha.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteBackupMethod() { - io.grpc.MethodDescriptor getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1alpha.DeleteBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1alpha.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUsersMethod() { - io.grpc.MethodDescriptor getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListUsersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.ListUsersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1alpha.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUserMethod() { - io.grpc.MethodDescriptor getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1alpha.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUserMethod() { - io.grpc.MethodDescriptor getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.CreateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1alpha.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1alpha.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUserMethod() { - io.grpc.MethodDescriptor getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1alpha.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUserMethod() { - io.grpc.MethodDescriptor getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AlloyDBAdminFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static abstract class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListClustersResponse listClusters(com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Cluster getCluster(com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Instance getInstance(com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.Backup getBackup(com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.ListUsersResponse listUsers(com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User getUser(com.google.cloud.alloydb.v1alpha.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User createUser(com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1alpha.User updateUser(com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.cloud.alloydb.v1alpha.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.cloud.alloydb.v1alpha.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.cloud.alloydb.v1alpha.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture promoteCluster( - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restoreCluster( - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.cloud.alloydb.v1alpha.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.alloydb.v1alpha.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture failoverInstance( - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture injectFault( - com.google.cloud.alloydb.v1alpha.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restartInstance( - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.cloud.alloydb.v1alpha.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.cloud.alloydb.v1alpha.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createBackup( - com.google.cloud.alloydb.v1alpha.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUsers( - com.google.cloud.alloydb.v1alpha.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUser( - com.google.cloud.alloydb.v1alpha.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUser( - com.google.cloud.alloydb.v1alpha.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUser( - com.google.cloud.alloydb.v1alpha.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1alpha.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.cloud.alloydb.v1alpha.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.cloud.alloydb.v1alpha.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.cloud.alloydb.v1alpha.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.cloud.alloydb.v1alpha.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.cloud.alloydb.v1alpha.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster((com.google.cloud.alloydb.v1alpha.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster((com.google.cloud.alloydb.v1alpha.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.cloud.alloydb.v1alpha.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.alloydb.v1alpha.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.alloydb.v1alpha.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance((com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault((com.google.cloud.alloydb.v1alpha.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance((com.google.cloud.alloydb.v1alpha.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.cloud.alloydb.v1alpha.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.cloud.alloydb.v1alpha.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.cloud.alloydb.v1alpha.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.cloud.alloydb.v1alpha.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.cloud.alloydb.v1alpha.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers((com.google.cloud.alloydb.v1alpha.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser((com.google.cloud.alloydb.v1alpha.GetUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser((com.google.cloud.alloydb.v1alpha.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser((com.google.cloud.alloydb.v1alpha.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser((com.google.cloud.alloydb.v1alpha.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListClustersRequest, - com.google.cloud.alloydb.v1alpha.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetClusterRequest, - com.google.cloud.alloydb.v1alpha.Cluster>( - service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.PromoteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.RestoreClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListInstancesRequest, - com.google.cloud.alloydb.v1alpha.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetInstanceRequest, - com.google.cloud.alloydb.v1alpha.Instance>( - service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.BatchCreateInstancesRequest, - com.google.longrunning.Operation>( - service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.FailoverInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.InjectFaultRequest, - com.google.longrunning.Operation>( - service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.RestartInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListBackupsRequest, - com.google.cloud.alloydb.v1alpha.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetBackupRequest, - com.google.cloud.alloydb.v1alpha.Backup>( - service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1alpha.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.ListUsersRequest, - com.google.cloud.alloydb.v1alpha.ListUsersResponse>( - service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.GetUserRequest, - com.google.cloud.alloydb.v1alpha.User>( - service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.CreateUserRequest, - com.google.cloud.alloydb.v1alpha.User>( - service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.UpdateUserRequest, - com.google.cloud.alloydb.v1alpha.User>( - service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1alpha.DeleteUserRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private static abstract class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1alpha.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 21523b6d21a5..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface CreateInstanceRequestsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1alpha.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getCreateInstanceRequestsCount(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java deleted file mode 100644 index 4aacf1d2458e..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface EncryptionInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1alpha.EncryptionInfo.Type getEncryptionType(); - - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return A list containing the kmsKeyVersions. - */ - java.util.List - getKmsKeyVersionsList(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index); -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java deleted file mode 100644 index ef59bc0d19aa..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetBackupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java deleted file mode 100644 index 01a6c8c41da3..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetClusterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * .google.cloud.alloydb.v1alpha.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.alloydb.v1alpha.ClusterView getView(); -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java deleted file mode 100644 index d1d94f07a5fa..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface GetUserRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * 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/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java deleted file mode 100644 index 46e50354d36f..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ResourcesProto.java +++ /dev/null @@ -1,776 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_cloud_alloydb_v1alpha_UserPassword_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_User_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_User_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/cloud/alloydb/v1alpha/resources" + - ".proto\022\034google.cloud.alloydb.v1alpha\032\037go" + - "ogle/api/field_behavior.proto\032\031google/ap" + - "i/resource.proto\032\036google/protobuf/durati" + - "on.proto\032\037google/protobuf/timestamp.prot" + - "o\032\036google/protobuf/wrappers.proto\032\033googl" + - "e/type/dayofweek.proto\032\033google/type/time" + - "ofday.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(" + - "\t\022\020\n\010password\030\002 \001(\t\"\353\001\n\017MigrationSource\022" + - "\027\n\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id" + - "\030\002 \001(\tB\004\342A\001\003\022\\\n\013source_type\030\003 \001(\0162A.goog" + - "le.cloud.alloydb.v1alpha.MigrationSource" + - ".MigrationSourceTypeB\004\342A\001\003\"E\n\023MigrationS" + - "ourceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPE" + - "CIFIED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n" + - "\014kms_key_name\030\001 \001(\t\"\215\002\n\016EncryptionInfo\022P" + - "\n\017encryption_type\030\001 \001(\01621.google.cloud.a" + - "lloydb.v1alpha.EncryptionInfo.TypeB\004\342A\001\003" + - "\022K\n\020kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(clo" + - "udkms.googleapis.com/CryptoKeyVersion\"\\\n" + - "\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DE" + - "FAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_E" + - "NCRYPTION\020\002\"\212\003\n\tSslConfig\022G\n\010ssl_mode\030\001 " + - "\001(\0162/.google.cloud.alloydb.v1alpha.SslCo" + - "nfig.SslModeB\004\342A\001\001\022I\n\tca_source\030\002 \001(\01620." + - "google.cloud.alloydb.v1alpha.SslConfig.C" + - "aSourceB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UN" + - "SPECIFIED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020S" + - "SL_MODE_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY" + - "_CA\020\003\032\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRY" + - "PTED\020\004\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031" + - "\n\025CA_SOURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_M" + - "ANAGED\020\001\"\377\006\n\025AutomatedBackupPolicy\022]\n\017we" + - "ekly_schedule\030\002 \001(\0132B.google.cloud.alloy" + - "db.v1alpha.AutomatedBackupPolicy.WeeklyS" + - "cheduleH\000\022f\n\024time_based_retention\030\004 \001(\0132" + - "F.google.cloud.alloydb.v1alpha.Automated" + - "BackupPolicy.TimeBasedRetentionH\001\022n\n\030qua" + - "ntity_based_retention\030\005 \001(\0132J.google.clo" + - "ud.alloydb.v1alpha.AutomatedBackupPolicy" + - ".QuantityBasedRetentionH\001\022\024\n\007enabled\030\001 \001" + - "(\010H\002\210\001\001\0220\n\rbackup_window\030\003 \001(\0132\031.google." + - "protobuf.Duration\022O\n\021encryption_config\030\010" + - " \001(\0132..google.cloud.alloydb.v1alpha.Encr" + - "yptionConfigB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022O\n\006" + - "labels\030\007 \003(\0132?.google.cloud.alloydb.v1al" + - "pha.AutomatedBackupPolicy.LabelsEntry\032k\n" + - "\016WeeklySchedule\022+\n\013start_times\030\001 \003(\0132\026.g" + - "oogle.type.TimeOfDay\022,\n\014days_of_week\030\002 \003" + - "(\0162\026.google.type.DayOfWeek\032I\n\022TimeBasedR" + - "etention\0223\n\020retention_period\030\001 \001(\0132\031.goo" + - "gle.protobuf.Duration\032\'\n\026QuantityBasedRe" + - "tention\022\r\n\005count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n" + - "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010schedul" + - "eB\013\n\tretentionB\n\n\010_enabled\"\243\001\n\026Continuou" + - "sBackupConfig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024r" + - "ecovery_window_days\030\004 \001(\005\022I\n\021encryption_" + - "config\030\003 \001(\0132..google.cloud.alloydb.v1al" + - "pha.EncryptionConfigB\n\n\010_enabled\"\217\002\n\024Con" + - "tinuousBackupInfo\022K\n\017encryption_info\030\001 \001" + - "(\0132,.google.cloud.alloydb.v1alpha.Encryp" + - "tionInfoB\004\342A\001\003\0226\n\014enabled_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\004\342A\001\003\022.\n\010schedu" + - "le\030\003 \003(\0162\026.google.type.DayOfWeekB\004\342A\001\003\022B" + - "\n\030earliest_restorable_time\030\004 \001(\0132\032.googl" + - "e.protobuf.TimestampB\004\342A\001\003\"e\n\014BackupSour" + - "ce\022\030\n\nbackup_uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_n" + - "ame\030\001 \001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.c" + - "om/Backup\"h\n\026ContinuousBackupSource\022\025\n\007c" + - "luster\030\001 \001(\tB\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(" + - "\0132\032.google.protobuf.TimestampB\004\342A\001\002\"\256\022\n\007" + - "Cluster\022I\n\rbackup_source\030\017 \001(\0132*.google." + - "cloud.alloydb.v1alpha.BackupSourceB\004\342A\001\003" + - "H\000\022O\n\020migration_source\030\020 \001(\0132-.google.cl" + - "oud.alloydb.v1alpha.MigrationSourceB\004\342A\001" + - "\003H\000\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030" + - "\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030" + - "\004 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013update_time\030\005 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\004\342A\001\003\022A\n\006labels\030" + - "\007 \003(\01321.google.cloud.alloydb.v1alpha.Clu" + - "ster.LabelsEntry\022@\n\005state\030\010 \001(\0162+.google" + - ".cloud.alloydb.v1alpha.Cluster.StateB\004\342A" + - "\001\003\022M\n\014cluster_type\030\030 \001(\01621.google.cloud." + - "alloydb.v1alpha.Cluster.ClusterTypeB\004\342A\001" + - "\003\022M\n\020database_version\030\t \001(\0162-.google.clo" + - "ud.alloydb.v1alpha.DatabaseVersionB\004\342A\001\001" + - "\022Q\n\016network_config\030\035 \001(\01323.google.cloud." + - "alloydb.v1alpha.Cluster.NetworkConfigB\004\342" + - "A\001\001\022:\n\007network\030\n \001(\tB)\030\001\342A\001\002\372A \n\036compute" + - ".googleapis.com/Network\022\014\n\004etag\030\013 \001(\t\022K\n" + - "\013annotations\030\014 \003(\01326.google.cloud.alloyd" + - "b.v1alpha.Cluster.AnnotationsEntry\022\031\n\013re" + - "conciling\030\r \001(\010B\004\342A\001\003\022F\n\014initial_user\030\016 " + - "\001(\0132*.google.cloud.alloydb.v1alpha.UserP" + - "asswordB\004\342A\001\004\022T\n\027automated_backup_policy" + - "\030\021 \001(\01323.google.cloud.alloydb.v1alpha.Au" + - "tomatedBackupPolicy\022?\n\nssl_config\030\022 \001(\0132" + - "\'.google.cloud.alloydb.v1alpha.SslConfig" + - "B\002\030\001\022O\n\021encryption_config\030\023 \001(\0132..google" + - ".cloud.alloydb.v1alpha.EncryptionConfigB" + - "\004\342A\001\001\022K\n\017encryption_info\030\024 \001(\0132,.google." + - "cloud.alloydb.v1alpha.EncryptionInfoB\004\342A" + - "\001\003\022\\\n\030continuous_backup_config\030\033 \001(\01324.g" + - "oogle.cloud.alloydb.v1alpha.ContinuousBa" + - "ckupConfigB\004\342A\001\001\022X\n\026continuous_backup_in" + - "fo\030\034 \001(\01322.google.cloud.alloydb.v1alpha." + - "ContinuousBackupInfoB\004\342A\001\003\022O\n\020secondary_" + - "config\030\026 \001(\01325.google.cloud.alloydb.v1al" + - "pha.Cluster.SecondaryConfig\022Q\n\016primary_c" + - "onfig\030\027 \001(\01323.google.cloud.alloydb.v1alp" + - "ha.Cluster.PrimaryConfigB\004\342A\001\003\022\025\n\rsatisf" + - "ies_pzs\030\036 \001(\010\032k\n\rNetworkConfig\0228\n\007networ" + - "k\030\001 \001(\tB\'\342A\001\002\372A \n\036compute.googleapis.com" + - "/Network\022 \n\022allocated_ip_range\030\002 \001(\tB\004\342A" + - "\001\001\032/\n\017SecondaryConfig\022\034\n\024primary_cluster" + - "_name\030\001 \001(\t\0326\n\rPrimaryConfig\022%\n\027secondar" + - "y_cluster_names\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020An" + - "notationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t:\0028\001\"\234\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + - "\t\n\005READY\020\001\022\013\n\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CR" + - "EATING\020\004\022\014\n\010DELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBO" + - "OTSTRAPPING\020\007\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOT" + - "ING\020\t\"G\n\013ClusterType\022\034\n\030CLUSTER_TYPE_UNS" + - "PECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b" + - "\352A_\n\036alloydb.googleapis.com/Cluster\022:pro" + - "jects/{project}/locations/{location}/clu" + - "sters/{cluster}R\001\001B\010\n\006source\"\323\024\n\010Instanc" + - "e\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 " + - "\001(\t\022\021\n\003uid\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 " + - "\001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225\n" + - "\013update_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estampB\004\342A\001\003\0225\n\013delete_time\030\006 \001(\0132\032.goog" + - "le.protobuf.TimestampB\004\342A\001\003\022B\n\006labels\030\007 " + - "\003(\01322.google.cloud.alloydb.v1alpha.Insta" + - "nce.LabelsEntry\022A\n\005state\030\010 \001(\0162,.google." + - "cloud.alloydb.v1alpha.Instance.StateB\004\342A" + - "\001\003\022P\n\rinstance_type\030\t \001(\01623.google.cloud" + - ".alloydb.v1alpha.Instance.InstanceTypeB\004" + - "\342A\001\002\022L\n\016machine_config\030\n \001(\01324.google.cl" + - "oud.alloydb.v1alpha.Instance.MachineConf" + - "ig\022R\n\021availability_type\030\013 \001(\01627.google.c" + - "loud.alloydb.v1alpha.Instance.Availabili" + - "tyType\022\020\n\010gce_zone\030\014 \001(\t\022Q\n\016database_fla" + - "gs\030\r \003(\01329.google.cloud.alloydb.v1alpha." + - "Instance.DatabaseFlagsEntry\022H\n\rwritable_" + - "node\030\023 \001(\0132+.google.cloud.alloydb.v1alph" + - "a.Instance.NodeB\004\342A\001\003\022@\n\005nodes\030\024 \003(\0132+.g" + - "oogle.cloud.alloydb.v1alpha.Instance.Nod" + - "eB\004\342A\001\003\022a\n\025query_insights_config\030\025 \001(\0132B" + - ".google.cloud.alloydb.v1alpha.Instance.Q" + - "ueryInsightsInstanceConfig\022O\n\020read_pool_" + - "config\030\016 \001(\01325.google.cloud.alloydb.v1al" + - "pha.Instance.ReadPoolConfig\022\030\n\nip_addres" + - "s\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconciling\030\020 \001(\010B\004\342A\001\003" + - "\022\014\n\004etag\030\021 \001(\t\022L\n\013annotations\030\022 \003(\01327.go" + - "ogle.cloud.alloydb.v1alpha.Instance.Anno" + - "tationsEntry\022J\n\rupdate_policy\030\026 \001(\01323.go" + - "ogle.cloud.alloydb.v1alpha.Instance.Upda" + - "tePolicy\022e\n\030client_connection_config\030\027 \001" + - "(\0132=.google.cloud.alloydb.v1alpha.Instan" + - "ce.ClientConnectionConfigB\004\342A\001\001\022\025\n\rsatis" + - "fies_pzs\030\030 \001(\010\032\"\n\rMachineConfig\022\021\n\tcpu_c" + - "ount\030\001 \001(\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002i" + - "d\030\002 \001(\t\022\n\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033Q" + - "ueryInsightsInstanceConfig\022$\n\027record_app" + - "lication_tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_clien" + - "t_address\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_len" + - "gth\030\004 \001(\r\022#\n\026query_plans_per_minute\030\005 \001(" + - "\rH\002\210\001\001B\032\n\030_record_application_tagsB\030\n\026_r" + - "ecord_client_addressB\031\n\027_query_plans_per" + - "_minute\032$\n\016ReadPoolConfig\022\022\n\nnode_count\030" + - "\001 \001(\005\032\222\001\n\014UpdatePolicy\022F\n\004mode\030\001 \001(\01628.g" + - "oogle.cloud.alloydb.v1alpha.Instance.Upd" + - "atePolicy.Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFI" + - "ED\020\000\022\013\n\007DEFAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032}\n\026Cl" + - "ientConnectionConfig\022 \n\022require_connecto" + - "rs\030\001 \001(\010B\004\342A\001\001\022A\n\nssl_config\030\002 \001(\0132\'.goo" + - "gle.cloud.alloydb.v1alpha.SslConfigB\004\342A\001" + - "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\0324\n\022DatabaseFlagsEntry\022\013\n\003key\030\001 " + - "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005S" + - "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013" + - "\n\007STOPPED\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022" + - "\017\n\013MAINTENANCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRA" + - "PPING\020\010\022\r\n\tPROMOTING\020\t\"X\n\014InstanceType\022\035" + - "\n\031INSTANCE_TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY" + - "\020\001\022\r\n\tREAD_POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020Avai" + - "labilityType\022!\n\035AVAILABILITY_TYPE_UNSPEC" + - "IFIED\020\000\022\t\n\005ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037a" + - "lloydb.googleapis.com/Instance\022Oprojects" + - "/{project}/locations/{location}/clusters" + - "/{cluster}/instances/{instance}R\001\001\"\211\002\n\016C" + - "onnectionInfo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_addres" + - "s\030\002 \001(\tB\004\342A\001\003\022%\n\025pem_certificate_chain\030\003" + - " \003(\tB\006\030\001\342A\001\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003" + - ":\213\001\352A\207\001\n%alloydb.googleapis.com/Connecti" + - "onInfo\022^projects/{project}/locations/{lo" + - "cation}/clusters/{cluster}/instances/{in" + - "stance}/connectionInfo\"\366\013\n\006Backup\022\022\n\004nam" + - "e\030\001 \001(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003u" + - "id\030\003 \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\004\342A\001\003\0225\n\013update_" + - "time\030\005 \001(\0132\032.google.protobuf.TimestampB\004" + - "\342A\001\003\0225\n\013delete_time\030\017 \001(\0132\032.google.proto" + - "buf.TimestampB\004\342A\001\003\022@\n\006labels\030\006 \003(\01320.go" + - "ogle.cloud.alloydb.v1alpha.Backup.Labels" + - "Entry\022?\n\005state\030\007 \001(\0162*.google.cloud.allo" + - "ydb.v1alpha.Backup.StateB\004\342A\001\003\0227\n\004type\030\010" + - " \001(\0162).google.cloud.alloydb.v1alpha.Back" + - "up.Type\022\023\n\013description\030\t \001(\t\022\031\n\013cluster_" + - "uid\030\022 \001(\tB\004\342A\001\003\022=\n\014cluster_name\030\n \001(\tB\'\342" + - "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\031" + - "\n\013reconciling\030\013 \001(\010B\004\342A\001\003\022O\n\021encryption_" + - "config\030\014 \001(\0132..google.cloud.alloydb.v1al" + - "pha.EncryptionConfigB\004\342A\001\001\022K\n\017encryption" + - "_info\030\r \001(\0132,.google.cloud.alloydb.v1alp" + - "ha.EncryptionInfoB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022J\n" + - "\013annotations\030\020 \003(\01325.google.cloud.alloyd" + - "b.v1alpha.Backup.AnnotationsEntry\022\030\n\nsiz" + - "e_bytes\030\021 \001(\003B\004\342A\001\003\0225\n\013expiry_time\030\023 \001(\013" + - "2\032.google.protobuf.TimestampB\004\342A\001\003\022W\n\017ex" + - "piry_quantity\030\024 \001(\01328.google.cloud.alloy" + - "db.v1alpha.Backup.QuantityBasedExpiryB\004\342" + - "A\001\003\022\025\n\rsatisfies_pzs\030\025 \001(\010\022M\n\020database_v" + - "ersion\030\026 \001(\0162-.google.cloud.alloydb.v1al" + - "pha.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBas" + - "edExpiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022" + - "#\n\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013" + - "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPEC" + - "IFIED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAIL" + - "ED\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPE" + - "CIFIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016" + - "\n\nCONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis." + - "com/Backup\0228projects/{project}/locations" + - "/{location}/backups/{backup}R\001\001\"\334\006\n\025Supp" + - "ortedDatabaseFlag\022e\n\023string_restrictions" + - "\030\007 \001(\0132F.google.cloud.alloydb.v1alpha.Su" + - "pportedDatabaseFlag.StringRestrictionsH\000" + - "\022g\n\024integer_restrictions\030\010 \001(\0132G.google." + - "cloud.alloydb.v1alpha.SupportedDatabaseF" + - "lag.IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022" + - "\021\n\tflag_name\030\002 \001(\t\022Q\n\nvalue_type\030\003 \001(\0162=" + - ".google.cloud.alloydb.v1alpha.SupportedD" + - "atabaseFlag.ValueType\022\037\n\027accepts_multipl" + - "e_values\030\004 \001(\010\022L\n\025supported_db_versions\030" + - "\005 \003(\0162-.google.cloud.alloydb.v1alpha.Dat" + - "abaseVersion\022\033\n\023requires_db_restart\030\006 \001(" + - "\010\032,\n\022StringRestrictions\022\026\n\016allowed_value" + - "s\030\001 \003(\t\032u\n\023IntegerRestrictions\022.\n\tmin_va" + - "lue\030\001 \001(\0132\033.google.protobuf.Int64Value\022." + - "\n\tmax_value\030\002 \001(\0132\033.google.protobuf.Int6" + - "4Value\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPEC" + - "IFIED\020\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOA" + - "T\020\003\022\010\n\004NONE\020\004:g\352Ad\n,alloydb.googleapis.c" + - "om/SupportedDatabaseFlag\0224projects/{proj" + - "ect}/locations/{location}/flags/{flag}B\016" + - "\n\014restrictions\"\327\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342" + - "A\001\003\022\026\n\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_" + - "roles\030\004 \003(\tB\004\342A\001\001\022D\n\tuser_type\030\005 \001(\0162+.g" + - "oogle.cloud.alloydb.v1alpha.User.UserTyp" + - "eB\004\342A\001\001\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECI" + - "FIED\020\000\022\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_" + - "IAM_USER\020\002:l\352Ai\n\033alloydb.googleapis.com/" + - "User\022Gprojects/{project}/locations/{loca" + - "tion}/clusters/{cluster}/users/{user}R\001\001" + - "*^\n\014InstanceView\022\035\n\031INSTANCE_VIEW_UNSPEC" + - "IFIED\020\000\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INST" + - "ANCE_VIEW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUST" + - "ER_VIEW_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BA" + - "SIC\020\001\022\"\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020" + - "\002*j\n\017DatabaseVersion\022 \n\034DATABASE_VERSION" + - "_UNSPECIFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013P" + - "OSTGRES_14\020\002\022\017\n\013POSTGRES_15\020\003B\313\003\n com.go" + - "ogle.cloud.alloydb.v1alphaB\016ResourcesPro" + - "toP\001Z:cloud.google.com/go/alloydb/apiv1a" + - "lpha/alloydbpb;alloydbpb\252\002\034Google.Cloud." + - "AlloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V" + - "1alpha\352\002\037Google::Cloud::AlloyDB::V1alpha" + - "\352A\246\001\n(cloudkms.googleapis.com/CryptoKeyV" + - "ersion\022zprojects/{project}/locations/{lo" + - "cation}/keyRings/{key_ring}/cryptoKeys/{" + - "crypto_key}/cryptoKeyVersions/{crypto_ke" + - "y_version}\352AN\n\036compute.googleapis.com/Ne" + - "twork\022,projects/{project}/global/network" + - "s/{network}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_UserPassword_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UserPassword_descriptor, - new java.lang.String[] { "User", "Password", }); - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_MigrationSource_descriptor, - new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_EncryptionInfo_descriptor, - new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_SslConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SslConfig_descriptor, - new java.lang.String[] { "SslMode", "CaSource", }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { "StartTimes", "DaysOfWeek", }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { "RetentionPeriod", }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { "Count", }); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupConfig_descriptor, - new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupInfo_descriptor, - new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_BackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BackupSource_descriptor, - new java.lang.String[] { "BackupUid", "BackupName", }); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ContinuousBackupSource_descriptor, - new java.lang.String[] { "Cluster", "PointInTime", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1alpha_Cluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor, - new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "SatisfiesPzs", "Source", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { "Network", "AllocatedIpRange", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { "PrimaryClusterName", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { "SecondaryClusterNames", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1alpha_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "UpdatePolicy", "ClientConnectionConfig", "SatisfiesPzs", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_MachineConfig_descriptor, - new java.lang.String[] { "CpuCount", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_Node_descriptor, - new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { "NodeCount", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_UpdatePolicy_descriptor, - new java.lang.String[] { "Mode", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { "RequireConnectors", "SslConfig", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Instance_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ConnectionInfo_descriptor, - new java.lang.String[] { "Name", "IpAddress", "PemCertificateChain", "InstanceUid", }); - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1alpha_Backup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "SatisfiesPzs", "DatabaseVersion", }); - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { "AllowedValues", }); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { "MinValue", "MaxValue", }); - internal_static_google_cloud_alloydb_v1alpha_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1alpha_User_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_User_descriptor, - new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java deleted file mode 100644 index a7d3b4f06a59..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ServiceProto.java +++ /dev/null @@ -1,921 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/service.proto - -package com.google.cloud.alloydb.v1alpha; - -public final class ServiceProto { - private ServiceProto() {} - 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_cloud_alloydb_v1alpha_ListClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_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/cloud/alloydb/v1alpha/service.p" + - "roto\022\034google.cloud.alloydb.v1alpha\032\034goog" + - "le/api/annotations.proto\032\027google/api/cli" + - "ent.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032,google/cl" + - "oud/alloydb/v1alpha/resources.proto\032#goo" + - "gle/longrunning/operations.proto\032\036google" + - "/protobuf/duration.proto\032\033google/protobu" + - "f/empty.proto\032 google/protobuf/field_mas" + - "k.proto\032\037google/protobuf/timestamp.proto" + - "\032\027google/rpc/status.proto\"\251\001\n\023ListCluste" + - "rsRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036allo" + - "ydb.googleapis.com/Cluster\022\027\n\tpage_size\030" + - "\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filte" + - "r\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"}\n" + - "\024ListClustersResponse\0227\n\010clusters\030\001 \003(\0132" + - "%.google.cloud.alloydb.v1alpha.Cluster\022\027" + - "\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003" + - " \003(\t\"\211\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\t" + - "B\'\342A\001\002\372A \n\036alloydb.googleapis.com/Cluste" + - "r\022=\n\004view\030\002 \001(\0162).google.cloud.alloydb.v" + - "1alpha.ClusterViewB\004\342A\001\001\"\347\001\n\035CreateSecon" + - "daryClusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002" + - "\372A \022\036alloydb.googleapis.com/Cluster\022\030\n\nc" + - "luster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%" + - ".google.cloud.alloydb.v1alpha.ClusterB\004\342" + - "A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + - "e_only\030\006 \001(\010B\004\342A\001\001\"\336\001\n\024CreateClusterRequ" + - "est\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.go" + - "ogleapis.com/Cluster\022\030\n\ncluster_id\030\002 \001(\t" + - "B\004\342A\001\002\022<\n\007cluster\030\003 \001(\0132%.google.cloud.a" + - "lloydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_" + - "id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342" + - "A\001\001\"\337\001\n\024UpdateClusterRequest\0225\n\013update_m" + - "ask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342" + - "A\001\001\022<\n\007cluster\030\002 \001(\0132%.google.cloud.allo" + - "ydb.v1alpha.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030" + - "\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001" + - "\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024Delete" + - "ClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + - "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + - "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + - "alidate_only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B" + - "\004\342A\001\001\"\231\001\n\025PromoteClusterRequest\0225\n\004name\030" + - "\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.googleapis.com/C" + - "luster\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag" + - "\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001" + - "\001\"\210\003\n\025RestoreClusterRequest\022C\n\rbackup_so" + - "urce\030\004 \001(\0132*.google.cloud.alloydb.v1alph" + - "a.BackupSourceH\000\022X\n\030continuous_backup_so" + - "urce\030\010 \001(\01324.google.cloud.alloydb.v1alph" + - "a.ContinuousBackupSourceH\000\0227\n\006parent\030\001 \001" + - "(\tB\'\342A\001\002\372A \022\036alloydb.googleapis.com/Clus" + - "ter\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\022<\n\007cluster" + - "\030\003 \001(\0132%.google.cloud.alloydb.v1alpha.Cl" + - "usterB\004\342A\001\002\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n" + - "\rvalidate_only\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n" + - "\024ListInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342" + - "A\001\002\372A!\022\037alloydb.googleapis.com/Instance\022" + - "\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003" + - " \001(\t\022\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005" + - " \001(\tB\004\342A\001\001\"\200\001\n\025ListInstancesResponse\0229\n\t" + - "instances\030\001 \003(\0132&.google.cloud.alloydb.v" + - "1alpha.Instance\022\027\n\017next_page_token\030\002 \001(\t" + - "\022\023\n\013unreachable\030\003 \003(\t\"\206\001\n\022GetInstanceReq" + - "uest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.goo" + - "gleapis.com/Instance\0228\n\004view\030\002 \001(\0162*.goo" + - "gle.cloud.alloydb.v1alpha.InstanceView\"\343" + - "\001\n\025CreateInstanceRequest\0228\n\006parent\030\001 \001(\t" + - "B(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instan" + - "ce\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instanc" + - "e\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.I" + - "nstanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022" + - "\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\354\001\n\036CreateS" + - "econdaryInstanceRequest\0228\n\006parent\030\001 \001(\tB" + - "(\342A\001\002\372A!\022\037alloydb.googleapis.com/Instanc" + - "e\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022>\n\010instance" + - "\030\003 \001(\0132&.google.cloud.alloydb.v1alpha.In" + - "stanceB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033" + - "\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"u\n\026CreateIns" + - "tanceRequests\022[\n\030create_instance_request" + - "s\030\001 \003(\01323.google.cloud.alloydb.v1alpha.C" + - "reateInstanceRequestB\004\342A\001\002\"\277\001\n\033BatchCrea" + - "teInstancesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002" + - "\372A!\022\037alloydb.googleapis.com/Instance\022L\n\010" + - "requests\030\002 \001(\01324.google.cloud.alloydb.v1" + - "alpha.CreateInstanceRequestsB\004\342A\001\002\022\030\n\nre" + - "quest_id\030\003 \001(\tB\004\342A\001\001\"Y\n\034BatchCreateInsta" + - "ncesResponse\0229\n\tinstances\030\001 \003(\0132&.google" + - ".cloud.alloydb.v1alpha.Instance\"\227\002\n\034Batc" + - "hCreateInstancesMetadata\022\030\n\020instance_tar" + - "gets\030\001 \003(\t\022k\n\021instance_statuses\030\002 \003(\0132P." + - "google.cloud.alloydb.v1alpha.BatchCreate" + - "InstancesMetadata.InstanceStatusesEntry\032" + - "p\n\025InstanceStatusesEntry\022\013\n\003key\030\001 \001(\t\022F\n" + - "\005value\030\002 \001(\01327.google.cloud.alloydb.v1al" + - "pha.BatchCreateInstanceStatus:\0028\001\"\332\002\n\031Ba" + - "tchCreateInstanceStatus\022L\n\005state\030\001 \001(\0162=" + - ".google.cloud.alloydb.v1alpha.BatchCreat" + - "eInstanceStatus.State\022\021\n\terror_msg\030\002 \001(\t" + - "\022!\n\005error\030\004 \001(\0132\022.google.rpc.Status\022A\n\004t" + - "ype\030\003 \001(\01623.google.cloud.alloydb.v1alpha" + - ".Instance.InstanceType\"v\n\005State\022\025\n\021STATE" + - "_UNSPECIFIED\020\000\022\022\n\016PENDING_CREATE\020\001\022\t\n\005RE" + - "ADY\020\002\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\n\n\006FAI" + - "LED\020\005\022\017\n\013ROLLED_BACK\020\006\"\342\001\n\025UpdateInstanc" + - "eRequest\0225\n\013update_mask\030\001 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\004\342A\001\001\022>\n\010instance\030\002 \001(" + - "\0132&.google.cloud.alloydb.v1alpha.Instanc" + - "eB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + - "idate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030" + - "\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteInstanceRequest\0226\n" + - "\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + - ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022" + - "\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001" + - "(\010B\004\342A\001\001\"\210\001\n\027FailoverInstanceRequest\0226\n\004" + - "name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis." + - "com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033" + - "\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"\217\002\n\022InjectFa" + - "ultRequest\022T\n\nfault_type\030\001 \001(\0162:.google." + - "cloud.alloydb.v1alpha.InjectFaultRequest" + - ".FaultTypeB\004\342A\001\002\0226\n\004name\030\002 \001(\tB(\342A\001\002\372A!\n" + - "\037alloydb.googleapis.com/Instance\022\030\n\nrequ" + - "est_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(" + - "\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026FAULT_TYPE_UNSPE" + - "CIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n\026RestartInstanc" + - "eRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb" + - ".googleapis.com/Instance\022\030\n\nrequest_id\030\002" + - " \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342A\001\001\"" + - "\225\001\n\022ListBackupsRequest\0226\n\006parent\030\001 \001(\tB&" + - "\342A\001\002\372A\037\022\035alloydb.googleapis.com/Backup\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\022\020\n\010order_by\030\005 \001(\t\"z\n\023ListB" + - "ackupsResponse\0225\n\007backups\030\001 \003(\0132$.google" + - ".cloud.alloydb.v1alpha.Backup\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"H\n\020G" + - "etBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035" + - "alloydb.googleapis.com/Backup\"\331\001\n\023Create" + - "BackupRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035" + - "alloydb.googleapis.com/Backup\022\027\n\tbackup_" + - "id\030\002 \001(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\0132$.google." + - "cloud.alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nre" + - "quest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 " + - "\001(\010B\004\342A\001\001\"\334\001\n\023UpdateBackupRequest\0225\n\013upd" + - "ate_mask\030\001 \001(\0132\032.google.protobuf.FieldMa" + - "skB\004\342A\001\001\022:\n\006backup\030\002 \001(\0132$.google.cloud." + - "alloydb.v1alpha.BackupB\004\342A\001\002\022\030\n\nrequest_" + - "id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342" + - "A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\226\001\n\023Del" + - "eteBackupRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n" + - "\035alloydb.googleapis.com/Backup\022\030\n\nreques" + - "t_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B" + - "\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001\n!ListSuppor" + - "tedDatabaseFlagsRequest\022E\n\006parent\030\001 \001(\tB" + - "5\342A\001\002\372A.\022,alloydb.googleapis.com/Support" + - "edDatabaseFlag\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"\224\001\n\"ListSupportedDatabaseF" + - "lagsResponse\022U\n\030supported_database_flags" + - "\030\001 \003(\01323.google.cloud.alloydb.v1alpha.Su" + - "pportedDatabaseFlag\022\027\n\017next_page_token\030\002" + - " \001(\t\"\205\002\n GenerateClientCertificateReques" + - "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.goog" + - "leapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(\tB\004" + - "\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001\0226\n\rcert_du" + - "ration\030\004 \001(\0132\031.google.protobuf.DurationB" + - "\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A\001\001\022#\n\025use_m" + - "etadata_exchange\030\006 \001(\010B\004\342A\001\001\"~\n!Generate" + - "ClientCertificateResponse\022\035\n\017pem_certifi" + - "cate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certificate_chai" + - "n\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(\tB\004\342A\001\001\"n\n\030" + - "GetConnectionInfoRequest\0228\n\006parent\030\001 \001(\t" + - "B(\342A\001\002\372A!\n\037alloydb.googleapis.com/Instan" + - "ce\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"\210\003\n\021Operati" + - "onMetadata\022k\n\037batch_create_instances_met" + - "adata\030\010 \001(\0132:.google.cloud.alloydb.v1alp" + - "ha.BatchCreateInstancesMetadataB\004\342A\001\003H\000\022" + - "5\n\013create_time\030\001 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\004\342A\001\003\022\024\n\006target\030\003 \001" + - "(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016status_m" + - "essage\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_cancella" + - "tion\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001(\tB\004\342" + - "A\001\003B\022\n\020request_specific\"\251\001\n\020ListUsersReq" + - "uest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb.g" + - "oogleapis.com/User\022\027\n\tpage_size\030\002 \001(\005B\004\342" + - "A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\024\n\006filter\030" + - "\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"t\n\021L" + - "istUsersResponse\0221\n\005users\030\001 \003(\0132\".google" + - ".cloud.alloydb.v1alpha.User\022\027\n\017next_page" + - "_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"D\n\016Get" + - "UserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033allo" + - "ydb.googleapis.com/User\"\317\001\n\021CreateUserRe" + - "quest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022\033alloydb." + - "googleapis.com/User\022\025\n\007user_id\030\002 \001(\tB\004\342A" + - "\001\002\0226\n\004user\030\003 \001(\0132\".google.cloud.alloydb." + - "v1alpha.UserB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004" + - "\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\326\001\n\021Up" + - "dateUserRequest\0225\n\013update_mask\030\001 \001(\0132\032.g" + - "oogle.protobuf.FieldMaskB\004\342A\001\001\0226\n\004user\030\002" + - " \001(\0132\".google.cloud.alloydb.v1alpha.User" + - "B\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvali" + - "date_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005" + - " \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222\n\004name\030" + - "\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapis.com/U" + - "ser\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidat" + - "e_only\030\003 \001(\010B\004\342A\001\0012\3614\n\014AlloyDBAdmin\022\271\001\n\014" + - "ListClusters\0221.google.cloud.alloydb.v1al" + - "pha.ListClustersRequest\0322.google.cloud.a" + - "lloydb.v1alpha.ListClustersResponse\"B\332A\006" + - "parent\202\323\344\223\0023\0221/v1alpha/{parent=projects/" + - "*/locations/*}/clusters\022\246\001\n\nGetCluster\022/" + - ".google.cloud.alloydb.v1alpha.GetCluster" + - "Request\032%.google.cloud.alloydb.v1alpha.C" + - "luster\"@\332A\004name\202\323\344\223\0023\0221/v1alpha/{name=pr" + - "ojects/*/locations/*/clusters/*}\022\341\001\n\rCre" + - "ateCluster\0222.google.cloud.alloydb.v1alph" + - "a.CreateClusterRequest\032\035.google.longrunn" + - "ing.Operation\"}\312A\034\n\007Cluster\022\021OperationMe" + - "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002<" + - "\"1/v1alpha/{parent=projects/*/locations/" + - "*}/clusters:\007cluster\022\343\001\n\rUpdateCluster\0222" + - ".google.cloud.alloydb.v1alpha.UpdateClus" + - "terRequest\032\035.google.longrunning.Operatio" + - "n\"\177\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clu" + - "ster,update_mask\202\323\344\223\002D29/v1alpha/{cluste" + - "r.name=projects/*/locations/*/clusters/*" + - "}:\007cluster\022\321\001\n\rDeleteCluster\0222.google.cl" + - "oud.alloydb.v1alpha.DeleteClusterRequest" + - "\032\035.google.longrunning.Operation\"m\312A*\n\025go" + - "ogle.protobuf.Empty\022\021OperationMetadata\332A" + - "\004name\202\323\344\223\0023*1/v1alpha/{name=projects/*/l" + - "ocations/*/clusters/*}\022\320\001\n\016PromoteCluste" + - "r\0223.google.cloud.alloydb.v1alpha.Promote" + - "ClusterRequest\032\035.google.longrunning.Oper" + - "ation\"j\312A\034\n\007Cluster\022\021OperationMetadata\332A" + - "\004name\202\323\344\223\002>\"9/v1alpha/{name=projects/*/l" + - "ocations/*/clusters/*}:promote:\001*\022\311\001\n\016Re" + - "storeCluster\0223.google.cloud.alloydb.v1al" + - "pha.RestoreClusterRequest\032\035.google.longr" + - "unning.Operation\"c\312A\034\n\007Cluster\022\021Operatio" + - "nMetadata\202\323\344\223\002>\"9/v1alpha/{parent=projec" + - "ts/*/locations/*}/clusters:restore:\001*\022\204\002" + - "\n\026CreateSecondaryCluster\022;.google.cloud." + - "alloydb.v1alpha.CreateSecondaryClusterRe" + - "quest\032\035.google.longrunning.Operation\"\215\001\312" + - "A\034\n\007Cluster\022\021OperationMetadata\332A\031parent," + - "cluster,cluster_id\202\323\344\223\002L\"A/v1alpha/{pare" + - "nt=projects/*/locations/*}/clusters:crea" + - "tesecondary:\007cluster\022\310\001\n\rListInstances\0222" + - ".google.cloud.alloydb.v1alpha.ListInstan" + - "cesRequest\0323.google.cloud.alloydb.v1alph" + - "a.ListInstancesResponse\"N\332A\006parent\202\323\344\223\002?" + - "\022=/v1alpha/{parent=projects/*/locations/" + - "*/clusters/*}/instances\022\265\001\n\013GetInstance\022" + - "0.google.cloud.alloydb.v1alpha.GetInstan" + - "ceRequest\032&.google.cloud.alloydb.v1alpha" + - ".Instance\"L\332A\004name\202\323\344\223\002?\022=/v1alpha/{name" + - "=projects/*/locations/*/clusters/*/insta" + - "nces/*}\022\364\001\n\016CreateInstance\0223.google.clou" + - "d.alloydb.v1alpha.CreateInstanceRequest\032" + - "\035.google.longrunning.Operation\"\215\001\312A\035\n\010In" + - "stance\022\021OperationMetadata\332A\033parent,insta" + - "nce,instance_id\202\323\344\223\002I\"=/v1alpha/{parent=" + - "projects/*/locations/*/clusters/*}/insta" + - "nces:\010instance\022\226\002\n\027CreateSecondaryInstan" + - "ce\022<.google.cloud.alloydb.v1alpha.Create" + - "SecondaryInstanceRequest\032\035.google.longru" + - "nning.Operation\"\235\001\312A\035\n\010Instance\022\021Operati" + - "onMetadata\332A\033parent,instance,instance_id" + - "\202\323\344\223\002Y\"M/v1alpha/{parent=projects/*/loca" + - "tions/*/clusters/*}/instances:createseco" + - "ndary:\010instance\022\202\002\n\024BatchCreateInstances" + - "\0229.google.cloud.alloydb.v1alpha.BatchCre" + - "ateInstancesRequest\032\035.google.longrunning" + - ".Operation\"\217\001\312A1\n\034BatchCreateInstancesRe" + - "sponse\022\021OperationMetadata\202\323\344\223\002U\"I/v1alph" + - "a/{parent=projects/*/locations/*/cluster" + - "s/*}/instances:batchCreate:\010requests\022\366\001\n" + - "\016UpdateInstance\0223.google.cloud.alloydb.v" + - "1alpha.UpdateInstanceRequest\032\035.google.lo" + - "ngrunning.Operation\"\217\001\312A\035\n\010Instance\022\021Ope" + - "rationMetadata\332A\024instance,update_mask\202\323\344" + - "\223\002R2F/v1alpha/{instance.name=projects/*/" + - "locations/*/clusters/*/instances/*}:\010ins" + - "tance\022\337\001\n\016DeleteInstance\0223.google.cloud." + - "alloydb.v1alpha.DeleteInstanceRequest\032\035." + - "google.longrunning.Operation\"y\312A*\n\025googl" + - "e.protobuf.Empty\022\021OperationMetadata\332A\004na" + - "me\202\323\344\223\002?*=/v1alpha/{name=projects/*/loca" + - "tions/*/clusters/*/instances/*}\022\342\001\n\020Fail" + - "overInstance\0225.google.cloud.alloydb.v1al" + - "pha.FailoverInstanceRequest\032\035.google.lon" + - "grunning.Operation\"x\312A\035\n\010Instance\022\021Opera" + - "tionMetadata\332A\004name\202\323\344\223\002K\"F/v1alpha/{nam" + - "e=projects/*/locations/*/clusters/*/inst" + - "ances/*}:failover:\001*\022\347\001\n\013InjectFault\0220.g" + - "oogle.cloud.alloydb.v1alpha.InjectFaultR" + - "equest\032\035.google.longrunning.Operation\"\206\001" + - "\312A\035\n\010Instance\022\021OperationMetadata\332A\017fault" + - "_type,name\202\323\344\223\002N\"I/v1alpha/{name=project" + - "s/*/locations/*/clusters/*/instances/*}:" + - "injectFault:\001*\022\337\001\n\017RestartInstance\0224.goo" + - "gle.cloud.alloydb.v1alpha.RestartInstanc" + - "eRequest\032\035.google.longrunning.Operation\"" + - "w\312A\035\n\010Instance\022\021OperationMetadata\332A\004name" + - "\202\323\344\223\002J\"E/v1alpha/{name=projects/*/locati" + - "ons/*/clusters/*/instances/*}:restart:\001*" + - "\022\265\001\n\013ListBackups\0220.google.cloud.alloydb." + - "v1alpha.ListBackupsRequest\0321.google.clou" + - "d.alloydb.v1alpha.ListBackupsResponse\"A\332" + - "A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=project" + - "s/*/locations/*}/backups\022\242\001\n\tGetBackup\022." + - ".google.cloud.alloydb.v1alpha.GetBackupR" + - "equest\032$.google.cloud.alloydb.v1alpha.Ba" + - "ckup\"?\332A\004name\202\323\344\223\0022\0220/v1alpha/{name=proj" + - "ects/*/locations/*/backups/*}\022\332\001\n\014Create" + - "Backup\0221.google.cloud.alloydb.v1alpha.Cr" + - "eateBackupRequest\032\035.google.longrunning.O" + - "peration\"x\312A\033\n\006Backup\022\021OperationMetadata" + - "\332A\027parent,backup,backup_id\202\323\344\223\002:\"0/v1alp" + - "ha/{parent=projects/*/locations/*}/backu" + - "ps:\006backup\022\334\001\n\014UpdateBackup\0221.google.clo" + - "ud.alloydb.v1alpha.UpdateBackupRequest\032\035" + - ".google.longrunning.Operation\"z\312A\033\n\006Back" + - "up\022\021OperationMetadata\332A\022backup,update_ma" + - "sk\202\323\344\223\002A27/v1alpha/{backup.name=projects" + - "/*/locations/*/backups/*}:\006backup\022\316\001\n\014De" + - "leteBackup\0221.google.cloud.alloydb.v1alph" + - "a.DeleteBackupRequest\032\035.google.longrunni" + - "ng.Operation\"l\312A*\n\025google.protobuf.Empty" + - "\022\021OperationMetadata\332A\004name\202\323\344\223\0022*0/v1alp" + - "ha/{name=projects/*/locations/*/backups/" + - "*}\022\361\001\n\032ListSupportedDatabaseFlags\022?.goog" + - "le.cloud.alloydb.v1alpha.ListSupportedDa" + - "tabaseFlagsRequest\032@.google.cloud.alloyd" + - "b.v1alpha.ListSupportedDatabaseFlagsResp" + - "onse\"P\332A\006parent\202\323\344\223\002A\022?/v1alpha/{parent=" + - "projects/*/locations/*}/supportedDatabas" + - "eFlags\022\377\001\n\031GenerateClientCertificate\022>.g" + - "oogle.cloud.alloydb.v1alpha.GenerateClie" + - "ntCertificateRequest\032?.google.cloud.allo" + - "ydb.v1alpha.GenerateClientCertificateRes" + - "ponse\"a\332A\006parent\202\323\344\223\002R\"M/v1alpha/{parent" + - "=projects/*/locations/*/clusters/*}:gene" + - "rateClientCertificate:\001*\022\332\001\n\021GetConnecti" + - "onInfo\0226.google.cloud.alloydb.v1alpha.Ge" + - "tConnectionInfoRequest\032,.google.cloud.al" + - "loydb.v1alpha.ConnectionInfo\"_\332A\006parent\202" + - "\323\344\223\002P\022N/v1alpha/{parent=projects/*/locat" + - "ions/*/clusters/*/instances/*}/connectio" + - "nInfo\022\270\001\n\tListUsers\022..google.cloud.alloy" + - "db.v1alpha.ListUsersRequest\032/.google.clo" + - "ud.alloydb.v1alpha.ListUsersResponse\"J\332A" + - "\006parent\202\323\344\223\002;\0229/v1alpha/{parent=projects" + - "/*/locations/*/clusters/*}/users\022\245\001\n\007Get" + - "User\022,.google.cloud.alloydb.v1alpha.GetU" + - "serRequest\032\".google.cloud.alloydb.v1alph" + - "a.User\"H\332A\004name\202\323\344\223\002;\0229/v1alpha/{name=pr" + - "ojects/*/locations/*/clusters/*/users/*}" + - "\022\300\001\n\nCreateUser\022/.google.cloud.alloydb.v" + - "1alpha.CreateUserRequest\032\".google.cloud." + - "alloydb.v1alpha.User\"]\332A\023parent,user,use" + - "r_id\202\323\344\223\002A\"9/v1alpha/{parent=projects/*/" + - "locations/*/clusters/*}/users:\004user\022\302\001\n\n" + - "UpdateUser\022/.google.cloud.alloydb.v1alph" + - "a.UpdateUserRequest\032\".google.cloud.alloy" + - "db.v1alpha.User\"_\332A\020user,update_mask\202\323\344\223" + - "\002F2>/v1alpha/{user.name=projects/*/locat" + - "ions/*/clusters/*/users/*}:\004user\022\237\001\n\nDel" + - "eteUser\022/.google.cloud.alloydb.v1alpha.D" + - "eleteUserRequest\032\026.google.protobuf.Empty" + - "\"H\332A\004name\202\323\344\223\002;*9/v1alpha/{name=projects" + - "/*/locations/*/clusters/*/users/*}\032J\312A\026a" + - "lloydb.googleapis.com\322A.https://www.goog" + - "leapis.com/auth/cloud-platformB\316\001\n com.g" + - "oogle.cloud.alloydb.v1alphaB\014ServiceProt" + - "oP\001Z:cloud.google.com/go/alloydb/apiv1al" + - "pha/alloydbpb;alloydbpb\252\002\034Google.Cloud.A" + - "lloyDb.V1Alpha\312\002\034Google\\Cloud\\AlloyDb\\V1" + - "alpha\352\002\037Google::Cloud::AlloyDB::V1alphab" + - "\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.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListClustersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListClustersResponse_descriptor, - new java.lang.String[] { "Clusters", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetClusterRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryClusterRequest_descriptor, - new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateClusterRequest_descriptor, - new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateClusterRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteClusterRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", "Force", }); - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_PromoteClusterRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_RestoreClusterRequest_descriptor, - new java.lang.String[] { "BackupSource", "ContinuousBackupSource", "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", "Source", }); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListInstancesResponse_descriptor, - new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetInstanceRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateSecondaryInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateInstanceRequests_descriptor, - new java.lang.String[] { "CreateInstanceRequests", }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", "RequestId", }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesResponse_descriptor, - new java.lang.String[] { "Instances", }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor, - new java.lang.String[] { "InstanceTargets", "InstanceStatuses", }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_BatchCreateInstanceStatus_descriptor, - new java.lang.String[] { "State", "ErrorMsg", "Error", "Type", }); - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateInstanceRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_FailoverInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_InjectFaultRequest_descriptor, - new java.lang.String[] { "FaultType", "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_RestartInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListBackupsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListBackupsResponse_descriptor, - new java.lang.String[] { "Backups", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetBackupRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateBackupRequest_descriptor, - new java.lang.String[] { "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateBackupRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteBackupRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", "Etag", }); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListSupportedDatabaseFlagsResponse_descriptor, - new java.lang.String[] { "SupportedDatabaseFlags", "NextPageToken", }); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateRequest_descriptor, - new java.lang.String[] { "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", }); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GenerateClientCertificateResponse_descriptor, - new java.lang.String[] { "PemCertificate", "PemCertificateChain", "CaCert", }); - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetConnectionInfoRequest_descriptor, - new java.lang.String[] { "Parent", "RequestId", }); - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_OperationMetadata_descriptor, - new java.lang.String[] { "BatchCreateInstancesMetadata", "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", "RequestSpecific", }); - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListUsersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_ListUsersResponse_descriptor, - new java.lang.String[] { "Users", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_GetUserRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_CreateUserRequest_descriptor, - new java.lang.String[] { "Parent", "UserId", "User", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_UpdateUserRequest_descriptor, - new java.lang.String[] { "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1alpha_DeleteUserRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.alloydb.v1alpha.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java deleted file mode 100644 index 096522521e20..000000000000 --- a/owl-bot-staging/java-alloydb/v1alpha/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/SslConfigOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1alpha/resources.proto - -package com.google.cloud.alloydb.v1alpha; - -public interface SslConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1alpha.SslConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * .google.cloud.alloydb.v1alpha.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The sslMode. - */ - com.google.cloud.alloydb.v1alpha.SslConfig.SslMode getSslMode(); - - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1alpha.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The caSource. - */ - com.google.cloud.alloydb.v1alpha.SslConfig.CaSource getCaSource(); -} diff --git a/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java b/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java deleted file mode 100644 index 3e91a7b57f2f..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/grpc-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/AlloyDBAdminGrpc.java +++ /dev/null @@ -1,2995 +0,0 @@ -package com.google.cloud.alloydb.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Service describing handlers for resources
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/alloydb/v1beta/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class AlloyDBAdminGrpc { - - private AlloyDBAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.alloydb.v1beta.AlloyDBAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.cloud.alloydb.v1beta.ListClustersRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListClustersMethod() { - io.grpc.MethodDescriptor getListClustersMethod; - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListClustersMethod = AlloyDBAdminGrpc.getListClustersMethod) == null) { - AlloyDBAdminGrpc.getListClustersMethod = getListClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.cloud.alloydb.v1beta.GetClusterRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetClusterMethod() { - io.grpc.MethodDescriptor getGetClusterMethod; - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetClusterMethod = AlloyDBAdminGrpc.getGetClusterMethod) == null) { - AlloyDBAdminGrpc.getGetClusterMethod = getGetClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.cloud.alloydb.v1beta.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClusterMethod() { - io.grpc.MethodDescriptor getCreateClusterMethod; - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateClusterMethod = AlloyDBAdminGrpc.getCreateClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.cloud.alloydb.v1beta.UpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateClusterMethod() { - io.grpc.MethodDescriptor getUpdateClusterMethod; - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateClusterMethod = AlloyDBAdminGrpc.getUpdateClusterMethod) == null) { - AlloyDBAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.cloud.alloydb.v1beta.DeleteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteClusterMethod() { - io.grpc.MethodDescriptor getDeleteClusterMethod; - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteClusterMethod = AlloyDBAdminGrpc.getDeleteClusterMethod) == null) { - AlloyDBAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getPromoteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PromoteCluster", - requestType = com.google.cloud.alloydb.v1beta.PromoteClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPromoteClusterMethod() { - io.grpc.MethodDescriptor getPromoteClusterMethod; - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getPromoteClusterMethod = AlloyDBAdminGrpc.getPromoteClusterMethod) == null) { - AlloyDBAdminGrpc.getPromoteClusterMethod = getPromoteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PromoteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("PromoteCluster")) - .build(); - } - } - } - return getPromoteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestoreClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestoreCluster", - requestType = com.google.cloud.alloydb.v1beta.RestoreClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestoreClusterMethod() { - io.grpc.MethodDescriptor getRestoreClusterMethod; - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestoreClusterMethod = AlloyDBAdminGrpc.getRestoreClusterMethod) == null) { - AlloyDBAdminGrpc.getRestoreClusterMethod = getRestoreClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestoreCluster")) - .build(); - } - } - } - return getRestoreClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryCluster", - requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryClusterMethod() { - io.grpc.MethodDescriptor getCreateSecondaryClusterMethod; - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryClusterMethod = AlloyDBAdminGrpc.getCreateSecondaryClusterMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryClusterMethod = getCreateSecondaryClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryCluster")) - .build(); - } - } - } - return getCreateSecondaryClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.cloud.alloydb.v1beta.ListInstancesRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListInstancesMethod() { - io.grpc.MethodDescriptor getListInstancesMethod; - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListInstancesMethod = AlloyDBAdminGrpc.getListInstancesMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListInstancesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.cloud.alloydb.v1beta.GetInstanceRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetInstanceMethod() { - io.grpc.MethodDescriptor getGetInstanceMethod; - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetInstanceMethod = AlloyDBAdminGrpc.getGetInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Instance.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.cloud.alloydb.v1beta.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateInstanceMethod() { - io.grpc.MethodDescriptor getCreateInstanceMethod; - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateInstanceMethod = AlloyDBAdminGrpc.getCreateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSecondaryInstance", - requestType = com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod() { - io.grpc.MethodDescriptor getCreateSecondaryInstanceMethod; - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateSecondaryInstanceMethod = AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod) == null) { - AlloyDBAdminGrpc.getCreateSecondaryInstanceMethod = getCreateSecondaryInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSecondaryInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateSecondaryInstance")) - .build(); - } - } - } - return getCreateSecondaryInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateInstances", - requestType = com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateInstancesMethod() { - io.grpc.MethodDescriptor getBatchCreateInstancesMethod; - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getBatchCreateInstancesMethod = AlloyDBAdminGrpc.getBatchCreateInstancesMethod) == null) { - AlloyDBAdminGrpc.getBatchCreateInstancesMethod = getBatchCreateInstancesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("BatchCreateInstances")) - .build(); - } - } - } - return getBatchCreateInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.cloud.alloydb.v1beta.UpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { - io.grpc.MethodDescriptor getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateInstanceMethod = AlloyDBAdminGrpc.getUpdateInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.cloud.alloydb.v1beta.DeleteInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { - io.grpc.MethodDescriptor getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteInstanceMethod = AlloyDBAdminGrpc.getDeleteInstanceMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getFailoverInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FailoverInstance", - requestType = com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFailoverInstanceMethod() { - io.grpc.MethodDescriptor getFailoverInstanceMethod; - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getFailoverInstanceMethod = AlloyDBAdminGrpc.getFailoverInstanceMethod) == null) { - AlloyDBAdminGrpc.getFailoverInstanceMethod = getFailoverInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FailoverInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("FailoverInstance")) - .build(); - } - } - } - return getFailoverInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getInjectFaultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InjectFault", - requestType = com.google.cloud.alloydb.v1beta.InjectFaultRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInjectFaultMethod() { - io.grpc.MethodDescriptor getInjectFaultMethod; - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getInjectFaultMethod = AlloyDBAdminGrpc.getInjectFaultMethod) == null) { - AlloyDBAdminGrpc.getInjectFaultMethod = getInjectFaultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InjectFault")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.InjectFaultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("InjectFault")) - .build(); - } - } - } - return getInjectFaultMethod; - } - - private static volatile io.grpc.MethodDescriptor getRestartInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RestartInstance", - requestType = com.google.cloud.alloydb.v1beta.RestartInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRestartInstanceMethod() { - io.grpc.MethodDescriptor getRestartInstanceMethod; - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getRestartInstanceMethod = AlloyDBAdminGrpc.getRestartInstanceMethod) == null) { - AlloyDBAdminGrpc.getRestartInstanceMethod = getRestartInstanceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestartInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("RestartInstance")) - .build(); - } - } - } - return getRestartInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor getListBackupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListBackups", - requestType = com.google.cloud.alloydb.v1beta.ListBackupsRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListBackupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListBackupsMethod() { - io.grpc.MethodDescriptor getListBackupsMethod; - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListBackupsMethod = AlloyDBAdminGrpc.getListBackupsMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.ListBackupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListBackupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListBackups")) - .build(); - } - } - } - return getListBackupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetBackup", - requestType = com.google.cloud.alloydb.v1beta.GetBackupRequest.class, - responseType = com.google.cloud.alloydb.v1beta.Backup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetBackupMethod() { - io.grpc.MethodDescriptor getGetBackupMethod; - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetBackupMethod = AlloyDBAdminGrpc.getGetBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.GetBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.Backup.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetBackup")) - .build(); - } - } - } - return getGetBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateBackup", - requestType = com.google.cloud.alloydb.v1beta.CreateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateBackupMethod() { - io.grpc.MethodDescriptor getCreateBackupMethod; - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateBackupMethod = AlloyDBAdminGrpc.getCreateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.CreateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateBackup")) - .build(); - } - } - } - return getCreateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateBackup", - requestType = com.google.cloud.alloydb.v1beta.UpdateBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateBackupMethod() { - io.grpc.MethodDescriptor getUpdateBackupMethod; - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateBackupMethod = AlloyDBAdminGrpc.getUpdateBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.UpdateBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateBackup")) - .build(); - } - } - } - return getUpdateBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteBackupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteBackup", - requestType = com.google.cloud.alloydb.v1beta.DeleteBackupRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteBackupMethod() { - io.grpc.MethodDescriptor getDeleteBackupMethod; - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteBackupMethod = AlloyDBAdminGrpc.getDeleteBackupMethod) == null) { - AlloyDBAdminGrpc.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.cloud.alloydb.v1beta.DeleteBackupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteBackup")) - .build(); - } - } - } - return getDeleteBackupMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSupportedDatabaseFlags", - requestType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod() { - io.grpc.MethodDescriptor getListSupportedDatabaseFlagsMethod; - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListSupportedDatabaseFlagsMethod = AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod) == null) { - AlloyDBAdminGrpc.getListSupportedDatabaseFlagsMethod = getListSupportedDatabaseFlagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSupportedDatabaseFlags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListSupportedDatabaseFlags")) - .build(); - } - } - } - return getListSupportedDatabaseFlagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateClientCertificate", - requestType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.class, - responseType = com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGenerateClientCertificateMethod() { - io.grpc.MethodDescriptor getGenerateClientCertificateMethod; - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGenerateClientCertificateMethod = AlloyDBAdminGrpc.getGenerateClientCertificateMethod) == null) { - AlloyDBAdminGrpc.getGenerateClientCertificateMethod = getGenerateClientCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateClientCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GenerateClientCertificate")) - .build(); - } - } - } - return getGenerateClientCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetConnectionInfoMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetConnectionInfo", - requestType = com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ConnectionInfo.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetConnectionInfoMethod() { - io.grpc.MethodDescriptor getGetConnectionInfoMethod; - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetConnectionInfoMethod = AlloyDBAdminGrpc.getGetConnectionInfoMethod) == null) { - AlloyDBAdminGrpc.getGetConnectionInfoMethod = getGetConnectionInfoMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnectionInfo")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ConnectionInfo.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetConnectionInfo")) - .build(); - } - } - } - return getGetConnectionInfoMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUsersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsers", - requestType = com.google.cloud.alloydb.v1beta.ListUsersRequest.class, - responseType = com.google.cloud.alloydb.v1beta.ListUsersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUsersMethod() { - io.grpc.MethodDescriptor getListUsersMethod; - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getListUsersMethod = AlloyDBAdminGrpc.getListUsersMethod) == null) { - AlloyDBAdminGrpc.getListUsersMethod = getListUsersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListUsersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.ListUsersResponse.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("ListUsers")) - .build(); - } - } - } - return getListUsersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetUser", - requestType = com.google.cloud.alloydb.v1beta.GetUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetUserMethod() { - io.grpc.MethodDescriptor getGetUserMethod; - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getGetUserMethod = AlloyDBAdminGrpc.getGetUserMethod) == null) { - AlloyDBAdminGrpc.getGetUserMethod = getGetUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.GetUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("GetUser")) - .build(); - } - } - } - return getGetUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateUser", - requestType = com.google.cloud.alloydb.v1beta.CreateUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateUserMethod() { - io.grpc.MethodDescriptor getCreateUserMethod; - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getCreateUserMethod = AlloyDBAdminGrpc.getCreateUserMethod) == null) { - AlloyDBAdminGrpc.getCreateUserMethod = getCreateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.CreateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("CreateUser")) - .build(); - } - } - } - return getCreateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateUser", - requestType = com.google.cloud.alloydb.v1beta.UpdateUserRequest.class, - responseType = com.google.cloud.alloydb.v1beta.User.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateUserMethod() { - io.grpc.MethodDescriptor getUpdateUserMethod; - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getUpdateUserMethod = AlloyDBAdminGrpc.getUpdateUserMethod) == null) { - AlloyDBAdminGrpc.getUpdateUserMethod = getUpdateUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.UpdateUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.User.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("UpdateUser")) - .build(); - } - } - } - return getUpdateUserMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteUserMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteUser", - requestType = com.google.cloud.alloydb.v1beta.DeleteUserRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteUserMethod() { - io.grpc.MethodDescriptor getDeleteUserMethod; - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - synchronized (AlloyDBAdminGrpc.class) { - if ((getDeleteUserMethod = AlloyDBAdminGrpc.getDeleteUserMethod) == null) { - AlloyDBAdminGrpc.getDeleteUserMethod = getDeleteUserMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.alloydb.v1beta.DeleteUserRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AlloyDBAdminMethodDescriptorSupplier("DeleteUser")) - .build(); - } - } - } - return getDeleteUserMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static AlloyDBAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - }; - return AlloyDBAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static AlloyDBAdminBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - }; - return AlloyDBAdminBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static AlloyDBAdminFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public AlloyDBAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - }; - return AlloyDBAdminFutureStub.newStub(factory, channel); - } - - /** - *
-   * Service describing handlers for resources
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - default void listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - default void getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - default void createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - default void updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - default void deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - default void promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPromoteClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - default void restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestoreClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - default void createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryClusterMethod(), responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - default void listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - default void getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - default void createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - default void createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSecondaryInstanceMethod(), responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - default void batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateInstancesMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - default void updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - default void deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - default void failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFailoverInstanceMethod(), responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - default void injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInjectFaultMethod(), responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - default void restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRestartInstanceMethod(), responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - default void listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - default void getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - default void createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - default void updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - default void deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - default void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSupportedDatabaseFlagsMethod(), responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - default void generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateClientCertificateMethod(), responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - default void getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetConnectionInfoMethod(), responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - default void listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - default void getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - default void createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - default void updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - default void deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static abstract class AlloyDBAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AlloyDBAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private AlloyDBAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public void listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public void getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public void createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public void updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public void deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public void promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public void restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public void createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public void listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public void getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public void createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public void createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public void batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public void updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public void deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public void failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public void injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public void restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public void listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public void getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public void createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public void updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public void deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public void listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public void generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public void getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public void listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public void getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public void createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public void updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public void deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private AlloyDBAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListClustersResponse listClusters(com.google.cloud.alloydb.v1beta.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Cluster getCluster(com.google.cloud.alloydb.v1beta.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCluster(com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster(com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.longrunning.Operation deleteCluster(com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation promoteCluster(com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPromoteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.longrunning.Operation restoreCluster(com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestoreClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryCluster(com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListInstancesResponse listInstances(com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Instance getInstance(com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createInstance(com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createSecondaryInstance(com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSecondaryInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.longrunning.Operation batchCreateInstances(com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateInstancesMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.longrunning.Operation updateInstance(com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.longrunning.Operation deleteInstance(com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation failoverInstance(com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFailoverInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation injectFault(com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInjectFaultMethod(), getCallOptions(), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.longrunning.Operation restartInstance(com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRestartInstanceMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListBackupsResponse listBackups(com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.Backup getBackup(com.google.cloud.alloydb.v1beta.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createBackup(com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.longrunning.Operation updateBackup(com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.longrunning.Operation deleteBackup(com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteBackupMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse listSupportedDatabaseFlags(com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSupportedDatabaseFlagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse generateClientCertificate(com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGenerateClientCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ConnectionInfo getConnectionInfo(com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetConnectionInfoMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.ListUsersResponse listUsers(com.google.cloud.alloydb.v1beta.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User getUser(com.google.cloud.alloydb.v1beta.GetUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User createUser(com.google.cloud.alloydb.v1beta.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.cloud.alloydb.v1beta.User updateUser(com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateUserMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.protobuf.Empty deleteUser(com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteUserMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AlloyDBAdmin. - *
-   * Service describing handlers for resources
-   * 
- */ - public static final class AlloyDBAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private AlloyDBAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected AlloyDBAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new AlloyDBAdminFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Clusters in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.cloud.alloydb.v1beta.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.cloud.alloydb.v1beta.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.cloud.alloydb.v1beta.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.cloud.alloydb.v1beta.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.cloud.alloydb.v1beta.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Promotes a SECONDARY cluster. This turns down replication
-     * from the PRIMARY cluster and promotes a secondary cluster
-     * into its own standalone cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture promoteCluster( - com.google.cloud.alloydb.v1beta.PromoteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPromoteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Cluster in a given project and location, with a volume
-     * restored from the provided source, either a backup ID or a point-in-time
-     * and a source cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restoreCluster( - com.google.cloud.alloydb.v1beta.RestoreClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestoreClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster of type SECONDARY in the given location using
-     * the primary cluster as the source.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryCluster( - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Instances in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listInstances( - com.google.cloud.alloydb.v1beta.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getInstance( - com.google.cloud.alloydb.v1beta.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createInstance( - com.google.cloud.alloydb.v1beta.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new SECONDARY Instance in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSecondaryInstance( - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSecondaryInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates new instances under the given project, location and cluster.
-     * There can be only one primary instance in a cluster. If the primary
-     * instance exists in the cluster as well as this request, then API will
-     * throw an error.
-     * The primary instance should exist before any read pool instance is
-     * created. If the primary instance is a part of the request payload, then
-     * the API will take care of creating instances in the correct order.
-     * This method is here to support Google-internal use cases, and is not meant
-     * for external customers to consume. Please do not start relying on it; its
-     * behavior is subject to change without notice.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateInstances( - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateInstancesMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateInstance( - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteInstance( - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Forces a Failover for a highly available instance.
-     * Failover promotes the HA standby instance as the new primary.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture failoverInstance( - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFailoverInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Injects fault in an instance.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture injectFault( - com.google.cloud.alloydb.v1beta.InjectFaultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInjectFaultMethod(), getCallOptions()), request); - } - - /** - *
-     * Restart an Instance in a cluster.
-     * Imperative only.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture restartInstance( - com.google.cloud.alloydb.v1beta.RestartInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRestartInstanceMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Backups in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listBackups( - com.google.cloud.alloydb.v1beta.ListBackupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getBackup( - com.google.cloud.alloydb.v1beta.GetBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Backup in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createBackup( - com.google.cloud.alloydb.v1beta.CreateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateBackup( - com.google.cloud.alloydb.v1beta.UpdateBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Backup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteBackup( - com.google.cloud.alloydb.v1beta.DeleteBackupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteBackupMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists SupportedDatabaseFlags for a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSupportedDatabaseFlags( - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSupportedDatabaseFlagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Generate a client certificate signed by a Cluster CA.
-     * The sole purpose of this endpoint is to support AlloyDB connectors and the
-     * Auth Proxy client. The endpoint's behavior is subject to change without
-     * notice, so do not rely on its behavior remaining constant. Future changes
-     * will not break AlloyDB connectors or the Auth Proxy client.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture generateClientCertificate( - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGenerateClientCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Get instance metadata used for a connection.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getConnectionInfo( - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetConnectionInfoMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Users in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUsers( - com.google.cloud.alloydb.v1beta.ListUsersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getUser( - com.google.cloud.alloydb.v1beta.GetUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new User in a given project, location, and cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createUser( - com.google.cloud.alloydb.v1beta.CreateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the parameters of a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateUser( - com.google.cloud.alloydb.v1beta.UpdateUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single User.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteUser( - com.google.cloud.alloydb.v1beta.DeleteUserRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CLUSTERS = 0; - private static final int METHODID_GET_CLUSTER = 1; - private static final int METHODID_CREATE_CLUSTER = 2; - private static final int METHODID_UPDATE_CLUSTER = 3; - private static final int METHODID_DELETE_CLUSTER = 4; - private static final int METHODID_PROMOTE_CLUSTER = 5; - private static final int METHODID_RESTORE_CLUSTER = 6; - private static final int METHODID_CREATE_SECONDARY_CLUSTER = 7; - private static final int METHODID_LIST_INSTANCES = 8; - private static final int METHODID_GET_INSTANCE = 9; - private static final int METHODID_CREATE_INSTANCE = 10; - private static final int METHODID_CREATE_SECONDARY_INSTANCE = 11; - private static final int METHODID_BATCH_CREATE_INSTANCES = 12; - private static final int METHODID_UPDATE_INSTANCE = 13; - private static final int METHODID_DELETE_INSTANCE = 14; - private static final int METHODID_FAILOVER_INSTANCE = 15; - private static final int METHODID_INJECT_FAULT = 16; - private static final int METHODID_RESTART_INSTANCE = 17; - private static final int METHODID_LIST_BACKUPS = 18; - private static final int METHODID_GET_BACKUP = 19; - private static final int METHODID_CREATE_BACKUP = 20; - private static final int METHODID_UPDATE_BACKUP = 21; - private static final int METHODID_DELETE_BACKUP = 22; - private static final int METHODID_LIST_SUPPORTED_DATABASE_FLAGS = 23; - private static final int METHODID_GENERATE_CLIENT_CERTIFICATE = 24; - private static final int METHODID_GET_CONNECTION_INFO = 25; - private static final int METHODID_LIST_USERS = 26; - private static final int METHODID_GET_USER = 27; - private static final int METHODID_CREATE_USER = 28; - private static final int METHODID_UPDATE_USER = 29; - private static final int METHODID_DELETE_USER = 30; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.cloud.alloydb.v1beta.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.cloud.alloydb.v1beta.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.cloud.alloydb.v1beta.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.cloud.alloydb.v1beta.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.cloud.alloydb.v1beta.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PROMOTE_CLUSTER: - serviceImpl.promoteCluster((com.google.cloud.alloydb.v1beta.PromoteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTORE_CLUSTER: - serviceImpl.restoreCluster((com.google.cloud.alloydb.v1beta.RestoreClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_CLUSTER: - serviceImpl.createSecondaryCluster((com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances((com.google.cloud.alloydb.v1beta.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance((com.google.cloud.alloydb.v1beta.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance((com.google.cloud.alloydb.v1beta.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SECONDARY_INSTANCE: - serviceImpl.createSecondaryInstance((com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_INSTANCES: - serviceImpl.batchCreateInstances((com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance((com.google.cloud.alloydb.v1beta.UpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance((com.google.cloud.alloydb.v1beta.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FAILOVER_INSTANCE: - serviceImpl.failoverInstance((com.google.cloud.alloydb.v1beta.FailoverInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INJECT_FAULT: - serviceImpl.injectFault((com.google.cloud.alloydb.v1beta.InjectFaultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESTART_INSTANCE: - serviceImpl.restartInstance((com.google.cloud.alloydb.v1beta.RestartInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - serviceImpl.listBackups((com.google.cloud.alloydb.v1beta.ListBackupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_BACKUP: - serviceImpl.getBackup((com.google.cloud.alloydb.v1beta.GetBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_BACKUP: - serviceImpl.createBackup((com.google.cloud.alloydb.v1beta.CreateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - serviceImpl.updateBackup((com.google.cloud.alloydb.v1beta.UpdateBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_BACKUP: - serviceImpl.deleteBackup((com.google.cloud.alloydb.v1beta.DeleteBackupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SUPPORTED_DATABASE_FLAGS: - serviceImpl.listSupportedDatabaseFlags((com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GENERATE_CLIENT_CERTIFICATE: - serviceImpl.generateClientCertificate((com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CONNECTION_INFO: - serviceImpl.getConnectionInfo((com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USERS: - serviceImpl.listUsers((com.google.cloud.alloydb.v1beta.ListUsersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_USER: - serviceImpl.getUser((com.google.cloud.alloydb.v1beta.GetUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_USER: - serviceImpl.createUser((com.google.cloud.alloydb.v1beta.CreateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_USER: - serviceImpl.updateUser((com.google.cloud.alloydb.v1beta.UpdateUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_USER: - serviceImpl.deleteUser((com.google.cloud.alloydb.v1beta.DeleteUserRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListClustersRequest, - com.google.cloud.alloydb.v1beta.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetClusterRequest, - com.google.cloud.alloydb.v1beta.Cluster>( - service, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getPromoteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.PromoteClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_PROMOTE_CLUSTER))) - .addMethod( - getRestoreClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.RestoreClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTORE_CLUSTER))) - .addMethod( - getCreateSecondaryClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateSecondaryClusterRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_CLUSTER))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListInstancesRequest, - com.google.cloud.alloydb.v1beta.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetInstanceRequest, - com.google.cloud.alloydb.v1beta.Instance>( - service, METHODID_GET_INSTANCE))) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INSTANCE))) - .addMethod( - getCreateSecondaryInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateSecondaryInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_SECONDARY_INSTANCE))) - .addMethod( - getBatchCreateInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.BatchCreateInstancesRequest, - com.google.longrunning.Operation>( - service, METHODID_BATCH_CREATE_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getFailoverInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.FailoverInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_FAILOVER_INSTANCE))) - .addMethod( - getInjectFaultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.InjectFaultRequest, - com.google.longrunning.Operation>( - service, METHODID_INJECT_FAULT))) - .addMethod( - getRestartInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.RestartInstanceRequest, - com.google.longrunning.Operation>( - service, METHODID_RESTART_INSTANCE))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListBackupsRequest, - com.google.cloud.alloydb.v1beta.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetBackupRequest, - com.google.cloud.alloydb.v1beta.Backup>( - service, METHODID_GET_BACKUP))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteBackupRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_BACKUP))) - .addMethod( - getListSupportedDatabaseFlagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsRequest, - com.google.cloud.alloydb.v1beta.ListSupportedDatabaseFlagsResponse>( - service, METHODID_LIST_SUPPORTED_DATABASE_FLAGS))) - .addMethod( - getGenerateClientCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GenerateClientCertificateRequest, - com.google.cloud.alloydb.v1beta.GenerateClientCertificateResponse>( - service, METHODID_GENERATE_CLIENT_CERTIFICATE))) - .addMethod( - getGetConnectionInfoMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetConnectionInfoRequest, - com.google.cloud.alloydb.v1beta.ConnectionInfo>( - service, METHODID_GET_CONNECTION_INFO))) - .addMethod( - getListUsersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.ListUsersRequest, - com.google.cloud.alloydb.v1beta.ListUsersResponse>( - service, METHODID_LIST_USERS))) - .addMethod( - getGetUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.GetUserRequest, - com.google.cloud.alloydb.v1beta.User>( - service, METHODID_GET_USER))) - .addMethod( - getCreateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.CreateUserRequest, - com.google.cloud.alloydb.v1beta.User>( - service, METHODID_CREATE_USER))) - .addMethod( - getUpdateUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.UpdateUserRequest, - com.google.cloud.alloydb.v1beta.User>( - service, METHODID_UPDATE_USER))) - .addMethod( - getDeleteUserMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.alloydb.v1beta.DeleteUserRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_USER))) - .build(); - } - - private static abstract class AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - AlloyDBAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.alloydb.v1beta.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("AlloyDBAdmin"); - } - } - - private static final class AlloyDBAdminFileDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier { - AlloyDBAdminFileDescriptorSupplier() {} - } - - private static final class AlloyDBAdminMethodDescriptorSupplier - extends AlloyDBAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - AlloyDBAdminMethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (AlloyDBAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new AlloyDBAdminFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getPromoteClusterMethod()) - .addMethod(getRestoreClusterMethod()) - .addMethod(getCreateSecondaryClusterMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getCreateSecondaryInstanceMethod()) - .addMethod(getBatchCreateInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getFailoverInstanceMethod()) - .addMethod(getInjectFaultMethod()) - .addMethod(getRestartInstanceMethod()) - .addMethod(getListBackupsMethod()) - .addMethod(getGetBackupMethod()) - .addMethod(getCreateBackupMethod()) - .addMethod(getUpdateBackupMethod()) - .addMethod(getDeleteBackupMethod()) - .addMethod(getListSupportedDatabaseFlagsMethod()) - .addMethod(getGenerateClientCertificateMethod()) - .addMethod(getGetConnectionInfoMethod()) - .addMethod(getListUsersMethod()) - .addMethod(getGetUserMethod()) - .addMethod(getCreateUserMethod()) - .addMethod(getUpdateUserMethod()) - .addMethod(getDeleteUserMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java deleted file mode 100644 index 5f180b0d69c0..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/CreateInstanceRequestsOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface CreateInstanceRequestsOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.CreateInstanceRequests) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1beta.CreateInstanceRequest getCreateInstanceRequests(int index); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - int getCreateInstanceRequestsCount(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - java.util.List - getCreateInstanceRequestsOrBuilderList(); - /** - *
-   * Required. Primary and read replica instances to be created. This list
-   * should not be empty.
-   * 
- * - * repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder( - int index); -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java deleted file mode 100644 index 273b821464fd..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/EncryptionInfoOrBuilder.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public interface EncryptionInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.EncryptionInfo) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The enum numeric value on the wire for encryptionType. - */ - int getEncryptionTypeValue(); - /** - *
-   * Output only. Type of encryption.
-   * 
- * - * .google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The encryptionType. - */ - com.google.cloud.alloydb.v1beta.EncryptionInfo.Type getEncryptionType(); - - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return A list containing the kmsKeyVersions. - */ - java.util.List - getKmsKeyVersionsList(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @return The count of kmsKeyVersions. - */ - int getKmsKeyVersionsCount(); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the element to return. - * @return The kmsKeyVersions at the given index. - */ - java.lang.String getKmsKeyVersions(int index); - /** - *
-   * Output only. Cloud KMS key versions that are being used to protect the
-   * database or the backup.
-   * 
- * - * repeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * @param index The index of the value to return. - * @return The bytes of the kmsKeyVersions at the given index. - */ - com.google.protobuf.ByteString - getKmsKeyVersionsBytes(int index); -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java deleted file mode 100644 index 84b8ba1fb80d..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetBackupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the resource
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the resource
-   * 
- * - * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java deleted file mode 100644 index c0e0c2ff7eef..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,52 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetClusterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the Cluster.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - *
-   * Optional. The view of the cluster to return. Returns all default fields if
-   * not set.
-   * 
- * - * .google.cloud.alloydb.v1beta.ClusterView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The view. - */ - com.google.cloud.alloydb.v1beta.ClusterView getView(); -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java deleted file mode 100644 index bb0251e1d4e8..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/GetUserRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public interface GetUserRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.GetUserRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the resource. For the required format, see the
-   * comment on the User.name field.
-   * 
- * - * 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/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java deleted file mode 100644 index 03ed6377dff5..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ResourcesProto.java +++ /dev/null @@ -1,773 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public final class ResourcesProto { - private ResourcesProto() {} - 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_cloud_alloydb_v1beta_UserPassword_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_User_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_User_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/cloud/alloydb/v1beta/resources." + - "proto\022\033google.cloud.alloydb.v1beta\032\037goog" + - "le/api/field_behavior.proto\032\031google/api/" + - "resource.proto\032\036google/protobuf/duration" + - ".proto\032\037google/protobuf/timestamp.proto\032" + - "\036google/protobuf/wrappers.proto\032\033google/" + - "type/dayofweek.proto\032\033google/type/timeof" + - "day.proto\".\n\014UserPassword\022\014\n\004user\030\001 \001(\t\022" + - "\020\n\010password\030\002 \001(\t\"\352\001\n\017MigrationSource\022\027\n" + - "\thost_port\030\001 \001(\tB\004\342A\001\003\022\032\n\014reference_id\030\002" + - " \001(\tB\004\342A\001\003\022[\n\013source_type\030\003 \001(\0162@.google" + - ".cloud.alloydb.v1beta.MigrationSource.Mi" + - "grationSourceTypeB\004\342A\001\003\"E\n\023MigrationSour" + - "ceType\022%\n!MIGRATION_SOURCE_TYPE_UNSPECIF" + - "IED\020\000\022\007\n\003DMS\020\001\"(\n\020EncryptionConfig\022\024\n\014km" + - "s_key_name\030\001 \001(\t\"\214\002\n\016EncryptionInfo\022O\n\017e" + - "ncryption_type\030\001 \001(\01620.google.cloud.allo" + - "ydb.v1beta.EncryptionInfo.TypeB\004\342A\001\003\022K\n\020" + - "kms_key_versions\030\002 \003(\tB1\342A\001\003\372A*\n(cloudkm" + - "s.googleapis.com/CryptoKeyVersion\"\\\n\004Typ" + - "e\022\024\n\020TYPE_UNSPECIFIED\020\000\022\035\n\031GOOGLE_DEFAUL" + - "T_ENCRYPTION\020\001\022\037\n\033CUSTOMER_MANAGED_ENCRY" + - "PTION\020\002\"\210\003\n\tSslConfig\022F\n\010ssl_mode\030\001 \001(\0162" + - "..google.cloud.alloydb.v1beta.SslConfig." + - "SslModeB\004\342A\001\001\022H\n\tca_source\030\002 \001(\0162/.googl" + - "e.cloud.alloydb.v1beta.SslConfig.CaSourc" + - "eB\004\342A\001\001\"\252\001\n\007SslMode\022\030\n\024SSL_MODE_UNSPECIF" + - "IED\020\000\022\026\n\016SSL_MODE_ALLOW\020\001\032\002\010\001\022\030\n\020SSL_MOD" + - "E_REQUIRE\020\002\032\002\010\001\022\032\n\022SSL_MODE_VERIFY_CA\020\003\032" + - "\002\010\001\022#\n\037ALLOW_UNENCRYPTED_AND_ENCRYPTED\020\004" + - "\022\022\n\016ENCRYPTED_ONLY\020\005\"<\n\010CaSource\022\031\n\025CA_S" + - "OURCE_UNSPECIFIED\020\000\022\025\n\021CA_SOURCE_MANAGED" + - "\020\001\"\372\006\n\025AutomatedBackupPolicy\022\\\n\017weekly_s" + - "chedule\030\002 \001(\0132A.google.cloud.alloydb.v1b" + - "eta.AutomatedBackupPolicy.WeeklySchedule" + - "H\000\022e\n\024time_based_retention\030\004 \001(\0132E.googl" + - "e.cloud.alloydb.v1beta.AutomatedBackupPo" + - "licy.TimeBasedRetentionH\001\022m\n\030quantity_ba" + - "sed_retention\030\005 \001(\0132I.google.cloud.alloy" + - "db.v1beta.AutomatedBackupPolicy.Quantity" + - "BasedRetentionH\001\022\024\n\007enabled\030\001 \001(\010H\002\210\001\001\0220" + - "\n\rbackup_window\030\003 \001(\0132\031.google.protobuf." + - "Duration\022N\n\021encryption_config\030\010 \001(\0132-.go" + - "ogle.cloud.alloydb.v1beta.EncryptionConf" + - "igB\004\342A\001\001\022\020\n\010location\030\006 \001(\t\022N\n\006labels\030\007 \003" + - "(\0132>.google.cloud.alloydb.v1beta.Automat" + - "edBackupPolicy.LabelsEntry\032k\n\016WeeklySche" + - "dule\022+\n\013start_times\030\001 \003(\0132\026.google.type." + - "TimeOfDay\022,\n\014days_of_week\030\002 \003(\0162\026.google" + - ".type.DayOfWeek\032I\n\022TimeBasedRetention\0223\n" + - "\020retention_period\030\001 \001(\0132\031.google.protobu" + - "f.Duration\032\'\n\026QuantityBasedRetention\022\r\n\005" + - "count\030\001 \001(\005\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + - "\r\n\005value\030\002 \001(\t:\0028\001B\n\n\010scheduleB\013\n\tretent" + - "ionB\n\n\010_enabled\"\242\001\n\026ContinuousBackupConf" + - "ig\022\024\n\007enabled\030\001 \001(\010H\000\210\001\001\022\034\n\024recovery_win" + - "dow_days\030\004 \001(\005\022H\n\021encryption_config\030\003 \001(" + - "\0132-.google.cloud.alloydb.v1beta.Encrypti" + - "onConfigB\n\n\010_enabled\"\216\002\n\024ContinuousBacku" + - "pInfo\022J\n\017encryption_info\030\001 \001(\0132+.google." + - "cloud.alloydb.v1beta.EncryptionInfoB\004\342A\001" + - "\003\0226\n\014enabled_time\030\002 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\022.\n\010schedule\030\003 \003(\0162\026.go" + - "ogle.type.DayOfWeekB\004\342A\001\003\022B\n\030earliest_re" + - "storable_time\030\004 \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\"e\n\014BackupSource\022\030\n\nbackup_" + - "uid\030\002 \001(\tB\004\342A\001\003\022;\n\013backup_name\030\001 \001(\tB&\342A" + - "\001\002\372A\037\n\035alloydb.googleapis.com/Backup\"h\n\026" + - "ContinuousBackupSource\022\025\n\007cluster\030\001 \001(\tB" + - "\004\342A\001\002\0227\n\rpoint_in_time\030\002 \001(\0132\032.google.pr" + - "otobuf.TimestampB\004\342A\001\002\"\206\022\n\007Cluster\022H\n\rba" + - "ckup_source\030\017 \001(\0132).google.cloud.alloydb" + - ".v1beta.BackupSourceB\004\342A\001\003H\000\022N\n\020migratio" + - "n_source\030\020 \001(\0132,.google.cloud.alloydb.v1" + - "beta.MigrationSourceB\004\342A\001\003H\000\022\022\n\004name\030\001 \001" + - "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + - "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022@\n\006labels\030\007 \003(\01320.google." + - "cloud.alloydb.v1beta.Cluster.LabelsEntry" + - "\022?\n\005state\030\010 \001(\0162*.google.cloud.alloydb.v" + - "1beta.Cluster.StateB\004\342A\001\003\022L\n\014cluster_typ" + - "e\030\030 \001(\01620.google.cloud.alloydb.v1beta.Cl" + - "uster.ClusterTypeB\004\342A\001\003\022L\n\020database_vers" + - "ion\030\t \001(\0162,.google.cloud.alloydb.v1beta." + - "DatabaseVersionB\004\342A\001\001\022P\n\016network_config\030" + - "\035 \001(\01322.google.cloud.alloydb.v1beta.Clus" + - "ter.NetworkConfigB\004\342A\001\001\022:\n\007network\030\n \001(\t" + - "B)\030\001\342A\001\002\372A \n\036compute.googleapis.com/Netw" + - "ork\022\014\n\004etag\030\013 \001(\t\022J\n\013annotations\030\014 \003(\01325" + - ".google.cloud.alloydb.v1beta.Cluster.Ann" + - "otationsEntry\022\031\n\013reconciling\030\r \001(\010B\004\342A\001\003" + - "\022E\n\014initial_user\030\016 \001(\0132).google.cloud.al" + - "loydb.v1beta.UserPasswordB\004\342A\001\004\022S\n\027autom" + - "ated_backup_policy\030\021 \001(\01322.google.cloud." + - "alloydb.v1beta.AutomatedBackupPolicy\022>\n\n" + - "ssl_config\030\022 \001(\0132&.google.cloud.alloydb." + - "v1beta.SslConfigB\002\030\001\022N\n\021encryption_confi" + - "g\030\023 \001(\0132-.google.cloud.alloydb.v1beta.En" + - "cryptionConfigB\004\342A\001\001\022J\n\017encryption_info\030" + - "\024 \001(\0132+.google.cloud.alloydb.v1beta.Encr" + - "yptionInfoB\004\342A\001\003\022[\n\030continuous_backup_co" + - "nfig\030\033 \001(\01323.google.cloud.alloydb.v1beta" + - ".ContinuousBackupConfigB\004\342A\001\001\022W\n\026continu" + - "ous_backup_info\030\034 \001(\01321.google.cloud.all" + - "oydb.v1beta.ContinuousBackupInfoB\004\342A\001\003\022N" + - "\n\020secondary_config\030\026 \001(\01324.google.cloud." + - "alloydb.v1beta.Cluster.SecondaryConfig\022P" + - "\n\016primary_config\030\027 \001(\01322.google.cloud.al" + - "loydb.v1beta.Cluster.PrimaryConfigB\004\342A\001\003" + - "\032k\n\rNetworkConfig\0228\n\007network\030\001 \001(\tB\'\342A\001\002" + - "\372A \n\036compute.googleapis.com/Network\022 \n\022a" + - "llocated_ip_range\030\002 \001(\tB\004\342A\001\001\032/\n\017Seconda" + - "ryConfig\022\034\n\024primary_cluster_name\030\001 \001(\t\0326" + - "\n\rPrimaryConfig\022%\n\027secondary_cluster_nam" + - "es\030\001 \003(\tB\004\342A\001\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntr" + - "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\234\001\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n" + - "\007STOPPED\020\002\022\t\n\005EMPTY\020\003\022\014\n\010CREATING\020\004\022\014\n\010D" + - "ELETING\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\007" + - "\022\017\n\013MAINTENANCE\020\010\022\r\n\tPROMOTING\020\t\"G\n\013Clus" + - "terType\022\034\n\030CLUSTER_TYPE_UNSPECIFIED\020\000\022\013\n" + - "\007PRIMARY\020\001\022\r\n\tSECONDARY\020\002:b\352A_\n\036alloydb." + - "googleapis.com/Cluster\022:projects/{projec" + - "t}/locations/{location}/clusters/{cluste" + - "r}R\001\001B\010\n\006source\"\255\024\n\010Instance\022\022\n\004name\030\001 \001" + - "(\tB\004\342A\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 " + - "\001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030" + - "\005 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022" + - "5\n\013delete_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\022A\n\006labels\030\007 \003(\01321.google." + - "cloud.alloydb.v1beta.Instance.LabelsEntr" + - "y\022@\n\005state\030\010 \001(\0162+.google.cloud.alloydb." + - "v1beta.Instance.StateB\004\342A\001\003\022O\n\rinstance_" + - "type\030\t \001(\01622.google.cloud.alloydb.v1beta" + - ".Instance.InstanceTypeB\004\342A\001\002\022K\n\016machine_" + - "config\030\n \001(\01323.google.cloud.alloydb.v1be" + - "ta.Instance.MachineConfig\022Q\n\021availabilit" + - "y_type\030\013 \001(\01626.google.cloud.alloydb.v1be" + - "ta.Instance.AvailabilityType\022\020\n\010gce_zone" + - "\030\014 \001(\t\022P\n\016database_flags\030\r \003(\01328.google." + - "cloud.alloydb.v1beta.Instance.DatabaseFl" + - "agsEntry\022G\n\rwritable_node\030\023 \001(\0132*.google" + - ".cloud.alloydb.v1beta.Instance.NodeB\004\342A\001" + - "\003\022?\n\005nodes\030\024 \003(\0132*.google.cloud.alloydb." + - "v1beta.Instance.NodeB\004\342A\001\003\022`\n\025query_insi" + - "ghts_config\030\025 \001(\0132A.google.cloud.alloydb" + - ".v1beta.Instance.QueryInsightsInstanceCo" + - "nfig\022N\n\020read_pool_config\030\016 \001(\01324.google." + - "cloud.alloydb.v1beta.Instance.ReadPoolCo" + - "nfig\022\030\n\nip_address\030\017 \001(\tB\004\342A\001\003\022\031\n\013reconc" + - "iling\030\020 \001(\010B\004\342A\001\003\022\014\n\004etag\030\021 \001(\t\022K\n\013annot" + - "ations\030\022 \003(\01326.google.cloud.alloydb.v1be" + - "ta.Instance.AnnotationsEntry\022I\n\rupdate_p" + - "olicy\030\026 \001(\01322.google.cloud.alloydb.v1bet" + - "a.Instance.UpdatePolicy\022d\n\030client_connec" + - "tion_config\030\027 \001(\0132<.google.cloud.alloydb" + - ".v1beta.Instance.ClientConnectionConfigB" + - "\004\342A\001\001\032\"\n\rMachineConfig\022\021\n\tcpu_count\030\001 \001(" + - "\005\032>\n\004Node\022\017\n\007zone_id\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\n" + - "\n\002ip\030\003 \001(\t\022\r\n\005state\030\004 \001(\t\032\372\001\n\033QueryInsig" + - "htsInstanceConfig\022$\n\027record_application_" + - "tags\030\002 \001(\010H\000\210\001\001\022\"\n\025record_client_address" + - "\030\003 \001(\010H\001\210\001\001\022\033\n\023query_string_length\030\004 \001(\r" + - "\022#\n\026query_plans_per_minute\030\005 \001(\rH\002\210\001\001B\032\n" + - "\030_record_application_tagsB\030\n\026_record_cli" + - "ent_addressB\031\n\027_query_plans_per_minute\032$" + - "\n\016ReadPoolConfig\022\022\n\nnode_count\030\001 \001(\005\032\221\001\n" + - "\014UpdatePolicy\022E\n\004mode\030\001 \001(\01627.google.clo" + - "ud.alloydb.v1beta.Instance.UpdatePolicy." + - "Mode\":\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\013\n\007DE" + - "FAULT\020\001\022\017\n\013FORCE_APPLY\020\002\032|\n\026ClientConnec" + - "tionConfig\022 \n\022require_connectors\030\001 \001(\010B\004" + - "\342A\001\001\022@\n\nssl_config\030\002 \001(\0132&.google.cloud." + - "alloydb.v1beta.SslConfigB\004\342A\001\001\032-\n\013Labels" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0324\n" + - "\022DatabaseFlagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" + - "e\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001" + - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\005State\022\025\n\021STA" + - "TE_UNSPECIFIED\020\000\022\t\n\005READY\020\001\022\013\n\007STOPPED\020\002" + - "\022\014\n\010CREATING\020\003\022\014\n\010DELETING\020\004\022\017\n\013MAINTENA" + - "NCE\020\005\022\n\n\006FAILED\020\006\022\021\n\rBOOTSTRAPPING\020\010\022\r\n\t" + - "PROMOTING\020\t\"X\n\014InstanceType\022\035\n\031INSTANCE_" + - "TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\r\n\tREAD_" + - "POOL\020\002\022\r\n\tSECONDARY\020\003\"N\n\020AvailabilityTyp" + - "e\022!\n\035AVAILABILITY_TYPE_UNSPECIFIED\020\000\022\t\n\005" + - "ZONAL\020\001\022\014\n\010REGIONAL\020\002:x\352Au\n\037alloydb.goog" + - "leapis.com/Instance\022Oprojects/{project}/" + - "locations/{location}/clusters/{cluster}/" + - "instances/{instance}R\001\001\"\211\002\n\016ConnectionIn" + - "fo\022\014\n\004name\030\001 \001(\t\022\030\n\nip_address\030\002 \001(\tB\004\342A" + - "\001\003\022%\n\025pem_certificate_chain\030\003 \003(\tB\006\030\001\342A\001" + - "\003\022\032\n\014instance_uid\030\004 \001(\tB\004\342A\001\003:\213\001\352A\207\001\n%al" + - "loydb.googleapis.com/ConnectionInfo\022^pro" + - "jects/{project}/locations/{location}/clu" + - "sters/{cluster}/instances/{instance}/con" + - "nectionInfo\"\327\013\n\006Backup\022\022\n\004name\030\001 \001(\tB\004\342A" + - "\001\003\022\024\n\014display_name\030\002 \001(\t\022\021\n\003uid\030\003 \001(\tB\004\342" + - "A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132" + - "\032.google.protobuf.TimestampB\004\342A\001\003\0225\n\013del" + - "ete_time\030\017 \001(\0132\032.google.protobuf.Timesta" + - "mpB\004\342A\001\003\022?\n\006labels\030\006 \003(\0132/.google.cloud." + - "alloydb.v1beta.Backup.LabelsEntry\022>\n\005sta" + - "te\030\007 \001(\0162).google.cloud.alloydb.v1beta.B" + - "ackup.StateB\004\342A\001\003\0226\n\004type\030\010 \001(\0162(.google" + - ".cloud.alloydb.v1beta.Backup.Type\022\023\n\013des" + - "cription\030\t \001(\t\022\031\n\013cluster_uid\030\022 \001(\tB\004\342A\001" + - "\003\022=\n\014cluster_name\030\n \001(\tB\'\342A\001\002\372A \n\036alloyd" + - "b.googleapis.com/Cluster\022\031\n\013reconciling\030" + - "\013 \001(\010B\004\342A\001\003\022N\n\021encryption_config\030\014 \001(\0132-" + - ".google.cloud.alloydb.v1beta.EncryptionC" + - "onfigB\004\342A\001\001\022J\n\017encryption_info\030\r \001(\0132+.g" + - "oogle.cloud.alloydb.v1beta.EncryptionInf" + - "oB\004\342A\001\003\022\014\n\004etag\030\016 \001(\t\022I\n\013annotations\030\020 \003" + - "(\01324.google.cloud.alloydb.v1beta.Backup." + - "AnnotationsEntry\022\030\n\nsize_bytes\030\021 \001(\003B\004\342A" + - "\001\003\0225\n\013expiry_time\030\023 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\022V\n\017expiry_quantity\030\024 \001" + - "(\01327.google.cloud.alloydb.v1beta.Backup." + - "QuantityBasedExpiryB\004\342A\001\003\022L\n\020database_ve" + - "rsion\030\026 \001(\0162,.google.cloud.alloydb.v1bet" + - "a.DatabaseVersionB\004\342A\001\003\032Y\n\023QuantityBased" + - "Expiry\022\035\n\017retention_count\030\001 \001(\005B\004\342A\001\003\022#\n" + - "\025total_retention_count\030\002 \001(\005B\004\342A\001\003\032-\n\013La" + - "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\"Q\n\005State\022\025\n\021STATE_UNSPECIF" + - "IED\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002\022\n\n\006FAILED" + - "\020\003\022\014\n\010DELETING\020\004\"J\n\004Type\022\024\n\020TYPE_UNSPECI" + - "FIED\020\000\022\r\n\tON_DEMAND\020\001\022\r\n\tAUTOMATED\020\002\022\016\n\n" + - "CONTINUOUS\020\003:_\352A\\\n\035alloydb.googleapis.co" + - "m/Backup\0228projects/{project}/locations/{" + - "location}/backups/{backup}R\001\001\"\330\006\n\025Suppor" + - "tedDatabaseFlag\022d\n\023string_restrictions\030\007" + - " \001(\0132E.google.cloud.alloydb.v1beta.Suppo" + - "rtedDatabaseFlag.StringRestrictionsH\000\022f\n" + - "\024integer_restrictions\030\010 \001(\0132F.google.clo" + - "ud.alloydb.v1beta.SupportedDatabaseFlag." + - "IntegerRestrictionsH\000\022\014\n\004name\030\001 \001(\t\022\021\n\tf" + - "lag_name\030\002 \001(\t\022P\n\nvalue_type\030\003 \001(\0162<.goo" + - "gle.cloud.alloydb.v1beta.SupportedDataba" + - "seFlag.ValueType\022\037\n\027accepts_multiple_val" + - "ues\030\004 \001(\010\022K\n\025supported_db_versions\030\005 \003(\016" + - "2,.google.cloud.alloydb.v1beta.DatabaseV" + - "ersion\022\033\n\023requires_db_restart\030\006 \001(\010\032,\n\022S" + - "tringRestrictions\022\026\n\016allowed_values\030\001 \003(" + - "\t\032u\n\023IntegerRestrictions\022.\n\tmin_value\030\001 " + - "\001(\0132\033.google.protobuf.Int64Value\022.\n\tmax_" + - "value\030\002 \001(\0132\033.google.protobuf.Int64Value" + - "\"U\n\tValueType\022\032\n\026VALUE_TYPE_UNSPECIFIED\020" + - "\000\022\n\n\006STRING\020\001\022\013\n\007INTEGER\020\002\022\t\n\005FLOAT\020\003\022\010\n" + - "\004NONE\020\004:g\352Ad\n,alloydb.googleapis.com/Sup" + - "portedDatabaseFlag\0224projects/{project}/l" + - "ocations/{location}/flags/{flag}B\016\n\014rest" + - "rictions\"\326\002\n\004User\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\026\n" + - "\010password\030\002 \001(\tB\004\342A\001\004\022\034\n\016database_roles\030" + - "\004 \003(\tB\004\342A\001\001\022C\n\tuser_type\030\005 \001(\0162*.google." + - "cloud.alloydb.v1beta.User.UserTypeB\004\342A\001\001" + - "\"Q\n\010UserType\022\031\n\025USER_TYPE_UNSPECIFIED\020\000\022" + - "\024\n\020ALLOYDB_BUILT_IN\020\001\022\024\n\020ALLOYDB_IAM_USE" + - "R\020\002:l\352Ai\n\033alloydb.googleapis.com/User\022Gp" + - "rojects/{project}/locations/{location}/c" + - "lusters/{cluster}/users/{user}R\001\001*^\n\014Ins" + - "tanceView\022\035\n\031INSTANCE_VIEW_UNSPECIFIED\020\000" + - "\022\027\n\023INSTANCE_VIEW_BASIC\020\001\022\026\n\022INSTANCE_VI" + - "EW_FULL\020\002*g\n\013ClusterView\022\034\n\030CLUSTER_VIEW" + - "_UNSPECIFIED\020\000\022\026\n\022CLUSTER_VIEW_BASIC\020\001\022\"" + - "\n\036CLUSTER_VIEW_CONTINUOUS_BACKUP\020\002*j\n\017Da" + - "tabaseVersion\022 \n\034DATABASE_VERSION_UNSPEC" + - "IFIED\020\000\022\023\n\013POSTGRES_13\020\001\032\002\010\001\022\017\n\013POSTGRES" + - "_14\020\002\022\017\n\013POSTGRES_15\020\003B\306\003\n\037com.google.cl" + - "oud.alloydb.v1betaB\016ResourcesProtoP\001Z9cl" + - "oud.google.com/go/alloydb/apiv1beta/allo" + - "ydbpb;alloydbpb\252\002\033Google.Cloud.AlloyDb.V" + - "1Beta\312\002\033Google\\Cloud\\AlloyDb\\V1beta\352\002\036Go" + - "ogle::Cloud::AlloyDB::V1beta\352A\246\001\n(cloudk" + - "ms.googleapis.com/CryptoKeyVersion\022zproj" + - "ects/{project}/locations/{location}/keyR" + - "ings/{key_ring}/cryptoKeys/{crypto_key}/" + - "cryptoKeyVersions/{crypto_key_version}\352A" + - "N\n\036compute.googleapis.com/Network\022,proje" + - "cts/{project}/global/networks/{network}b" + - "\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.type.DayOfWeekProto.getDescriptor(), - com.google.type.TimeOfDayProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_UserPassword_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UserPassword_descriptor, - new java.lang.String[] { "User", "Password", }); - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_MigrationSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_MigrationSource_descriptor, - new java.lang.String[] { "HostPort", "ReferenceId", "SourceType", }); - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_EncryptionConfig_descriptor, - new java.lang.String[] { "KmsKeyName", }); - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_EncryptionInfo_descriptor, - new java.lang.String[] { "EncryptionType", "KmsKeyVersions", }); - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_SslConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SslConfig_descriptor, - new java.lang.String[] { "SslMode", "CaSource", }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor, - new java.lang.String[] { "WeeklySchedule", "TimeBasedRetention", "QuantityBasedRetention", "Enabled", "BackupWindow", "EncryptionConfig", "Location", "Labels", "Schedule", "Retention", "Enabled", }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_WeeklySchedule_descriptor, - new java.lang.String[] { "StartTimes", "DaysOfWeek", }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_TimeBasedRetention_descriptor, - new java.lang.String[] { "RetentionPeriod", }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_QuantityBasedRetention_descriptor, - new java.lang.String[] { "Count", }); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_AutomatedBackupPolicy_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupConfig_descriptor, - new java.lang.String[] { "Enabled", "RecoveryWindowDays", "EncryptionConfig", "Enabled", }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupInfo_descriptor, - new java.lang.String[] { "EncryptionInfo", "EnabledTime", "Schedule", "EarliestRestorableTime", }); - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_BackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BackupSource_descriptor, - new java.lang.String[] { "BackupUid", "BackupName", }); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ContinuousBackupSource_descriptor, - new java.lang.String[] { "Cluster", "PointInTime", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1beta_Cluster_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor, - new java.lang.String[] { "BackupSource", "MigrationSource", "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "ClusterType", "DatabaseVersion", "NetworkConfig", "Network", "Etag", "Annotations", "Reconciling", "InitialUser", "AutomatedBackupPolicy", "SslConfig", "EncryptionConfig", "EncryptionInfo", "ContinuousBackupConfig", "ContinuousBackupInfo", "SecondaryConfig", "PrimaryConfig", "Source", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_NetworkConfig_descriptor, - new java.lang.String[] { "Network", "AllocatedIpRange", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_SecondaryConfig_descriptor, - new java.lang.String[] { "PrimaryClusterName", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_PrimaryConfig_descriptor, - new java.lang.String[] { "SecondaryClusterNames", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Cluster_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Cluster_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1beta_Instance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "InstanceType", "MachineConfig", "AvailabilityType", "GceZone", "DatabaseFlags", "WritableNode", "Nodes", "QueryInsightsConfig", "ReadPoolConfig", "IpAddress", "Reconciling", "Etag", "Annotations", "UpdatePolicy", "ClientConnectionConfig", }); - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_MachineConfig_descriptor, - new java.lang.String[] { "CpuCount", }); - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Instance_Node_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_Node_descriptor, - new java.lang.String[] { "ZoneId", "Id", "Ip", "State", }); - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_QueryInsightsInstanceConfig_descriptor, - new java.lang.String[] { "RecordApplicationTags", "RecordClientAddress", "QueryStringLength", "QueryPlansPerMinute", "RecordApplicationTags", "RecordClientAddress", "QueryPlansPerMinute", }); - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_ReadPoolConfig_descriptor, - new java.lang.String[] { "NodeCount", }); - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_UpdatePolicy_descriptor, - new java.lang.String[] { "Mode", }); - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_ClientConnectionConfig_descriptor, - new java.lang.String[] { "RequireConnectors", "SslConfig", }); - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_DatabaseFlagsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Instance_descriptor.getNestedTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Instance_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ConnectionInfo_descriptor, - new java.lang.String[] { "Name", "IpAddress", "PemCertificateChain", "InstanceUid", }); - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1beta_Backup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Uid", "CreateTime", "UpdateTime", "DeleteTime", "Labels", "State", "Type", "Description", "ClusterUid", "ClusterName", "Reconciling", "EncryptionConfig", "EncryptionInfo", "Etag", "Annotations", "SizeBytes", "ExpiryTime", "ExpiryQuantity", "DatabaseVersion", }); - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_QuantityBasedExpiry_descriptor, - new java.lang.String[] { "RetentionCount", "TotalRetentionCount", }); - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_Backup_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_Backup_AnnotationsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor, - new java.lang.String[] { "StringRestrictions", "IntegerRestrictions", "Name", "FlagName", "ValueType", "AcceptsMultipleValues", "SupportedDbVersions", "RequiresDbRestart", "Restrictions", }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_StringRestrictions_descriptor, - new java.lang.String[] { "AllowedValues", }); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor = - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_SupportedDatabaseFlag_IntegerRestrictions_descriptor, - new java.lang.String[] { "MinValue", "MaxValue", }); - internal_static_google_cloud_alloydb_v1beta_User_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1beta_User_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_User_descriptor, - new java.lang.String[] { "Name", "Password", "DatabaseRoles", "UserType", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.type.DayOfWeekProto.getDescriptor(); - com.google.type.TimeOfDayProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java deleted file mode 100644 index 8880fe30a30b..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ServiceProto.java +++ /dev/null @@ -1,918 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/service.proto - -package com.google.cloud.alloydb.v1beta; - -public final class ServiceProto { - private ServiceProto() {} - 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_cloud_alloydb_v1beta_ListClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_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/cloud/alloydb/v1beta/service.pr" + - "oto\022\033google.cloud.alloydb.v1beta\032\034google" + - "/api/annotations.proto\032\027google/api/clien" + - "t.proto\032\037google/api/field_behavior.proto" + - "\032\031google/api/resource.proto\032+google/clou" + - "d/alloydb/v1beta/resources.proto\032#google" + - "/longrunning/operations.proto\032\036google/pr" + - "otobuf/duration.proto\032\033google/protobuf/e" + - "mpty.proto\032 google/protobuf/field_mask.p" + - "roto\032\037google/protobuf/timestamp.proto\032\027g" + - "oogle/rpc/status.proto\"\251\001\n\023ListClustersR" + - "equest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb" + - ".googleapis.com/Cluster\022\027\n\tpage_size\030\002 \001" + - "(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006filter\030\004" + - " \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"|\n\024Li" + - "stClustersResponse\0226\n\010clusters\030\001 \003(\0132$.g" + - "oogle.cloud.alloydb.v1beta.Cluster\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + - "\"\210\001\n\021GetClusterRequest\0225\n\004name\030\001 \001(\tB\'\342A" + - "\001\002\372A \n\036alloydb.googleapis.com/Cluster\022<\n" + - "\004view\030\002 \001(\0162(.google.cloud.alloydb.v1bet" + - "a.ClusterViewB\004\342A\001\001\"\346\001\n\035CreateSecondaryC" + - "lusterRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036" + - "alloydb.googleapis.com/Cluster\022\030\n\ncluste" + - "r_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.goog" + - "le.cloud.alloydb.v1beta.ClusterB\004\342A\001\002\022\030\n" + - "\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only" + - "\030\006 \001(\010B\004\342A\001\001\"\335\001\n\024CreateClusterRequest\0227\n" + - "\006parent\030\001 \001(\tB\'\342A\001\002\372A \022\036alloydb.googleap" + - "is.com/Cluster\022\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002" + - "\022;\n\007cluster\030\003 \001(\0132$.google.cloud.alloydb" + - ".v1beta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(" + - "\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001\001\"\336\001\n" + - "\024UpdateClusterRequest\0225\n\013update_mask\030\001 \001" + - "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\022;\n\007" + - "cluster\030\002 \001(\0132$.google.cloud.alloydb.v1b" + - "eta.ClusterB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342" + - "A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallo" + - "w_missing\030\005 \001(\010B\004\342A\001\001\"\255\001\n\024DeleteClusterR" + - "equest\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036alloydb.g" + - "oogleapis.com/Cluster\022\030\n\nrequest_id\030\002 \001(" + - "\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_" + - "only\030\004 \001(\010B\004\342A\001\001\022\023\n\005force\030\005 \001(\010B\004\342A\001\001\"\231\001" + - "\n\025PromoteClusterRequest\0225\n\004name\030\001 \001(\tB\'\342" + - "A\001\002\372A \n\036alloydb.googleapis.com/Cluster\022\030" + - "\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004" + - "\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\"\205\003\n\025Re" + - "storeClusterRequest\022B\n\rbackup_source\030\004 \001" + - "(\0132).google.cloud.alloydb.v1beta.BackupS" + - "ourceH\000\022W\n\030continuous_backup_source\030\010 \001(" + - "\01323.google.cloud.alloydb.v1beta.Continuo" + - "usBackupSourceH\000\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A" + - " \022\036alloydb.googleapis.com/Cluster\022\030\n\nclu" + - "ster_id\030\002 \001(\tB\004\342A\001\002\022;\n\007cluster\030\003 \001(\0132$.g" + - "oogle.cloud.alloydb.v1beta.ClusterB\004\342A\001\002" + - "\022\030\n\nrequest_id\030\005 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + - "nly\030\006 \001(\010B\004\342A\001\001B\010\n\006source\"\253\001\n\024ListInstan" + - "cesRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + - "oydb.googleapis.com/Instance\022\027\n\tpage_siz" + - "e\030\002 \001(\005B\004\342A\001\001\022\022\n\npage_token\030\003 \001(\t\022\024\n\006fil" + - "ter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\"" + - "\177\n\025ListInstancesResponse\0228\n\tinstances\030\001 " + - "\003(\0132%.google.cloud.alloydb.v1beta.Instan" + - "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + - "le\030\003 \003(\t\"\205\001\n\022GetInstanceRequest\0226\n\004name\030" + - "\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + - "nstance\0227\n\004view\030\002 \001(\0162).google.cloud.all" + - "oydb.v1beta.InstanceView\"\342\001\n\025CreateInsta" + - "nceRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037all" + - "oydb.googleapis.com/Instance\022\031\n\013instance" + - "_id\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.goog" + - "le.cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030" + - "\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_onl" + - "y\030\005 \001(\010B\004\342A\001\001\"\353\001\n\036CreateSecondaryInstanc" + - "eRequest\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloy" + - "db.googleapis.com/Instance\022\031\n\013instance_i" + - "d\030\002 \001(\tB\004\342A\001\002\022=\n\010instance\030\003 \001(\0132%.google" + - ".cloud.alloydb.v1beta.InstanceB\004\342A\001\002\022\030\n\n" + - "request_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030" + - "\005 \001(\010B\004\342A\001\001\"t\n\026CreateInstanceRequests\022Z\n" + - "\030create_instance_requests\030\001 \003(\01322.google" + - ".cloud.alloydb.v1beta.CreateInstanceRequ" + - "estB\004\342A\001\002\"\276\001\n\033BatchCreateInstancesReques" + - "t\0228\n\006parent\030\001 \001(\tB(\342A\001\002\372A!\022\037alloydb.goog" + - "leapis.com/Instance\022K\n\010requests\030\002 \001(\01323." + - "google.cloud.alloydb.v1beta.CreateInstan" + - "ceRequestsB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A" + - "\001\001\"X\n\034BatchCreateInstancesResponse\0228\n\tin" + - "stances\030\001 \003(\0132%.google.cloud.alloydb.v1b" + - "eta.Instance\"\225\002\n\034BatchCreateInstancesMet" + - "adata\022\030\n\020instance_targets\030\001 \003(\t\022j\n\021insta" + - "nce_statuses\030\002 \003(\0132O.google.cloud.alloyd" + - "b.v1beta.BatchCreateInstancesMetadata.In" + - "stanceStatusesEntry\032o\n\025InstanceStatusesE" + - "ntry\022\013\n\003key\030\001 \001(\t\022E\n\005value\030\002 \001(\01326.googl" + - "e.cloud.alloydb.v1beta.BatchCreateInstan" + - "ceStatus:\0028\001\"\330\002\n\031BatchCreateInstanceStat" + - "us\022K\n\005state\030\001 \001(\0162<.google.cloud.alloydb" + - ".v1beta.BatchCreateInstanceStatus.State\022" + - "\021\n\terror_msg\030\002 \001(\t\022!\n\005error\030\004 \001(\0132\022.goog" + - "le.rpc.Status\022@\n\004type\030\003 \001(\01622.google.clo" + - "ud.alloydb.v1beta.Instance.InstanceType\"" + - "v\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\022\n\016PENDI" + - "NG_CREATE\020\001\022\t\n\005READY\020\002\022\014\n\010CREATING\020\003\022\014\n\010" + - "DELETING\020\004\022\n\n\006FAILED\020\005\022\017\n\013ROLLED_BACK\020\006\"" + - "\341\001\n\025UpdateInstanceRequest\0225\n\013update_mask" + - "\030\001 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001" + - "\022=\n\010instance\030\002 \001(\0132%.google.cloud.alloyd" + - "b.v1beta.InstanceB\004\342A\001\002\022\030\n\nrequest_id\030\003 " + - "\001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033" + - "\n\rallow_missing\030\005 \001(\010B\004\342A\001\001\"\232\001\n\025DeleteIn" + - "stanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037al" + - "loydb.googleapis.com/Instance\022\030\n\nrequest" + - "_id\030\002 \001(\tB\004\342A\001\001\022\022\n\004etag\030\003 \001(\tB\004\342A\001\001\022\033\n\rv" + - "alidate_only\030\004 \001(\010B\004\342A\001\001\"\210\001\n\027FailoverIns" + - "tanceRequest\0226\n\004name\030\001 \001(\tB(\342A\001\002\372A!\n\037all" + - "oydb.googleapis.com/Instance\022\030\n\nrequest_" + - "id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\003 \001(\010B\004\342" + - "A\001\001\"\216\002\n\022InjectFaultRequest\022S\n\nfault_type" + - "\030\001 \001(\01629.google.cloud.alloydb.v1beta.Inj" + - "ectFaultRequest.FaultTypeB\004\342A\001\002\0226\n\004name\030" + - "\002 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis.com/I" + - "nstance\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rval" + - "idate_only\030\004 \001(\010B\004\342A\001\001\"4\n\tFaultType\022\032\n\026F" + - "AULT_TYPE_UNSPECIFIED\020\000\022\013\n\007STOP_VM\020\001\"\207\001\n" + - "\026RestartInstanceRequest\0226\n\004name\030\001 \001(\tB(\342" + - "A\001\002\372A!\n\037alloydb.googleapis.com/Instance\022" + - "\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate_on" + - "ly\030\003 \001(\010B\004\342A\001\001\"\225\001\n\022ListBackupsRequest\0226\n" + - "\006parent\030\001 \001(\tB&\342A\001\002\372A\037\022\035alloydb.googleap" + - "is.com/Backup\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\022\020\n\010order_by" + - "\030\005 \001(\t\"y\n\023ListBackupsResponse\0224\n\007backups" + - "\030\001 \003(\0132#.google.cloud.alloydb.v1beta.Bac" + - "kup\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreacha" + - "ble\030\003 \003(\t\"H\n\020GetBackupRequest\0224\n\004name\030\001 " + - "\001(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Bac" + - "kup\"\330\001\n\023CreateBackupRequest\0226\n\006parent\030\001 " + - "\001(\tB&\342A\001\002\372A\037\022\035alloydb.googleapis.com/Bac" + - "kup\022\027\n\tbackup_id\030\002 \001(\tB\004\342A\001\002\0229\n\006backup\030\003" + - " \001(\0132#.google.cloud.alloydb.v1beta.Backu" + - "pB\004\342A\001\002\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\022\033\n\rval" + - "idate_only\030\005 \001(\010B\004\342A\001\001\"\333\001\n\023UpdateBackupR" + - "equest\0225\n\013update_mask\030\001 \001(\0132\032.google.pro" + - "tobuf.FieldMaskB\004\342A\001\001\0229\n\006backup\030\002 \001(\0132#." + - "google.cloud.alloydb.v1beta.BackupB\004\342A\001\002" + - "\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022\033\n\rvalidate_o" + - "nly\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_missing\030\005 \001(\010B\004" + - "\342A\001\001\"\226\001\n\023DeleteBackupRequest\0224\n\004name\030\001 \001" + - "(\tB&\342A\001\002\372A\037\n\035alloydb.googleapis.com/Back" + - "up\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\rvalidate" + - "_only\030\003 \001(\010B\004\342A\001\001\022\022\n\004etag\030\004 \001(\tB\004\342A\001\001\"\221\001" + - "\n!ListSupportedDatabaseFlagsRequest\022E\n\006p" + - "arent\030\001 \001(\tB5\342A\001\002\372A.\022,alloydb.googleapis" + - ".com/SupportedDatabaseFlag\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\223\001\n\"ListSuppor" + - "tedDatabaseFlagsResponse\022T\n\030supported_da" + - "tabase_flags\030\001 \003(\01322.google.cloud.alloyd" + - "b.v1beta.SupportedDatabaseFlag\022\027\n\017next_p" + - "age_token\030\002 \001(\t\"\205\002\n GenerateClientCertif" + - "icateRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036a" + - "lloydb.googleapis.com/Cluster\022\030\n\nrequest" + - "_id\030\002 \001(\tB\004\342A\001\001\022\027\n\007pem_csr\030\003 \001(\tB\006\030\001\342A\001\001" + - "\0226\n\rcert_duration\030\004 \001(\0132\031.google.protobu" + - "f.DurationB\004\342A\001\001\022\030\n\npublic_key\030\005 \001(\tB\004\342A" + - "\001\001\022#\n\025use_metadata_exchange\030\006 \001(\010B\004\342A\001\001\"" + - "~\n!GenerateClientCertificateResponse\022\035\n\017" + - "pem_certificate\030\001 \001(\tB\004\342A\001\003\022#\n\025pem_certi" + - "ficate_chain\030\002 \003(\tB\004\342A\001\003\022\025\n\007ca_cert\030\003 \001(" + - "\tB\004\342A\001\001\"n\n\030GetConnectionInfoRequest\0228\n\006p" + - "arent\030\001 \001(\tB(\342A\001\002\372A!\n\037alloydb.googleapis" + - ".com/Instance\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\"" + - "\207\003\n\021OperationMetadata\022j\n\037batch_create_in" + - "stances_metadata\030\010 \001(\01329.google.cloud.al" + - "loydb.v1beta.BatchCreateInstancesMetadat" + - "aB\004\342A\001\003H\000\0225\n\013create_time\030\001 \001(\0132\032.google." + - "protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001" + - "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" + - "target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034" + - "\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requeste" + - "d_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_versio" + - "n\030\007 \001(\tB\004\342A\001\003B\022\n\020request_specific\"\251\001\n\020Li" + - "stUsersRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + - "\033alloydb.googleapis.com/User\022\027\n\tpage_siz" + - "e\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022" + - "\024\n\006filter\030\004 \001(\tB\004\342A\001\001\022\026\n\010order_by\030\005 \001(\tB" + - "\004\342A\001\001\"s\n\021ListUsersResponse\0220\n\005users\030\001 \003(" + - "\0132!.google.cloud.alloydb.v1beta.User\022\027\n\017" + - "next_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003" + - "(\t\"D\n\016GetUserRequest\0222\n\004name\030\001 \001(\tB$\342A\001\002" + - "\372A\035\n\033alloydb.googleapis.com/User\"\316\001\n\021Cre" + - "ateUserRequest\0224\n\006parent\030\001 \001(\tB$\342A\001\002\372A\035\022" + - "\033alloydb.googleapis.com/User\022\025\n\007user_id\030" + - "\002 \001(\tB\004\342A\001\002\0225\n\004user\030\003 \001(\0132!.google.cloud" + - ".alloydb.v1beta.UserB\004\342A\001\002\022\030\n\nrequest_id" + - "\030\004 \001(\tB\004\342A\001\001\022\033\n\rvalidate_only\030\005 \001(\010B\004\342A\001" + - "\001\"\325\001\n\021UpdateUserRequest\0225\n\013update_mask\030\001" + - " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\001\0225" + - "\n\004user\030\002 \001(\0132!.google.cloud.alloydb.v1be" + - "ta.UserB\004\342A\001\002\022\030\n\nrequest_id\030\003 \001(\tB\004\342A\001\001\022" + - "\033\n\rvalidate_only\030\004 \001(\010B\004\342A\001\001\022\033\n\rallow_mi" + - "ssing\030\005 \001(\010B\004\342A\001\001\"~\n\021DeleteUserRequest\0222" + - "\n\004name\030\001 \001(\tB$\342A\001\002\372A\035\n\033alloydb.googleapi" + - "s.com/User\022\030\n\nrequest_id\030\002 \001(\tB\004\342A\001\001\022\033\n\r" + - "validate_only\030\003 \001(\010B\004\342A\001\0012\2464\n\014AlloyDBAdm" + - "in\022\266\001\n\014ListClusters\0220.google.cloud.alloy" + - "db.v1beta.ListClustersRequest\0321.google.c" + - "loud.alloydb.v1beta.ListClustersResponse" + - "\"A\332A\006parent\202\323\344\223\0022\0220/v1beta/{parent=proje" + - "cts/*/locations/*}/clusters\022\243\001\n\nGetClust" + - "er\022..google.cloud.alloydb.v1beta.GetClus" + - "terRequest\032$.google.cloud.alloydb.v1beta" + - ".Cluster\"?\332A\004name\202\323\344\223\0022\0220/v1beta/{name=p" + - "rojects/*/locations/*/clusters/*}\022\337\001\n\rCr" + - "eateCluster\0221.google.cloud.alloydb.v1bet" + - "a.CreateClusterRequest\032\035.google.longrunn" + - "ing.Operation\"|\312A\034\n\007Cluster\022\021OperationMe" + - "tadata\332A\031parent,cluster,cluster_id\202\323\344\223\002;" + - "\"0/v1beta/{parent=projects/*/locations/*" + - "}/clusters:\007cluster\022\341\001\n\rUpdateCluster\0221." + - "google.cloud.alloydb.v1beta.UpdateCluste" + - "rRequest\032\035.google.longrunning.Operation\"" + - "~\312A\034\n\007Cluster\022\021OperationMetadata\332A\023clust" + - "er,update_mask\202\323\344\223\002C28/v1beta/{cluster.n" + - "ame=projects/*/locations/*/clusters/*}:\007" + - "cluster\022\317\001\n\rDeleteCluster\0221.google.cloud" + - ".alloydb.v1beta.DeleteClusterRequest\032\035.g" + - "oogle.longrunning.Operation\"l\312A*\n\025google" + - ".protobuf.Empty\022\021OperationMetadata\332A\004nam" + - "e\202\323\344\223\0022*0/v1beta/{name=projects/*/locati" + - "ons/*/clusters/*}\022\316\001\n\016PromoteCluster\0222.g" + - "oogle.cloud.alloydb.v1beta.PromoteCluste" + - "rRequest\032\035.google.longrunning.Operation\"" + - "i\312A\034\n\007Cluster\022\021OperationMetadata\332A\004name\202" + - "\323\344\223\002=\"8/v1beta/{name=projects/*/location" + - "s/*/clusters/*}:promote:\001*\022\307\001\n\016RestoreCl" + - "uster\0222.google.cloud.alloydb.v1beta.Rest" + - "oreClusterRequest\032\035.google.longrunning.O" + - "peration\"b\312A\034\n\007Cluster\022\021OperationMetadat" + - "a\202\323\344\223\002=\"8/v1beta/{parent=projects/*/loca" + - "tions/*}/clusters:restore:\001*\022\202\002\n\026CreateS" + - "econdaryCluster\022:.google.cloud.alloydb.v" + - "1beta.CreateSecondaryClusterRequest\032\035.go" + - "ogle.longrunning.Operation\"\214\001\312A\034\n\007Cluste" + - "r\022\021OperationMetadata\332A\031parent,cluster,cl" + - "uster_id\202\323\344\223\002K\"@/v1beta/{parent=projects" + - "/*/locations/*}/clusters:createsecondary" + - ":\007cluster\022\305\001\n\rListInstances\0221.google.clo" + - "ud.alloydb.v1beta.ListInstancesRequest\0322" + - ".google.cloud.alloydb.v1beta.ListInstanc" + - "esResponse\"M\332A\006parent\202\323\344\223\002>\022\022*\332A\004name\202\323\344\223\0021\022//v1beta/{name=pro" + - "jects/*/locations/*/backups/*}\022\330\001\n\014Creat" + - "eBackup\0220.google.cloud.alloydb.v1beta.Cr" + - "eateBackupRequest\032\035.google.longrunning.O" + - "peration\"w\312A\033\n\006Backup\022\021OperationMetadata" + - "\332A\027parent,backup,backup_id\202\323\344\223\0029\"//v1bet" + - "a/{parent=projects/*/locations/*}/backup" + - "s:\006backup\022\332\001\n\014UpdateBackup\0220.google.clou" + - "d.alloydb.v1beta.UpdateBackupRequest\032\035.g" + - "oogle.longrunning.Operation\"y\312A\033\n\006Backup" + - "\022\021OperationMetadata\332A\022backup,update_mask" + - "\202\323\344\223\002@26/v1beta/{backup.name=projects/*/" + - "locations/*/backups/*}:\006backup\022\314\001\n\014Delet" + - "eBackup\0220.google.cloud.alloydb.v1beta.De" + - "leteBackupRequest\032\035.google.longrunning.O" + - "peration\"k\312A*\n\025google.protobuf.Empty\022\021Op" + - "erationMetadata\332A\004name\202\323\344\223\0021*//v1beta/{n" + - "ame=projects/*/locations/*/backups/*}\022\356\001" + - "\n\032ListSupportedDatabaseFlags\022>.google.cl" + - "oud.alloydb.v1beta.ListSupportedDatabase" + - "FlagsRequest\032?.google.cloud.alloydb.v1be" + - "ta.ListSupportedDatabaseFlagsResponse\"O\332" + - "A\006parent\202\323\344\223\002@\022>/v1beta/{parent=projects" + - "/*/locations/*}/supportedDatabaseFlags\022\374" + - "\001\n\031GenerateClientCertificate\022=.google.cl" + - "oud.alloydb.v1beta.GenerateClientCertifi" + - "cateRequest\032>.google.cloud.alloydb.v1bet" + - "a.GenerateClientCertificateResponse\"`\332A\006" + - "parent\202\323\344\223\002Q\"L/v1beta/{parent=projects/*" + - "/locations/*/clusters/*}:generateClientC" + - "ertificate:\001*\022\327\001\n\021GetConnectionInfo\0225.go" + - "ogle.cloud.alloydb.v1beta.GetConnectionI" + - "nfoRequest\032+.google.cloud.alloydb.v1beta" + - ".ConnectionInfo\"^\332A\006parent\202\323\344\223\002O\022M/v1bet" + - "a/{parent=projects/*/locations/*/cluster" + - "s/*/instances/*}/connectionInfo\022\265\001\n\tList" + - "Users\022-.google.cloud.alloydb.v1beta.List" + - "UsersRequest\032..google.cloud.alloydb.v1be" + - "ta.ListUsersResponse\"I\332A\006parent\202\323\344\223\002:\0228/" + - "v1beta/{parent=projects/*/locations/*/cl" + - "usters/*}/users\022\242\001\n\007GetUser\022+.google.clo" + - "ud.alloydb.v1beta.GetUserRequest\032!.googl" + - "e.cloud.alloydb.v1beta.User\"G\332A\004name\202\323\344\223" + - "\002:\0228/v1beta/{name=projects/*/locations/*" + - "/clusters/*/users/*}\022\275\001\n\nCreateUser\022..go" + - "ogle.cloud.alloydb.v1beta.CreateUserRequ" + - "est\032!.google.cloud.alloydb.v1beta.User\"\\" + - "\332A\023parent,user,user_id\202\323\344\223\002@\"8/v1beta/{p" + - "arent=projects/*/locations/*/clusters/*}" + - "/users:\004user\022\277\001\n\nUpdateUser\022..google.clo" + - "ud.alloydb.v1beta.UpdateUserRequest\032!.go" + - "ogle.cloud.alloydb.v1beta.User\"^\332A\020user," + - "update_mask\202\323\344\223\002E2=/v1beta/{user.name=pr" + - "ojects/*/locations/*/clusters/*/users/*}" + - ":\004user\022\235\001\n\nDeleteUser\022..google.cloud.all" + - "oydb.v1beta.DeleteUserRequest\032\026.google.p" + - "rotobuf.Empty\"G\332A\004name\202\323\344\223\002:*8/v1beta/{n" + - "ame=projects/*/locations/*/clusters/*/us" + - "ers/*}\032J\312A\026alloydb.googleapis.com\322A.http" + - "s://www.googleapis.com/auth/cloud-platfo" + - "rmB\311\001\n\037com.google.cloud.alloydb.v1betaB\014" + - "ServiceProtoP\001Z9cloud.google.com/go/allo" + - "ydb/apiv1beta/alloydbpb;alloydbpb\252\002\033Goog" + - "le.Cloud.AlloyDb.V1Beta\312\002\033Google\\Cloud\\A" + - "lloyDb\\V1beta\352\002\036Google::Cloud::AlloyDB::" + - "V1betab\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.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListClustersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListClustersResponse_descriptor, - new java.lang.String[] { "Clusters", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetClusterRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryClusterRequest_descriptor, - new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateClusterRequest_descriptor, - new java.lang.String[] { "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateClusterRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Cluster", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteClusterRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", "Force", }); - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_PromoteClusterRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_RestoreClusterRequest_descriptor, - new java.lang.String[] { "BackupSource", "ContinuousBackupSource", "Parent", "ClusterId", "Cluster", "RequestId", "ValidateOnly", "Source", }); - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListInstancesResponse_descriptor, - new java.lang.String[] { "Instances", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetInstanceRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateSecondaryInstanceRequest_descriptor, - new java.lang.String[] { "Parent", "InstanceId", "Instance", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateInstanceRequests_descriptor, - new java.lang.String[] { "CreateInstanceRequests", }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", "RequestId", }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesResponse_descriptor, - new java.lang.String[] { "Instances", }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor, - new java.lang.String[] { "InstanceTargets", "InstanceStatuses", }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor = - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstancesMetadata_InstanceStatusesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_BatchCreateInstanceStatus_descriptor, - new java.lang.String[] { "State", "ErrorMsg", "Error", "Type", }); - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateInstanceRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Instance", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "Etag", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_FailoverInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_InjectFaultRequest_descriptor, - new java.lang.String[] { "FaultType", "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_RestartInstanceRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListBackupsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListBackupsResponse_descriptor, - new java.lang.String[] { "Backups", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetBackupRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateBackupRequest_descriptor, - new java.lang.String[] { "Parent", "BackupId", "Backup", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateBackupRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Backup", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteBackupRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", "Etag", }); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListSupportedDatabaseFlagsResponse_descriptor, - new java.lang.String[] { "SupportedDatabaseFlags", "NextPageToken", }); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateRequest_descriptor, - new java.lang.String[] { "Parent", "RequestId", "PemCsr", "CertDuration", "PublicKey", "UseMetadataExchange", }); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GenerateClientCertificateResponse_descriptor, - new java.lang.String[] { "PemCertificate", "PemCertificateChain", "CaCert", }); - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetConnectionInfoRequest_descriptor, - new java.lang.String[] { "Parent", "RequestId", }); - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_OperationMetadata_descriptor, - new java.lang.String[] { "BatchCreateInstancesMetadata", "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", "RequestSpecific", }); - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListUsersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_ListUsersResponse_descriptor, - new java.lang.String[] { "Users", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_GetUserRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_CreateUserRequest_descriptor, - new java.lang.String[] { "Parent", "UserId", "User", "RequestId", "ValidateOnly", }); - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_UpdateUserRequest_descriptor, - new java.lang.String[] { "UpdateMask", "User", "RequestId", "ValidateOnly", "AllowMissing", }); - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_alloydb_v1beta_DeleteUserRequest_descriptor, - new java.lang.String[] { "Name", "RequestId", "ValidateOnly", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.alloydb.v1beta.ResourcesProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java b/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java deleted file mode 100644 index e077c74e4748..000000000000 --- a/owl-bot-staging/java-alloydb/v1beta/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/SslConfigOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/alloydb/v1beta/resources.proto - -package com.google.cloud.alloydb.v1beta; - -public interface SslConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.alloydb.v1beta.SslConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for sslMode. - */ - int getSslModeValue(); - /** - *
-   * Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
-   * 
- * - * .google.cloud.alloydb.v1beta.SslConfig.SslMode ssl_mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return The sslMode. - */ - com.google.cloud.alloydb.v1beta.SslConfig.SslMode getSslMode(); - - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The enum numeric value on the wire for caSource. - */ - int getCaSourceValue(); - /** - *
-   * Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is
-   * supported currently, and is the default value.
-   * 
- * - * .google.cloud.alloydb.v1beta.SslConfig.CaSource ca_source = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return The caSource. - */ - com.google.cloud.alloydb.v1beta.SslConfig.CaSource getCaSource(); -}